/* ============================================================
   777in — Master Stylesheet
   Luxury dark-gold gaming affiliate platform
   ============================================================ */

/* 01. RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-primary); color: #120909; }

/* 02. CUSTOM PROPERTIES ------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary:      #120909;
  --bg-surface:      #1A0E0E;
  --bg-section:      #241313;
  --bg-elevated:     #2B1717;

  /* Brand */
  --gold-primary:    #D4AF37;
  --gold-light:      #F0D060;
  --gold-muted:      #9A7E22;
  --orange-accent:   #FF6B00;
  --orange-bright:   #FF7A00;
  --red-notify:      #E53935;
  --success:         #22C55E;

  /* Gradients */
  --gradient-hero:   linear-gradient(135deg, #120909 0%, #2B1010 50%, #120909 100%);
  --gradient-btn:    linear-gradient(90deg, #FFB800 0%, #FF6B00 100%);
  --gradient-card:   linear-gradient(180deg, #231313, #181010);
  --gradient-gold:   linear-gradient(135deg, #D4AF37, #F0D060, #9A7E22);
  --gradient-section:linear-gradient(180deg, #120909, #1A0E0E, #120909);

  /* Text */
  --text-primary:    #FFFFFF;
  --text-secondary:  #CFCFCF;
  --text-muted:      #8F8F8F;
  --text-gold:       #D4AF37;

  /* Borders & glows */
  --border-gold:     rgba(212, 175, 55, 0.25);
  --border-surface:  rgba(255, 255, 255, 0.06);
  --glow-gold:       0 0 24px rgba(212, 175, 55, 0.20);
  --glow-orange:     0 0 20px rgba(255, 107, 0, 0.30);
  --glow-gold-hover: 0 0 40px rgba(212, 175, 55, 0.40);

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* Blur / glass */
  --glass-blur:  blur(20px);
  --glass-bg:    rgba(26, 14, 14, 0.60);

  /* Fonts */
  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Layout */
  --container: 1200px;
  --header-height: 76px;
  --section-pad: 80px;
}

/* 03. BASE TYPOGRAPHY -------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: var(--text-base);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
p  { color: var(--text-secondary); }
a:hover { color: var(--gold-light); }
strong { color: var(--text-primary); }
.mono { font-family: var(--font-mono); }
.text-gold { color: var(--gold-primary); }
.gold-gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 04. LAYOUT SYSTEM ---------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-pad); position: relative; }
.section--surface { background: var(--bg-surface); }
.section--alt { background: var(--bg-section); }
.section--gradient { background: var(--gradient-section); }
main { min-height: 60vh; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.overline {
  display: inline-block; font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-primary);
  padding: 6px 14px; border: 1px solid var(--border-gold); border-radius: var(--radius-pill);
  margin-bottom: 18px; background: rgba(212,175,55,0.05);
}
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: var(--text-lg); }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 9999;
  background: var(--gold-primary); color: #120909; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* 05. AFFILIATE BAR ---------------------------------------- */
.affiliate-bar {
  background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(255,107,0,0.10), rgba(212,175,55,0.12));
  border-bottom: 1px solid var(--border-gold);
  font-size: var(--text-xs); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px 44px 8px 16px; position: relative; text-align: center;
}
.affiliate-bar strong { color: var(--gold-primary); font-weight: 600; }
.affiliate-bar.hidden { display: none; }
.affiliate-bar__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; color: var(--text-muted);
  display: grid; place-items: center; font-size: 16px; line-height: 1;
}
.affiliate-bar__close:hover { color: var(--gold-light); background: rgba(255,255,255,0.06); }

/* 06. HEADER ----------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(18,9,9,0.55); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-surface); transition: padding .3s ease, background .3s ease;
}
.header.scrolled { background: rgba(18,9,9,0.9); border-bottom-color: var(--border-gold); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-img { height: 44px; width: auto; object-fit: contain; display: block; max-width: 160px; }
.logo__mark { display: none; }
.logo span, .logo strong { display: none; }
.footer__brand .logo-img { height: 40px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav a.active { color: var(--gold-primary); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--border-surface); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .3s, opacity .3s; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 07. MOBILE NAV OVERLAY ----------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 950; background: rgba(18,9,9,0.97); backdrop-filter: var(--glass-blur);
  display: flex; flex-direction: column; padding: 100px 28px 40px; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--text-primary); padding: 12px 0; border-bottom: 1px solid var(--border-surface); opacity: 0; transform: translateX(20px); transition: opacity .4s ease, transform .4s ease; }
body.nav-open .mobile-nav a { opacity: 1; transform: translateX(0); }
body.nav-open .mobile-nav a:nth-child(1) { transition-delay: .08s; }
body.nav-open .mobile-nav a:nth-child(2) { transition-delay: .13s; }
body.nav-open .mobile-nav a:nth-child(3) { transition-delay: .18s; }
body.nav-open .mobile-nav a:nth-child(4) { transition-delay: .23s; }
body.nav-open .mobile-nav a:nth-child(5) { transition-delay: .28s; }
body.nav-open .mobile-nav a:nth-child(6) { transition-delay: .33s; }
body.nav-open .mobile-nav a:nth-child(7) { transition-delay: .38s; }
body.nav-open .mobile-nav a:nth-child(8) { transition-delay: .43s; }
.mobile-nav .btn { margin-top: 20px; }
body.nav-open { overflow: hidden; }

/* 08. BUTTON SYSTEM ---------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); padding: 13px 26px; border-radius: var(--radius-pill); transition: transform .2s ease, box-shadow .3s ease, background .3s; white-space: nowrap; line-height: 1; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--gradient-btn); color: #1a0d00; box-shadow: var(--glow-orange); }
.btn-primary:hover { color: #1a0d00; box-shadow: 0 0 32px rgba(255,107,0,.5); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border-gold); color: var(--gold-primary); background: rgba(212,175,55,0.04); }
.btn-outline:hover { color: var(--gold-light); border-color: var(--gold-primary); box-shadow: var(--glow-gold); }
.btn-ghost { color: var(--text-secondary); border: 1px solid var(--border-surface); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-muted); }
.btn-gold { background: var(--gradient-gold); color: #120909; box-shadow: var(--glow-gold); }
.btn-gold:hover { color: #120909; box-shadow: var(--glow-gold-hover); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: var(--text-sm); }
.btn-lg { padding: 17px 38px; font-size: var(--text-lg); }
.btn-full { width: 100%; }
.btn-icon { padding: 12px; width: 46px; height: 46px; }

/* 09. BADGE SYSTEM ----------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; padding: 4px 9px; border-radius: var(--radius-pill); letter-spacing: .05em; text-transform: uppercase; }
.badge-hot { background: rgba(255,107,0,.16); color: var(--orange-bright); border: 1px solid rgba(255,107,0,.35); }
.badge-new { background: rgba(34,197,94,.14); color: var(--success); border: 1px solid rgba(34,197,94,.32); }
.badge-jackpot { background: rgba(212,175,55,.16); color: var(--gold-light); border: 1px solid var(--border-gold); }
.badge-live { background: rgba(229,57,53,.16); color: #ff6b67; border: 1px solid rgba(229,57,53,.32); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-notify); animation: networkPulse 1.4s infinite; }
.badge-rtp { background: rgba(255,255,255,.05); color: var(--text-secondary); border: 1px solid var(--border-surface); }
.badge-cat { background: rgba(212,175,55,.08); color: var(--gold-muted); border: 1px solid var(--border-gold); }

/* 10. CARD SYSTEM ------------------------------------------ */
.card { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md); padding: 28px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card:hover { border-color: var(--border-gold); box-shadow: var(--glow-gold); transform: translateY(-4px); }
.card--glass { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border-surface); border-radius: var(--radius-md); }
.card--feature { padding: 32px; }
.card__icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: rgba(212,175,55,.1); border: 1px solid var(--border-gold); display: grid; place-items: center; color: var(--gold-primary); font-size: 26px; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: var(--text-sm); }
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* 11. FORM SYSTEM ------------------------------------------ */
.form { display: flex; flex-direction: column; gap: 22px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--border-surface);
  border-radius: var(--radius-sm); padding: 18px 16px 8px; color: var(--text-primary);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 22px; }
