:root{
  --bg:#010a13;
  --bg-2:#0a1428;
  --panel:#0a1e2c;
  --panel-2:#0e2733;
  --line:rgba(200,170,110,.22);
  --line-2:rgba(200,170,110,.45);
  --gold-1:#f0e6d2;
  --gold-2:#c8aa6e;
  --gold-3:#785a28;
  --gold-4:#463714;
  --blue-1:#cdfafa;
  --blue-2:#0ac8b9;
  --blue-3:#0397ab;
  --blue-4:#005a82;
  --text:#a09b8c;
  --text-2:#cdbe91;
  --muted:#5b5a56;
  --hot:#e08080;
  --r:2px;
}

*{margin:0;padding:0;box-sizing:border-box}

html{scroll-behavior:smooth;scroll-padding-top:96px}

body{
  font-family:'Vazirmatn',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.9;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}

.bg-scene{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(ellipse 60% 40% at 85% 0%,rgba(10,200,185,.10),transparent 65%),
    radial-gradient(ellipse 55% 45% at 10% 100%,rgba(120,90,40,.12),transparent 65%),
    linear-gradient(180deg,#010a13 0%,#061321 45%,#010a13 100%);
}

.bg-scene::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(200,170,110,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(200,170,110,.035) 1px,transparent 1px);
  background-size:90px 90px;
  -webkit-mask-image:radial-gradient(ellipse 75% 65% at 50% 25%,#000 0%,transparent 85%);
  mask-image:radial-gradient(ellipse 75% 65% at 50% 25%,#000 0%,transparent 85%);
}

.container{width:min(1240px,100% - 48px);margin-inline:auto}

.skip-link{
  position:absolute;
  inset-inline-start:-9999px;
  top:0;
  z-index:200;
  background:var(--gold-2);
  color:#010a13;
  padding:10px 20px;
  font-weight:700;
  border-radius:0 0 4px 4px;
}
.skip-link:focus{inset-inline-start:20px}

/* ══════════ NAV ══════════ */

.site-nav{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(1,10,19,.88);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  transition:background .3s ease,border-color .3s ease;
}

.site-nav.scrolled{
  background:rgba(1,10,19,.97);
  border-bottom-color:var(--line-2);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  height:80px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
}

.brand-mark{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  position:relative;
  background:linear-gradient(150deg,rgba(200,170,110,.12),transparent);
  border:1px solid var(--gold-3);
}

.brand-mark::before{
  content:"";
  position:absolute;
  inset:4px;
  border:1px solid rgba(200,170,110,.18);
}

.brand-mark img{width:32px;height:32px;object-fit:contain;position:relative;z-index:1;background-color: white;}

.brand-name{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-name strong{
  font-size:1.15rem;
  font-weight:900;
  color:var(--gold-1);
  letter-spacing:5px;
  line-height:1;
}

.brand-name span{
  font-size:.6rem;
  font-weight:500;
  color:var(--gold-2);
  letter-spacing:4px;
  text-transform:uppercase;
  opacity:.75;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:2px;
}

.nav-links a{
  display:block;
  padding:9px 16px;
  font-size:.85rem;
  font-weight:500;
  color:var(--text);
  letter-spacing:.3px;
  border:1px solid transparent;
  transition:all .22s ease;
  position:relative;
}

.nav-links a:hover{
  color:var(--gold-1);
  background:rgba(200,170,110,.05);
  border-color:rgba(200,170,110,.18);
}

.nav-play{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 22px !important;
  font-size:.82rem !important;
  font-weight:700 !important;
  letter-spacing:1.5px;
  color:var(--gold-1) !important;
  border:1px solid var(--gold-3) !important;
  background:linear-gradient(180deg,rgba(120,90,40,.28),rgba(70,55,20,.18));
  position:relative;
}

.nav-play::before,
.nav-play::after{
  content:"";
  position:absolute;
  width:8px;
  height:8px;
  border-color:var(--gold-2);
  border-style:solid;
  opacity:.7;
}

.nav-play::before{top:-1px;right:-1px;border-width:1px 1px 0 0}
.nav-play::after{bottom:-1px;left:-1px;border-width:0 0 1px 1px}

.nav-play:hover{
  background:linear-gradient(180deg,rgba(120,90,40,.5),rgba(70,55,20,.3)) !important;
  box-shadow:0 0 20px rgba(200,170,110,.2);
}

.burger{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--gold-3);
  background:transparent;
  cursor:pointer;
  position:relative;
  flex-shrink:0;
}

.burger span{
  position:absolute;
  inset-inline:11px;
  height:1px;
  background:var(--gold-2);
  transition:.3s ease;
}

.burger span:nth-child(1){top:14px}
.burger span:nth-child(2){top:20px}
.burger span:nth-child(3){top:26px}

.burger[aria-expanded="true"] span:nth-child(1){top:20px;transform:rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){top:20px;transform:rotate(-45deg)}

/* ══════════ HERO ══════════ */

.hero{
  padding:88px 0 72px;
  position:relative;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:64px;
  align-items:center;
  position:relative;
  z-index:1;
}

.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold-2);
  border:1px solid rgba(200,170,110,.3);
  padding:7px 16px;
  margin-bottom:26px;
}

