/* ============================================================
   B9 GAME — b9apk.net.pk
   Premium Emerald design system — vanilla CSS3
   Author: b9apk.net.pk front-end
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand — emerald */
  --emerald-950: #063d2c;
  --emerald-900: #084c37;
  --emerald-800: #0a5e43;
  --emerald-700: #0B6E4F;   /* primary */
  --emerald-600: #0d7d58;
  --emerald-500: #0E8F5E;   /* secondary */
  --emerald-400: #12b877;
  --emerald-300: #3ed99a;
  --teal-500:    #0fae98;
  --teal-400:    #16c7ac;
  --mint-100:    #e6f7ef;
  --mint-50:     #f1fbf6;

  /* Neutrals */
  --base:    #F8FAF9;
  --surface: #FDFEFE;
  --ink:     #0f1a15;
  --ink-2:   #1c2a23;
  --muted:   #536b60;
  --muted-2: #7f9389;
  --line:    #e4ece8;
  --line-2:  #d3e2db;

  /* Gradients */
  --grad-emerald: linear-gradient(135deg, #0B6E4F 0%, #0E8F5E 45%, #0fae98 100%);
  --grad-emerald-soft: linear-gradient(135deg, #0d7d58 0%, #12b877 100%);
  --grad-dark: linear-gradient(160deg, #063d2c 0%, #0a2c22 60%, #071c16 100%);
  --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(18,184,119,.28), transparent 60%),
               radial-gradient(1000px 700px at 100% 0%, rgba(15,174,152,.22), transparent 55%),
               linear-gradient(180deg, #f4fbf8 0%, #f8faf9 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11,45,34,.06);
  --shadow-sm: 0 4px 14px rgba(11,45,34,.08);
  --shadow-md: 0 12px 34px rgba(11,45,34,.10);
  --shadow-lg: 0 26px 60px rgba(9,50,37,.18);
  --shadow-emerald: 0 16px 40px rgba(14,143,94,.35);
  --glass: rgba(255,255,255,.72);
  --glass-brd: rgba(255,255,255,.55);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Layout — generous side gutters (extra blank space left & right) */
  --container: 1180px;
  --gutter: clamp(20px, 6vw, 88px);
  --sec-gap: clamp(64px, 9vw, 130px);

  /* Type */
  --f-head: "Sora", "Poppins", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;

  --header-h: 74px;

  scroll-behavior: smooth;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
html { overflow-x: hidden; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--emerald-400); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--emerald-300); color: #052d20; }

/* ---------- 3. Typography ---------- */
h1,h2,h3,h4,h5 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.15rem, 5.4vw, 3.85rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }
h4 { font-size: 1.12rem; }
p  { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.75; }
strong { color: var(--ink); font-weight: 700; }
mark { background: linear-gradient(transparent 55%, rgba(62,217,154,.5) 0); color: inherit; padding: 0 .1em; }

/* gradient text util */
.grad-text {
  background: var(--grad-emerald);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sec-gap); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--mint-50), #fff); }
