/* ============================================
   IX7 GAME — style.css
   Complete Design System
   ============================================ */

/* --- 1. RESET & CUSTOM PROPERTIES --- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red-primary); outline-offset: 3px; border-radius: 3px; }

html { font-size: 16px; }

:root {
  --bg-primary:    #060000;
  --bg-secondary:  #0c0000;
  --bg-card:       #120000;
  --bg-card-hover: #1c0000;
  --bg-glass:      rgba(12, 0, 0, 0.88);
  --bg-glass-light: rgba(30, 0, 0, 0.6);

  --red-primary:  #E53935;
  --red-hot:      #FF1744;
  --red-dark:     #B71C1C;
  --red-deep:     #7f0000;
  --red-glow:     rgba(229, 57, 53, 0.35);
  --red-glow-strong: rgba(255, 23, 68, 0.65);

  --accent-gold:  #FFD700;
  --accent-gold-light: #FFE566;
  --accent-gold-glow: rgba(255, 215, 0, 0.35);

  --text-primary:   #FFFFFF;
  --text-secondary: #FFB3B3;
  --text-muted:     #6b4040;
  --text-dim:       #3d2020;

  --success:  #00C853;
  --danger:   #FF3B55;
  --warning:  #FF9800;
  --info:     #29B6F6;

  --border-color: rgba(229, 57, 53, 0.22);
  --border-hot:   rgba(255, 23, 68, 0.55);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-gold:  rgba(255, 215, 0, 0.4);

  --shadow-red:        0 0 22px rgba(229, 57, 53, 0.28);
  --shadow-red-strong: 0 0 48px rgba(229, 57, 53, 0.6);
  --shadow-card:       0 4px 28px rgba(0, 0, 0, 0.55);
  --shadow-deep:       0 12px 48px rgba(0, 0, 0, 0.7);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition:       all 0.3s ease;
  --transition-fast:  all 0.15s ease;
  --transition-slow:  all 0.5s ease;

  --header-h: 72px;
  --container-max: 1200px;
  --container-pad: clamp(16px, 4vw, 44px);

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;

  --z-base:    1;
  --z-card:    10;
  --z-header:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;
}

/* --- 2. TYPOGRAPHY --- */

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; }

p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.text-red   { color: var(--red-primary) !important; }
.text-hot   { color: var(--red-hot) !important; }
.text-gold  { color: var(--accent-gold) !important; }
.text-white { color: var(--text-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* --- 3. LAYOUT --- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

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

.flex    { display: flex; }
.flex-c  { display: flex; align-items: center; }
.flex-cc { display: flex; align-items: center; justify-content: center; }
.flex-sb { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* --- 4. AFFILIATE BAR --- */

.affiliate-bar {
  background: rgba(229, 57, 53, 0.08);
  border-bottom: 1px solid rgba(229, 57, 53, 0.18);
  padding: 7px 0;
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  position: relative;
  z-index: var(--z-header);
}

.affiliate-bar strong { color: var(--text-secondary); font-weight: 500; }
.affiliate-bar a { color: var(--red-primary); text-decoration: underline; }

/* --- 5. HEADER --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 0, 0, 0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}


.site-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .site-logo-img { height: 32px; }
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(229, 57, 53, 0.14);
}

.main-nav a.active { color: var(--red-hot); }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- 6. MOBILE NAV OVERLAY --- */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 0, 0, 0.98);
  z-index: calc(var(--z-header) + 1);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-overlay.open { transform: translateX(0); }

.nav-overlay-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.nav-overlay-close:hover { background: var(--red-primary); }

.nav-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.nav-overlay nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-overlay nav a:hover,
.nav-overlay nav a.active { color: var(--red-hot); }

.nav-overlay nav a::after {
  content: '→';
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition-fast);
}

.nav-overlay nav a:hover::after { opacity: 1; transform: translateX(0); }

.overlay-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* --- 7. STICKY DOWNLOAD BAR --- */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-header) - 1);
  background: linear-gradient(135deg, var(--red-dark) 0%, #3d0000 100%);
  border-top: 1px solid var(--border-hot);
  padding: 12px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(229, 57, 53, 0.35);
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sticky-bar-text span { color: var(--accent-gold); }

.sticky-bar-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
}