.hero-tag i{
  width:6px;
  height:6px;
  background:var(--blue-2);
  box-shadow:0 0 10px var(--blue-2);
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.35;transform:scale(.85)}
}

.hero h1{
  font-size:clamp(1.9rem,4.2vw,3.4rem);
  font-weight:900;
  color:var(--gold-1);
  line-height:1.5;
  letter-spacing:-.5px;
  margin-bottom:22px;
}

.hero h1 .hl{
  color:var(--blue-2);
  position:relative;
  white-space:nowrap;
}

.hero h1 .hl::after{
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:4px;
  height:8px;
  background:linear-gradient(90deg,transparent,rgba(10,200,185,.22),transparent);
  z-index:-1;
}

.hero h1 .gold{
  color:var(--gold-2);
}

.hero-lead{
  font-size:.96rem;
  color:var(--text);
  max-width:540px;
  line-height:2.15;
  margin-bottom:34px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 34px;
  font-size:.85rem;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .25s ease;
  position:relative;
  font-family:inherit;
}

.btn-primary{
  color:var(--gold-1);
  border-color:var(--gold-3);
  background:linear-gradient(180deg,rgba(120,90,40,.3),rgba(70,55,20,.18));
}

.btn-primary::before,
.btn-primary::after{
  content:"";
  position:absolute;
  width:8px;
  height:8px;
  border-color:var(--gold-2);
  border-style:solid;
  opacity:.75;
  transition:opacity .25s;
}

.btn-primary::before{top:-1px;right:-1px;border-width:1px 1px 0 0}
.btn-primary::after{bottom:-1px;left:-1px;border-width:0 0 1px 1px}

.btn-primary:hover{
  background:linear-gradient(180deg,rgba(120,90,40,.55),rgba(70,55,20,.32));
  box-shadow:0 0 24px rgba(200,170,110,.25);
  transform:translateY(-2px);
}

.btn-primary:hover::before,
.btn-primary:hover::after{opacity:1}

.btn-ghost{
  color:var(--text-2);
  border-color:rgba(200,170,110,.22);
  background:transparent;
}

.btn-ghost:hover{
  color:var(--gold-1);
  border-color:var(--gold-3);
  background:rgba(200,170,110,.05);
  transform:translateY(-2px);
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  margin-top:48px;
  background:var(--line);
  border:1px solid var(--line);
  overflow:hidden;
}

.hero-stats div{
  background:rgba(10,20,40,.65);
  padding:18px 12px;
  text-align:center;
  transition:background .25s;
}

.hero-stats div:hover{background:rgba(10,50,60,.7)}