.field select { padding-top: 16px; padding-bottom: 16px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-primary); box-shadow: var(--glow-gold); }
.field label { position: absolute; left: 16px; top: 15px; color: var(--text-muted); font-size: var(--text-sm); pointer-events: none; transition: transform .18s ease, color .18s ease, font-size .18s ease; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: var(--text-xs); color: var(--gold-primary); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field .error-msg { display: none; color: #ff7a78; font-size: var(--text-xs); margin-top: 6px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red-notify); }
.field.invalid .error-msg { display: block; }
.char-counter { text-align: right; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); margin-top: 4px; }
.char-counter.warn { color: var(--red-notify); }
.form-success { text-align: center; padding: 40px; display: none; }
.form-success.show { display: block; animation: scaleIn .4s ease; }
.form-success .check { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: rgba(34,197,94,.14); border: 2px solid var(--success); display: grid; place-items: center; color: var(--success); font-size: 34px; }

/* 12. HERO VARIANTS ---------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(212,175,55,.12), transparent 60%); }
.hero__grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.float-shape { position: absolute; border-radius: 30%; background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(255,107,0,.06)); filter: blur(2px); }

/* Homepage diagonal hero */
.hero-home { padding-block: 90px; }
.hero-home .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-home h1 { font-size: var(--text-6xl); margin-bottom: 22px; }
.hero-home .lead { font-size: var(--text-lg); color: var(--text-secondary); max-width: 520px; margin-bottom: 32px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-row .trust-item { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-muted); }
.trust-row .trust-item span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-primary); box-shadow: var(--glow-gold); }

/* Editorial hero (about, how-to-play) */
.hero-editorial { padding-block: 110px; text-align: center; }
.hero-editorial h1 { font-size: var(--text-6xl); max-width: 14ch; margin: 0 auto 24px; }
.hero-editorial p { max-width: 60ch; margin: 0 auto; font-size: var(--text-lg); }
.dot-grid-bg { background-image: radial-gradient(rgba(212,175,55,.10) 1px, transparent 1px); background-size: 26px 26px; }

/* Minimal hero (contact, faq) */
.hero-minimal { padding-block: 80px; text-align: center; }
.hero-minimal h1 { font-size: var(--text-5xl); margin-bottom: 18px; }

