:root {
  --bg-dark: #140A24;
  --bg-darker: #0E0619;
  --bg-card: #1E1033;
  --purple-main: #7B4BE0;
  --purple-dark: #5B2FB8;
  --yellow-main: #FFD23F;
  --yellow-dark: #F5B800;
  --text-white: #FFFFFF;
  --text-gray: #B9AED6;
  --border-color: rgba(123, 75, 224, .35);
  --grad-purple: linear-gradient(135deg, var(--purple-main), var(--purple-dark));
  --grad-yellow: linear-gradient(135deg, var(--yellow-main), var(--yellow-dark));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}
section:nth-child(even) {
  background-color: var(--bg-darker);
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 48px;
  text-align: center;
}
.section-title span {
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
}
.btn-yellow {
  background: var(--grad-yellow);
  color: #111;
  box-shadow: 0 4px 15px rgba(255, 210, 63, .3);
}
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 63, .5);
}
.btn-outline {
  background: transparent;
  color: var(--yellow-main);
  border: 1px solid var(--yellow-main);
}
.btn-outline:hover {
  background: rgba(255, 210, 63, .1);
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(20, 10, 36, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yellow-main);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 36px;
  border-radius: 8px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}
.brand-sub {
  font-size: 10px;
  color: var(--text-gray);
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  transition: color .3s;
}
.nav-links a:hover {
  color: var(--yellow-main);
}
.header-btn {
  padding: 10px 24px;
  font-size: 14px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--yellow-main);
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top right, rgba(123, 75, 224, .2), transparent 50%);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text {
  flex: 1;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(123, 75, 224, .2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--purple-main);
  margin-bottom: 24px;
}
.tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-main);
}
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.hero-desc {
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 90%;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.rating-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}
.stars { color: var(--yellow-main); }
.age-warning {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 2px 6px;
  border-radius: 4px;
}

.hero-visual {
  flex: 1;
  position: relative;
}
.window-frame {
  background: var(--bg-darker);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.window-frame img {
  border-radius: 12px;
  width: 100%;
}
.floating-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.4);
  border: 2px solid var(--bg-card);
}
.floating-card.left { bottom: 40px; left: -40px; width: 120px; transform: rotate(-10deg); }
.floating-card.right { top: 40px; right: -30px; width: 100px; transform: rotate(8deg); }
.logo-badge {
  position: absolute;
  bottom: -20px; left: 40px;
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 2px solid var(--purple-main);
  background: var(--bg-card);
  padding: 4px;
}
.rating-sticker {
  position: absolute;
  top: -20px; right: 20px;
  background: var(--grad-yellow);
  color: #111;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(255, 210, 63, .4);
}
.cache-pill {
  position: absolute;
  bottom: 20px; right: -20px;
  background: rgba(30, 16, 51, .9);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--yellow-main);
}

/* Stats */
.stats-bar {
  background: var(--bg-darker);
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}
.stat-num {
  font-family: monospace;
  font-size: 36px;
  font-weight: 900;
  color: var(--yellow-main);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-gray);
}

/* Marquee */
.marquee {
  background: var(--bg-darker);
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.marquee-item {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow-main);
  margin: 0 30px;
}
.marquee-item::before {
  content: '✦';
  font-size: 14px;
  margin-right: 10px;
  opacity: .5;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

/* Experience */
.exp-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.exp-left {
  flex: 1;
  position: relative;
}
.reader-window {
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px;
}
.reader-window img {
  border-radius: 10px;
}
.exp-pill {
  position: absolute;
  background: rgba(30, 16, 51, .9);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--yellow-main);
}
.exp-pill.p1 { top: -15px; left: 20px; }
.exp-pill.p2 { bottom: 20px; left: -20px; }
.exp-pill.p3 { top: 50%; right: -20px; transform: translateY(-50%); }
.shelf-card {
  position: absolute;
  bottom: -30px; right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--purple-main);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.5);
}
.shelf-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.shelf-card span { font-size: 12px; color: var(--text-gray); }

