/* =========================================================
   HARIIF251 — Design tokens
   ========================================================= */
:root{
  --black:#05070A;
  --black-soft:#0B120E;
  --surface:#0F1712;
  --surface-2:#141E17;
  --border:rgba(232,213,140,0.14);
  --border-soft:rgba(255,255,255,0.08);

  --green-deep:#06301F;
  --green:#12784B;
  --green-bright:#22C57D;

  --gold:#E7B93A;
  --gold-light:#F6D876;
  --gold-deep:#9A6E1B;

  --ink:#F3F1E7;
  --ink-dim:#B9C2BA;
  --ink-mute:#7C897F;

  --whatsapp:#25D366;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Manrope', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --radius-sm:12px;
  --radius-md:20px;
  --radius-lg:28px;
  --radius-pill:999px;

  --shadow-gold: 0 20px 60px -20px rgba(231,185,58,0.35);
  --shadow-deep: 0 30px 80px -30px rgba(0,0,0,0.7);

  --ease: cubic-bezier(.22,1,.36,1);
  --container: 1180px;
}

[data-theme="light"]{
  --black:#F7F5EE;
  --black-soft:#FFFFFF;
  --surface:#FFFFFF;
  --surface-2:#F1EEE2;
  --border:rgba(154,110,27,0.18);
  --border-soft:rgba(6,48,31,0.1);
  --ink:#0E1712;
  --ink-dim:#3E4A42;
  --ink-mute:#6B776F;
}

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

body{
  margin:0;
  background:var(--black);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:background .4s var(--ease), color .4s var(--ease);
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0;
  letter-spacing:-0.02em;
  color:var(--ink);
}
p{margin:0;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer; background:none; border:none; color:inherit;}
svg{width:20px; height:20px; flex-shrink:0;}

::selection{background:var(--gold); color:#1a1400;}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:8px;
}

.gold-text{
  background:linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* grain overlay for premium texture */
.grain-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:9999;
  opacity:0.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* loader */
.loader{
  position:fixed; inset:0; z-index:10000; background:var(--black);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.hidden{opacity:0; visibility:hidden;}
.loader-mark{
  font-family:var(--font-display); font-weight:700; font-size:15px; letter-spacing:0.3em;
  color:var(--gold); padding:14px 22px; border:1px solid var(--border); border-radius:var(--radius-pill);
  animation:pulseFade 1.1s ease-in-out infinite;
}
@keyframes pulseFade{0%,100%{opacity:0.4;}50%{opacity:1;}}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:var(--radius-pill);
  font-family:var(--font-body); font-weight:700; font-size:15px;
  white-space:nowrap; transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  will-change:transform;
}
.btn svg{width:17px; height:17px;}
.btn:active{transform:scale(0.97);}
.btn-lg{padding:17px 32px; font-size:16px;}
.btn-sm{padding:10px 18px; font-size:13.5px;}
.btn-block{width:100%;}

.btn-gold{
  background:linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color:#1B1300;
  box-shadow:var(--shadow-gold);
}
.btn-gold:hover{transform:translateY(-2px); box-shadow:0 24px 70px -18px rgba(231,185,58,0.55);}

.btn-ghost{
  background:rgba(255,255,255,0.06);
  color:var(--ink);
  border:1px solid rgba(255,255,255,0.18);
  backdrop-filter:blur(10px);
}
.btn-ghost:hover{background:rgba(255,255,255,0.12); transform:translateY(-2px);}

.btn-outline-gold{
  background:transparent;
  color:var(--gold-light);
  border:1.5px solid var(--border);
}
.btn-outline-gold:hover{border-color:var(--gold); background:rgba(231,185,58,0.08); transform:translateY(-2px);}

.btn-whatsapp{
  background:linear-gradient(135deg,#2FE070,var(--whatsapp) 65%);
  color:#06210F;
  box-shadow:0 20px 50px -18px rgba(37,211,102,0.45);
}
.btn-whatsapp:hover{transform:translateY(-2px); box-shadow:0 26px 60px -16px rgba(37,211,102,0.6);}

.btn-download{
  background:linear-gradient(135deg,var(--green-bright),var(--green) 70%);
  color:#04160E;
  width:100%;
  box-shadow:0 20px 50px -18px rgba(34,197,125,0.4);
}
.btn-download:hover{transform:translateY(-2px);}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  transition:background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:color-mix(in srgb, var(--black) 78%, transparent);
  backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid var(--border-soft);
  box-shadow:0 10px 40px -20px rgba(0,0,0,0.5);
}
.header-inner{
  max-width:var(--container); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; gap:20px;
}
.brand{display:flex; align-items:center;}
.brand-logo{height:30px; width:auto;}

.main-nav{display:flex; align-items:center; gap:4px;}
.nav-link{
  display:flex; align-items:center; gap:6px;
  padding:9px 14px; border-radius:var(--radius-pill);
  font-size:14px; font-weight:600; color:var(--ink-dim);
  transition:color .3s, background .3s;
}
.nav-link:hover{color:var(--ink); background:rgba(255,255,255,0.06);}
.nav-index{font-family:var(--font-mono); font-size:10.5px; color:var(--gold); opacity:0.85;}

.header-actions{display:flex; align-items:center; gap:10px;}
.header-cta{display:inline-flex;}

.theme-toggle{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border-soft); color:var(--ink-dim);
  transition:border-color .3s, color .3s;
}
.theme-toggle:hover{color:var(--gold); border-color:var(--border);}
.theme-toggle svg{width:17px; height:17px;}
.icon-moon{display:none;}
[data-theme="light"] .icon-sun{display:none;}
[data-theme="light"] .icon-moon{display:block;}