/* 13. PHONE MOCKUP ----------------------------------------- */
.phone-mockup-wrapper { position: relative; display: grid; place-items: center; min-height: 560px; }
.pulse-ring { position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid var(--border-gold); }
.pulse-ring-1 { animation: pulseRing 3s ease-out infinite; }
.pulse-ring-2 { animation: pulseRing 3s ease-out infinite 1.5s; }
.phone-mockup { position: relative; z-index: 2; }
.phone-frame { width: 290px; height: 590px; background: #0c0606; border: 2px solid rgba(212,175,55,.3); border-radius: 42px; padding: 12px; box-shadow: var(--glow-gold-hover), inset 0 0 0 2px #000; position: relative; }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #000; border-radius: 0 0 16px 16px; z-index: 5; display: grid; place-items: center; }
.phone-camera { width: 8px; height: 8px; border-radius: 50%; background: #2b1717; }
.phone-screen { background: var(--bg-primary); border-radius: 32px; height: 100%; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.phone-statusbar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-muted); padding: 6px 8px 0; font-family: var(--font-mono); }
.phone-signals { display: flex; gap: 6px; align-items: center; }
.signal-bars { color: var(--gold-primary); letter-spacing: -2px; }
.phone-app-header { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; }
.app-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; }
.app-logo-text span { color: var(--gold-primary); }
.phone-balance { text-align: right; display: flex; flex-direction: column; }
.balance-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.balance-amount { font-family: var(--font-mono); color: var(--gold-primary); font-weight: 600; font-size: 15px; }
.phone-banner { background: var(--gradient-card); border: 1px solid var(--border-gold); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--glow-gold); }
.banner-tag { font-size: 11px; color: var(--orange-bright); }
.banner-amount { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px; }
.phone-game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-game-tile { background: var(--bg-surface); border: 1px solid var(--border-surface); border-radius: 12px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.game-tile-icon { font-size: 24px; }
.game-tile-name { font-size: 11px; color: var(--text-secondary); }
.phone-withdraw-btn { margin-top: auto; background: var(--gradient-btn); color: #1a0d00; border-radius: 12px; padding: 13px; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.phone-win-toast { position: absolute; bottom: 80px; left: 12px; right: 12px; background: var(--bg-elevated); border: 1px solid var(--success); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #fff; box-shadow: 0 0 18px rgba(34,197,94,.3); animation: slideDown 1s ease 1s both; }
.phone-home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 110px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }

/* 14. TICKER / MARQUEE ------------------------------------- */
.ticker { overflow: hidden; border-block: 1px solid var(--border-surface); background: rgba(255,255,255,.015); padding-block: 14px; }
.ticker__track { display: flex; gap: 44px; width: max-content; animation: ticker 30s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--text-muted); white-space: nowrap; }
.ticker__item::before { content: "◆"; color: var(--gold-primary); font-size: 9px; }

/* 15. STATS GRID ------------------------------------------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-surface); border: 1px solid var(--border-surface); border-radius: var(--radius-md); overflow: hidden; }
.stat-cell { background: var(--glass-bg); backdrop-filter: var(--glass-blur); padding: 30px 20px; text-align: center; }
.stat-number { font-family: var(--font-mono); font-size: var(--text-4xl); font-weight: 600; color: var(--gold-primary); line-height: 1; }
.stat-label { font-size: var(--text-sm); color: var(--text-muted); margin-top: 10px; }

/* 16. GAME CARD + GRID + MASONRY --------------------------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.game-grid.masonry .game-card.feature { grid-column: span 2; grid-row: span 2; }
.game-card { position: relative; background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.game-card:hover { transform: translateY(-5px); border-color: var(--border-gold); box-shadow: var(--glow-gold); }
.game-card__thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface)); position: relative; display: grid; place-items: center; font-size: 46px; overflow: hidden; }
.game-card.feature .game-card__thumb { aspect-ratio: 16/10; font-size: 72px; }
.game-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; z-index: 1; display: block; }
.game-card__thumb::after { z-index: 2; }
.game-card__badges { z-index: 4; } .game-card__rtp { z-index: 4; } .game-card__overlay { z-index: 5; }
/* game page hero image */
.game-hero-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--glow-gold); display: block; }
.game-card { display: block; text-decoration: none; color: inherit; }
.game-card:hover { color: inherit; }
.game-card__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(212,175,55,.12), transparent 70%); }
.game-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 3; }
.game-card__rtp { position: absolute; top: 10px; right: 10px; z-index: 3; }
.game-card__body { padding: 14px 16px; }
.game-card__name { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: var(--text-base); }
.game-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.game-card__provider { font-size: var(--text-xs); color: var(--text-muted); }
.game-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(18,9,9,.92)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; transition: opacity .3s; z-index: 4; }
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card.hidden { display: none; }

/* Hot games ribbon */
.ribbon { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 20px; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; }
.ribbon.dragging { cursor: grabbing; }
.ribbon::-webkit-scrollbar { height: 6px; }
.ribbon::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 99px; }
.ribbon .game-card { min-width: 220px; scroll-snap-align: start; }

/* 17. FILTER TABS ------------------------------------------ */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tab { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-surface); font-size: var(--text-sm); color: var(--text-secondary); transition: all .2s; }
.filter-tab:hover { border-color: var(--border-gold); color: var(--text-primary); }
.filter-tab.active { background: var(--gradient-gold); color: #120909; border-color: transparent; font-weight: 600; }
/* large tabs */
.tabs-lg { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border-surface); }
.tab-lg { padding: 14px 24px; font-family: var(--font-display); font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab-lg.active { color: var(--gold-primary); border-bottom-color: var(--gold-primary); }
.tab-panel { display: none; animation: fadeInUp .4s ease; }
.tab-panel.active { display: block; }
/* sidebar filter */
.filter-sidebar { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md); padding: 22px; position: sticky; top: calc(var(--header-height) + 16px); }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 12px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: var(--text-sm); cursor: pointer; }
.filter-group input[type=range] { width: 100%; accent-color: var(--gold-primary); }

/* 18. STEPS / PROCESS (3 variants) ------------------------- */
/* variant A: horizontal numbered timeline (homepage) */
.steps-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-timeline::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--border-gold), transparent); }
.step-node { text-align: center; position: relative; z-index: 2; }
.step-circle { width: 58px; height: 58px; border-radius: 50%; background: var(--bg-elevated); border: 2px solid var(--gold-primary); display: grid; place-items: center; margin: 0 auto 18px; font-family: var(--font-mono); font-weight: 600; color: var(--gold-primary); font-size: var(--text-xl); box-shadow: var(--glow-gold); }
.step-node h4 { margin-bottom: 8px; }
.step-node p { font-size: var(--text-sm); color: var(--text-muted); }
/* variant B: vertical alternating (download) */
.steps-vertical { position: relative; max-width: 880px; margin-inline: auto; }
.steps-vertical::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border-gold); transform: translateX(-50%); }
.step-row { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; gap: 20px; margin-bottom: 50px; }
.step-row .step-num-big { font-family: var(--font-display); font-size: var(--text-6xl); font-weight: 800; color: rgba(212,175,55,.18); text-align: center; }
.step-row .step-content { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md); padding: 24px; }
.step-row:nth-child(even) .step-content { order: 3; }
.step-row:nth-child(even) .step-num-big { order: 2; }
.step-row:nth-child(even) .step-spacer { order: 1; }
/* variant C: circle-step connected (bonus / refer) */
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step { text-align: center; padding: 24px; background: var(--glass-bg); border: 1px solid var(--border-surface); border-radius: var(--radius-md); position: relative; }
.flow-step .flow-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(212,175,55,.1); border: 1px solid var(--border-gold); display: grid; place-items: center; font-size: 28px; margin: 0 auto 16px; }

