/* =========================================================
   x666 — Premium Casino Brand Stylesheet
   Matte Black + Luxury Gold Design System
   Vanilla CSS3 — no frameworks
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Base surfaces */
  --black: #0a0a0a;
  --charcoal: #141414;
  --charcoal-2: #1b1b1b;
  --panel: #171717;
  --panel-raised: #1e1e1e;

  /* Gold system */
  --gold-1: #d4af37;
  --gold-2: #f5d576;
  --gold-3: #ffe9a8;
  --gold-deep: #b8912b;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f5d576 45%, #ffe9a8 70%, #d4af37 100%);
  --gold-gradient-soft: linear-gradient(135deg, #b8912b 0%, #f5d576 100%);

  /* Text */
  --text: #f5f5f0;
  --text-muted: #a8a8a0;
  --text-dim: #78786f;

  /* Lines & glow */
  --hairline: rgba(212, 175, 55, 0.22);
  --hairline-soft: rgba(255, 255, 255, 0.06);
  --glow-gold: 0 0 40px rgba(212, 175, 55, 0.28);
  --glow-gold-strong: 0 0 60px rgba(245, 213, 118, 0.4);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.55);

  /* Layout */
  --maxw: 1240px;
  --radius: 16px;
  --radius-lg: 26px;
  --header-h: 74px;

  /* Fonts */
  --font-display: "Cinzel", "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Inter", system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Radial gold ambience painted on the body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 100% 8%, rgba(245, 213, 118, 0.07), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(212, 175, 55, 0.06), transparent 60%);
  pointer-events: none;
}

/* Subtle gold-foil noise texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

::selection { background: rgba(245, 213, 118, 0.3); color: #fff; }

/* Focus states (WCAG) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-deep), var(--gold-1)); border-radius: 20px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.4px;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }

p { margin: 0 0 1rem; color: var(--text); }
.muted { color: var(--text-muted); }

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; position: relative; }
.section-sm { padding: 56px 0; }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: 7px 16px;
  border: 1px solid var(--hairline);
  border-radius: 40px;
  background: rgba(212, 175, 55, 0.06);
  margin-bottom: 18px;
}

.lead { font-size: 1.08rem; color: var(--text-muted); }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.divider-gold {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  margin: 0;
}

/* Diamond / hex accent separator */
.accent-diamond {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 8px 0 22px;
}
.accent-diamond::before,
.accent-diamond::after {
  content: ""; height: 1px; flex: 1; max-width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold-1));
}
.accent-diamond::after { background: linear-gradient(90deg, var(--gold-1), transparent); }
.accent-diamond span {
  width: 11px; height: 11px; transform: rotate(45deg);
  background: var(--gold-gradient); box-shadow: 0 0 12px rgba(212,175,55,.6);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 46px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: var(--gold-gradient);
  color: #201800;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { box-shadow: 0 16px 44px rgba(245, 213, 118, 0.5); }

/* Shimmer sweep on gold CTAs */
.btn-gold::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.4s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -120%; }
  55%, 100% { left: 160%; }
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-3); box-shadow: var(--glow-gold); }

.btn-tg {
  background: #229ED9;
  color: #fff;
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.35);
}
.btn-tg:hover { box-shadow: 0 16px 40px rgba(34, 158, 217, 0.55); }

.btn-lg { padding: 17px 40px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline-soft);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

/* Brand logo lockup */
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 48px; height: 48px; border-radius: 13px;
  box-shadow: 0 4px 18px rgba(0,0,0,.6), 0 0 0 1px var(--hairline);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); box-shadow: var(--glow-gold); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.5rem; letter-spacing: 1px;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand__tag { font-size: 0.58rem; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; margin-top: 3px; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 9px 15px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-muted); border-radius: 10px;
  transition: color 0.25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 2px; background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-3); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline);
  color: var(--text); padding: 9px 13px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 500;
}
.lang__btn svg { width: 12px; transition: transform 0.3s; }
.lang.open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 160px; background: var(--panel-raised);
  border: 1px solid var(--hairline); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; color: var(--text-muted);
  padding: 10px 12px; border-radius: 9px; font-size: 0.9rem; text-align: left;
  transition: background 0.2s, color 0.2s;
}
.lang__menu button:hover { background: rgba(212,175,55,0.1); color: var(--gold-3); }
.lang__flag { font-size: 1.1rem; }