.exp-right {
  flex: 1;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.check-icon {
  color: var(--yellow-main);
  font-size: 20px;
  font-weight: bold;
}
.check-text h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.check-text p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Covers */
.covers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cover-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
}
.cover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(123, 75, 224, .3);
  border-color: var(--purple-main);
}
.cover-img {
  position: relative;
  aspect-ratio: 3/4;
}
.cover-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cover-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--yellow-main);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.cover-info {
  padding: 12px;
}
.cover-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cover-meta {
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  justify-content: space-between;
}
.covers-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-gray);
}
.covers-footer a {
  color: var(--yellow-main);
  margin-left: 8px;
}

/* Downloads */
.dl-inner {
  background: var(--bg-darker);
  border-radius: 24px;
  padding: 60px;
  border: 1px solid var(--border-color);
}
.dl-cards {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.dl-card {
  flex: 1;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.dl-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.dl-icon.android { background: rgba(255, 210, 63, .1); color: var(--yellow-main); }
.dl-icon.ios { background: rgba(123, 75, 224, .1); color: var(--purple-main); }
.dl-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.dl-card .version {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 24px;
}
.dl-list {
  text-align: left;
  margin-bottom: 30px;
  display: inline-block;
}
.dl-list li {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dl-list li::before {
  content: '✓';
  color: var(--yellow-main);
  font-weight: bold;
}
.btn-purple {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: 0 4px 15px rgba(123, 75, 224, .3);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 75, 224, .5);
}
.dl-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
}

/* Entrances */
.entrance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.entrance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .3s ease;
  cursor: pointer;
}
.entrance-card:hover {
  border-color: var(--yellow-main);
}
.entrance-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.en-num {
  font-family: monospace;
  font-size: 16px;
  color: var(--purple-main);
  font-weight: bold;
}
.en-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.en-desc {
  font-size: 12px;
  color: var(--text-gray);
}
.en-arrow {
  color: var(--text-gray);
  font-size: 18px;
}
.entrance-card:hover .en-arrow { color: var(--yellow-main); }

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 20px;
  color: var(--purple-main);
  transition: transform .3s;
}
details[open] summary { color: var(--yellow-main); }
details[open] summary::after {
  transform: rotate(45deg);
  color: var(--yellow-main);
}
.faq-content {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-gray);
}
.faq-footer {
  text-align: center;
  margin-top: 30px;
}
.faq-footer a {
  color: var(--yellow-main);
  font-size: 14px;
}

/* CTA */
.cta-section {
  background: var(--grad-yellow);
  padding: 80px 0;
  text-align: center;
  color: #111;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 14px;
  opacity: .8;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn-cta-dark {
  background: #140A24;
  color: #fff;
}
.btn-cta-dark:hover { background: #0E0619; }
.btn-cta-outline {
  background: transparent;
  color: #140A24;
  border: 2px solid #140A24;
}
.btn-cta-outline:hover {
  background: rgba(20, 10, 36, .1);
}

/* Footer */
footer {
  background: var(--bg-darker);
  padding: 60px 0 20px;
  border-top: 1px solid var(--yellow-main);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
.footer-brand {
  max-width: 300px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color .3s;
}
.footer-col ul li a:hover {
  color: var(--yellow-main);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.footer-bottom p { margin-bottom: 8px; }

/* Mobile Sticky Bar */
.mobile-download-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: rgba(20, 10, 36, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  z-index: 99;
  justify-content: space-between;
  align-items: center;
}
.mobile-download-bar .btn {
  padding: 10px 20px;
  font-size: 14px;
  flex: 1;
}
.mobile-download-bar .btn:first-child { margin-right: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .rating-info { justify-content: center; }
  .hero-visual { width: 100%; max-width: 600px; margin-top: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .covers-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-inner { flex-direction: column; }
  .exp-left { width: 100%; max-width: 600px; }
  .entrance-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-cards { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .nav-links { display: none; }
  .header-btn { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .section-title { font-size: 26px; margin-bottom: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 22px; }
  .hero-actions { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .covers-grid { grid-template-columns: repeat(2, 1fr); }
  .entrance-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-wrap: wrap; gap: 20px; }
  .stat-item { min-width: 45%; }
  .stat-item:nth-child(2)::after { display: none; }
  .dl-inner { padding: 30px; }
  .cta-section h2 { font-size: 28px; }
  .cta-actions { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 30px; }
  .mobile-download-bar { display: flex; }
  body { padding-bottom: 60px; }
}