/* 19. BONUS CARDS ------------------------------------------ */
.bonus-card { background: var(--gradient-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.bonus-card.featured { border-width: 2px; box-shadow: var(--glow-gold-hover); }
.bonus-card .bonus-amt { font-family: var(--font-display); font-size: var(--text-5xl); font-weight: 800; margin: 12px 0; }
.bonus-card .bonus-terms { font-size: var(--text-sm); color: var(--text-muted); margin: 16px 0; }
.bonus-card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(212,175,55,.18), transparent 70%); }

/* 20. LEADERBOARD + PODIUM --------------------------------- */
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 18px; max-width: 760px; margin-inline: auto; }
.podium-place { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md) var(--radius-md) 0 0; padding: 24px 16px; text-align: center; }
.podium-place.first { border-color: var(--gold-primary); box-shadow: var(--glow-gold); padding-bottom: 56px; }
.podium-place.second { padding-bottom: 36px; border-color: rgba(192,192,192,.4); }
.podium-place.third { padding-bottom: 26px; border-color: rgba(205,127,50,.4); }
.podium-crown { font-size: 32px; margin-bottom: 8px; }
.podium-avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: #120909; background: var(--gradient-gold); }
.podium-amt { font-family: var(--font-mono); color: var(--gold-primary); font-size: var(--text-xl); font-weight: 600; margin-top: 6px; }
.lb-table { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md); overflow: hidden; }
.lb-table th { text-align: left; padding: 16px 18px; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); border-bottom: 1px solid var(--border-surface); }
.lb-table td { padding: 14px 18px; font-size: var(--text-sm); border-bottom: 1px solid var(--border-surface); }
.lb-table tr:hover td { background: rgba(255,255,255,.02); }
.lb-rank { font-family: var(--font-mono); font-weight: 600; color: var(--gold-primary); }
.lb-amt { font-family: var(--font-mono); color: var(--gold-primary); font-weight: 600; }
.lb-user-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-elevated); border: 1px solid var(--border-gold); color: var(--gold-primary); font-weight: 600; font-size: var(--text-sm); margin-right: 10px; vertical-align: middle; }
.win-ticker { background: var(--bg-surface); border: 1px solid var(--border-surface); border-radius: var(--radius-pill); padding: 12px 20px; overflow: hidden; }
.win-feed { display: flex; flex-direction: column; gap: 10px; max-height: 380px; overflow: hidden; }
.win-feed-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--glass-bg); border: 1px solid var(--border-surface); border-radius: var(--radius-md); font-size: var(--text-sm); animation: slideDown .5s ease; }
.win-feed-item .wf-amt { margin-left: auto; font-family: var(--font-mono); color: var(--success); font-weight: 600; }

/* 21. ACCORDION ------------------------------------------- */
.accordion-item { border: 1px solid var(--border-surface); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; background: var(--gradient-card); }
.accordion-item.gold-border { border-left: 3px solid var(--gold-primary); }
.accordion-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--text-primary); font-size: var(--text-lg); }
.accordion-head:hover { color: var(--gold-light); }
.accordion-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-gold); display: grid; place-items: center; color: var(--gold-primary); transition: transform .3s; font-size: 18px; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-body-inner { padding: 0 22px 20px; color: var(--text-muted); font-size: var(--text-sm); }
.accordion-item.active .accordion-body { max-height: 600px; }

/* 22. CAROUSEL -------------------------------------------- */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.carousel__track { display: flex; transition: transform .5s ease; }
.carousel__slide { min-width: 100%; }
.carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-surface); transition: background .2s, width .2s; }
.carousel__dot.active { background: var(--gold-primary); width: 24px; border-radius: 99px; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-gold); color: var(--gold-primary); display: grid; place-items: center; z-index: 3; font-size: 20px; }
.carousel__btn.prev { left: 14px; } .carousel__btn.next { right: 14px; }