.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px;
}
.hamburger span{width:20px; height:2px; background:var(--ink); margin:0 auto; transition:transform .35s var(--ease), opacity .35s var(--ease);}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav{
  display:none; flex-direction:column; gap:2px;
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .5s var(--ease), opacity .35s var(--ease);
  background:color-mix(in srgb, var(--black) 92%, transparent);
  backdrop-filter:blur(20px);
  border-top:1px solid var(--border-soft);
  padding:0 20px;
}
.mobile-nav.open{max-height:480px; opacity:1; padding:14px 20px 22px;}
.mobile-nav-link{padding:13px 4px; font-weight:600; border-bottom:1px solid var(--border-soft); font-size:15px;}
.mobile-nav-cta{margin-top:16px;}

@media (max-width:920px){
  .main-nav{display:none;}
  .hamburger{display:flex;}
  .mobile-nav{display:flex;}
  .header-cta{display:none;}
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:center;
  overflow:hidden; padding:120px 24px 80px;
}
.hero-media{position:absolute; inset:0; z-index:0;}
.hero-video{width:100%; height:100%; object-fit:cover; object-position:center 20%;}
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,10,0.55) 0%, rgba(5,7,10,0.55) 30%, rgba(5,7,10,0.92) 100%),
    linear-gradient(100deg, rgba(6,48,31,0.55), rgba(5,7,10,0.2) 55%);
}
.hero-scrim-vignette{
  position:absolute; inset:0;
  background:radial-gradient(ellipse at 20% 30%, rgba(231,185,58,0.14), transparent 55%);
}
.sound-toggle{
  position:absolute; bottom:20px; right:20px; z-index:2;
  display:flex; align-items:center; gap:8px;
  padding:10px 16px; border-radius:var(--radius-pill);
  background:rgba(5,7,10,0.55); border:1px solid rgba(255,255,255,0.22);
  backdrop-filter:blur(10px); color:#fff;
  transition:background .3s, border-color .3s, transform .3s;
}
.sound-toggle:hover{background:rgba(5,7,10,0.75); transform:translateY(-2px);}
.sound-toggle svg{width:16px; height:16px;}
.sound-toggle-label{font-size:12.5px; font-weight:700;}
.icon-unmute{display:none;}
.sound-toggle[aria-pressed="true"] .icon-mute{display:none;}
.sound-toggle[aria-pressed="true"] .icon-unmute{display:block;}
@media (max-width:760px){
  .sound-toggle{bottom:16px; right:16px; padding:9px 14px;}
}
.hero-content{
  position:relative; z-index:1; max-width:680px;
  animation:heroIn 1.1s var(--ease) both;
}
@keyframes heroIn{from{opacity:0; transform:translateY(24px);} to{opacity:1; transform:translateY(0);}}