.hero-stats strong{
  display:block;
  font-size:.92rem;
  font-weight:700;
  color:var(--gold-1);
  letter-spacing:.5px;
}

.hero-stats span{
  display:block;
  font-size:.68rem;
  color:var(--text);
  line-height:1.7;
  margin-top:4px;
  opacity:.85;
}

.hero-visual{
  position:relative;
  display:grid;
  place-items:center;
  min-height:520px;
}

.hero-visual::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(10,200,185,.18),transparent 65%);
  filter:blur(30px);
  z-index:0;
}

.hero-visual::after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  border:1px dashed rgba(200,170,110,.15);
  animation:spin 40s linear infinite;
  z-index:0;
}

@keyframes spin{to{transform:rotate(360deg)}}

.phone-frame{
  position:relative;
  z-index:1;
  width:min(300px,100%);
  padding:10px;
  border:1px solid var(--gold-3);
  background:linear-gradient(160deg,rgba(200,170,110,.18),rgba(200,170,110,.04));
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,.9),
    0 0 0 1px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(200,170,110,.15);
  transform:perspective(1200px) rotateY(-6deg) rotateX(3deg);
}

.phone-frame::before,
.phone-frame::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  border-color:var(--gold-2);
  border-style:solid;
  z-index:2;
}

.phone-frame::before{top:-2px;right:-2px;border-width:2px 2px 0 0}
.phone-frame::after{bottom:-2px;left:-2px;border-width:0 0 2px 2px}

.phone-screen{
  border-radius:2px;
  overflow:hidden;
  aspect-ratio:9/19;
  background:#050a12;
}

.phone-screen img{width:100%;height:100%;object-fit:cover}

.hero-chip{
  position:absolute;
  z-index:2;
  padding:10px 16px;
  border:1px solid var(--line-2);
  background:rgba(1,10,19,.92);
  backdrop-filter:blur(10px);
  font-size:.76rem;
  font-weight:700;
  color:var(--gold-1);
  letter-spacing:.5px;
  box-shadow:0 20px 40px -20px rgba(0,0,0,.9);
  animation:float 6s ease-in-out infinite;
}

.chip-a{top:36px;inset-inline-start:-16px;color:var(--blue-2)}
.chip-b{bottom:48px;inset-inline-end:-16px;animation-delay:1.8s}

.hero-chip i{
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  margin-inline-end:6px;
  box-shadow:0 0 8px currentColor;
}

@keyframes float{
  50%{transform:translateY(-12px)}
}

/* ══════════ SECTION HEADS ══════════ */

section{padding:88px 0}

.sec-head{
  margin-bottom:52px;
  max-width:680px;
}

.sec-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:3.5px;
  text-transform:uppercase;
  color:var(--gold-2);
  margin-bottom:18px;
}

.sec-kicker::before,
.sec-kicker::after{
  content:"";
  width:28px;
  height:1px;
  background:var(--gold-3);
}

.sec-head h2{
  font-size:clamp(1.5rem,3vw,2.15rem);
  font-weight:900;
  color:var(--gold-1);
  line-height:1.55;
  letter-spacing:-.3px;
}

.sec-head p{
  margin-top:14px;
  font-size:.9rem;
  color:var(--text);
  line-height:2.1;
}

/* ══════════ GAMES ══════════ */

.games-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.game-card{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:28px 26px 26px;
  border:1px solid var(--line);
  background:linear-gradient(165deg,var(--panel-2),var(--bg-2));
  transition:all .3s ease;
  overflow:hidden;
}

.game-card::before,
.game-card::after{
  content:"";
  position:absolute;
  width:14px;
  height:14px;
  border-color:var(--gold-2);
  border-style:solid;
  opacity:0;
  transition:opacity .3s ease;
  z-index:2;
}

.game-card::before{top:-1px;right:-1px;border-width:1px 1px 0 0}
.game-card::after{bottom:-1px;left:-1px;border-width:0 0 1px 1px}

