/* site.css — Poker Next marketing website. Dark neumorphic casino theme,
   built on the game's own design tokens (gold accent, city neons, rarity). */

:root {
  /* Surfaces */
  --bg:        #0B0B0D;
  --bg-2:      #0E0E10;
  --surface-1: #15151A;
  --surface-2: #1A1A1F;
  --surface-3: #222229;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.13);

  /* Accent — casino gold */
  --gold:      #D4AF37;
  --gold-hi:   #F4D277;
  --gold-soft: rgba(212,175,55,0.14);

  /* Functional */
  --green: #38A169;
  --green-hi: #46C36F;
  --red:   #E53E3E;

  /* City neons */
  --tokyo:  #FF4A1E;
  --london: #4FE3D6;
  --moscow: #3FC6FF;
  --macau:  #FFA52A;
  --monaco: #B679EE;
  --vegas:  #FDE36E;

  /* Rarity */
  --common: #9AA0A8;
  --rare:   #3F9BD4;
  --epic:   #B26BFF;
  --legendary: #FFB23E;

  /* Text */
  --text-hi: #F4F4F7;
  --text-md: #AFAFB8;
  --text-lo: #6E6E78;

  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-hi);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { position: relative; }

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); opacity: 0.7; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); margin: 18px 0 16px; text-transform: uppercase; }
.section-head p { font-size: 17px; color: var(--text-md); margin: 0; }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 12px; cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1A1305;
  box-shadow: 0 6px 20px rgba(212,175,55,0.32), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,175,55,0.45), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-ghost { background: var(--surface-2); color: var(--text-hi); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-3); transform: translateY(-2px); }

/* Google Play badge button */
.gplay {
  display: inline-flex; align-items: center; gap: 13px; white-space: nowrap;
  background: #000; border: 1px solid rgba(255,255,255,0.22); border-radius: 13px;
  padding: 11px 22px 11px 18px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gplay:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.gplay svg { width: 28px; height: 30px; flex: none; }
.gplay .gp-txt { display: flex; flex-direction: column; line-height: 1.1; }
.gplay .gp-txt small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-md); font-family: var(--font-body); }
.gplay .gp-txt b { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: 0.01em; }

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,13,0.72); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.18em; text-transform: uppercase; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1A1305;
  box-shadow: 0 3px 10px rgba(212,175,55,0.4); flex: none;
}
.brand .mark svg { width: 17px; height: 17px; }
.brand b { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--text-md); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text-hi); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-hi); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ─── Hero ────────────────────────────────────────────── */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); text-transform: uppercase; }
.hero h1 .neon { color: var(--gold); text-shadow: 0 0 24px rgba(212,175,55,0.5); }
.hero .lead { font-size: 19px; color: var(--text-md); margin: 24px 0 18px; max-width: 540px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-rating { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; }
.hero-rating .rate-txt { font-size: 14px; color: var(--text-md); }
.hero-rating .rate-txt b { color: var(--text-hi); font-family: var(--font-display); }
.rate-divider { width: 1px; height: 32px; background: var(--line-2); }

/* Hero phone stage */
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.hero-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.22), rgba(255,74,30,0.12) 45%, transparent 70%);
  filter: blur(8px); z-index: 0;
}
.phone-shot { position: relative; z-index: 2; filter: drop-shadow(0 40px 70px rgba(0,0,0,0.65)); }
.phone-shot.main { width: 270px; transform: rotate(-3deg); }
.phone-shot.side { position: absolute; width: 200px; z-index: 1; opacity: 0.92; }
.phone-shot.side.left { left: -6%; bottom: 4%; transform: rotate(-9deg); }
.phone-shot.side.right { right: -6%; top: 2%; transform: rotate(8deg); }
.float-coin { position: absolute; width: 92px; z-index: 3; filter: drop-shadow(0 12px 22px rgba(0,0,0,0.5)); animation: bob 4.5s ease-in-out infinite; }
.float-coin.c1 { top: 6%; right: 16%; }
.float-coin.c2 { bottom: 8%; left: 10%; width: 64px; animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }

/* ─── Marquee trust bar ───────────────────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-cell { padding: 30px 22px; text-align: center; border-right: 1px solid var(--line); }
.trust-cell:last-child { border-right: 0; }
.trust-cell .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); color: var(--gold); letter-spacing: -0.01em; }
.trust-cell .lbl { font-size: 13px; color: var(--text-md); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }

/* ─── Generic section padding ─────────────────────────── */
.pad { padding: 96px 0; }
.pad-sm { padding: 70px 0; }