/* Mobile: show the hero video in its own natural, uncropped card
   (matching the contact section video) instead of a full-bleed crop. */
@media (max-width:760px){
  .hero{
    display:block; min-height:auto;
    padding:104px 0 56px;
  }
  .hero-media{
    position:relative; inset:auto;
    aspect-ratio:16/9;
    margin:0 20px 28px;
    border-radius:var(--radius-lg);
    overflow:hidden;
    box-shadow:var(--shadow-deep), 0 0 0 1px var(--border-soft);
  }
  .hero-video{object-fit:cover; object-position:center center;}
  .hero-scrim, .hero-scrim-vignette{display:none;}
  .hero-content{max-width:none; padding:0 24px;}
  .hero-title{color:var(--ink);}
  .hero-sub{color:var(--ink-dim);}
  .hero-disclaimer{color:var(--ink-mute);}
  .eyebrow-hero{background:rgba(231,185,58,0.08); border-color:var(--border); color:var(--gold-light);}
  .scroll-cue{display:none;}
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--gold-light);
  padding:8px 16px; border:1px solid var(--border); border-radius:var(--radius-pill);
  background:rgba(231,185,58,0.06);
}
.eyebrow-hero{background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.16); color:#fff;}
.eyebrow .dot{width:7px; height:7px; border-radius:50%; background:var(--green-bright); box-shadow:0 0 0 4px rgba(34,197,125,0.25); animation:dotPulse 1.8s ease-in-out infinite;}
@keyframes dotPulse{0%,100%{opacity:1;}50%{opacity:0.45;}}

.hero-title{
  font-size:clamp(2.6rem, 6vw, 4.5rem);
  font-weight:700; line-height:1.02; margin:22px 0 20px;
  color:#fff;
}
.hero-sub{
  font-size:clamp(1rem,1.6vw,1.2rem); color:rgba(255,255,255,0.82);
  max-width:540px; margin-bottom:34px;
}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-bottom:22px;}
.hero-disclaimer{font-size:12.5px; color:rgba(255,255,255,0.55); max-width:480px;}

.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:6px;
  color:rgba(255,255,255,0.6); z-index:1;
  animation:bob 2.4s ease-in-out infinite;
}
.scroll-cue span{width:1px; height:26px; background:linear-gradient(180deg, transparent, rgba(255,255,255,0.6));}
.scroll-cue svg{width:16px; height:16px;}
@keyframes bob{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,6px);}}

/* =========================================================
   Sections — shared
   ========================================================= */
.section{padding:120px 24px; position:relative;}
.section-alt{background:linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);}
.section-inner{max-width:var(--container); margin:0 auto;}

.section-head{max-width:640px; margin-bottom:56px;}
.section-head-center{max-width:600px; margin-left:auto; margin-right:auto; text-align:center;}
.eyebrow-num{font-weight:700; color:var(--gold);}
.section-title{font-size:clamp(2rem,3.6vw,2.9rem); margin:18px 0 16px;}
.section-lead{font-size:17px; color:var(--ink-dim); line-height:1.7;}