.game-card:hover{
  border-color:rgba(200,170,110,.5);
  transform:translateY(-5px);
  box-shadow:
    0 28px 50px -28px rgba(0,0,0,.9),
    0 0 0 1px rgba(200,170,110,.08);
}

.game-card:hover::before,
.game-card:hover::after{opacity:1}

.game-glow{
  position:absolute;
  width:200px;
  height:200px;
  top:-70px;
  inset-inline-end:-70px;
  border-radius:50%;
  background:var(--tint,var(--gold-2));
  filter:blur(80px);
  opacity:0;
  transition:opacity .45s ease;
  pointer-events:none;
  z-index:0;
}

.game-card:hover .game-glow{opacity:.28}

.game-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border:1px solid rgba(200,170,110,.22);
  background:rgba(200,170,110,.04);
  margin-bottom:20px;
  position:relative;
  z-index:1;
  transition:border-color .3s;
}

.game-card:hover .game-icon{
  border-color:color-mix(in srgb,var(--tint,var(--gold-2)) 60%,transparent);
}

.game-icon svg{
  width:30px;
  height:30px;
  fill:var(--tint,var(--gold-2));
  color:var(--tint,var(--gold-2));
}

.game-card h3{
  font-size:1.05rem;
  font-weight:700;
  color:var(--gold-1);
  margin-bottom:6px;
  position:relative;
  z-index:1;
}

.game-meta{
  font-size:.78rem;
  color:var(--text);
  letter-spacing:.3px;
  position:relative;
  z-index:1;
  opacity:.85;
}

.game-arrow{
  margin-top:20px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.74rem;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--muted);
  transition:all .3s ease;
  position:relative;
  z-index:1;
}

.game-arrow::after{
  content:"←";
  font-size:.95rem;
  transition:transform .3s ease;
}

.game-card:hover .game-arrow{
  color:var(--tint,var(--gold-2));
}

.game-card:hover .game-arrow::after{transform:translateX(-6px)}

.game-badge{
  position:absolute;
  top:22px;
  inset-inline-start:22px;
  font-size:.6rem;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:4px 11px;
  border:1px solid rgba(224,128,128,.35);
  color:var(--hot);
  background:rgba(224,128,128,.08);
  z-index:2;
}

.game-badge.new{
  border-color:rgba(10,200,185,.4);
  color:var(--blue-2);
  background:rgba(10,200,185,.08);
}