.section--dark { background: var(--grad-dark); color: #dff3ea; }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: #fff; }
.section--dark p { color: #b7d8cb; }

.narrow { max-width: 820px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--mint-100);
  border: 1px solid var(--line-2);
  padding: .42rem .95rem; border-radius: var(--r-pill);
}
.section--dark .eyebrow { color: #6ff0bd; background: rgba(18,184,119,.14); border-color: rgba(62,217,154,.28); }
.sec-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 58px); }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin: .7rem 0 .8rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  padding: .92rem 1.7rem; border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--grad-emerald); color: #fff; box-shadow: var(--shadow-emerald); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(14,143,94,.45); }
.btn-ghost { background: var(--surface); color: var(--emerald-700); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--emerald-400); color: var(--emerald-600); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: #17241d; }
.btn-tg { background: #229ED9; color: #fff; box-shadow: 0 14px 30px rgba(34,158,217,.35); }
.btn-tg:hover { transform: translateY(-3px); background: #1b8dc4; box-shadow: 0 18px 38px rgba(34,158,217,.45); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.06rem; }
.btn-sm { padding: .62rem 1.15rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn-white { background:#fff; color: var(--emerald-700); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: stretch; gap: 1rem; padding-top: 12px;
}
.nav-inner {
  min-height: 58px; border-radius: var(--r-pill);
  background: var(--glass); backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  padding: .35rem .5rem .35rem 1.1rem;
}
.site-header.scrolled .nav-inner { background: rgba(255,255,255,.9); box-shadow: var(--shadow-md); }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand img { height: 46px; width: auto; }
@media (max-width: 520px) { .brand img { height: 40px; } }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-family: var(--f-head); font-weight: 500; font-size: .95rem; color: var(--ink-2);
  padding: .55rem .85rem; border-radius: var(--r-pill); position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--emerald-700); background: var(--mint-100); }
.nav-links a.active { color: var(--emerald-700); background: var(--mint-100); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-cta { padding: .62rem 1.25rem; }

/* language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-head); font-weight: 600; font-size: .85rem;
  padding: .5rem .8rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2);
}
.lang-btn:hover { border-color: var(--emerald-400); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 148px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: .35rem; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: .2s; z-index: 50;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: .5rem; text-align: left;
  padding: .55rem .7rem; border-radius: 10px; font-weight: 500; font-size: .9rem; color: var(--ink-2);
}
.lang-menu button:hover { background: var(--mint-100); color: var(--emerald-700); }
.lang-menu button.active { background: var(--mint-100); color: var(--emerald-700); font-weight: 600; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--line-2); }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 99; visibility: hidden; opacity: 0; transition: .3s;
  overflow: hidden; /* clip the off-canvas panel so it never creates horizontal scroll */
}
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(6,40,29,.45); backdrop-filter: blur(3px); }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px);
  background: #fff; box-shadow: var(--shadow-lg); padding: 1.4rem 1.3rem;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: .4rem; overflow-y: auto;
}
body.menu-open .mobile-drawer { visibility: visible; opacity: 1; }
body.menu-open .mobile-drawer .panel { transform: translateX(0); }
.mobile-drawer a { font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; padding: .85rem .7rem; border-radius: 12px; color: var(--ink-2); }
.mobile-drawer a:hover, .mobile-drawer a.active { background: var(--mint-100); color: var(--emerald-700); }
.mobile-drawer .dr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.mobile-drawer .dr-head img { height: 34px; }
.mobile-drawer .dr-close { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-100); font-size: 1.3rem; color: var(--emerald-700); }
.mobile-drawer .dr-cta { margin-top: .8rem; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); padding-top: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 1rem 0 1.1rem; }
.hero .lead { max-width: 540px; }
.hero-cta { margin-top: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 2.2rem; }
.hero-badge { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-family: var(--f-head); font-size: .92rem; color: var(--ink-2); }
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--emerald-600); }

.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; }
.blob.b1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(62,217,154,.7), transparent 70%); top: -120px; left: -80px; animation: float 9s ease-in-out infinite; }
.blob.b2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(15,174,152,.55), transparent 70%); bottom: -140px; right: 8%; animation: float 11s ease-in-out infinite reverse; }

/* phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; z-index: 2; perspective: 1400px; }
.phone {
  position: relative; width: clamp(240px, 30vw, 320px); aspect-ratio: 320/650;
  background: linear-gradient(160deg, #14231c, #060d0a);
  border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.04) inset;
  animation: phoneFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 42%; height: 22px; background: #060d0a; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0b1611; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-glow { position: absolute; inset: -30px; border-radius: 60px; background: var(--grad-emerald); filter: blur(60px); opacity: .28; z-index: -1; }

/* floating chips around phone */
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--glass-brd); border-radius: 16px; padding: .6rem .85rem;
  box-shadow: var(--shadow-md); font-family: var(--f-head); font-weight: 600; font-size: .82rem;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--grad-emerald); }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; font-family: var(--f-body); }
.float-chip.c1 { top: 12%; left: -6%; animation: floatY 5s ease-in-out infinite; }
.float-chip.c2 { bottom: 16%; right: -8%; animation: floatY 6.5s ease-in-out infinite .5s; }
.float-chip.c3 { bottom: 4%; left: 2%; animation: floatY 5.8s ease-in-out infinite .2s; }

