:root {
  color-scheme: dark;
  --bg: #070512;
  --bg-elevated: #0f0b24;
  --bg-soft: #171037;
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --gold: #facc15;
  --gold-strong: #f59e0b;
  --violet: #7c3aed;
  --violet-soft: #9333ea;
  --line: rgba(250, 204, 21, 0.18);
  --card-glow: 0 24px 70px rgba(124, 58, 237, 0.3);
}

body.light-mode {
  color-scheme: light;
  --bg: #f6f7ff;
  --bg-elevated: #ffffff;
  --bg-soft: #ecebff;
  --text: #0f172a;
  --text-muted: #475569;
  --gold: #d97706;
  --gold-strong: #b45309;
  --violet: #6d28d9;
  --violet-soft: #7e22ce;
  --line: rgba(109, 40, 217, 0.2);
  --card-glow: 0 18px 40px rgba(79, 70, 229, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(250, 204, 21, 0.09), transparent 40%),
    radial-gradient(circle at 85% 8%, rgba(147, 51, 234, 0.25), transparent 38%),
    linear-gradient(160deg, #05030f, var(--bg));
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -52px;
  padding: 0.6rem 0.95rem;
  background: var(--gold);
  color: #171717;
  text-decoration: none;
  border-radius: 999px;
  z-index: 2000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.cursor-pointer {
  cursor: pointer;
}

.min-touch {
  min-height: 44px;
  min-width: 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  padding: 0.95rem 0;
  backdrop-filter: blur(12px);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  background: rgba(8, 6, 23, 0.82);
  box-shadow: 0 12px 30px rgba(3, 2, 12, 0.45);
}

body.light-mode .site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.header-inner {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(11, 8, 32, 0.82);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

body.light-mode .header-inner {
  background: rgba(255, 255, 255, 0.85);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.35);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-text {
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.desktop-nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 200ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.theme-toggle:hover,
.menu-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible {
  border-color: var(--gold);
  background: rgba(250, 204, 21, 0.1);
}

.menu-toggle {
  display: none;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease, background-color 220ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #130f29;
  background: linear-gradient(140deg, var(--gold), var(--gold-strong));
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 34px rgba(250, 204, 21, 0.46);
}

.btn-store {
  color: var(--text);
  border: 1px solid rgba(147, 51, 234, 0.4);
  background: linear-gradient(145deg, rgba(76, 29, 149, 0.7), rgba(41, 12, 89, 0.9));
}

.btn-store:hover,
.btn-store:focus-visible {
  border-color: rgba(250, 204, 21, 0.7);
}

.btn-store-alt {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
}

.btn-outline {
  color: var(--text);
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(250, 204, 21, 0.12);
}

.btn-block {
  width: 100%;
}

.mobile-nav {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0.6rem auto 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.mobile-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 0.5rem 0.2rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.4rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coin {
  position: absolute;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 30%, #fff4af, var(--gold) 40%, #d97706 74%);
  box-shadow: 0 0 26px rgba(250, 204, 21, 0.35);
  opacity: 0.4;
}

.coin-a {
  top: 8%;
  right: 14%;
}

.coin-b {
  top: 30%;
  left: 2%;
  width: 58px;
}

.coin-c {
  bottom: 18%;
  right: 3%;
  width: 48px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-family: "Righteous", Arial, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  margin-bottom: 0.9rem;
}

.text-glow {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

.hero-description {
  margin: 0;
  max-width: 58ch;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-meta li {
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-banner-wrap {
  margin: 2.2rem auto 0.5rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(2, 3, 13, 0.45);
}

.hero-banner-main {
  width: 100%;
  display: block;
  height: auto;
}

.phone-frame {
  width: min(355px, 100%);
  border-radius: 38px;
  border: 2px solid rgba(250, 204, 21, 0.4);
  background: linear-gradient(160deg, rgba(17, 14, 40, 0.9), rgba(6, 5, 20, 0.95));
  box-shadow: var(--card-glow);
  padding: 0.55rem;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.reward-card {
  position: absolute;
  right: -0.7rem;
  bottom: 2rem;
  background: rgba(7, 5, 17, 0.9);
  border: 1px solid rgba(250, 204, 21, 0.34);
  border-radius: 14px;
  padding: 0.78rem 0.88rem;
}

.reward-label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reward-value {
  margin: 0.2rem 0 0;
  color: var(--gold);
  font-weight: 700;
}

.section {
  padding: 4.7rem 0;
}

.banner-section {
  padding: 1.1rem 0 0.8rem;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(17, 11, 38, 0.55), rgba(8, 6, 22, 0.35));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.82rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0;
}

.feature-grid,
.review-grid,
.screenshot-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(20, 16, 43, 0.9), rgba(10, 8, 24, 0.95));
  border-radius: 18px;
  padding: 1.2rem;
}

body.light-mode .feature-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.95), rgba(237, 236, 255, 0.95));
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold);
}

.feature-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.05rem;
}

.feature-card p,
.review-card p,
.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  border: 1px solid var(--line);
  background: rgba(14, 11, 34, 0.82);
  border-radius: 16px;
  padding: 1rem 1.05rem;
}

body.light-mode .review-card {
  background: rgba(255, 255, 255, 0.9);
}

.review-card span {
  margin-top: 0.7rem;
  display: inline-block;
  font-size: 0.86rem;
  color: var(--gold);
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 9, 30, 0.82);
  padding: 1rem 1.05rem;
}

body.light-mode .faq-item {
  background: rgba(255, 255, 255, 0.95);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
}

.download-section {
  padding-top: 3.8rem;
}

.download-card {
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 14, 60, 0.95), rgba(12, 9, 34, 0.95));
  text-align: center;
  padding: 2rem 1.1rem;
  box-shadow: var(--card-glow);
}

body.light-mode .download-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 235, 255, 0.95));
}

.download-card h2 {
  margin: 0;
}

.download-card p {
  margin: 0.7rem auto 0;
  color: var(--text-muted);
  max-width: 62ch;
}

.download-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2.4rem;
  padding: 1.1rem 0 1.5rem;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-layout p {
  margin: 0;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 16, 0.72);
  z-index: 1400;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1410;
  width: min(430px, calc(100% - 2rem));
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1.5rem 1.1rem 1.1rem;
  text-align: center;
}

.modal h2 {
  margin-bottom: 0.45rem;
}

.modal p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 1px solid var(--line);
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-layout,
  .feature-grid,
  .review-grid,
  .screenshot-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    order: -1;
  }

  .hero-banner-wrap {
    margin-top: 1.8rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-top: 0.75rem;
  }

  .header-inner {
    border-radius: 18px;
    padding: 0.62rem 0.72rem;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero-section {
    padding-top: 2.2rem;
  }

  .hero-layout,
  .feature-grid,
  .review-grid,
  .screenshot-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .reward-card {
    right: 0;
    left: 0;
    margin: auto;
    width: fit-content;
    bottom: -1rem;
  }

  .hero-banner-wrap {
    margin-top: 1.35rem;
    border-radius: 14px;
  }

  .section {
    padding: 3.6rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