.g-chess{--tint:#c8aa6e}
.g-ludo{--tint:#e08080}
.g-words{--tint:#f0a400}
.g-backgammon{--tint:#0ac8b9}
.g-othello{--tint:#50c878}
.g-uno{--tint:#ff8c42}
.g-4inrow{--tint:#ff5a5f}

/* ── آیکون‌های تصویری بازی‌ها ────────────────────────────────────────────────
   تصاویر واقعیِ بازی در /images/icons/<game>-<size>.png ذخیره شده‌اند.
   با کلاس pk-game-icon (بدونِ src درون HTML) فقط انتخابِ درستِ سایز انجام می‌شود و
   آدرس کامل همیشه نسبت به ریشهٔ سایت است؛ بنابراین صفحات game/<name>/ هم که
   زیرمسیر هستند بدون تغییر کار می‌کنند. (JS: PatokIcons.html(id, size, className)) */

img.pk-game-icon{
  display:block;
  width:1.75rem;
  height:1.75rem;
  object-fit:contain;
  border-radius:22%;
  background:rgba(255,255,255,.05);
  box-shadow:0 3px 10px -4px rgba(0,0,0,.7);
  flex:0 0 auto;
}

img.pk-game-icon.pk-game-icon--thumb{ width:1.5rem; height:1.5rem }
img.pk-game-icon.pk-game-icon--chip{ width:1rem; height:1rem; border-radius:24%; background:transparent; box-shadow:none }
img.pk-game-icon.pk-game-icon--tile{ width:3rem; height:3rem; border-radius:16px }
img.pk-game-icon.pk-game-icon--tile-sm{ width:2.25rem; height:2.25rem; border-radius:14px }
img.pk-game-icon.pk-game-icon--lg{ width:3.5rem; height:3.5rem; border-radius:18px }

/* در کارت‌های «بازی‌های دیگر» آیکون جای ایموجی را می‌گیرد. */
.other-games .game-card .emo{
  display:grid;
  place-items:center;
  margin-bottom:10px;
}
.other-games .game-card img.pk-game-icon{
  transition:transform .3s ease, box-shadow .3s ease;
}
.other-games .game-card:hover img.pk-game-icon{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 10px 22px -12px var(--tint,var(--gold-2));
}

/* فریمِ آیکون در صفحه‌های بازی (hero) */
.pl-game-icon{
  display:inline-grid;
  place-items:center;
  width:84px;
  height:84px;
  border-radius:22px;
  border:1px solid rgba(200,170,110,.3);
  background:linear-gradient(160deg,rgba(200,170,110,.10),rgba(10,200,185,.06));
  box-shadow:0 18px 40px -24px rgba(0,0,0,.9);
  margin-bottom:14px;
}
.pl-game-icon img.pk-game-icon{
  width:64px;
  height:64px;
  border-radius:18px;
  box-shadow:none;
  background:none;
}

@media (max-width:640px){
  .pl-game-icon{width:64px;height:64px;border-radius:18px}
  .pl-game-icon img.pk-game-icon{width:48px;height:48px;border-radius:14px}
}

.all-games{
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:26px 32px;
  border:1px dashed var(--line-2);
  background:linear-gradient(100deg,rgba(10,200,185,.05),rgba(200,170,110,.04));
  transition:all .3s ease;
  flex-wrap:wrap;
}

.all-games:hover{
  border-color:var(--gold-2);
  border-style:solid;
  background:linear-gradient(100deg,rgba(10,200,185,.09),rgba(200,170,110,.08));
}

.all-games h3{
  font-size:1.05rem;
  font-weight:700;
  color:var(--gold-1);
  margin-bottom:4px;
}

.all-games p{
  font-size:.82rem;
  color:var(--text);
}

.ag-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 24px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--gold-1);
  border:1px solid var(--gold-3);
  background:linear-gradient(180deg,rgba(120,90,40,.28),rgba(70,55,20,.15));
  transition:all .25s ease;
  white-space:nowrap;
}

.ag-btn::after{content:"←";transition:transform .3s ease}
.all-games:hover .ag-btn{box-shadow:0 0 20px rgba(200,170,110,.2)}
.all-games:hover .ag-btn::after{transform:translateX(-5px)}

.note-line{
  margin-top:24px;
  text-align:center;
  font-size:.85rem;
  color:var(--text);
}

.note-line a{
  color:var(--blue-2);
  border-bottom:1px solid rgba(10,200,185,.35);
  transition:all .2s;
}

.note-line a:hover{
  color:var(--blue-1);
  border-bottom-color:var(--blue-1);
}

/* ══════════ SHOWCASE ══════════ */

.showcase{padding:88px 0}

.showcase .container:first-child{margin-bottom:40px}

.reel-wrap{
  position:relative;
}

.reel-wrap::before,
.reel-wrap::after{
  content:"";
  position:absolute;
  top:0;
  bottom:24px;
  width:80px;
  z-index:2;
  pointer-events:none;
}

.reel-wrap::before{
  inset-inline-end:0;
  background:linear-gradient(to left,var(--bg),transparent);
}

.reel-wrap::after{
  inset-inline-start:0;
  background:linear-gradient(to right,var(--bg),transparent);
}

.reel{
  display:flex;
  gap:20px;
  overflow-x:auto;
  padding:8px 24px 32px;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  scrollbar-color:var(--gold-3) transparent;
}

.reel::-webkit-scrollbar{height:6px}
.reel::-webkit-scrollbar-track{background:rgba(255,255,255,.03)}
.reel::-webkit-scrollbar-thumb{background:var(--gold-3);border-radius:99px}
.reel::-webkit-scrollbar-thumb:hover{background:var(--gold-2)}

.phone{
  flex:0 0 260px;
  scroll-snap-align:center;
  padding:9px;
  border:1px solid var(--line);
  background:linear-gradient(160deg,rgba(200,170,110,.10),rgba(200,170,110,.02));
  transition:all .35s ease;
  position:relative;
}

.phone::before,
.phone::after{
  content:"";
  position:absolute;
  width:10px;
  height:10px;
  border-color:var(--gold-2);
  border-style:solid;
  opacity:0;
  transition:opacity .3s;
}

.phone::before{top:-1px;right:-1px;border-width:1px 1px 0 0}
.phone::after{bottom:-1px;left:-1px;border-width:0 0 1px 1px}

.phone:hover{
  border-color:var(--line-2);
  transform:translateY(-8px);
  box-shadow:0 30px 50px -30px rgba(0,0,0,.9),0 0 24px rgba(200,170,110,.08);
}

.phone:hover::before,
.phone:hover::after{opacity:1}

.phone-screen-2{
  overflow:hidden;
  aspect-ratio:9/19;
  background:#050a12;
  border-radius:2px;
}

.phone-screen-2 img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.phone-caption{
  padding:14px 4px 4px;
  font-size:.74rem;
  font-weight:500;
  color:var(--text-2);
  text-align:center;
  letter-spacing:.5px;
}

/* ══════════ FEATURES ══════════ */

.bento{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.feat{
  padding:28px 24px;
  border:1px solid var(--line);
  background:linear-gradient(170deg,rgba(14,39,51,.7),rgba(10,20,40,.7));
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}

.feat::before{
  content:"";
  position:absolute;
  top:0;
  inset-inline-start:0;
  width:40px;
  height:2px;
  background:var(--gold-2);
  opacity:.5;
  transition:width .35s ease,opacity .35s ease;
}

.feat:hover{
  border-color:var(--line-2);
  transform:translateY(-4px);
  background:linear-gradient(170deg,rgba(14,55,70,.75),rgba(10,25,45,.75));
}

.feat:hover::before{width:80px;opacity:1}

.feat-wide{
  grid-column:span 2;
  background:linear-gradient(150deg,rgba(10,200,185,.09),rgba(10,20,40,.9) 65%);
  border-color:rgba(10,200,185,.28);
}

.feat-wide::before{background:var(--blue-2)}

.feat-icon{
  font-size:1.5rem;
  margin-bottom:16px;
  line-height:1;
  filter:grayscale(0);
}

.feat h3{
  font-size:.98rem;
  font-weight:700;
  color:var(--gold-1);
  margin-bottom:8px;
  letter-spacing:.3px;
}

.feat p{
  font-size:.83rem;
  color:var(--text);
  line-height:2.05;
  opacity:.92;
}

.voice-wave{
  display:flex;
  align-items:flex-end;
  gap:4px;
  height:28px;
  margin-top:20px;
}

.voice-wave i{
  width:4px;
  background:linear-gradient(180deg,var(--blue-2),rgba(10,200,185,.25));
  border-radius:2px;
  animation:wave 1.3s ease-in-out infinite;
}

.voice-wave i:nth-child(1){height:30%;animation-delay:0s}
.voice-wave i:nth-child(2){height:65%;animation-delay:.1s}
.voice-wave i:nth-child(3){height:45%;animation-delay:.2s}
.voice-wave i:nth-child(4){height:85%;animation-delay:.3s}
.voice-wave i:nth-child(5){height:55%;animation-delay:.4s}
.voice-wave i:nth-child(6){height:95%;animation-delay:.5s}
.voice-wave i:nth-child(7){height:40%;animation-delay:.6s}
.voice-wave i:nth-child(8){height:70%;animation-delay:.7s}
.voice-wave i:nth-child(9){height:25%;animation-delay:.8s}

@keyframes wave{
  0%,100%{transform:scaleY(1)}
  50%{transform:scaleY(.45)}
}

/* ══════════ CTA ══════════ */

.cta-band{
  position:relative;
  padding:72px 48px;
  text-align:center;
  border:1px solid var(--line-2);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%,rgba(10,200,185,.12),transparent 70%),
    linear-gradient(180deg,var(--panel-2),var(--bg-2));
  overflow:hidden;
}

.cta-band::before,
.cta-band::after{
  content:"";
  position:absolute;
  width:24px;
  height:24px;
  border-color:var(--gold-2);
  border-style:solid;
}

.cta-band::before{top:-1px;right:-1px;border-width:2px 2px 0 0}
.cta-band::after{bottom:-1px;left:-1px;border-width:0 0 2px 2px}

.cta-band h2{
  font-size:clamp(1.4rem,3vw,2.1rem);
  font-weight:900;
  color:var(--gold-1);
  line-height:1.55;
  margin-bottom:16px;
  letter-spacing:-.3px;
}

.cta-band p{
  font-size:.92rem;
  color:var(--text);
  max-width:520px;
  margin:0 auto 34px;
  line-height:2.15;
}

/* ══════════ FEEDBACK ══════════ */

.feedback{
  padding:52px 40px;
  text-align:center;
  border:1px dashed var(--line-2);
  background:linear-gradient(150deg,rgba(10,200,185,.06),rgba(200,170,110,.05));
  position:relative;
}

.feedback h2{
  font-size:clamp(1.2rem,2.6vw,1.7rem);
  font-weight:900;
  color:var(--gold-1);
  line-height:1.6;
  margin-bottom:14px;
}

.feedback > p{
  max-width:620px;
  margin:0 auto 30px;
  font-size:.9rem;
  color:var(--text);
  line-height:2.15;
}

.feedback > p strong{color:var(--gold-2);font-weight:700}

.feedback-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.tag-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:30px;
}

.tag-row span{
  font-size:.74rem;
  padding:6px 14px;
  border:1px solid rgba(200,170,110,.2);
  color:var(--text-2);
  background:rgba(200,170,110,.04);
  letter-spacing:.3px;
  transition:all .2s;
}

.tag-row span:hover{
  border-color:var(--gold-3);
  color:var(--gold-1);
}

/* ══════════ FAQ ══════════ */

.faq-list{
  display:grid;
  gap:10px;
  max-width:880px;
}

.faq-item{
  border:1px solid var(--line);
  background:linear-gradient(170deg,rgba(14,39,51,.65),rgba(10,20,40,.65));
  transition:all .3s ease;
  overflow:hidden;
}

.faq-item[open]{
  border-color:var(--line-2);
  background:linear-gradient(170deg,rgba(14,55,70,.75),rgba(10,25,45,.75));
}

.faq-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 26px;
  font-size:.94rem;
  font-weight:700;
  color:var(--gold-1);
  cursor:pointer;
  list-style:none;
  transition:color .25s;
}

.faq-item summary::-webkit-details-marker{display:none}

.faq-item summary:hover{color:var(--gold-2)}

.faq-marker{
  position:relative;
  width:26px;
  height:26px;
  flex-shrink:0;
  border:1px solid var(--gold-3);
  transition:all .3s ease;
}

.faq-marker::before,
.faq-marker::after{
  content:"";
  position:absolute;
  top:50%;
  inset-inline:7px;
  height:1px;
  background:var(--gold-2);
  transform:translateY(-50%);
  transition:transform .3s ease;
}

.faq-marker::after{transform:translateY(-50%) rotate(90deg)}

.faq-item[open] .faq-marker{
  background:rgba(200,170,110,.15);
  border-color:var(--gold-2);
}

.faq-item[open] .faq-marker::after{transform:translateY(-50%) rotate(0deg)}

.faq-body{
  padding:0 26px 22px;
  font-size:.86rem;
  color:var(--text);
  line-height:2.15;
}

.faq-body a{
  color:var(--blue-2);
  border-bottom:1px solid rgba(10,200,185,.35);
}

.faq-body a:hover{color:var(--blue-1)}

/* ══════════ FOOTER ══════════ */

.site-footer{
  border-top:1px solid var(--line);
  margin-top:48px;
  padding:52px 0 34px;
  background:rgba(1,10,19,.6);
}

.footer-top{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:40px;
  align-items:start;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
}

.footer-brand{max-width:320px}

.footer-brand p{
  margin-top:16px;
  font-size:.82rem;
  color:var(--text);
  line-height:2;
  opacity:.85;
}

.footer-links{
  display:flex;
  gap:12px 32px;
  flex-wrap:wrap;
  justify-content:center;
  align-self:center;
}

.footer-links a{
  font-size:.84rem;
  color:var(--text);
  transition:color .2s;
  position:relative;
}

.footer-links a::after{
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:-4px;
  height:1px;
  background:var(--gold-2);
  transform:scaleX(0);
  transition:transform .3s;
}

.footer-links a:hover{color:var(--gold-1)}
.footer-links a:hover::after{transform:scaleX(1)}

.symbols-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--gold-1);
  border:1px solid var(--gold-3);
  background:linear-gradient(180deg,rgba(120,90,40,.25),rgba(70,55,20,.15));
  transition:all .25s ease;
  align-self:center;
}

.symbols-btn:hover{
  border-color:var(--gold-2);
  box-shadow:0 0 20px rgba(200,170,110,.18);
  transform:translateY(-2px);
}

.footer-bottom{
  margin-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:.76rem;
  color:var(--muted);
  letter-spacing:.5px;
}

.footer-bottom strong{color:var(--gold-2);font-weight:700}

/* ══════════ REVEAL ══════════ */

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s ease,transform .8s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

/* ══════════ RESPONSIVE ══════════ */

@media (max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:56px}
  .hero-visual{min-height:440px}
  .phone-frame{transform:none}
  .games-grid{grid-template-columns:repeat(2,1fr)}
  .bento{grid-template-columns:repeat(2,1fr)}
  .feat-wide{grid-column:span 2}
}