/* Mobile hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px;
}
.hamburger span { width: 26px; height: 2px; background: var(--gold-2); border-radius: 2px; transition: 0.3s; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
/* moving radial gold glow */
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; top: -30%; left: -10%;
  background: radial-gradient(circle, rgba(212,175,55,0.22), rgba(245,213,118,0.08) 40%, transparent 65%);
  filter: blur(20px);
  animation: heroGlow 14s ease-in-out infinite alternate;
}
.hero__glow.two {
  left: auto; right: -15%; top: 10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,213,118,0.16), transparent 60%);
  animation-duration: 18s; animation-delay: -4s;
}
@keyframes heroGlow {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 20px) scale(1.04); }
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(212,175,55,0.08); border: 1px solid var(--hairline);
  padding: 8px 16px; border-radius: 40px; font-size: 0.8rem; font-weight: 500;
  color: var(--gold-3); margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 10px #35d07f; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.hero h1 { margin-bottom: 18px; }
.hero h1 .flash { position: relative; }
.hero__sub { font-size: 1.13rem; color: var(--text-muted); max-width: 540px; margin-bottom: 26px; }

.bonus-chip {
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(20,20,20,0.4));
  border: 1px solid var(--hairline); border-radius: 18px;
  padding: 14px 22px; margin-bottom: 30px;
}
.bonus-chip .amt { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; }
.bonus-chip .lbl { font-size: 0.82rem; color: var(--text-muted); line-height: 1.3; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-2); }
.hero__trust span { font-size: 0.78rem; color: var(--text-dim); }

/* Phone mockup */
.mockup-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
}
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 300 / 620;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2a2a, #050505);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.7),
    0 0 0 2px rgba(212,175,55,0.35),
    0 0 60px rgba(212,175,55,0.28),
    inset 0 2px 4px rgba(255,255,255,0.08);
  animation: floatPhone 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.phone.tilt { transform: rotateY(-12deg) rotateX(4deg); }
@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotateY(-9deg) rotateX(3deg); }
  50% { transform: translateY(-16px) rotateY(-5deg) rotateX(1deg); }
}
.phone__notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 42%; height: 24px; background: #050505; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 34px; overflow: hidden;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__glare {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.05) 100%);
  pointer-events: none; z-index: 2;
}
/* Floating gold sparks near phone */
.spark { position: absolute; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px var(--gold-2); opacity: 0.8; }
.spark.s1 { width: 10px; height: 10px; top: 8%; right: 4%; animation: floatSpark 5s ease-in-out infinite; }
.spark.s2 { width: 7px; height: 7px; bottom: 14%; left: 2%; animation: floatSpark 6.5s ease-in-out infinite reverse; }
.spark.s3 { width: 5px; height: 5px; top: 46%; right: -2%; animation: floatSpark 4.5s ease-in-out infinite; }
@keyframes floatSpark { 50% { transform: translateY(-22px) translateX(8px); opacity: 0.4; } }

/* floating mini-badges on mockup */
.float-badge {
  position: absolute; z-index: 4;
  background: rgba(20,20,20,0.85); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 10px 14px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem;
}
.float-badge b { color: var(--gold-2); font-family: var(--font-display); }
.float-badge.fb1 { top: 12%; left: -8%; animation: floatPhone 5s ease-in-out infinite; }
.float-badge.fb2 { bottom: 16%; right: -10%; animation: floatPhone 6s ease-in-out infinite reverse; }
.float-badge .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(212,175,55,0.14); color: var(--gold-2); }

/* ---------- Marquee (announcement) ---------- */
.marquee {
  border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft);
  background: rgba(212,175,55,0.04); overflow: hidden; padding: 12px 0;
}
.marquee__track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.9rem; }
.marquee__track span::before { content: "◆"; color: var(--gold-1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / Panels ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--hairline), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--hairline); box-shadow: var(--shadow-card); }

