/* ============================================================
   Wow88 — Design Tokens
   Palette: Mist (bg), Ink (navy text), Sage→Royal Blue (brand), Sage Deep (deep navy blue), Brass→Gold (accent), Cloud (surface)
   Matched to the Wow88 logo: royal blue wordmark, gold crown/coin accents, navy grounding
   Type: Fraunces (display) / IBM Plex Sans (body) / IBM Plex Mono (data/utility)
   ============================================================ */

:root {
  --mist: #EEF1F8;
  --mist-warm: #F6F7FB;
  --ink: #0C1230;
  --ink-soft: #4A527A;
  --sage: #1652F0;
  --sage-deep: #0B2E8A;
  --sage-pale: #DCE6FB;
  --brass: #E7B93C;
  --brass-deep: #A97B0F;
  --cloud: #DCE1EE;
  --white: #FFFFFF;
  --line: rgba(12, 18, 48, 0.12);
  --wow-blue: #1652F0;
  --wow-blue-deep: #0B2E8A;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Courier New", monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brass);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.btn-primary { background: var(--sage-deep); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(64,87,63,0.28); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176,141,87,0.32); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--sage-deep); }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,18,48,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--mist-warm);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-img { height: 40px; width: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0; padding: 0;
  font-size: 14px;
  font-weight: 500;
}
nav.primary-nav a { text-decoration: none; color: var(--cloud); }
nav.primary-nav a:hover { color: var(--brass); }
.nav-cta { display: flex; gap: 12px; }
.site-header .btn-outline { color: var(--mist-warm); border-color: rgba(255,255,255,0.3); }
.site-header .btn-outline:hover { border-color: var(--brass); color: var(--brass); }
.menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--mist-warm); }

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-pale);
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.hero-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.hero-links a { text-decoration: none; color: var(--sage-deep); border-bottom: 1px solid var(--sage); }

/* Hero visual: brand banner */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(11,18,48,0.35);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--ink);
  color: var(--mist-warm);
  padding: 22px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
}
.trust-row .stars { color: var(--brass); font-size: 15px; letter-spacing: 2px; }
.trust-item { display: flex; align-items: center; gap: 8px; opacity: 0.9; }

/* ---------- AI overview box ---------- */
.ai-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.ai-box h2 { font-size: 1.5rem; }
.ai-qa { border-top: 1px solid var(--line); }
.ai-qa details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.ai-qa summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.ai-qa summary::-webkit-details-marker { display: none; }
.ai-qa summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--brass); }
.ai-qa details[open] summary::after { content: "–"; }
.ai-qa p { margin-top: 12px; margin-bottom: 0; font-size: 14.5px; }

/* ---------- Quick facts table ---------- */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.facts-table th, .facts-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.facts-table th {
  width: 34%;
  color: var(--sage-deep);
  font-weight: 600;
  background: var(--sage-pale);
}
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }

/* ---------- Section header pattern ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(31,42,36,0.18); }
.card .icon-badge {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--sage-pale);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--sage-deep);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Services grid ---------- */
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--cloud);
  overflow: hidden;
}
.service-card.featured { background: var(--sage-deep); color: var(--white); }
.service-card.featured h3, .service-card.featured p { color: var(--white); }
.service-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

/* ---------- Promotions ---------- */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .promo-strip { grid-template-columns: repeat(2, 1fr); } }
.promo-card {
  background: var(--white);
  border: 1px dashed var(--brass);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.promo-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brass-deep);
  margin-bottom: 6px;
}
.promo-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 22px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--white);
  display: grid; place-items: center;
  margin-bottom: 16px;
}

/* ---------- Payment methods ---------- */
.payment-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.payment-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14.5px;
}
.compare-table thead th {
  background: var(--ink);
  color: var(--mist-warm);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-table td.yes { color: var(--sage-deep); font-weight: 600; }
.compare-table td.no { color: var(--ink-soft); }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Trust & safety ---------- */
.safety-panel {
  background: var(--sage-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.safety-panel h2 { color: var(--white); }
.safety-panel p { color: var(--mist-warm); }
.safety-panel a { color: var(--white); text-decoration: underline; }
.safety-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; padding: 0; list-style: none; }
@media (max-width: 700px) { .safety-list { grid-template-columns: 1fr; } }
.safety-list li { display: flex; gap: 10px; font-size: 14.5px; }

/* ---------- Author box ---------- */
.author-box {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  align-items: flex-start;
}
.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.author-meta { display: flex; gap: 16px; font-size: 13px; margin-top: 10px; flex-wrap: wrap; }
.author-meta a { color: var(--sage-deep); text-decoration: none; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brass); font-family: var(--font-mono); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin-top: 10px; font-size: 14.5px; }

/* ---------- Related searches ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--cloud);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--ink);
  color: var(--mist-warm);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--cloud); }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--mist-warm);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-grid h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brass); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--cloud); opacity: 0.85; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  opacity: 0.7;
}

/* ---------- App download promo ---------- */
.app-promo-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 980px) {
  .app-promo-panel { grid-template-columns: 1fr; }
}
.app-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  margin-bottom: 18px;
}
.app-badge-crown { color: var(--brass); flex-shrink: 0; }
.app-badge-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--wow-blue);
  letter-spacing: 0.01em;
}
.app-eyebrow { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.app-promo-copy h2 { color: var(--wow-blue-deep); margin-bottom: 6px; }
.app-download-row { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.qr-download { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.qr-frame {
  position: relative;
  width: 96px; height: 96px;
  border-radius: var(--radius-sm);
  background: var(--mist);
}
.qr-frame span {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--wow-blue);
}
.qr-frame span:nth-child(1) { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.qr-frame span:nth-child(2) { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.qr-frame span:nth-child(3) { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.qr-frame span:nth-child(4) { bottom: 6px; right: 6px; border-left: none; border-top: none; }
.qr-caption { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.phone-mockup { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: 220px;
  border-radius: 32px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(31,42,36,0.35);
}
.phone-notch {
  width: 60px; height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: linear-gradient(160deg, var(--wow-blue) 0%, var(--wow-blue-deep) 100%);
  border-radius: 20px;
  padding: 16px;
  min-height: 300px;
}
.phone-hero-badge {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.phone-login-row { display: flex; gap: 8px; margin-bottom: 14px; }
.phone-pill {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.phone-pill-active { background: var(--brass); color: var(--ink); }
.phone-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.phone-game-grid span {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 18px;
}
.app-float {
  position: absolute;
  font-size: 28px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2));
}
.app-float-coin { top: 30px; left: 0; }
.app-float-cherry { top: 10px; right: 10px; }
.app-float-shield { bottom: 20px; left: 20px; }

.app-feature-grid { display: flex; flex-direction: column; gap: 14px; }
.app-feature {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-feature strong { font-size: 14px; }
.app-feature span { font-size: 12.5px; opacity: 0.9; }
.app-feature-blue { background: linear-gradient(120deg, #1652F0, #38B6FF); }
.app-feature-orange { background: linear-gradient(120deg, #FF7A1A, #FFC93C); }
.app-feature-purple { background: linear-gradient(120deg, #7B2FF7, #B02FF7); }
.app-feature-pink { background: linear-gradient(120deg, #F72F7B, #FF6FA3); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sage-deep);
  color: white;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Utility ---------- */
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