/* 23. REFERRAL CALCULATOR --------------------------------- */
.calc-card { background: var(--gradient-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--glow-gold); }
.calc-output { font-family: var(--font-mono); font-size: var(--text-6xl); font-weight: 600; color: var(--gold-primary); text-align: center; margin: 18px 0; line-height: 1; }
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: var(--bg-elevated); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gradient-gold); cursor: pointer; box-shadow: var(--glow-gold); border: 2px solid #120909; }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 2px solid #120909; border-radius: 50%; background: var(--gold-primary); cursor: pointer; }
.calc-breakdown { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.calc-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-surface); font-size: var(--text-sm); }
.calc-row .v { font-family: var(--font-mono); color: var(--gold-primary); }
/* network diagram */
.network { position: relative; min-height: 320px; display: grid; place-items: center; }
.net-center { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-gold); display: grid; place-items: center; color: #120909; font-weight: 700; z-index: 3; box-shadow: var(--glow-gold-hover); }
.net-node { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border-gold); display: grid; place-items: center; font-size: 20px; animation: networkPulse 3s ease-in-out infinite; }
.tier-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tier-card { text-align: center; padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-surface); background: var(--gradient-card); }
.tier-card .tier-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); }
.tier-card.bronze .tier-name { color: #cd7f32; }
.tier-card.silver .tier-name { color: #c0c0c0; }
.tier-card.gold .tier-name { color: var(--gold-primary); }
.tier-card.platinum .tier-name { color: #e5e4e2; }

/* 24. FAQ COMPONENT --------------------------------------- */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.faq-sidebar { position: sticky; top: calc(var(--header-height) + 16px); display: flex; flex-direction: column; gap: 4px; }
.faq-sidebar a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--text-secondary); transition: background .2s, color .2s; }
.faq-sidebar a:hover, .faq-sidebar a.active { background: rgba(212,175,55,.08); color: var(--gold-primary); }
.faq-sidebar .count { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); }
.faq-cat-title { font-family: var(--font-display); color: var(--gold-primary); margin: 36px 0 16px; padding-top: 8px; }
.faq-cat-title:first-child { margin-top: 0; }
.faq-search { position: relative; max-width: 600px; margin: 0 auto; }
.faq-search input { width: 100%; padding: 18px 22px 18px 52px; border-radius: var(--radius-pill); background: var(--bg-surface); border: 1px solid var(--border-gold); color: #fff; font-size: var(--text-lg); }
.faq-search input:focus { outline: none; box-shadow: var(--glow-gold); }
.faq-search::before { content: "⌕"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--gold-primary); font-size: 24px; }
mark { background: rgba(212,175,55,.35); color: #fff; border-radius: 3px; padding: 0 2px; }
.faq-helpful { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: var(--text-xs); color: var(--text-muted); }
.faq-helpful button { padding: 5px 14px; border: 1px solid var(--border-surface); border-radius: var(--radius-pill); color: var(--text-secondary); font-size: var(--text-xs); }
.faq-helpful button:hover { border-color: var(--border-gold); color: var(--gold-primary); }
.faq-no-results { display: none; text-align: center; padding: 40px; color: var(--text-muted); }

/* 25. BLOG ------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-md); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--border-gold); box-shadow: var(--glow-gold); }
.blog-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface)); display: grid; place-items: center; font-size: 44px; }
.blog-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card__meta { display: flex; gap: 12px; font-size: var(--text-xs); color: var(--text-muted); margin-top: auto; }
.blog-card.featured { grid-column: span 3; }
.blog-card.featured { flex-direction: row; }
.blog-card.featured .blog-card__img { aspect-ratio: auto; min-width: 46%; }
/* blog post */
.post-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.post-toc { position: sticky; top: calc(var(--header-height) + 20px); }
.post-toc h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 14px; }
.post-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--border-surface); font-size: var(--text-sm); color: var(--text-muted); transition: color .2s, border-color .2s; }
.post-toc a.active, .post-toc a:hover { color: var(--gold-primary); border-color: var(--gold-primary); }
.post-content { max-width: 720px; }
.post-content h2 { margin: 40px 0 16px; font-size: var(--text-3xl); }
.post-content h3 { margin: 28px 0 12px; }
.post-content p { margin-bottom: 18px; line-height: 1.8; }
.post-content ul, .post-content ol { margin: 0 0 18px 22px; }
.post-content li { margin-bottom: 8px; }
.post-content ul li { list-style: disc; } .post-content ol li { list-style: decimal; }
.post-content blockquote { border-left: 3px solid var(--gold-primary); padding: 14px 22px; margin: 24px 0; background: rgba(212,175,55,.05); font-family: var(--font-display); font-size: var(--text-xl); color: var(--text-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-hero { padding-block: 60px; }
.post-hero h1 { font-size: var(--text-5xl); max-width: 18ch; margin-bottom: 18px; }
.post-meta { display: flex; gap: 16px; align-items: center; color: var(--text-muted); font-size: var(--text-sm); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gradient-gold); z-index: 999; transition: width .1s linear; }

/* 26. FOOTER ---------------------------------------------- */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border-surface); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer__brand p { font-size: var(--text-sm); color: var(--text-muted); margin-top: 16px; max-width: 30ch; }
.footer__col h5 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-primary); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: var(--text-sm); color: var(--text-muted); }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid var(--border-surface); padding: 28px 0; }
.footer__disclaimer { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.7; max-width: 90ch; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 20px; }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.age-badge { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--red-notify); color: #ff6b67; font-weight: 700; font-size: var(--text-sm); font-family: var(--font-mono); }