/* ─── Features ────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feat-ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(212,175,55,0.3); }
.feat-ic svg { width: 26px; height: 26px; stroke: var(--gold); }
.feat-card h3 { font-size: 21px; margin-bottom: 9px; text-transform: uppercase; }
.feat-card p { font-size: 15px; color: var(--text-md); margin: 0; }

/* ─── Pillars ─────────────────────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.35); }
.pillar .feat-ic { width: 56px; height: 56px; }
.pillar h3 { font-size: 26px; margin-bottom: 11px; text-transform: uppercase; }
.pillar p { font-size: 15.5px; color: var(--text-md); margin: 0 0 22px; }
.pillar-link {
  margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px; transition: gap .18s ease;
}
.pillar-link span { transition: transform .18s ease; }
.pillar:hover .pillar-link span { transform: translateX(4px); }

/* ─── Cities ──────────────────────────────────────────── */
.cities { background: var(--bg-2); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.city-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10;
  border: 1px solid var(--line); display: flex; align-items: flex-end;
  transition: transform .22s ease, box-shadow .22s ease;
}
.city-card:hover { transform: translateY(-4px); }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.city-card .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85)); }
.city-card .meta { position: relative; z-index: 2; padding: 18px 20px; width: 100%; }
.city-card .meta h3 { font-size: 24px; text-transform: uppercase; }
.city-card .meta p { font-size: 13px; color: var(--text-md); margin: 3px 0 0; }
.city-card .lock { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.66); border: 1px solid rgba(255,255,255,0.18); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.city-card .lock svg { width: 13px; height: 13px; }
.city-card .free { background: rgba(56,161,105,0.85); border-color: transparent; color: #fff; }

/* ─── Split feature rows ──────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { display: flex; justify-content: center; position: relative; }
.split-media .phone-shot { width: 250px; }
.split-copy h2 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; margin-bottom: 18px; }
.split-copy p { font-size: 16px; color: var(--text-md); margin: 0 0 22px; }
.checklist { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-md); }
.checklist li b { color: var(--text-hi); font-weight: 600; }
.checklist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; margin-top: 1px; }
.checklist .tick svg { width: 12px; height: 12px; stroke: var(--gold); }
.media-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 68%); filter: blur(10px); }

/* mode pills under table */
.mode-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.mode-pill { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; flex: 1; min-width: 180px; }
.mode-pill .mp-h { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 15px; }
.mode-pill .dot { width: 9px; height: 9px; border-radius: 50%; }
.mode-pill p { font-size: 13.5px; color: var(--text-md); margin: 8px 0 0; }

/* ─── Collectibles ────────────────────────────────────── */
.collect { background: var(--bg-2); }
.collect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.collect-card {
  border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  background: radial-gradient(120% 70% at 50% 0%, var(--rc, rgba(212,175,55,0.12)), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface-1));
  text-align: center; transition: transform .2s ease;
}
.collect-card:hover { transform: translateY(-4px); }
.collect-card .shot { width: 100%; border-radius: 12px; margin-bottom: 18px; border: 1px solid var(--line); }
.collect-card h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 7px; }
.collect-card p { font-size: 14px; color: var(--text-md); margin: 0 0 18px; }
.rarity-row { display: inline-flex; gap: 7px; margin-bottom: 16px; flex-wrap: wrap; justify-content: center; }
.rarity-chip { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }

/* ─── Gallery ─────────────────────────────────────────── */
.gallery-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 8px 22px 28px; scroll-snap-type: x mandatory; }
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; }
.gshot { flex: none; width: 240px; scroll-snap-align: center; }
.gshot img { border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(0,0,0,0.5); }
.gshot .cap { text-align: center; font-size: 13px; color: var(--text-md); margin-top: 14px; font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── CTA banner ──────────────────────────────────────── */
.cta-band { padding: 88px 0; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(80% 130% at 50% 0%, rgba(212,175,55,0.16), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(32px, 5vw, 58px); text-transform: uppercase; margin-bottom: 18px; }
.cta-band p { font-size: 18px; color: var(--text-md); max-width: 560px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-display); font-weight: 500; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 22px; height: 22px; position: relative; transition: transform .2s; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.faq-item summary .pm::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq-item summary .pm::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: opacity .2s; }
.faq-item[open] summary .pm::after { opacity: 0; }
.faq-item .ans { padding: 0 24px 22px; color: var(--text-md); font-size: 15px; }

/* ─── Footer ──────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 38px; }
.footer .brand { margin-bottom: 16px; }
.footer-blurb { font-size: 14px; color: var(--text-md); max-width: 300px; margin: 0 0 20px; }
.footer h4 { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-hi); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; color: var(--text-md); transition: color .15s; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-lo); }
.age-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 13px; color: var(--text-md); }
.age-badge .pill18 { font-family: var(--font-display); font-weight: 700; color: var(--red); }

/* ─── Reveal animation ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { min-height: 480px; margin-top: 20px; }
  .feat-grid, .city-grid, .collect-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  /* Collapse nav to hamburger early so it never overflows */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(11,11,13,0.96); backdrop-filter: blur(18px); padding: 20px 22px; gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(2) { border-right: 0; }
  .trust-cell:nth-child(1), .trust-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pad { padding: 66px 0; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cta-actions { flex-direction: column; }
}
@media (max-width: 520px) {
  .feat-grid, .city-grid, .collect-grid, .pillar-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero .lead { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .gplay, .hero-cta .btn { width: 100%; }
  .section-head { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