/* Feature / trust card */
.feature { text-align: left; }
.feature__icon {
  width: 58px; height: 58px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.16), rgba(212,175,55,0.03));
  border: 1px solid var(--hairline); color: var(--gold-2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.feature:hover .feature__icon { transform: translateY(-4px); box-shadow: var(--glow-gold); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Game cards ---------- */
.game-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: var(--charcoal);
  border: 1px solid var(--hairline-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  display: block;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 22px 60px rgba(0,0,0,0.6), var(--glow-gold);
  border-color: var(--gold-1);
}
.game-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.game-card:hover .game-card__media img { transform: scale(1.08); }

/* CSS-generated game tile (for games without a photo) */
.game-tile {
  aspect-ratio: 4/3; display: grid; place-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.game-tile__glyph { font-size: 2.6rem; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.gt-1 { background: radial-gradient(circle at 30% 20%, #4a2d0e, #1a1005); }
.gt-2 { background: radial-gradient(circle at 70% 25%, #3a1250, #140720); }
.gt-3 { background: radial-gradient(circle at 40% 30%, #0e3a2c, #04160f); }
.gt-4 { background: radial-gradient(circle at 60% 20%, #4a1220, #1a0709); }
.gt-5 { background: radial-gradient(circle at 30% 25%, #1a2f52, #060f1e); }
.gt-6 { background: radial-gradient(circle at 65% 30%, #4a3a0e, #1a1404); }
.game-card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: linear-gradient(135deg, #ff4d4d, #c40000); color: #fff;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.game-card__badge.hot { background: linear-gradient(135deg, #ff7a18, #ff2d55); }
.game-card__badge.new { background: var(--gold-gradient); color: #201800; }
.game-card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: 1px solid var(--hairline-soft);
  display: grid; place-items: center; color: var(--gold-3);
}
.game-card__body { padding: 14px 16px 18px; }
.game-card__title { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 4px; }
.game-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-dim); }
.game-card__provider { color: var(--gold-2); }
.game-card__play {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(10,10,10,0.85), rgba(10,10,10,0.1));
  opacity: 0; transition: opacity 0.35s;
}
.game-card:hover .game-card__play { opacity: 1; }
.game-card__play .play-pill {
  background: var(--gold-gradient); color: #201800; font-weight: 700;
  padding: 10px 22px; border-radius: 40px; font-size: 0.85rem;
  transform: translateY(10px); transition: transform 0.35s var(--ease);
}
.game-card:hover .play-pill { transform: translateY(0); }

/* Category filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-tab {
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline-soft);
  color: var(--text-muted); padding: 10px 20px; border-radius: 40px;
  font-size: 0.88rem; font-weight: 500; transition: all 0.3s;
}
.filter-tab:hover { color: var(--gold-3); border-color: var(--hairline); }
.filter-tab.active { background: var(--gold-gradient); color: #201800; border-color: transparent; font-weight: 600; }

/* ---------- Banner / Promo sections ---------- */
.promo-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--hairline); min-height: 300px;
  display: flex; align-items: center;
}
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-banner__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 45%, rgba(10,10,10,0.15) 100%);
}
.promo-banner__body { position: relative; z-index: 2; padding: 44px; max-width: 560px; }
.promo-banner h2 { margin-bottom: 12px; }

/* OG banner showcase */
.og-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, rgba(212,175,55,0.07), rgba(20,20,20,0.4));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 40px;
}
.og-showcase__frame {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card); position: relative;
}
.og-showcase__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.12), transparent 40%);
  pointer-events: none;
}

/* ---------- Stats counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center; padding: 34px 18px;
  background: linear-gradient(180deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--hairline-soft); border-radius: var(--radius);
}
.stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1; }
.stat__label { color: var(--text-muted); font-size: 0.86rem; margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testi { display: flex; flex-direction: column; gap: 16px; }
.testi__stars { color: var(--gold-2); letter-spacing: 2px; }
.testi__quote { font-size: 1rem; color: var(--text); font-style: italic; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-gradient); color: #201800; display: grid; place-items: center;
  font-weight: 700; font-family: var(--font-display);
}
.testi__name { font-weight: 600; font-size: 0.9rem; }
.testi__loc { font-size: 0.76rem; color: var(--text-dim); }

/* ---------- FAQ Accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--hairline-soft); border-radius: 14px;
  margin-bottom: 14px; background: var(--panel); overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item.open { border-color: var(--hairline); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  padding: 20px 24px; font-size: 1.02rem; font-weight: 600; font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q .icn {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--hairline); display: grid; place-items: center;
  color: var(--gold-2); transition: transform 0.35s var(--ease), background 0.3s;
  font-size: 1.1rem;
}
.faq__item.open .icn { transform: rotate(135deg); background: rgba(212,175,55,0.14); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Steps (download guide) ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border: 1px solid var(--hairline-soft); border-radius: var(--radius);
  background: var(--panel); position: relative;
}
.step__num {
  counter-increment: step; flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--gold-gradient); color: #201800;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 900; font-size: 1.3rem; box-shadow: 0 8px 22px rgba(212,175,55,0.3);
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* Screenshot gallery */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--hairline-soft);
  aspect-ratio: 9/19; background: #0a0a0a;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.shot:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--glow-gold); border-color: var(--gold-1); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Content / Article typography ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; color: var(--gold-3); }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text); }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.tick-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.tick-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(53,208,127,0.14); color: #35d07f; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}

/* Info callout */
.callout {
  border-left: 3px solid var(--gold-1); background: rgba(212,175,55,0.06);
  padding: 20px 24px; border-radius: 0 14px 14px 0; margin: 24px 0;
}
.callout h4 { font-family: var(--font-display); color: var(--gold-3); margin: 0 0 8px; }
.callout p { margin: 0; color: var(--text-muted); }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 34px; text-align: center; position: relative; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { color: var(--gold-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--charcoal); border: 1px solid var(--hairline-soft);
  border-radius: 12px; padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); outline: none;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(53,208,127,0.12); color: #7ee6ac; border: 1px solid rgba(53,208,127,0.3); }

.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--hairline-soft); border-radius: var(--radius);
  background: var(--panel); margin-bottom: 16px; transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover { border-color: var(--hairline); transform: translateX(4px); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: rgba(212,175,55,0.1); color: var(--gold-2); }
.contact-card h4 { font-family: var(--font-body); margin: 0 0 4px; font-size: 1rem; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, #0c0c0c, #060606);
  padding: 64px 0 0;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 320px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--gold-3); padding-left: 5px; }

.pay-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pay-icons span {
  background: var(--charcoal); border: 1px solid var(--hairline-soft); border-radius: 8px;
  padding: 7px 11px; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px;
}

.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--charcoal); border: 1px solid var(--hairline-soft); color: var(--text-muted);
  transition: all 0.3s;
}
.social-row a:hover { color: var(--gold-2); border-color: var(--gold-1); transform: translateY(-3px); box-shadow: var(--glow-gold); }
.social-row a svg { width: 20px; height: 20px; }