/* 27. STICKY BOTTOM BAR ----------------------------------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; background: rgba(18,9,9,.95); backdrop-filter: var(--glass-blur); border-top: 1px solid var(--border-gold); padding: 12px 16px; display: none; transform: translateY(100%); transition: transform .4s ease; }
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .btn { width: 100%; animation: goldGlow 2.5s ease-in-out infinite; }

/* 28. PAGE-SPECIFIC --------------------------------------- */
/* games hero strip */
.games-hero { background: linear-gradient(135deg, #1c1010, #241313); border-bottom: 1px solid var(--border-gold); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.games-hero .faq-search { margin-bottom: 22px; }
.games-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.load-more-bar { text-align: center; margin-top: 40px; }
.load-progress { max-width: 320px; margin: 0 auto 16px; height: 6px; border-radius: 99px; background: var(--bg-elevated); overflow: hidden; }
.load-progress span { display: block; height: 100%; background: var(--gradient-gold); transition: width .4s; }
.providers-strip { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.providers-strip span { font-family: var(--font-display); font-weight: 600; color: var(--text-muted); }
/* download app card */
.download-panels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center; }
.app-info-card, .download-card { background: var(--gradient-card); border: 1px solid var(--border-surface); border-radius: var(--radius-lg); padding: 28px; }
.app-stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-surface); font-size: var(--text-sm); }
.app-stat .v { font-family: var(--font-mono); color: var(--gold-primary); }
.checksum { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); word-break: break-all; background: rgba(0,0,0,.3); padding: 10px; border-radius: var(--radius-sm); margin: 14px 0; }
.changelog { background: #0c0606; border: 1px solid var(--border-surface); border-radius: var(--radius-md); padding: 24px; font-family: var(--font-mono); font-size: var(--text-sm); }
.changelog-ver { color: var(--gold-primary); margin: 18px 0 8px; }
.changelog-ver:first-child { margin-top: 0; }
.changelog li { color: var(--text-muted); padding: 3px 0 3px 18px; position: relative; }
.changelog li::before { content: "+"; position: absolute; left: 0; color: var(--success); }
.req-tile { text-align: center; padding: 26px; background: var(--glass-bg); border: 1px solid var(--border-surface); border-radius: var(--radius-md); }
.req-tile .req-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(212,175,55,.1); border: 1px solid var(--border-gold); display: grid; place-items: center; margin: 0 auto 14px; font-size: 24px; color: var(--gold-primary); }
/* about timeline */
.milestone { display: grid; grid-template-columns: 1fr 2px 1fr; gap: 30px; position: relative; }
.milestone-list { position: relative; }
.milestone-item { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; align-items: center; }
.milestone-year { font-family: var(--font-mono); font-size: var(--text-3xl); color: var(--gold-primary); font-weight: 600; }
/* contact */
.support-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-surface); }
.support-status .dot { width: 9px; height: 9px; border-radius: 50%; }
.support-status.online .dot { background: var(--success); box-shadow: 0 0 10px var(--success); }
.support-status.offline .dot { background: var(--text-muted); }
/* 404 */
.error-404 { text-align: center; padding-block: 120px; }
.error-404 .big { font-family: var(--font-display); font-size: 11rem; font-weight: 800; line-height: 1; }
/* zigzag */
.zigzag-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.zigzag-row:nth-child(even) .zigzag-text { order: 2; }
.zigzag-icon { width: 90px; height: 90px; border-radius: var(--radius-lg); background: rgba(212,175,55,.08); border: 1px solid var(--border-gold); display: grid; place-items: center; font-size: 42px; color: var(--gold-primary); margin-bottom: 20px; }
/* testimonials masonry */
.masonry-wall { columns: 3; column-gap: 24px; }
.testimonial { break-inside: avoid; margin-bottom: 24px; padding: 26px; background: var(--glass-bg); border: 1px solid var(--border-surface); border-radius: var(--radius-md); }
.testimonial .stars { color: var(--gold-primary); margin-bottom: 10px; }
.testimonial .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: var(--text-sm); }
/* legal */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-content h2 { margin: 36px 0 14px; }
.legal-content p, .legal-content li { margin-bottom: 14px; color: var(--text-secondary); }
.legal-content ul li { list-style: disc; margin-left: 20px; }
.highlight-box { background: rgba(212,175,55,.06); border: 1px solid var(--border-gold); border-radius: var(--radius-md); padding: 20px; margin: 20px 0; }
.legal-updated { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 24px; }
/* sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sitemap-col h4 { color: var(--gold-primary); margin-bottom: 14px; }
.sitemap-col a { display: block; padding: 6px 0; color: var(--text-muted); font-size: var(--text-sm); }
.sitemap-col a:hover { color: var(--gold-light); }
/* quick answers popover */
.quick-answer { position: relative; }
.quick-answer .qa-pop { max-height: 0; overflow: hidden; transition: max-height .3s; }
.quick-answer:focus-within .qa-pop, .quick-answer:hover .qa-pop { max-height: 200px; }
/* glossary */
.glossary-item { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-surface); }
.glossary-letter { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; color: var(--gold-primary); }