/* marquee providers */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: scrollX 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--muted-2); white-space: nowrap; letter-spacing: .02em; }

/* ---------- 8. Cards / grids ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

/* feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1.4rem; }
.feature { padding: 1.9rem 1.7rem; }
.feature .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--mint-100); color: var(--emerald-600); box-shadow: inset 0 0 0 1px var(--line-2);
}
.feature h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.feature p { font-size: .96rem; color: var(--muted); }

/* stat counters */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1.2rem; }
.stat { text-align: center; padding: 1.7rem 1rem; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.section:not(.section--dark) .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; background: var(--grad-emerald); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { display: block; margin-top: .55rem; font-weight: 500; color: var(--muted); font-size: .92rem; }
.section--dark .stat .lbl { color: #a9cdbf; }

/* game cards */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: clamp(14px,1.6vw,22px); }
.game-card {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: #0c1712;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
  display: block; aspect-ratio: 3/4;
}
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.game-card:hover img { transform: scale(1.08); }
.game-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: .8rem; background: linear-gradient(180deg, transparent 40%, rgba(4,20,14,.85) 100%);
  opacity: 0; transition: opacity .3s;
}
.game-card:hover .overlay { opacity: 1; }
.game-card .play {
  align-self: center; margin-bottom: auto; margin-top: auto; width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-emerald); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-emerald);
  transform: scale(.6); transition: transform .3s;
}
.game-card:hover .play { transform: scale(1); }
.game-card .name { color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .9rem; line-height: 1.2; }
.game-card .prov { color: #9fe6c6; font-size: .72rem; font-weight: 500; }
.game-tag {
  position: absolute; top: .55rem; left: .55rem; z-index: 2; font-family: var(--f-head);
  font-weight: 700; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .5rem; border-radius: 7px; color: #052d20;
}
.game-tag.hot { background: linear-gradient(135deg,#ffd166,#ff9f45); color:#3a1c00; }
.game-tag.new { background: var(--emerald-300); }

/* games toolbar */
.games-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.search-box { position: relative; flex: 1 1 260px; max-width: 420px; }
.search-box input { width: 100%; padding: .85rem 1rem .85rem 2.9rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: #fff; box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { border-color: var(--emerald-400); box-shadow: 0 0 0 4px rgba(62,217,154,.18); outline: none; }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--f-head); font-weight: 600; font-size: .84rem; padding: .55rem 1.05rem; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--line-2); color: var(--ink-2); transition: .2s; }
.chip:hover { border-color: var(--emerald-400); color: var(--emerald-600); }
.chip.active { background: var(--grad-emerald); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.no-results { text-align: center; padding: 3rem; color: var(--muted); font-weight: 500; }
.games-count { font-weight: 500; color: var(--muted); font-size: .92rem; }

/* ---------- 9. Steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 2.1rem 1.6rem 1.6rem; }
.step .n {
  position: absolute; top: -22px; left: 1.5rem; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--grad-emerald); box-shadow: var(--shadow-emerald);
}
.step h3 { font-size: 1.15rem; margin: .3rem 0 .5rem; }
.step p { font-size: .95rem; color: var(--muted); }

/* ---------- 10. Screenshots slider ---------- */
.shots { position: relative; }
.shots-viewport { overflow: hidden; padding: 12px 4px 24px; }
.shots-track { display: flex; gap: clamp(16px, 2.2vw, 30px); transition: transform .55s cubic-bezier(.22,.85,.28,1); will-change: transform; }
.shot {
  flex: 0 0 auto; width: clamp(190px, 22vw, 250px); border-radius: 30px; overflow: hidden;
  background: linear-gradient(160deg,#14231c,#060d0a); padding: 9px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06); transition: transform .45s, opacity .45s;
}
.shot img { border-radius: 22px; aspect-ratio: 320/650; object-fit: cover; width: 100%; }
.shots-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.shots-arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-2); color: var(--emerald-700); box-shadow: var(--shadow-sm); transition: .2s; }
.section--dark .shots-arrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #9fe6c6; }
.shots-arrow:hover { transform: scale(1.08); border-color: var(--emerald-400); }
.shots-dots { display: flex; gap: .5rem; }
.shots-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: .3s; }
.section--dark .shots-dots button { background: rgba(255,255,255,.25); }
.shots-dots button.active { width: 26px; border-radius: 5px; background: var(--grad-emerald); }

/* ---------- 11. OG banner ---------- */
.og-banner { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.og-banner img { width: 100%; display: block; }
.og-banner .og-frame { position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: var(--r-xl); pointer-events: none; }
.og-cta-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* ---------- 12. Accordion / FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .9rem; }
.acc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: box-shadow .25s, border-color .25s;
}
.acc.open { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1.25rem 1.4rem; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.acc-q .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-100); color: var(--emerald-600); transition: transform .3s, background .3s, color .3s; }
.acc.open .acc-q .ic { transform: rotate(45deg); background: var(--grad-emerald); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- 13. Trust / info strip ---------- */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.4rem; }
.info-card { padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .8rem; }
.info-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.info-card.tg .ic { background: #229ED9; }
.info-card.comm .ic { background: var(--grad-emerald); }
.info-card.safe .ic { background: linear-gradient(135deg,#f2b705,#f27405); }
.info-card h3 { font-size: 1.2rem; }
.info-card p { font-size: .95rem; color: var(--muted); flex: 1; }

/* content / prose */
.prose { max-width: 820px; }
.prose h2 { margin: 2.2rem 0 .9rem; }
.prose h3 { margin: 1.8rem 0 .7rem; }
.prose p { margin-bottom: 1.05rem; }
.prose ul { margin: 0 0 1.15rem; display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.8rem; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 18px; border-radius: 6px; background: var(--mint-100); box-shadow: inset 0 0 0 1px var(--line-2); }
.prose ul li::after { content: ""; position: absolute; left: 5px; top: calc(.55em + 4px); width: 9px; height: 5px; border-left: 2px solid var(--emerald-600); border-bottom: 2px solid var(--emerald-600); transform: rotate(-45deg); }
.prose ol { margin: 0 0 1.15rem 1.3rem; display: grid; gap: .6rem; list-style: decimal; }
.prose ol li { padding-left: .3rem; color: var(--ink-2); }
.prose a { color: var(--emerald-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* two-col highlight */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.checklist { display: grid; gap: .9rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); }
.checklist .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--mint-100); color: var(--emerald-600); margin-top: 2px; }

/* mockup frame (download page) */
.mockup-wrap { position: relative; display: grid; place-items: center; }
.mockup-wrap .phone { animation: phoneFloat 6.5s ease-in-out infinite; }
.mockup-badges { position: absolute; inset: 0; pointer-events: none; }

/* pill list / requirements */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.1rem; }
.req { display: flex; gap: .9rem; align-items: center; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }
.req .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-100); color: var(--emerald-600); }
.req b { font-family: var(--f-head); display: block; font-size: .95rem; }
.req span { font-size: .85rem; color: var(--muted); }