.footer-legal {
  margin-top: 52px; border-top: 1px solid var(--hairline-soft); padding: 26px 0 34px;
}
.footer-disclaimer {
  background: rgba(212,175,55,0.04); border: 1px solid var(--hairline-soft);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.footer-disclaimer .age {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  border: 2px solid var(--gold-1); color: var(--gold-2); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.1rem;
}
.footer-disclaimer p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.84rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Floating Action Buttons ---------- */
.fab-stack {
  position: fixed; right: 20px; bottom: 24px; z-index: 850;
  display: flex; flex-direction: column; gap: 14px;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative;
  transition: transform 0.3s;
}
.fab:hover { transform: scale(1.1); }
.fab svg { width: 28px; height: 28px; }
.fab.wa { background: #25d366; }
.fab.tg { background: #229ED9; }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: pulseGlow 2.2s ease-out infinite;
}
.fab.wa::before { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
.fab.tg::before { box-shadow: 0 0 0 0 rgba(34,158,217,0.6); }
@keyframes pulseGlow {
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Sticky Mobile Bottom Bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 860;
  display: none; grid-template-columns: repeat(4, 1fr);
  background: rgba(12,12,12,0.96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  transform: translateY(120%); transition: transform 0.5s var(--ease);
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 0.66rem; font-weight: 500; padding: 6px 0;
}
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar a.active, .mobile-bar a:active { color: var(--gold-2); }
.mobile-bar a.cta { color: var(--gold-2); }
.mobile-bar a.cta svg { color: var(--gold-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Page load fade */
body { opacity: 0; transition: opacity 0.6s ease; }
body.loaded { opacity: 1; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(20,20,20,0.5));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 56px 30px;
}
.cta-band::before {
  content: ""; position: absolute; width: 500px; height: 500px; top: -60%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(245,213,118,0.16), transparent 65%);
  pointer-events: none;
}
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Two-column feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-row.rev .feature-row__media { order: 2; }
.feature-row__media {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card); position: relative;
}
.feature-row__media img { width: 100%; }

/* Chips row */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chip { background: rgba(212,175,55,0.07); border: 1px solid var(--hairline); color: var(--gold-3); padding: 6px 14px; border-radius: 30px; font-size: 0.8rem; }

/* Keyword cloud (semantic SEO) */
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.keyword-cloud a {
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline-soft);
  color: var(--text-muted); padding: 6px 14px; border-radius: 30px; font-size: 0.82rem;
  transition: all 0.25s;
}
.keyword-cloud a:hover { color: var(--gold-3); border-color: var(--gold-1); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .main-nav, .header-actions .lang { display: none; }
  .hamburger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub, .bonus-chip { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .mockup-wrap { order: -1; margin-bottom: 20px; }
  .feature-row, .feature-row.rev .feature-row__media { grid-template-columns: 1fr; order: 0; }
  .og-showcase, .contact-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .fab-stack { bottom: 84px; }
  body { padding-bottom: 66px; }

  /* Mobile nav drawer */
  .main-nav.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(16px);
    padding: 16px; gap: 4px; border-bottom: 1px solid var(--hairline);
    z-index: 899; animation: slideDown 0.35s var(--ease);
  }
  .main-nav.mobile-open a { padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
  .main-nav.mobile-open a::after { display: none; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-14px); } }
}

@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .promo-banner__body { padding: 30px 24px; }
  .og-showcase, .cta-band { padding: 30px 22px; }
  .hero__trust { gap: 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