/* 29. UTILITIES ------------------------------------------- */
.text-center { text-align: center; }
.flex { display: flex; } .grid { display: grid; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-sm { gap: 10px; } .gap-md { gap: 20px; } .gap-lg { gap: 32px; }
.mt-sm { margin-top: 12px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 48px; }
.mb-md { margin-bottom: 24px; } .mb-lg { margin-bottom: 48px; }
.wrap { flex-wrap: wrap; }
.muted { color: var(--text-muted); }
.hidden { display: none !important; }
.cta-banner { text-align: center; padding-block: 90px; background: var(--gradient-hero); position: relative; overflow: hidden; }
.cta-banner h2 { font-size: var(--text-5xl); margin-bottom: 18px; }
.cta-banner p { max-width: 50ch; margin: 0 auto 30px; font-size: var(--text-lg); }

/* 30. RESPONSIVE ------------------------------------------ */
@media (max-width: 1024px) {
  :root { --section-pad: 64px; }
  .hero-home .hero__inner { grid-template-columns: 1fr; }
  .phone-mockup-wrapper { order: -1; min-height: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .masonry-wall { columns: 2; }
  .post-layout, .legal-layout { grid-template-columns: 1fr; }
  .post-toc, .legal-toc { display: none; }
  .download-panels { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .hero-home h1, .hero-editorial h1 { font-size: var(--text-5xl); }
  .nav { display: none; }
  .hamburger { display: flex; }
  .header__actions .btn:not(.hamburger) { display: none; }
  .steps-timeline, .steps-flow { grid-template-columns: 1fr; }
  .steps-timeline::before { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .games-layout, .faq-layout { grid-template-columns: 1fr; }
  .filter-sidebar, .faq-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { flex-direction: column; }
  .blog-card.featured .blog-card__img { min-width: 0; }
  .zigzag-row { grid-template-columns: 1fr; }
  .zigzag-row:nth-child(even) .zigzag-text { order: 0; }
  .step-row { grid-template-columns: 1fr; text-align: center; }
  .steps-vertical::before { display: none; }
  .step-row .step-content, .step-row:nth-child(even) .step-content { order: 0; }
  .tier-track { grid-template-columns: 1fr 1fr; }
  .podium { grid-template-columns: 1fr; }
  .sticky-bar { display: block; }
  .milestone-item { grid-template-columns: 1fr; gap: 8px; }
  .cta-banner h2 { font-size: var(--text-4xl); }
}
@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .container { padding-inline: 18px; }
  .footer__grid, .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .masonry-wall { columns: 1; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .calc-output { font-size: var(--text-5xl); }
  .tier-track { grid-template-columns: 1fr; }
  .error-404 .big { font-size: 6rem; }
}
@media (max-width: 360px) {
  .container { padding-inline: 14px; }
  .hero-home h1, .hero-editorial h1 { font-size: var(--text-4xl); }
  .logo-img { height: 36px; }
}

/* ════════════════════════════════════════════════════════════════
   PREMIUM POLISH — game cards, detail pages, emoji placeholders
   (appended; overrides earlier rules via cascade order)
   ════════════════════════════════════════════════════════════════ */

/* ── Branded emoji placeholder for games without artwork ──
   Real <img> sits absolute z-index:1 and fully covers this, so these
   styles only surface on emoji-fallback cards — making them look
   like an intentional, designed tile rather than a missing image. */
.game-card__thumb {
  background:
    radial-gradient(circle at 50% 38%, rgba(212,175,55,.22), transparent 58%),
    radial-gradient(circle at 50% 120%, rgba(255,107,0,.10), transparent 60%),
    linear-gradient(150deg, #2E1A1A 0%, #1A0E0E 55%, #120909 100%);
  font-size: 64px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), inset 0 -40px 60px -30px rgba(0,0,0,.6);
}
.game-card__thumb img { filter: saturate(1.05) contrast(1.02); }

/* ── Premium framing for the detail-page hero artwork ── */
.game-hero-img {
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 70px -20px rgba(0,0,0,.7), var(--glow-gold);
  background: var(--gradient-card);
}

/* ── Tab bar: premium, single-row, horizontally scrollable on mobile ── */
.tabs-lg {
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-lg::-webkit-scrollbar { display: none; }
.tab-lg {
  white-space: nowrap;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-lg:hover { color: var(--gold-light); background: rgba(212,175,55,.05); }

/* ── Detail-page data tables: subtle row hover for readability ── */
.tab-panel .lb-table tbody tr { transition: background .15s; }
.tab-panel .lb-table tbody tr:hover { background: rgba(212,175,55,.05); }

/* ── Highlight box premium accent (used across detail tabs) ── */
.highlight-box {
  border-left: 3px solid var(--gold-primary);
  background: linear-gradient(90deg, rgba(212,175,55,.10), rgba(212,175,55,.02) 60%, transparent);
}

/* ════════ RESPONSIVE FIXES for game detail pages ════════
   Bulk detail pages use an inline 2-column grid with no media query,
   which cramps badly on phones/tablets. These rules collapse it. */
@media (max-width: 880px) {
  section.hero .container > div[style*="grid-template-columns:1fr 1fr"],
  section.hero .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center;
  }
  section.hero .container > div[style*="grid-template-columns:1fr 1fr"] .game-hero-img {
    max-width: 460px;
    margin: 0 auto;
  }
  section.hero nav[aria-label="Breadcrumb"] ol { justify-content: center; }
  section.hero .badge-cat { margin-left: auto; margin-right: auto; }
}

/* Detail-page hero headline scaling on small screens */
@media (max-width: 600px) {
  section.hero h1[style*="text-5xl"],
  section.hero h1[style*="text-6xl"] { font-size: var(--text-4xl) !important; }
  .game-card__thumb { font-size: 54px; }
}

/* ── Blog images: cover their card/hero containers cleanly ── */
.blog-card__img { overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.blog-hero-img {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 70px -20px rgba(0,0,0,.7), var(--glow-gold);
  display: block;
  margin: 0 auto 32px;
}

/* ════════════════════════════════════════════════════════════════
   APP SCREENSHOTS GALLERY — swipeable phone-frame carousel
   ════════════════════════════════════════════════════════════════ */
.shots { position: relative; margin-top: 36px; }
.shots__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots__track::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto;
  width: clamp(210px, 62vw, 250px);
  scroll-snap-align: center;
}
.shot__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 2412;
  border-radius: 30px;
  overflow: hidden;
  background: #0b0606;
  border: 2px solid var(--border-gold);
  box-shadow: 0 26px 70px -20px rgba(0,0,0,.85), var(--glow-gold);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.shot__frame:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 32px 80px -18px rgba(0,0,0,.9), var(--glow-gold-hover);
}
.shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* phone speaker/notch pill */
.shot__frame::before {
  content: "";
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
  z-index: 2;
  pointer-events: none;
}
/* subtle inner bezel highlight */
.shot__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  z-index: 2;
  pointer-events: none;
}
.shots__btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: grid; place-items: center;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.shots__btn:hover { background: rgba(212,175,55,.18); box-shadow: var(--glow-gold); }
.shots__btn:active { transform: translateY(-50%) scale(.94); }
.shots__btn.prev { left: -8px; }
.shots__btn.next { right: -8px; }
@media (max-width: 768px) {
  .shots__btn { display: none; }
  .shot { width: clamp(200px, 72vw, 240px); }
}

/* ════════════════════════════════════════════════════════════════
   HERO REDESIGN — real-device showcase + floating glass cards
   ════════════════════════════════════════════════════════════════ */
.hero-home .hero__inner { gap: 56px; }

/* left column polish */
.hero-home .overline { background: rgba(212,175,55,.08); }
.hero-home h1 { line-height: 1.05; letter-spacing: -0.5px; }
.hero-stats {
  display: flex; align-items: center; gap: 26px;
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid var(--border-surface);
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-2xl);
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1.1;
}
.hero-stat__label { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: .04em; }
.hero-stat + .hero-stat { border-left: 1px solid var(--border-surface); padding-left: 26px; }

/* right column device */
.hero-phone {
  position: relative;
  display: grid; place-items: center;
  min-height: 600px;
}
.hero-phone__device {
  position: relative; z-index: 2;
  width: clamp(258px, 27vw, 312px);
  aspect-ratio: 1080 / 2412;
  background: #0b0606;
  border: 2px solid rgba(212,175,55,.45);
  border-radius: 44px;
  padding: 9px;
  box-shadow: var(--glow-gold-hover), 0 50px 100px -34px rgba(0,0,0,.95), inset 0 0 0 2px #000;
}
.hero-phone__device img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 36px; display: block;
}
.hero-phone__device::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: #0b0606; border-radius: 0 0 16px 16px; z-index: 3;
}
.hero-phone__device::after {
  content: ""; position: absolute; inset: 9px; border-radius: 36px;
  box-shadow: inset 0 0 60px rgba(0,0,0,.4); pointer-events: none; z-index: 2;
}