/* ---------- 14. Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,52px); align-items: start; }
.form-card { padding: clamp(1.6rem,3vw,2.4rem); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--f-head); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--line-2);
  background: var(--mint-50); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--emerald-400); background: #fff; box-shadow: 0 0 0 4px rgba(62,217,154,.16); }
.field .err { color: #d64545; font-size: .82rem; margin-top: .35rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #e88; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--mint-100); border: 1px solid var(--emerald-300); color: var(--emerald-800); font-weight: 600; margin-bottom: 1rem; }
.form-success.show { display: block; }

.contact-cards { display: grid; gap: 1.1rem; }

/* ---------- 15. FAB ---------- */
.fab {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(84px, 12vw, 34px); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #229ED9; color: #fff; box-shadow: 0 14px 34px rgba(34,158,217,.5);
  transition: transform .3s;
}
.fab:hover { transform: scale(1.08); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #229ED9; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.fab svg { width: 30px; height: 30px; }
.fab .fab-badge { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: #ff5a5a; color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }

/* ---------- 16. Mobile bottom nav ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 88; display: none;
  background: var(--glass); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid var(--glass-brd); box-shadow: 0 -8px 30px rgba(11,45,34,.1);
  padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom));
}
.bottom-nav ul { display: flex; justify-content: space-around; align-items: stretch; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .18rem; padding: .5rem .2rem; color: var(--muted); font-family: var(--f-head); font-weight: 600; font-size: .68rem; border-radius: 14px; transition: color .25s; position: relative; }
.bottom-nav a .ic { width: 24px; height: 24px; display: grid; place-items: center; transition: transform .25s; }
.bottom-nav a.active { color: var(--emerald-700); }
.bottom-nav a.active .ic { transform: translateY(-2px); }
.bottom-nav a.active::before { content: ""; position: absolute; top: 4px; width: 34px; height: 34px; border-radius: 12px; background: var(--mint-100); z-index: -1; }
.bottom-nav a.center-cta { color: #fff; }
.bottom-nav a.center-cta .ic { width: 46px; height: 46px; border-radius: 16px; background: var(--grad-emerald); color: #fff; box-shadow: var(--shadow-emerald); margin-top: -18px; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--grad-dark); color: #b7d8cb; padding-top: clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,48px); }
.footer-brand img { height: 50px; margin-bottom: 1.1rem; }
.footer-brand p { color: #9fc4b6; font-size: .95rem; max-width: 340px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #cdeadd; transition: .25s; }
.footer-social a:hover { background: var(--grad-emerald); color: #fff; transform: translateY(-3px); border-color: transparent; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .01em; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: #a9cdbf; font-size: .94rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #6ff0bd; padding-left: 4px; }
.footer-disclaimer {
  margin-top: clamp(38px,5vw,58px); padding: 1.6rem 1.8rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
}
.footer-disclaimer p { color: #9fc4b6; font-size: .88rem; line-height: 1.7; }
.footer-disclaimer strong { color: #d9f2e8; }
.footer-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.footer-tags a { font-size: .78rem; padding: .3rem .7rem; border-radius: var(--r-pill); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #8fb6a7; transition: .2s; }
.footer-tags a:hover { color: #6ff0bd; border-color: rgba(62,217,154,.35); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.6rem 0; margin-top: clamp(30px,4vw,48px); border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { font-size: .86rem; color: #8fb6a7; }
.footer-bottom .resp { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #6ff0bd; font-family: var(--f-head); font-size: .82rem; }
.age-pill { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,90,90,.16); color: #ff8a8a; font-weight: 800; font-family: var(--f-head); font-size: .8rem; border: 1px solid rgba(255,90,90,.3); }

/* ---------- 18. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.4rem,5vw,4rem); background: var(--grad-emerald); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 1rem auto 1.8rem; position: relative; }
.cta-band .btn-row { justify-content: center; position: relative; }

/* page hero (inner pages) */
.page-hero { background: var(--grad-hero); padding: clamp(48px,7vw,90px) 0 clamp(40px,5vw,64px); position: relative; overflow: hidden; }
.page-hero .breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.page-hero .breadcrumb a:hover { color: var(--emerald-600); }
.page-hero h1 { margin-bottom: .9rem; }
.page-hero .lead { max-width: 680px; }

/* keyword tag cloud */
.kw-cloud { display: flex; flex-wrap: wrap; gap: .55rem; }
.kw-cloud span { font-size: .84rem; font-weight: 600; font-family: var(--f-head); padding: .45rem .95rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); color: var(--emerald-700); box-shadow: var(--shadow-xs); }
.section--dark .kw-cloud span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #8ff0c2; }

/* ---------- 19. Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* scroll progress bar */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad-emerald); transition: width .1s linear; }

/* ---------- 20. Animations ---------- */
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(18px,-24px); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes phoneFloat { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(-1deg); } }
@keyframes scrollX { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 21. Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .phone-stage { order: 1; }
  .hero .lead { margin-inline: auto; }
  .hero-badges, .hero-cta .btn-row { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-links, .nav > .nav-actions .lang-switch, .nav-cta.desk { display: none; }
  .nav-toggle { display: flex; }
  .bottom-nav { display: block; }
  body { padding-bottom: 68px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-social { justify-content: center; }
  .fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip.c1 { left: -2%; top: 6%; }
  .float-chip.c2 { right: -2%; }
  .btn-row { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