/* --- 8. AGE GATE MODAL --- */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-box {
  background: var(--bg-card);
  border: 1px solid var(--border-hot);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-red-strong);
}

.age-gate-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}

.age-gate h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--red-hot);
}

.age-gate p {
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.age-gate-actions { display: flex; flex-direction: column; gap: 12px; }

/* --- 9. EXIT INTENT POPUP --- */

.exit-popup {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.exit-popup.show { opacity: 1; pointer-events: all; }

.exit-popup-box {
  background: var(--bg-card);
  border: 1px solid var(--border-hot);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.exit-popup.show .exit-popup-box { transform: scale(1); }

.exit-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
}

.exit-popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--red-hot), var(--accent-gold));
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* --- 10. ALERT STRIP --- */

.alert-strip {
  background: linear-gradient(90deg, #3d0000 0%, #1a0000 50%, #3d0000 100%);
  border-bottom: 1px solid rgba(229,57,53,0.3);
  padding: 10px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.alert-strip::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229,57,53,0.15), transparent);
  animation: shimmer 3s ease infinite;
}

.alert-strip strong { color: var(--accent-gold); }

.alert-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  line-height: 1;
}

.alert-close:hover { color: #fff; }

/* --- 11. BUTTON SYSTEM --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}

.btn-red {
  background: linear-gradient(135deg, var(--red-hot) 0%, var(--red-dark) 100%);
  color: #fff;
  border-color: var(--red-hot);
  box-shadow: 0 4px 20px var(--red-glow), 0 2px 8px rgba(0,0,0,0.4);
}

.btn-red:hover {
  background: linear-gradient(135deg, #ff4060 0%, var(--red-primary) 100%);
  box-shadow: 0 6px 32px var(--red-glow-strong), 0 2px 8px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hot);
}

.btn-outline:hover {
  background: rgba(229, 57, 53, 0.12);
  border-color: var(--red-hot);
  color: var(--red-hot);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 32px var(--accent-gold-glow);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--red-primary);
  color: #fff;
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-xs { padding: 5px 12px; font-size: 0.72rem; }
.btn-full { width: 100%; }

.btn-icon-left  svg { margin-right: 4px; }
.btn-icon-right svg { margin-left: 4px; }

/* --- 12. SECTION HEADERS --- */

.section-header { text-align: center; margin-bottom: 52px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-hot);
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.28);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--red-hot);
  opacity: 0.6;
}

.section-header h2 { margin-bottom: 14px; }

.section-header h2 em {
  font-style: normal;
  color: var(--red-hot);
  text-shadow: 0 0 22px var(--red-glow);
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-secondary);
}

.section-header.left { text-align: left; }
.section-header.left p { margin: 0; }

/* --- 13. TICKER BAR --- */

.ticker-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  overflow: hidden;
}

.ticker-wrap {
  display: flex;
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 28s linear infinite;
  will-change: transform;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ticker-item img {
  height: 26px;
  width: auto;
  opacity: 0.8;
}

.ticker-item span {
  display: inline-block;
  background: rgba(229,57,53,0.08);
  border: 1px solid rgba(229,57,53,0.2);
  border-radius: var(--radius-full);
  padding: 3px 14px;
  font-size: 0.8rem;
}

/* --- 14. HERO SECTION (UNIQUE DESIGN) --- */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

/* Animated grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229,57,53,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,57,53,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 8s linear infinite;
  pointer-events: none;
}

.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(229,57,53,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Live winners ticker at top */
.hero-live-ticker {
  position: relative;
  z-index: 2;
  background: rgba(229,57,53,0.08);
  border: 1px solid var(--border-hot);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  margin-bottom: 28px;
  max-width: 540px;
  overflow: hidden;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseBadge 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--success);
}