/* floating glass chips */
.hero-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 16px;
  background: rgba(20,11,11,.72);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.8);
  font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.25;
  white-space: nowrap;
  animation: heroChipFloat 4.5s ease-in-out infinite;
}
.hero-chip strong { color: var(--text-primary); font-weight: 700; }
.hero-chip .g { color: var(--gold-primary); }
.hero-chip__icon {
  font-size: 20px; width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 11px;
  background: rgba(212,175,55,.12); border: 1px solid var(--border-gold);
}
.hero-chip--bonus { top: 7%; left: -5%; }
.hero-chip--win   { bottom: 12%; right: -6%; animation-delay: 1.4s; }
.hero-chip--rating{ top: 44%; right: -9%; animation-delay: .7s; }
@keyframes heroChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* responsive */
@media (max-width: 980px) {
  .hero-phone { min-height: 520px; margin-top: 8px; }
  .hero-chip--bonus { left: 0; }
  .hero-chip--win { right: 0; }
  .hero-chip--rating { right: -2%; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 18px; }
  .hero-stat + .hero-stat { padding-left: 18px; }
  .hero-chip { font-size: var(--text-xs); padding: 10px 13px; }
  .hero-chip__icon { width: 32px; height: 32px; font-size: 17px; }
  .hero-chip--bonus { top: 3%; left: -2%; }
  .hero-chip--win { bottom: 6%; right: -2%; }
  .hero-chip--rating { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   HERO ANIMATIONS ENHANCEMENT
   ════════════════════════════════════════════════════════════════ */

/* Float + glow pulse combined on phone device */
@keyframes floatPhoneGlow {
  0%,100% { transform: translateY(0);    box-shadow: 0 0 40px rgba(212,175,55,.40), 0 50px 100px -34px rgba(0,0,0,.95), inset 0 0 0 2px #000; }
  50%     { transform: translateY(-12px); box-shadow: 0 0 65px rgba(212,175,55,.68), 0 0 130px rgba(212,175,55,.14), 0 60px 100px -34px rgba(0,0,0,.85), inset 0 0 0 2px #000; }
}
.hero-phone__device { animation: floatPhoneGlow 4s ease-in-out infinite; }

/* Scan line sweep */
@keyframes scanLine {
  0%   { top: 9px; opacity: 0; }
  5%   { opacity: .5; }
  90%  { opacity: .5; }
  100% { top: calc(100% - 9px); opacity: 0; }
}
.hero-phone__scan {
  position: absolute; left: 9px; right: 9px; height: 2px; top: 9px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.5) 30%, rgba(255,255,255,.55) 50%, rgba(212,175,55,.5) 70%, transparent 100%);
  border-radius: 2px; z-index: 5; pointer-events: none;
  animation: scanLine 4s 1.5s linear infinite;
}

/* Breathing glow orb behind phone */
@keyframes heroGlowBreath {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: .55; }
  50%     { transform: translate(-50%,-50%) scale(1.18);  opacity: 1; }
}
.hero-glow-orb {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, rgba(212,175,55,.05) 50%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 0; pointer-events: none;
  animation: heroGlowBreath 5s ease-in-out infinite;
}

/* Rising gold sparkles */
@keyframes sparkFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  12%  { opacity: .9; }
  88%  { opacity: .8; }
  100% { transform: translateY(-72px) scale(0); opacity: 0; }
}
.hero-spark {
  position: absolute; border-radius: 50%;
  background: var(--gold-primary); filter: blur(1px);
  animation: sparkFloat 5.5s ease-in-out infinite;
  pointer-events: none; z-index: 1; opacity: 0;
}
.hero-spark:nth-child(4) { width: 4px; height: 4px; bottom: 24%; left: 11%;  animation-delay: 0s; }
.hero-spark:nth-child(5) { width: 6px; height: 6px; bottom: 34%; right: 13%; animation-delay: 1.8s; }
.hero-spark:nth-child(6) { width: 3px; height: 3px; bottom: 19%; left: 44%; animation-delay: 3.3s; }

/* Chip entrance (slide from side) then continuous float */
@keyframes chipEnterLeft  { from { opacity: 0; transform: translateX(-22px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes chipEnterRight { from { opacity: 0; transform: translateX(22px)  scale(.92); } to { opacity: 1; transform: none; } }
.hero-chip--bonus  { animation: chipEnterLeft  .65s .5s  cubic-bezier(.22,.61,.36,1) both, heroChipFloat 4.5s 1.15s ease-in-out infinite; }
.hero-chip--rating { animation: chipEnterRight .65s .85s cubic-bezier(.22,.61,.36,1) both, heroChipFloat 4.5s 1.5s  ease-in-out infinite; }
.hero-chip--win    { animation: chipEnterRight .65s 1.1s cubic-bezier(.22,.61,.36,1) both, heroChipFloat 4.5s 1.75s ease-in-out infinite; }

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
  .hero-phone__device  { animation: none; }
  .hero-phone__scan    { animation: none; opacity: 0; }
  .hero-spark          { display: none; }
  .hero-glow-orb       { animation: none; }
  .hero-chip--bonus, .hero-chip--rating, .hero-chip--win { animation: none; }
}