@media (max-width:860px){
  .burger{display:block}

  .nav-links{
    position:fixed;
    inset:80px 0 auto;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:20px 24px 28px;
    background:rgba(1,10,19,.99);
    backdrop-filter:blur(20px);
    border-bottom:1px solid var(--line-2);
    transform:translateY(-130%);
    transition:transform .35s cubic-bezier(.4,0,.2,1);
    max-height:calc(100vh - 80px);
    overflow-y:auto;
  }

  .nav-links.active{transform:translateY(0)}

  .nav-links a{
    padding:14px 4px;
    font-size:.92rem;
    border-bottom:1px solid rgba(200,170,110,.08);
  }

  .nav-links li:last-child{border-bottom:none;margin-top:12px}
  .nav-play{justify-content:center}

  .hero{padding:56px 0 40px}
  .hero-stats{grid-template-columns:repeat(2,1fr)}
  .chip-a,.chip-b{display:none}
}

@media (max-width:640px){
  section{padding:64px 0}

  .games-grid{grid-template-columns:1fr}
  .bento{grid-template-columns:1fr}
  .feat-wide{grid-column:span 1}

  .phone{flex:0 0 220px}
  .phone-caption{font-size:.7rem}

  .cta-band{padding:52px 24px}
  .feedback{padding:38px 22px}

  .all-games{padding:22px;flex-direction:column;align-items:stretch}
  .ag-btn{justify-content:center}

  .footer-top{grid-template-columns:1fr;gap:24px;text-align:center}
  .footer-brand{margin:0 auto}
  .footer-links{justify-content:center}
  .symbols-btn{justify-self:center}
  .footer-bottom{justify-content:center;text-align:center}
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto}
}