.js-ready .reveal{opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
.reveal.in-view{opacity:1; transform:translateY(0);}

/* =========================================================
   Split layout (video + info)
   ========================================================= */
.split-layout{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:start;
}
.split-reverse{grid-template-columns:1.15fr 0.85fr;}
.split-reverse .phone-stage{order:2;}
.split-reverse .game-types{order:1;}

@media (max-width:900px){
  .split-layout, .split-reverse{grid-template-columns:1fr; gap:40px;}
  .split-reverse .phone-stage{order:1;}
  .split-reverse .game-types{order:2;}
}

/* clean video card — no device bezel, matches the rest of the site */
.phone-stage{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;}
.phone-glow{
  position:absolute; width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle, rgba(231,185,58,0.22), transparent 70%);
  filter:blur(30px); top:6%; z-index:0;
}
.phone-glow-green{background:radial-gradient(circle, rgba(34,197,125,0.24), transparent 70%);}
.phone-frame{
  position:relative; z-index:1; width:100%; max-width:320px;
  aspect-ratio:9/16;
  background:#000;
  border:1px solid var(--border-soft);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-deep);
  overflow:hidden;
}
.phone-video{width:100%; height:100%; object-fit:contain; background:#000; display:block;}

.video-actions{
  position:relative; z-index:1; width:100%; max-width:320px; margin:18px auto 0;
  display:flex; gap:10px;
}
.video-actions .btn{flex:1; padding:13px 16px; font-size:14px;}
.video-promo-btn{position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px;}
.video-promo-btn .promo-copy-icon{position:relative; width:16px; height:16px;}
.video-promo-btn .promo-copy-icon svg{width:16px; height:16px;}


.info-stack{display:flex; flex-direction:column; gap:20px;}

.card{
  background:var(--surface); border:1px solid var(--border-soft);
  border-radius:var(--radius-md); padding:26px;
  transition:border-color .35s, transform .35s;
}
.card:hover{border-color:var(--border);}

/* promo card */
.promo-card-head{display:flex; align-items:flex-start; gap:14px; margin-bottom:18px;}
.promo-card-head svg{color:var(--gold); margin-top:2px;}
.promo-label{font-weight:700; font-size:15.5px;}
.promo-hint{font-size:13px; color:var(--ink-mute); margin-top:2px;}
.promo-code{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; border-radius:var(--radius-sm);
  background:linear-gradient(135deg, rgba(231,185,58,0.12), rgba(231,185,58,0.04));
  border:1.5px dashed var(--border);
  transition:border-color .3s, background .3s;
}
.promo-code:hover{border-color:var(--gold);}
.promo-code-text{font-family:var(--font-mono); font-size:22px; font-weight:700; letter-spacing:0.08em; color:var(--gold-light);}
.promo-copy-icon{position:relative; width:22px; height:22px; color:var(--gold);}
.promo-copy-icon svg{position:absolute; top:0; left:0; transition:opacity .25s, transform .25s;}
.icon-check{opacity:0; transform:scale(0.6); color:var(--green-bright);}
.promo-code.copied .icon-copy, .video-promo-btn.copied .icon-copy{opacity:0; transform:scale(0.6);}
.promo-code.copied .icon-check, .video-promo-btn.copied .icon-check{opacity:1; transform:scale(1);}
.video-promo-btn.copied{border-color:var(--green-bright); color:var(--green-bright);}

.mini-steps{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px;}
.mini-steps li{display:flex; align-items:flex-start; gap:12px; font-size:14.5px; color:var(--ink-dim); line-height:1.55;}
.mini-step-num{
  flex-shrink:0; width:24px; height:24px; border-radius:50%;
  background:rgba(231,185,58,0.12); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:12px; font-weight:700;
}
.mini-steps strong{color:var(--ink);}

/* download panel */
.download-panel{
  margin-top:48px; padding:36px;
  background:linear-gradient(160deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); border-radius:var(--radius-lg);
  display:grid; gap:24px; place-items:center; text-align:center;
}
.download-banner{max-width:420px; width:100%; border-radius:var(--radius-md); box-shadow:0 20px 60px -24px rgba(0,0,0,0.6);}
.melbet-strip{display:flex; align-items:center; gap:16px; max-width:440px; text-align:start;}
.melbet-logo{height:30px; width:auto; flex-shrink:0;}
.melbet-strip p{font-size:13.5px; color:var(--ink-mute); line-height:1.5;}
.download-panel .btn-download{max-width:360px;}

/* game grid */
.game-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:28px;}
.game-card{
  background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--radius-sm);
  padding:22px 14px; text-align:center;
  transition:transform .3s var(--ease), border-color .3s, background .3s;
}
.game-card:hover{transform:translateY(-4px); border-color:var(--border); background:var(--surface-2);}
.game-icon{
  width:44px; height:44px; margin:0 auto 12px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(231,185,58,0.14), rgba(34,197,125,0.1));
  color:var(--gold-light);
}
.game-card p{font-size:12.5px; font-weight:700; color:var(--ink-dim); line-height:1.35;}