.hero-live-ticker span { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-live-ticker strong { color: var(--accent-gold); }

.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229,57,53,0.12);
  border: 1px solid var(--border-hot);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.hero-title .highlight {
  color: var(--red-hot);
  text-shadow: 0 0 30px var(--red-glow-strong), 0 0 60px var(--red-glow);
  animation: neonFlicker 6s linear infinite;
  display: block;
}

.hero-title .sub-line { font-size: 0.55em; color: var(--text-secondary); font-weight: 400; letter-spacing: 0.1em; display: block; text-transform: uppercase; }

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-badge .icon { font-size: 1rem; }

/* Phone + orbital layout */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.orbital-system {
  position: relative;
  width: 380px;
  height: 380px;
  flex-shrink: 0;
}

.orbital-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(229,57,53,0.18);
  animation: spin 20s linear infinite;
}

.orbital-ring:nth-child(2) {
  inset: 30px;
  border-color: rgba(255,215,0,0.12);
  animation-direction: reverse;
  animation-duration: 14s;
}

.orbit-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-hot);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 14px var(--red-glow);
  animation: orbitalPulse 3s ease-in-out infinite;
  z-index: 5;
}

.orbit-icon:nth-child(1) { top: -22px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-icon:nth-child(2) { right: -22px; top: 50%; transform: translateY(-50%); animation-delay: 0.5s; }
.orbit-icon:nth-child(3) { bottom: -22px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.orbit-icon:nth-child(4) { left: -22px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }

.hero-phone-wrap {
  position: absolute;
  inset: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 15. PHONE MOCKUP --- */

.phone-mockup {
  width: 200px;
  height: 368px;
  background: var(--bg-card);
  border: 2px solid rgba(229,57,53,0.5);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px var(--red-glow), 0 20px 60px rgba(0,0,0,0.7), inset 0 0 20px rgba(229,57,53,0.05);
  animation: floatPhone 4s ease-in-out infinite;
  flex-shrink: 0;
}

.phone-notch {
  width: 80px;
  height: 14px;
  background: #000;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  height: calc(100% - 14px);
  background: linear-gradient(180deg, #100000 0%, #060000 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  flex-shrink: 0;
}

.phone-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-hot);
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 10px var(--red-glow);
}

.phone-games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.phone-game-tile {
  background: rgba(229,57,53,0.08);
  border: 1px solid rgba(229,57,53,0.2);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.phone-game-tile .tile-icon { font-size: 1.3rem; margin-bottom: 3px; }

.phone-balance {
  background: rgba(229,57,53,0.12);
  border: 1px solid rgba(229,57,53,0.3);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  margin-bottom: 8px;
}

.phone-balance-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-balance-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 0 10px var(--accent-gold-glow);
}

.phone-cta {
  background: linear-gradient(135deg, var(--red-hot), var(--red-dark));
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--red-glow);
}

.phone-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229,57,53,0.7), transparent);
  animation: scanLine 3s ease-in-out infinite;
  pointer-events: none;
}

/* Expand rings */
.expand-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 368px;
  border: 1px solid rgba(229,57,53,0.35);
  border-radius: 32px;
  animation: expandRing 2.5s ease-out infinite;
  pointer-events: none;
}

.expand-ring:nth-child(2) { animation-delay: 1.25s; }

/* Hero stats bar */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(229,57,53,0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  padding: 16px 28px;
  text-align: center;
  flex: 1;
  min-width: 120px;
  border-right: 1px solid var(--border-color);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-hot);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- 16. GAME CARDS --- */

.games-section { padding: 90px 0; }

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tab {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover { border-color: var(--red-primary); color: var(--text-secondary); }

.filter-tab.active {
  background: linear-gradient(135deg, var(--red-hot), var(--red-dark));
  border-color: var(--red-hot);
  color: #fff;
  box-shadow: 0 4px 16px var(--red-glow);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card:hover {
  border-color: var(--red-primary);
  box-shadow: 0 8px 32px var(--red-glow), 0 0 0 1px rgba(229,57,53,0.3);
  transform: translateY(-5px);
}

.game-card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a0000, #0a0000);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-thumb-icon {
  font-size: 3.5rem;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumb-icon { transform: scale(1.12); }

.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,0,0,0.9) 0%, transparent 50%);
}

