:root {
  --bg-dark: #140A24;
  --bg-deeper: #0E0619;
  --bg-card: #1E1033;
  --brand-purple: linear-gradient(135deg, #7B4BE0 0%, #5B2FB8 100%);
  --brand-yellow: linear-gradient(135deg, #FFD23F 0%, #F5B800 100%);
  --text-main: #FFFFFF;
  --text-sub: #B9AED6;
  --border-color: rgba(123, 75, 224, 0.35);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-family); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
section:nth-child(even) { background-color: var(--bg-deeper); }

/* Typography */
h1, h2, h3 { font-weight: 900; letter-spacing: -1px; line-height: 1.2; }
h2 { font-size: 36px; margin-bottom: 16px; }
.section-head { margin-bottom: 48px; text-align: center; }
.section-head p { color: var(--text-sub); font-size: 16px; }
.mono { font-family: monospace, monospace; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-yellow { background: var(--brand-yellow); color: #000; box-shadow: 0 4px 15px rgba(255, 210, 63, 0.2); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 210, 63, 0.4); }
.btn-outline { background: transparent; color: #FFD23F; border: 2px solid #FFD23F; }
.btn-outline:hover { background: rgba(255, 210, 63, 0.1); transform: translateY(-2px); }
.btn-purple { background: var(--brand-purple); color: #FFF; box-shadow: 0 4px 15px rgba(123, 75, 224, 0.3); }
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(123, 75, 224, 0.5); }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(20, 10, 36, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 210, 63, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 20px; font-weight: 900; }
.brand-sub { font-size: 10px; color: #FFD23F; letter-spacing: 2px; text-transform: uppercase; }
nav.main-nav { display: flex; gap: 32px; }
nav.main-nav a { color: var(--text-sub); font-size: 15px; font-weight: 500; transition: color 0.2s; }
nav.main-nav a:hover { color: #FFD23F; }
.header-action .btn { padding: 10px 24px; font-size: 14px; }

/* Hero */
.hero { padding-top: 140px; padding-bottom: 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #FFD23F; margin-bottom: 20px; background: rgba(123, 75, 224, 0.2); padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border-color); }
.hero-tag::before { content: ''; width: 8px; height: 8px; background: #7B4BE0; border-radius: 50%; }
.hero h1 { font-size: 56px; margin-bottom: 16px; }
.hero-subtitle { font-size: 32px; font-weight: 800; background: var(--brand-yellow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 24px; }
.hero-desc { color: var(--text-sub); font-size: 16px; margin-bottom: 32px; max-width: 90%; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-sub); }
.hero-meta-stars { color: #FFD23F; font-size: 18px; letter-spacing: 2px; display: flex; align-items: center; gap: 8px;}
.hero-meta-stars span { font-size: 14px; color: var(--text-sub); letter-spacing: normal; }
.hero-age-tip { display: inline-block; background: rgba(255, 210, 63, 0.1); color: #FFD23F; border: 1px solid rgba(255, 210, 63, 0.3); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.hero-visual { position: relative; }
.hero-window { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: relative; z-index: 2; }
.hero-window img { border-radius: 12px; width: 100%; height: auto; }
.float-card { position: absolute; width: 100px; border-radius: 12px; overflow: hidden; border: 2px solid var(--border-color); box-shadow: 0 8px 20px rgba(0,0,0,0.4); z-index: 3; }
.float-card.left { left: -40px; top: 20%; transform: rotate(-6deg); }
.float-card.right { right: -30px; bottom: 20%; transform: rotate(6deg); }
.float-badge { position: absolute; bottom: -20px; left: 20px; background: var(--bg-card); border: 2px solid var(--border-color); border-radius: 50%; padding: 8px; z-index: 4; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.float-badge img { width: 40px; height: 40px; border-radius: 50%; }
.float-sticker { position: absolute; top: -15px; right: 20px; background: var(--brand-yellow); color: #000; font-weight: 900; padding: 8px 16px; border-radius: 999px; font-size: 14px; z-index: 4; transform: rotate(5deg); }
.float-pill { position: absolute; top: 40px; right: -20px; background: var(--brand-purple); color: #FFF; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: bold; z-index: 4; }

/* Data Bar */
.data-bar { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 0; background: var(--bg-deeper); }
.data-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.data-item { padding: 32px 20px; text-align: center; border-right: 1px solid rgba(123, 75, 224, 0.15); }
.data-item:last-child { border-right: none; }
.data-num { font-size: 28px; font-weight: 900; color: #FFD23F; margin-bottom: 8px; font-family: monospace; }
.data-label { font-size: 13px; color: var(--text-sub); }

/* Marquee */
.marquee-wrap { background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: scroll 20s linear infinite; color: #FFD23F; font-weight: bold; font-size: 16px; }
.marquee-content span { margin: 0 20px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Core Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 32px; position: relative; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(123, 75, 224, 0.2); border-color: rgba(123, 75, 224, 0.8); }
.feature-num { position: absolute; top: 24px; right: 24px; font-family: monospace; font-size: 24px; font-weight: bold; color: rgba(255, 255, 255, 0.1); }
.feature-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(123, 75, 224, 0.1); border: 1px solid rgba(255, 210, 63, 0.5); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #FFD23F; font-weight: bold; font-size: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: #FFF; }
.feature-card p { color: var(--text-sub); font-size: 14px; }

/* Reading Experience */
.reading-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.reading-visual { position: relative; }
.reading-window { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.reading-pill { position: absolute; background: var(--bg-card); border: 1px solid var(--border-color); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #FFF; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.rp-1 { top: -15px; left: 20px; }
.rp-2 { bottom: 40px; left: -20px; }
.rp-3 { top: 40px; right: -20px; }
.reading-bookmark { position: absolute; bottom: -20px; right: 20px; background: var(--bg-card); border: 1px solid var(--border-color); padding: 16px; border-radius: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.reading-bookmark img { width: 40px; height: 56px; border-radius: 6px; }
.reading-bookmark div { font-size: 14px; font-weight: bold; }
.reading-bookmark span { font-size: 12px; color: var(--text-sub); font-weight: normal; }
.reading-list li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.reading-list .check { color: #FFD23F; font-size: 20px; font-weight: bold; line-height: 1; margin-top: 2px; }
.reading-list div strong { display: block; font-size: 18px; margin-bottom: 6px; }
.reading-list div p { color: var(--text-sub); font-size: 14px; }

/* Covers */
.covers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 32px; }
.cover-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s ease; position: relative; display: flex; flex-direction: column;}
.cover-card:hover { transform: translateY(-6px); box-shadow: 0 10px 20px rgba(123, 75, 224, 0.4); }
.cover-img-wrap { aspect-ratio: 3/4; position: relative; }
.cover-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cover-tag { position: absolute; top: 12px; left: 12px; background: var(--brand-yellow); color: #000; font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 6px; }
.cover-info { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cover-title { font-size: 15px; font-weight: bold; color: #FFF; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cover-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub); }
.covers-footer { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-sub); margin-top: 20px; }
.covers-footer a { color: #FFD23F; }

/* Download Cards */
.download-inner { background: var(--bg-deeper); border: 1px solid var(--border-color); border-radius: 24px; padding: 48px; text-align: center; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; text-align: left; }
.dl-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.dl-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dl-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.dl-icon.android { background: var(--brand-yellow); color: #000; }
.dl-icon.ios { background: var(--brand-purple); color: #FFF; }
.dl-title { font-size: 22px; font-weight: 900; display: block; }
.dl-version { font-size: 13px; color: var(--text-sub); }
.dl-list { flex-grow: 1; margin-bottom: 32px; }
.dl-list li { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.dl-list .check { color: #FFD23F; }
.dl-card .btn { width: 100%; }
.dl-note { margin-top: 32px; font-size: 13px; color: var(--text-sub); }

/* Common Entries */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.entry-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; }
.entry-card:hover { border-color: #FFD23F; transform: translateY(-4px); }
.entry-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.entry-num { font-size: 13px; color: var(--text-sub); font-family: monospace; }
.entry-arrow { color: #FFD23F; font-weight: bold; }
.entry-card h3 { font-size: 18px; margin-bottom: 8px; color: #FFF; }
.entry-card p { font-size: 13px; color: var(--text-sub); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; margin-bottom: 16px; overflow: hidden; }
.faq-item summary { padding: 24px; font-size: 16px; font-weight: bold; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #FFD23F; }
.faq-icon { font-size: 20px; color: #FFD23F; transition: transform 0.3s; }
.faq-item[open] summary { color: #FFD23F; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-content { padding: 0 24px 24px; color: var(--text-sub); font-size: 14px; }
.faq-more { text-align: center; margin-top: 32px; }
.faq-more a { color: #FFD23F; font-size: 15px; }

/* Bottom CTA */
.bottom-cta { background: var(--brand-yellow); text-align: center; padding: 80px 20px; }
.bottom-cta h2 { color: var(--bg-deeper); margin-bottom: 12px; font-size: 40px; }
.bottom-cta p { color: rgba(14, 6, 25, 0.7); margin-bottom: 32px; font-weight: 500; }
.bottom-cta-actions { display: flex; justify-content: center; gap: 16px; }
.bottom-cta-actions .btn { min-width: 160px; }
.bottom-cta-actions .btn-dark { background: var(--bg-deeper); color: #FFF; }
.bottom-cta-actions .btn-dark:hover { background: #1E1033; }
.bottom-cta-actions .btn-outline-dark { border: 2px solid var(--bg-deeper); color: var(--bg-deeper); background: transparent; }
.bottom-cta-actions .btn-outline-dark:hover { background: rgba(14, 6, 25, 0.1); }

/* Footer */
footer { background: var(--bg-deeper); padding-top: 60px; border-top: 1px solid rgba(255, 210, 63, 0.3); position: relative; padding-bottom: 80px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: var(--text-sub); margin-top: 16px; max-width: 280px; }
.footer-age { display: inline-block; margin-top: 12px; border: 1px solid rgba(185, 174, 214, 0.4); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.footer-col h4 { font-size: 16px; margin-bottom: 20px; color: #FFF; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 13px; color: var(--text-sub); transition: color 0.2s; }
.footer-col ul a:hover { color: #FFD23F; }
.footer-bottom { border-top: 1px solid rgba(123, 75, 224, 0.2); padding-top: 24px; font-size: 12px; color: var(--text-sub); display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }

/* Mobile Floating Bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(20, 10, 36, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border-color); padding: 12px 16px; z-index: 100; gap: 12px; }
.mobile-bar .btn { flex: 1; padding: 10px; font-size: 15px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 48px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-meta { align-items: center; }
  .hero-visual { max-width: 600px; margin: 40px auto 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .covers-grid { grid-template-columns: repeat(3, 1fr); }
  .reading-inner { grid-template-columns: 1fr; }
  .reading-visual { max-width: 600px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  h2 { font-size: 28px; }
  .header-inner { height: 60px; }
  nav.main-nav { display: none; }
  .header-action { display: none; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 24px; }
  .hero-actions { flex-direction: column; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .data-item { border-right: none; border-bottom: 1px solid rgba(123, 75, 224, 0.15); }
  .data-item:last-child { border-bottom: none; }
  .grid-3, .covers-grid, .entry-grid, .download-grid { grid-template-columns: 1fr; }
  .covers-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card, .float-pill, .float-sticker { display: none; }
  .float-badge { display: none; }
  .download-inner { padding: 24px; }
  .bottom-cta h2 { font-size: 28px; }
  .bottom-cta-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .mobile-bar { display: flex; }
  footer { padding-bottom: 100px; }
}