.callout{
  display:flex; gap:14px; align-items:flex-start;
  padding:18px 20px; border-radius:var(--radius-sm);
  background:rgba(231,185,58,0.07); border:1px solid var(--border);
}
.callout svg{color:var(--gold); flex-shrink:0; margin-top:1px;}
.callout p{font-size:13.5px; color:var(--ink-dim); line-height:1.6;}
.callout strong{color:var(--gold-light);}

/* withdraw / location card */
.location-card{display:flex; flex-direction:column; gap:0;}
.location-row{display:flex; align-items:center; gap:16px; padding:6px 0;}
.location-icon{
  width:42px; height:42px; border-radius:12px; flex-shrink:0;
  background:rgba(231,185,58,0.1); color:var(--gold);
  display:flex; align-items:center; justify-content:center;
}
.location-label{font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--ink-mute); font-weight:700;}
.location-value{font-size:17px; font-weight:700; margin-top:2px;}
.location-divider{height:1px; background:var(--border-soft); margin:14px 0;}
.location-card .btn-outline-gold{margin-top:22px;}

.fallback-note{font-size:13px; color:var(--ink-mute); text-align:center;}
.fallback-note a{color:var(--gold-light); font-weight:700;}

/* telegram */
.section-telegram{padding:100px 24px;}
.telegram-card{
  position:relative; max-width:760px; margin:0 auto; text-align:center;
  padding:64px 40px; border-radius:var(--radius-lg);
  background:linear-gradient(165deg, var(--green-deep), var(--black-soft) 60%);
  border:1px solid var(--border); overflow:hidden;
}
.telegram-glow{
  position:absolute; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(231,185,58,0.2), transparent 70%);
  top:-160px; left:50%; transform:translateX(-50%); filter:blur(10px);
}
.telegram-icon{position:relative; width:52px; height:52px; color:var(--gold); margin-bottom:22px;}
.telegram-title{position:relative; font-size:clamp(1.7rem,3vw,2.3rem); margin-bottom:16px;}
.telegram-text{position:relative; display:block; color:var(--ink-dim); font-size:16px; max-width:520px; margin:0 auto 32px; line-height:1.7;}

/* contact */
.contact-layout{display:grid; grid-template-columns:1.4fr 1fr; gap:40px; align-items:center;}
@media (max-width:800px){.contact-layout{grid-template-columns:1fr;}}
.wide-video{
  border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border-soft);
  box-shadow:var(--shadow-deep); aspect-ratio:16/9;
}
.wide-video-el{width:100%; height:100%; object-fit:cover; background:#000;}
.contact-actions{display:flex; flex-direction:column; gap:14px;}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:var(--black-soft); border-top:1px solid var(--border-soft);
  padding:80px 24px 32px;
}
.footer-inner{max-width:var(--container); margin:0 auto;}
.footer-top{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid var(--border-soft);}
@media (max-width:800px){.footer-top{grid-template-columns:1fr 1fr; row-gap:36px;}}
@media (max-width:520px){.footer-top{grid-template-columns:1fr;}}