.game-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.badge-hot  { background: var(--red-hot); color: #fff; }
.badge-new  { background: var(--success); color: #000; }
.badge-live { background: var(--warning); color: #000; }
.badge-top  { background: var(--accent-gold); color: #000; }

.game-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(229,57,53,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-play-overlay { opacity: 1; }

/* ---- Real game thumbnail images ---- */
.game-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
  z-index: 0;
}
.game-card:hover .game-thumb-img { transform: scale(1.06); }
.game-thumb-overlay,
.game-card-badges,
.game-play-overlay { z-index: 1; }

/* ---- Game detail hero image ---- */
.gp-hero-img-dynamic {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  border: 2px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(229,57,53,0.25);
}

.play-btn {
  width: 52px;
  height: 52px;
  background: var(--red-hot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 24px var(--red-glow-strong);
}

.game-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

.game-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.game-rtp { color: var(--success); font-weight: 600; }
.game-cat { color: var(--text-muted); text-transform: capitalize; }

.game-card-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border-color);
}

/* Game search */
.game-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.game-search {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: #fff;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.game-search:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15);
}

.game-search::placeholder { color: var(--text-muted); }

.games-footer { text-align: center; margin-top: 8px; }

/* --- 17. DOWNLOAD STEPS --- */

.download-section { padding: 90px 0; background: var(--bg-secondary); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 1px;
  background: linear-gradient(90deg, var(--red-hot), var(--red-primary), var(--red-hot));
  opacity: 0.4;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--red-hot), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 16px var(--red-glow);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p { font-size: 0.875rem; }

/* Countdown timer */
.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(229,57,53,0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.countdown-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-right: 8px;
}

.countdown-units { display: flex; gap: 12px; }

.countdown-unit {
  text-align: center;
  min-width: 56px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-hot);
  line-height: 1;
  display: block;
  text-shadow: 0 0 14px var(--red-glow);
}

.countdown-sep {
  font-size: 1.5rem;
  color: var(--red-primary);
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
}

.countdown-unit-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- 18. SCREENSHOTS CAROUSEL --- */

.carousel-section { padding: 90px 0; }

.screenshots-carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); }

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.carousel-slide-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0000 0%, #060000 100%);
  position: relative;
}

.slide-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(229,57,53,0.2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background: var(--bg-glass);
  border: 1px solid var(--border-hot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.carousel-btn:hover { background: var(--red-primary); box-shadow: 0 0 16px var(--red-glow); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--red-hot);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--red-glow);
}

/* --- 19. STATS SECTION --- */

.stats-section { padding: 80px 0; background: var(--bg-secondary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: var(--bg-card);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-hot), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before { opacity: 1; }

.stat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red-hot);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 18px var(--red-glow);
  display: block;
}

.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* --- 20. FEATURES SECTION --- */

.features-section { padding: 90px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot), var(--red-dark));
  background-size: 200% 100%;
  animation: borderScan 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(229,57,53,0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background: rgba(229,57,53,0.2);
  border-color: var(--red-primary);
  box-shadow: 0 0 14px var(--red-glow);
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p  { font-size: 0.875rem; line-height: 1.6; }

/* --- 21. BONUS CARDS --- */

.bonus-section { padding: 90px 0; background: var(--bg-secondary); }

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.bonus-card.featured {
  border-color: var(--red-hot);
  background: linear-gradient(135deg, #1a0000, #0c0000);
  box-shadow: 0 0 40px rgba(229,57,53,0.2);
}

.bonus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-red); }

.bonus-featured-ribbon {
  position: absolute;
  top: 18px;
  right: -22px;
  background: var(--red-hot);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(45deg);
}

.bonus-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }

.bonus-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 6px;
  display: block;
}

