:root {
  --navy-950: #070f24;
  --navy-900: #0a1730;
  --navy-800: #10264a;
  --navy-700: #183864;
  --gold: #f6bd22;
  --gold-bright: #ffd970;
  --cream: #fff8e7;
  --lavender: #b992ff;
  --violet: #6f4cff;
  --aqua: #57e0ff;
  --text: #d9e5fb;
  --muted: #92a8cb;
  --line: rgba(255, 217, 112, 0.18);
  --header-height: 78px;
  --container: min(100% - 32px, 1240px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 82% 10%, rgba(185, 146, 255, 0.22), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(246, 189, 34, 0.14), transparent 30%),
    var(--navy-900);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 10px max(16px, calc((100vw - 1240px) / 2));
  background: rgba(7, 15, 36, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-link img {
  width: 128px;
  height: auto;
  aspect-ratio: 1024 / 707;
  object-fit: contain;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: #d6def0;
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a,
.footer a {
  transition: color 0.25s ease;
}

.desktop-nav a:hover,
.footer a:hover {
  color: var(--gold-bright);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-950);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(246, 189, 34, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 189, 34, 0.42);
  border-radius: 8px;
  background: rgba(16, 38, 74, 0.72);
  color: var(--gold);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 32px;
  background: var(--navy-950);
  color: var(--gold-bright);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 52px) 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 40%, rgba(246, 189, 34, 0.26), transparent 22%),
    radial-gradient(circle at 62% 18%, rgba(111, 76, 255, 0.35), transparent 30%),
    linear-gradient(110deg, rgba(7, 15, 36, 0.98), rgba(10, 23, 48, 0.9) 48%, rgba(28, 18, 70, 0.84));
  will-change: transform;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-bg::before {
  width: 42vw;
  height: 42vw;
  right: -14vw;
  top: 14vh;
  background: radial-gradient(circle, rgba(255, 217, 112, 0.22), rgba(185, 146, 255, 0.08) 42%, transparent 70%);
}

.hero-bg::after {
  width: 28vw;
  height: 28vw;
  left: 8vw;
  bottom: 6vh;
  background: radial-gradient(circle, rgba(87, 224, 255, 0.14), transparent 68%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.compliance-banner,
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 900;
  line-height: 1.4;
}

.compliance-banner {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255, 217, 112, 0.26);
  border-radius: 999px;
  background: rgba(16, 38, 74, 0.7);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--cream);
  font-size: clamp(40px, 5.1vw, 74px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 900;
  line-height: 1.35;
}

.hero-subtitle,
.section-copy {
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

.section-copy {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
}

.narrow {
  max-width: 820px;
  margin-inline: auto;
}

.centered {
  text-align: center;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-950);
  box-shadow: 0 16px 38px rgba(246, 189, 34, 0.28);
}

.btn-secondary {
  border: 2px solid var(--gold);
  background: rgba(16, 38, 74, 0.5);
  color: var(--gold-bright);
}

.pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.hero-disclosure {
  display: grid;
  gap: 4px;
  max-width: 700px;
  margin-top: 28px;
  color: #d7e1f5;
  font-size: 14px;
}

.hero-disclosure p {
  margin-bottom: 0;
}

.hero-visual {
  display: grid;
  justify-items: center;
}

.hero-visual-img,
.download-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 217, 112, 0.22);
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.about,
.experience,
.faq {
  background: rgba(7, 15, 36, 0.24);
}

.about-grid,
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 46px;
  align-items: center;
}

.compliance-card,
.game-card,
.value-card,
.faq-item,
.device-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(24, 56, 100, 0.82), rgba(16, 38, 74, 0.9));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.compliance-card {
  padding: 30px;
  text-align: left;
}

.compliance-card p,
.game-meta p,
.value-card p,
.faq-answer p,
.footer p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.game-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.game-card {
  overflow: hidden;
  text-align: left;
}

.game-thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
}

.game-meta {
  padding: 24px;
}

.game-meta span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 217, 112, 0.12);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
}

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

.value-card {
  padding: 26px 22px;
  text-align: left;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 217, 112, 0.13);
  color: var(--gold-bright);
}

.value-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download {
  background:
    radial-gradient(circle at 78% 36%, rgba(255, 217, 112, 0.22), transparent 24%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
}

.store-actions {
  margin-top: 26px;
}

.store-badge {
  display: inline-grid;
  min-width: 210px;
  min-height: 66px;
  align-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #05070d;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.store-badge span {
  color: #c7d2e8;
  font-size: 12px;
  font-weight: 700;
}

.store-badge strong {
  font-size: 21px;
  line-height: 1.2;
}

.small-disclosure {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.support-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-bright);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.download-visual {
  display: grid;
  justify-items: center;
}

.faq-list {
  max-width: 920px;
  margin: 42px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.faq-question b {
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.faq-item.is-open .faq-question b {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
}

.footer {
  padding: 62px 0 28px;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-logo {
  width: 145px;
  height: auto;
  aspect-ratio: 1024 / 707;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 16px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(146, 168, 203, 0.16);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.wa-sticky {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 64px;
  height: 64px;
  padding: 0 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.34);
  opacity: 1;
  visibility: visible;
  animation: waPulse 3s ease-in-out infinite;
}

.wa-sticky span {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.wa-sticky svg {
  width: 32px;
  height: 32px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-seq {
  opacity: 0;
  transform: translateY(18px);
}

.eyebrow-step {
  animation: heroFadeUp 0.6s ease 0.1s forwards;
}

.subtitle-step {
  animation: heroFadeUp 0.6s ease 0.65s forwards;
}

.actions-step {
  animation: heroFadeUp 0.6s ease 0.9s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 16px 38px rgba(246, 189, 34, 0.28);
  }
  50% {
    box-shadow: 0 22px 58px rgba(255, 217, 112, 0.48);
  }
}

@keyframes waPulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}

@media (max-width: 1060px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .hero-inner,
  .about-grid,
  .download-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .game-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    display: block;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: 104px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-link img {
    width: 112px;
  }

  section {
    padding: 78px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 28px);
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-actions,
  .store-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .store-badge {
    width: 100%;
  }

  .game-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .game-thumb {
    height: 190px;
  }

  .device-card {
    min-height: auto;
    padding: 26px;
  }

  .footer-grid {
    gap: 22px;
  }

  .wa-sticky {
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: auto;
    height: 60px;
  }
}

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