.footer-logo{height:34px; width:auto; margin-bottom:18px;}
.footer-about{font-size:13.5px; color:var(--ink-mute); line-height:1.7; max-width:340px;}
.footer-social{display:flex; gap:10px; margin-top:20px;}
.social-btn{
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--surface); border:1px solid var(--border-soft); color:var(--gold-light);
  transition:transform .3s, border-color .3s;
}
.social-btn svg{width:17px; height:17px;}
.social-btn:hover{transform:translateY(-3px); border-color:var(--border);}

.footer-col h4{font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:var(--ink-mute); margin-bottom:16px;}
.footer-col{display:flex; flex-direction:column; gap:11px;}
.footer-col a{font-size:14px; color:var(--ink-dim); transition:color .25s;}
.footer-col a:hover{color:var(--gold-light);}

.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  padding-top:28px; font-size:12.5px; color:var(--ink-mute);
}

/* =========================================================
   Floating elements
   ========================================================= */
.back-to-top{
  position:fixed; bottom:28px; left:28px; z-index:900;
  width:46px; height:46px; border-radius:50%;
  background:var(--surface); border:1px solid var(--border);
  color:var(--gold); display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-deep);
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.back-to-top.show{opacity:1; visibility:visible; transform:translateY(0);}

.floating-whatsapp{
  position:fixed; bottom:28px; right:28px; z-index:900;
  width:58px; height:58px; border-radius:50%;
  background:linear-gradient(135deg,#2FE070,var(--whatsapp) 65%);
  color:#06210F; display:flex; align-items:center; justify-content:center;
  box-shadow:0 16px 40px -10px rgba(37,211,102,0.55);
  animation:floatPulse 2.6s ease-in-out infinite;
}
.floating-whatsapp svg{width:27px; height:27px;}
@keyframes floatPulse{0%,100%{box-shadow:0 16px 40px -10px rgba(37,211,102,0.55);}50%{box-shadow:0 16px 46px -6px rgba(37,211,102,0.8);}}

.toast{
  position:fixed; bottom:100px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--ink); color:var(--black); font-weight:700; font-size:14px;
  padding:13px 24px; border-radius:var(--radius-pill); z-index:1200;
  opacity:0; pointer-events:none; transition:opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow:var(--shadow-deep);
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0);}

/* modal */
.modal-backdrop{
  position:fixed; inset:0; z-index:1100; background:rgba(0,0,0,0.65); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; visibility:hidden; transition:opacity .35s var(--ease), visibility .35s;
}
.modal-backdrop.open{opacity:1; visibility:visible;}
.modal{
  position:relative; max-width:460px; width:100%; background:var(--surface);
  border:1px solid var(--border); border-radius:var(--radius-md); padding:36px 32px;
  transform:translateY(16px); transition:transform .35s var(--ease);
}
.modal-backdrop.open .modal{transform:translateY(0);}
.modal-close{position:absolute; top:18px; right:18px; font-size:16px; color:var(--ink-mute);}
.modal h3{font-size:20px; margin-bottom:14px;}
.modal p{font-size:14px; color:var(--ink-dim); line-height:1.7;}
.modal-panel{display:none;}
.modal-panel.active{display:block;}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width:600px){
  .section{padding:88px 20px;}
  .hero{padding:110px 20px 70px;}
  .header-inner{padding:14px 18px;}
  .download-panel{padding:26px 20px;}
  .telegram-card{padding:48px 24px;}
  .game-grid{grid-template-columns:repeat(2,1fr);}
  .back-to-top{width:42px; height:42px; bottom:20px; left:20px;}
  .floating-whatsapp{width:52px; height:52px; bottom:20px; right:20px;}
}