.bonus-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.bonus-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
  text-shadow: 0 0 16px var(--accent-gold-glow);
  display: block;
}

.bonus-card p { font-size: 0.875rem; margin-bottom: 16px; }

.bonus-features { list-style: none; margin-bottom: 20px; }

.bonus-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bonus-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* --- 22. REFERRAL SECTION --- */

.referral-section { padding: 90px 0; }

.referral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.referral-steps { display: flex; flex-direction: column; gap: 20px; }

.referral-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.referral-step:hover { border-color: var(--red-primary); box-shadow: var(--shadow-red); }

.referral-step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--red-hot), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--red-glow);
}

.referral-step-text h4 { font-size: 1rem; margin-bottom: 4px; }
.referral-step-text p  { font-size: 0.85rem; }

/* Earnings calculator */
.earnings-calc {
  background: var(--bg-card);
  border: 1px solid var(--border-hot);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.earnings-calc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot), var(--accent-gold), var(--red-hot), var(--red-dark));
  background-size: 200% 100%;
  animation: borderScan 3s linear infinite;
}

.calc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.calc-row { margin-bottom: 16px; }

.calc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: var(--bg-card-hover);
  border-radius: 2px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--red-hot);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px var(--red-glow);
}

.calc-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-hot);
  margin-left: 8px;
}

.calc-result {
  background: rgba(229,57,53,0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
  text-align: center;
}

.calc-result-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; display: block; }

.calc-result-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 0 14px var(--accent-gold-glow);
}

/* --- 23. LEADERBOARD --- */

.leaderboard-section { padding: 90px 0; background: var(--bg-secondary); }

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.leaderboard-table th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.leaderboard-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(229,57,53,0.08);
}

.leaderboard-table tr:hover td { background: rgba(229,57,53,0.04); }

.lb-rank {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  width: 40px;
}

.lb-rank-1 { color: var(--accent-gold); }
.lb-rank-2 { color: #C0C0C0; }
.lb-rank-3 { color: #CD7F32; }

.lb-player { display: flex; align-items: center; gap: 10px; }

.lb-avatar {
  width: 32px;
  height: 32px;
  background: rgba(229,57,53,0.15);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red-primary);
}

.lb-amount {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--success);
}

/* --- 24. FAQ ACCORDION --- */

.faq-section { padding: 90px 0; }

.faq-search-wrap {
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
}

.faq-search {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 46px;
  color: #fff;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.faq-search:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15);
}

.faq-search::placeholder { color: var(--text-muted); }

.faq-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open { border-color: var(--red-primary); }
.faq-item.hidden { display: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  gap: 12px;
  user-select: none;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(229,57,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--red-primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.open .faq-a {
  max-height: 900px;
  padding: 0 20px 18px;
}

.faq-a p { font-size: 0.9rem; line-height: 1.7; }

/* --- 25. BLOG GRID --- */

.blog-section { padding: 90px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}

.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0000, #0a0000);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.blog-thumb-icon { font-size: 3rem; opacity: 0.6; }

.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: rgba(229,57,53,0.1);
  border: 1px solid rgba(229,57,53,0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.blog-date { font-size: 0.75rem; color: var(--text-muted); }

.blog-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #fff;
  transition: color 0.2s ease;
}

.blog-card:hover h3 { color: var(--red-hot); }

.blog-card p { font-size: 0.82rem; line-height: 1.6; flex: 1; }

.blog-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-read-more { color: var(--red-primary); font-weight: 600; }

/* --- 26. CTA BANNER --- */

.cta-section {
  padding: 80px 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(229,57,53,0.18) 0%, var(--bg-secondary) 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(229,57,53,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(229,57,53,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-section p  { margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions    { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- 27. FOOTER --- */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.875rem;
  margin: 14px 0 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover { background: var(--red-primary); color: #fff; border-color: var(--red-primary); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--red-hot); }

.footer-disclaimer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.disclaimer-card {
  background: rgba(229,57,53,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.disclaimer-card-icon { font-size: 1.3rem; margin-bottom: 6px; }
.disclaimer-card h5 { font-size: 0.82rem; margin-bottom: 4px; color: var(--text-secondary); }
.disclaimer-card p  { font-size: 0.75rem; color: var(--text-muted); }

.footer-bottom {
  padding: 20px 0 80px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: var(--text-secondary); }

.restricted-states {
  font-size: 0.72rem;
  color: var(--text-dim);
  max-width: 100%;
}

.restricted-states strong { color: var(--text-muted); }

/* --- 28. GAME DETAIL PAGE --- */

.gp-hero {
  padding: 80px 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.gp-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.gp-badge-row { display: flex; gap: 8px; margin-bottom: 14px; }
.gp-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.gp-desc  { margin-bottom: 24px; }

.gp-stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.gp-stat {
  text-align: center;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.gp-stat-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red-hot);
  display: block;
}

.gp-stat-key { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.gp-visual {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* Game tabs */
.game-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0 0;
  margin-bottom: 0;
  overflow-x: auto;
}

.game-tab-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
  margin-bottom: -1px;
}

.game-tab-btn:hover { color: var(--text-secondary); }
.game-tab-btn.active { color: var(--red-hot); border-bottom-color: var(--red-hot); }

.game-tab-panel { padding: 36px 0; display: none; }
.game-tab-panel.active { display: block; }

/* --- 29. DOWNLOAD PAGE --- */

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.3);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.req-icon { font-size: 1.5rem; margin-bottom: 6px; }
.req-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; display: block; }
.req-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }

.version-table { width: 100%; border-collapse: collapse; }
.version-table th { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 14px; border-bottom: 1px solid var(--border-color); text-align: left; }
.version-table td { padding: 12px 14px; font-size: 0.875rem; color: var(--text-secondary); border-bottom: 1px solid rgba(229,57,53,0.06); }
.version-table tr:hover td { background: rgba(229,57,53,0.03); }
.version-current td { color: #fff; }
.version-badge-sm { background: rgba(0,200,83,0.1); color: var(--success); padding: 2px 9px; border-radius: 4px; font-size: 0.72rem; font-weight: 600; }

/* Responsive table wrapper */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.table-wrap table { min-width: 500px; }

/* --- 30. BLOG / POST --- */

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.blog-featured-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a0000, #0a0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  overflow: hidden;
  position: relative;
}

/* ---- Blog real images ---- */
.blog-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.blog-featured:hover .blog-featured-img { transform: scale(1.04); }

.blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.post-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.blog-featured-body { padding: 32px; }

.blog-filter-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }

.blog-pill {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.blog-pill:hover, .blog-pill.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #fff;
}

/* Post content */
.post-content { max-width: 760px; margin: 0 auto; }
.post-content h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.post-content h2 { font-size: 1.5rem; margin: 36px 0 12px; color: var(--text-primary); }
.post-content h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--text-primary); }
.post-content p  { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 18px; }
.post-content li { margin-bottom: 6px; color: var(--text-secondary); font-size: 0.95rem; }
.post-content a  { color: var(--red-primary); }
.post-content a:hover { color: var(--red-hot); text-decoration: underline; }
.post-content blockquote {
  border-left: 3px solid var(--red-primary);
  padding: 12px 20px;
  background: rgba(229,57,53,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.post-content blockquote p { margin: 0; color: var(--text-secondary); font-style: italic; }

/* --- 31. STATIC PAGES --- */

.static-page { padding: 80px 0; }
.static-page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 8px; }
.static-page-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }
.static-content h2 { font-size: 1.4rem; margin: 36px 0 12px; color: var(--text-primary); }
.static-content h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--text-secondary); }
.static-content p  { margin-bottom: 16px; }
.static-content ul { padding-left: 22px; margin-bottom: 16px; }
.static-content li { margin-bottom: 6px; color: var(--text-secondary); }
.static-content a  { color: var(--red-primary); }
.static-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.static-content th { background: var(--bg-card); padding: 12px; text-align: left; border: 1px solid var(--border-color); font-size: 0.82rem; }
.static-content td { padding: 10px 12px; border: 1px solid var(--border-color); font-size: 0.875rem; color: var(--text-secondary); }

/* Warning box */
.warning-box {
  background: rgba(255,155,0,0.08);
  border: 1px solid rgba(255,155,0,0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.warning-icon { font-size: 1.4rem; flex-shrink: 0; }
.warning-box p { color: #FFB74D; margin: 0; }

/* --- 32. 404 PAGE --- */

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 700;
  color: var(--red-hot);
  line-height: 1;
  text-shadow: 0 0 60px var(--red-glow-strong), 0 0 120px var(--red-glow);
  animation: neonFlicker 4s linear infinite;
  display: block;
  margin-bottom: 8px;
}

/* --- 33. CONTACT FORM --- */

.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(229,57,53,0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 { font-size: 0.9rem; margin-bottom: 3px; }
.contact-info-text p  { font-size: 0.85rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input, .form-textarea, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  width: 100%;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.form-input.error { border-color: var(--danger); }
.form-error { font-size: 0.78rem; color: var(--danger); }

.form-textarea { resize: vertical; min-height: 130px; }

.form-select { -webkit-appearance: none; appearance: none; }

.form-success {
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  color: var(--success);
  font-weight: 500;
  display: none;
}

/* --- 34. SITEMAP --- */

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sitemap-col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.sitemap-col ul { display: flex; flex-direction: column; gap: 8px; }

.sitemap-col ul a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sitemap-col ul a::before { content: '→'; font-size: 0.7rem; color: var(--red-primary); opacity: 0.6; }
.sitemap-col ul a:hover { color: var(--red-hot); }

/* --- 35. RESPONSIBLE GAMING --- */

.rg-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 32px 0; }

.rg-tool {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.rg-tool-icon { font-size: 2rem; margin-bottom: 8px; }
.rg-tool h4 { font-size: 0.95rem; margin-bottom: 6px; }
.rg-tool p  { font-size: 0.8rem; }

.warning-signs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.warning-sign {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,59,85,0.06);
  border: 1px solid rgba(255,59,85,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.warning-sign::before { content: '⚠'; font-size: 0.9rem; flex-shrink: 0; }

/* --- 36. ABOUT PAGE --- */

.about-mission {
  padding: 80px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 60px 0; }

.about-stat {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.about-stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-hot);
  display: block;
  margin-bottom: 6px;
}

.about-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.value-card:hover { border-color: var(--red-primary); transform: translateY(-3px); }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p  { font-size: 0.875rem; }

/* --- 37. LEADERBOARD PAGE --- */

.lb-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

.lb-top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }

.lb-top-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.lb-top-card.rank-1 { border-color: var(--accent-gold); background: linear-gradient(135deg, #1a1000, #0a0000); }
.lb-top-card.rank-2 { border-color: #C0C0C0; }
.lb-top-card.rank-3 { border-color: #CD7F32; }

.lb-top-trophy { font-size: 2.5rem; margin-bottom: 10px; }
.lb-top-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.lb-top-amount { font-size: 1.3rem; font-weight: 700; color: var(--accent-gold); }
.lb-top-game   { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* --- 38. UTILITIES --- */

.hidden  { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--red-hot);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s ease;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

*:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 2px;
  border-radius: 2px;
}

.divider {
  height: 1px;
  background: var(--border-color);
  margin: 32px 0;
}

.load-more-btn-wrap { text-align: center; margin-top: 32px; }

/* --- 39. SCREENSHOTS CAROUSEL --- */

.sc-section {
  padding: 80px 0 56px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.sc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(229,57,53,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* The track sits directly inside .sc-section — no nested overflow:hidden wrapper */
.sc-track {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px 0 28px;
  transition: transform 0.52s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  /* JS sets transform to center the active slide */
}

.sc-item {
  flex: 0 0 auto;
  width: 200px;
  cursor: pointer;
  transition: transform 0.52s ease, opacity 0.52s ease, filter 0.52s ease;
  opacity: 0.35;
  transform: scale(0.80);
  filter: brightness(0.52);
}

.sc-item.is-adj {
  opacity: 0.65;
  transform: scale(0.91);
  filter: brightness(0.78);
}

.sc-item.is-active {
  opacity: 1;
  transform: scale(1.0);
  filter: brightness(1);
  cursor: default;
}

/* Phone frame */
.sc-phone {
  aspect-ratio: 9 / 20;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
  background: #060000;
  position: relative;
}

.sc-item.is-active .sc-phone {
  border-color: rgba(229, 57, 53, 0.85);
  box-shadow:
    0 0 0 1px rgba(229, 57, 53, 0.22),
    0 0 48px rgba(229, 57, 53, 0.32),
    0 8px 52px rgba(0, 0, 0, 0.7);
  animation: scPhonePulse 2.4s ease-in-out infinite;
}

@keyframes scPhonePulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(229,57,53,0.22), 0 0 48px rgba(229,57,53,0.32), 0 8px 52px rgba(0,0,0,0.7); }
  50%       { box-shadow: 0 0 0 2px rgba(229,57,53,0.35), 0 0 72px rgba(229,57,53,0.5),  0 8px 52px rgba(0,0,0,0.7); }
}

.sc-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Screen count badge */
.sc-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-item.is-active .sc-label {
  opacity: 1;
  transform: translateY(0);
}

/* Controls bar */
.sc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px 8px;
}

.sc-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  user-select: none;
}

.sc-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.45);
}

/* Dot pagination */
.sc-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

.sc-dot.is-active {
  background: var(--red-primary);
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 7px rgba(229, 57, 53, 0.55);
}

/* Responsive */
@media (max-width: 960px)  { .sc-item { width: 180px; } }
@media (max-width: 768px)  { .sc-item { width: 158px; } .sc-track { gap: 18px; } }
@media (max-width: 580px)  { .sc-item { width: 140px; } .sc-track { gap: 14px; } .sc-btn { width: 38px; height: 38px; font-size: 1.4rem; } }
@media (max-width: 400px)  { .sc-item { width: 125px; } .sc-track { gap: 12px; } .sc-phone { border-radius: 18px; } }

/* --- 40. RESPONSIVE --- */

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav   { display: none; }
  .hamburger  { display: flex; }
  .header-cta .btn { display: none; }
  .header-cta .btn:first-child { display: inline-flex; }
  .referral-grid { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .gp-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero-visual  { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .bonus-grid    { grid-template-columns: 1fr 1fr; }
  .blog-grid     { grid-template-columns: 1fr 1fr; }
  .lb-top3       { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto 32px; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section-pad { padding: 64px 0; }
  .steps-grid  { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-disclaimer-cards { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .bonus-grid   { grid-template-columns: 1fr; }
  .games-grid   { grid-template-columns: repeat(2, 1fr); }
  .form-row     { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; padding-bottom: 100px; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .hero-stats-bar .hero-stat { padding: 12px 14px; min-width: 90px; }
  .hero-stat-value { font-size: 1.1rem; }
  .about-stats  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-title { font-size: 2.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .sitemap-grid  { grid-template-columns: 1fr; }
  .countdown-wrap { flex-direction: column; gap: 10px; }
  .hero-trust { gap: 12px; }
  .filter-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .gp-stats-row { gap: 10px; }
  .gp-stat { padding: 10px 12px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-thumb { aspect-ratio: 16/9; }
  .section-header { margin-bottom: 36px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .sticky-bar { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 480px) {
  :root { --container-pad: 14px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats-bar { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .age-gate-box { padding: 32px 22px; }
  .earnings-calc { padding: 22px; }
  .alert-strip { padding-right: 44px; font-size: 0.8rem; }
  .bonus-card { padding: 22px; }
  .referral-step { padding: 14px; }
  .footer-grid { gap: 20px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .games-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 22px; font-size: 0.95rem; }
  .hero-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Smooth scroll only for users who haven't opted out */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Respect reduced-motion preference — disable all animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
