/* ============================================================
   MINEDROP / MINESLOT — Nether World Theme
   Palette: deep blacks, netherrack crimson, lava orange, gold, obsidian purple
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Exo+2:wght@400;500;600;700;800&display=swap');

:root {
  /* Type Scale */
  --text-xs:    clamp(0.65rem,  0.6rem  + 0.25vw, 0.75rem);
  --text-sm:    clamp(0.75rem,  0.7rem  + 0.3vw,  0.875rem);
  --text-base:  clamp(0.9rem,   0.85rem + 0.25vw, 1rem);
  --text-lg:    clamp(1rem,     0.9rem  + 0.5vw,  1.25rem);
  --text-xl:    clamp(1.25rem,  1rem    + 0.9vw,  1.75rem);
  --text-2xl:   clamp(1.75rem,  1.2rem  + 1.8vw,  2.75rem);
  --text-3xl:   clamp(2.2rem,   1rem    + 3.5vw,  4rem);
  --text-pixel: clamp(0.55rem,  0.48rem + 0.35vw, 0.85rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── NETHER WORLD COLOR PALETTE ── */

  /* Backgrounds — deep black cave walls */
  --color-bg:              #060304;
  --color-surface:         #0e0507;
  --color-surface-2:       #130709;
  --color-surface-offset:  #100608;
  --color-surface-card:    #160a0a;
  --color-divider:         #2a0f0f;
  --color-border:          #3d1414;

  /* Text */
  --color-text:            #f5e8e0;
  --color-text-muted:      #b07060;
  --color-text-faint:      #5c3030;

  /* Lava Orange — Primary CTA */
  --color-primary:         #e05000;
  --color-primary-hover:   #c04000;
  --color-primary-active:  #a03000;
  --color-primary-glow:    rgba(224, 80, 0, 0.45);
  --color-primary-dim:     rgba(224, 80, 0, 0.1);

  /* Gold — Secondary (chest / treasure) */
  --color-secondary:       #e8b400;
  --color-secondary-hover: #c89800;
  --color-secondary-glow:  rgba(232, 180, 0, 0.35);
  --color-secondary-dim:   rgba(232, 180, 0, 0.1);

  /* Nether portal purple */
  --color-purple:          #7c2dcf;
  --color-purple-dim:      rgba(124, 45, 207, 0.15);

  /* Diamond cyan */
  --color-cyan:            #40d0e8;
  --color-cyan-dim:        rgba(64, 208, 232, 0.12);

  /* Netherrack crimson tones */
  --color-crimson:         #8b1a1a;
  --color-crimson-dark:    #400000;
  --color-lava-bright:     #ff4500;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.4rem;
  --radius-lg: 0.6rem;
  --radius-xl: 0.875rem;
  --radius-full: 9999px;

  /* Transitions */
  --trans: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Glows */
  --shadow-glow-lava:   0 0 20px rgba(224, 80, 0, 0.5), 0 0 50px rgba(224, 80, 0, 0.2);
  --shadow-glow-gold:   0 0 20px rgba(232, 180, 0, 0.5), 0 0 50px rgba(232, 180, 0, 0.15);
  --shadow-glow-purple: 0 0 20px rgba(124, 45, 207, 0.4), 0 0 40px rgba(124, 45, 207, 0.15);
  --shadow-card:        0 4px 32px rgba(0, 0, 0, 0.8);

  /* Fonts */
  --font-pixel:   'Press Start 2P', monospace;
  --font-display: 'Exo 2', sans-serif;
  --font-body:    'Exo 2', sans-serif;

  /* Widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
}

/* ============================================================
   NETHER BACKGROUND — lava-lit cave walls with blur
   ============================================================ */
body {
  background-color: var(--color-bg);
  /* Lava glow layers only — animated grid is drawn on canvas by cursor.js */
  background-image:
    /* Lava glow from below */
    radial-gradient(ellipse 100% 30% at 50% 100%, rgba(200, 50, 0, 0.25) 0%, transparent 60%),
    /* Nether portal side glows */
    radial-gradient(ellipse 30% 70% at 0% 50%, rgba(100, 20, 180, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 30% 70% at 100% 50%, rgba(100, 20, 180, 0.08) 0%, transparent 55%),
    /* Deep crimson cave base */
    linear-gradient(180deg, #060304 0%, #0e0507 40%, #130709 70%, #0e0507 100%);
  background-attachment: fixed;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: min(var(--content-wide), 100% - var(--space-8));
  margin-inline: auto;
}
.container--narrow {
  width: min(var(--content-default), 100% - var(--space-8));
  margin-inline: auto;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 3, 4, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 0 rgba(224,80,0,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 8px rgba(224,80,0,0.5));
}
.logo-text {
  font-family: var(--font-pixel);
  font-size: var(--text-pixel);
  color: var(--color-secondary);
  text-shadow: 0 0 14px rgba(232,180,0,0.6), 0 0 30px rgba(224,80,0,0.3);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-secondary);
  background: var(--color-secondary-dim);
  text-shadow: 0 0 10px rgba(232,180,0,0.4);
}

.nav-ctas {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: var(--trans);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
  background: rgba(6, 3, 4, 0.97);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--color-secondary); background: var(--color-secondary-dim); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Lava shimmer overlay on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::after { transform: translateX(100%); }

/* Green → replaced with Lava Orange */
.btn--green {
  background: linear-gradient(135deg, #e05000, #c03a00);
  color: #fff;
  box-shadow: 0 2px 14px rgba(224, 80, 0, 0.4);
}
.btn--green:hover {
  background: linear-gradient(135deg, #ff5f00, #e04000);
  box-shadow: var(--shadow-glow-lava);
  transform: translateY(-1px);
}

/* Blue → replaced with Gold */
.btn--blue {
  background: linear-gradient(135deg, #e8b400, #c89800);
  color: #000;
  font-weight: 800;
  box-shadow: 0 2px 14px rgba(232, 180, 0, 0.35);
}
.btn--blue:hover {
  background: linear-gradient(135deg, #ffcc00, #e8b400);
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.btn--outline:hover {
  background: var(--color-secondary-dim);
  box-shadow: 0 0 14px var(--color-secondary-glow);
}

/* Gold accent button (Mineslot 2 pages) */
.btn--gold {
  background: linear-gradient(135deg, #e8b400, #c08000);
  color: #000;
  font-weight: 800;
  box-shadow: 0 2px 14px rgba(232, 180, 0, 0.4);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #ffcc00, #e8b400);
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-1px);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
}
.btn--sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-20) 0;
}

/* Nether hero background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* Central purple portal haze */
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(100, 20, 180, 0.12) 0%, transparent 60%),
    /* Lava glow from bottom */
    radial-gradient(ellipse 90% 35% at 50% 100%, rgba(200, 50, 0, 0.3) 0%, transparent 55%),
    /* Left side lava pool */
    radial-gradient(ellipse 40% 50% at 5% 80%, rgba(180, 40, 0, 0.2) 0%, transparent 50%),
    /* Right side lava pool */
    radial-gradient(ellipse 40% 50% at 95% 80%, rgba(180, 40, 0, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #060304 0%, #0e0507 50%, #160609 100%);
}

/* Pixel netherrack grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 20, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 20, 20, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Blurred background image layer */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://minedrop-busia.ru/images/background.png');
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.25) saturate(0.6) sepia(0.4) hue-rotate(-10deg);
  transform: scale(1.05);
  mix-blend-mode: luminosity;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(224, 80, 0, 0.12);
  border: 1px solid rgba(224, 80, 0, 0.35);
  color: var(--color-primary);
  font-family: var(--font-pixel);
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(224,80,0,0.5);
}

.hero-logo-img {
  max-width: clamp(200px, 50vw, 480px);
  margin: 0 auto var(--space-6);
  filter:
    drop-shadow(0 0 20px rgba(224, 80, 0, 0.6))
    drop-shadow(0 0 50px rgba(200, 50, 0, 0.3));
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: var(--text-pixel);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
  line-height: 2;
}
.hero-title em {
  color: var(--color-secondary);
  font-style: normal;
  text-shadow: 0 0 20px rgba(232,180,0,0.6);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(22, 10, 10, 0.8);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(14,5,7,0.0) 0%, rgba(22,10,10,0.8) 50%, rgba(14,5,7,0.0) 100%);
}

/* Lava crack dividers */
.section--alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,80,0,0.3) 30%, rgba(232,180,0,0.2) 50%, rgba(224,80,0,0.3) 70%, transparent);
}
.section--alt::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,80,0,0.3) 30%, rgba(232,180,0,0.2) 50%, rgba(224,80,0,0.3) 70%, transparent);
}

.section-label {
  font-family: var(--font-pixel);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  display: block;
  text-shadow: 0 0 10px rgba(224,80,0,0.5);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.section-title em {
  color: var(--color-secondary);
  font-style: normal;
  text-shadow: 0 0 16px rgba(232,180,0,0.4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-bottom: var(--space-12);
  line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.info-card {
  background: linear-gradient(160deg, rgba(30, 8, 8, 0.9), rgba(18, 5, 5, 0.95));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: var(--trans);
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), transparent);
}
.info-card:hover {
  border-color: rgba(224,80,0,0.5);
  box-shadow: 0 4px 32px rgba(224,80,0,0.15), inset 0 0 30px rgba(224,80,0,0.03);
  transform: translateY(-2px);
}

.info-card--gold::before {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-purple), transparent) !important;
}
.info-card--gold:hover {
  border-color: rgba(232, 180, 0, 0.5) !important;
  box-shadow: 0 4px 32px rgba(232,180,0,0.15) !important;
}

.info-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  display: block;
  filter: drop-shadow(0 0 8px rgba(224,80,0,0.4));
}
.info-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: 0.03em;
}
.info-card-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
  margin: var(--space-10) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  background: linear-gradient(160deg, rgba(30,8,8,0.9), rgba(16,5,5,0.95));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.6;
}

.stat-number {
  font-family: var(--font-pixel);
  font-size: var(--text-xl);
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(224,80,0,0.6), 0 0 40px rgba(224,80,0,0.2);
  display: block;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.stat-item--gold .stat-number {
  color: var(--color-secondary) !important;
  text-shadow: 0 0 20px rgba(232,180,0,0.6), 0 0 40px rgba(232,180,0,0.2) !important;
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-section { padding: clamp(var(--space-12), 8vw, var(--space-24)) 0; }

.video-wrapper { position: relative; max-width: 300px; margin: 0 auto; }

/* iPhone 15 Pro frame */
.phone-frame {
  position: relative;
  width: 280px;
  margin: 0 auto;
  background: #1a1a1c;
  border-radius: 50px;
  padding: 14px 10px;
  box-shadow:
    /* outer chrome edge */
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 2px rgba(0,0,0,0.9),
    0 0 0 3px #2a2a2e,
    0 0 0 4px #111,
    /* lava glow */
    0 0 50px rgba(224,80,0,0.3),
    0 0 100px rgba(180,40,0,0.12),
    /* depth shadow */
    0 30px 60px rgba(0,0,0,0.8);
  /* titanium side shine */
  background: linear-gradient(145deg, #242428 0%, #1a1a1c 40%, #1e1e22 100%);
}

/* Dynamic Island notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Side buttons */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 80px;
  width: 4px;
  height: 60px;
  background: #2e2e32;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 80px 0 #2e2e32, 0 -50px 0 20px transparent;
}

/* Screen area */
.phone-screen {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  /* screen shine */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.phone-video {
  width: 100%;
  display: block;
  border-radius: 40px;
  aspect-ratio: 9/19.5;
  object-fit: cover;
}

/* Status bar area above dynamic island — tiny screen edge */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  z-index: 2;
  border-radius: 40px 40px 0 0;
  pointer-events: none;
}

.video-caption {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ============================================================
   FEATURES LIST
   ============================================================ */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(28,8,8,0.9), rgba(16,5,5,0.95));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: var(--trans);
  backdrop-filter: blur(4px);
}
.feature-item:hover {
  border-color: rgba(224,80,0,0.45);
  box-shadow: 0 0 20px rgba(224,80,0,0.1);
}
.feature-item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  filter: drop-shadow(0 0 6px rgba(224,80,0,0.4));
}
.feature-item-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  letter-spacing: 0.03em;
}
.feature-item-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: linear-gradient(160deg, rgba(28,8,8,0.9), rgba(16,5,5,0.95));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}
.faq-question:hover { color: var(--color-secondary); }
.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--trans);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  text-align: center;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-8);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14,5,7,0) 0%, rgba(30,10,8,0.6) 50%, rgba(14,5,7,0) 100%);
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(200,50,0,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(100,20,180,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-block-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.6rem, 0.5rem + 0.8vw, 1.1rem);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 30px rgba(232,180,0,0.3);
  position: relative;
}
.cta-block-text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-block-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  position: relative;
}

/* ============================================================
   MODAL — CHEST + BONUS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal-overlay.active { display: flex; }

/* ── ЭТАП 1: СУНДУК ── */
.chest-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.chest-wrap {
  position: relative;
  cursor: pointer;
  filter: drop-shadow(0 0 20px rgba(218,165,32,0.6)) drop-shadow(0 0 40px rgba(218,165,32,0.3));
  transition: transform 0.15s;
}
.chest-wrap:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 28px rgba(255,215,0,0.8)) drop-shadow(0 0 55px rgba(218,165,32,0.4));
}
.chest-svg {
  width: 160px;
  height: 130px;
  image-rendering: pixelated;
  display: block;
}
/* Анимация подпрыгивания сундука */
.chest-wrap.idle {
  animation: chestIdle 2.4s ease-in-out infinite;
}
@keyframes chestIdle {
  0%, 85%, 100% { transform: translateY(0) rotate(0deg); }
  88%           { transform: translateY(-6px) rotate(-2deg); }
  92%           { transform: translateY(-10px) rotate(2deg); }
  96%           { transform: translateY(-5px) rotate(-1deg); }
}
/* Сундук открывается */
.chest-wrap.opening {
  animation: chestOpen 0.5s ease-out forwards;
}
@keyframes chestOpen {
  0%   { transform: scale(1) rotate(0deg); }
  20%  { transform: scale(1.15) rotate(-4deg); }
  40%  { transform: scale(0.9) rotate(3deg); }
  60%  { transform: scale(1.2) rotate(-2deg); }
  80%  { transform: scale(1.05) rotate(1deg); }
  100% { transform: scale(1.1) rotate(0deg); opacity: 0; }
}
.chest-hint {
  font-family: var(--font-pixel);
  font-size: clamp(0.45rem, 0.4rem + 0.4vw, 0.65rem);
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(232,180,0,0.6);
  animation: hintPulse 1.5s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
/* Частицы */
.chest-particles { position: absolute; inset: 0; pointer-events: none; }
.chest-particle {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 1px;
  image-rendering: pixelated;
  animation: particleBurst 0.7s ease-out forwards;
}
@keyframes particleBurst {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0.2); }
}

/* ── ЭТАП 2: БОНУСНОЕ ОКНО ── */
.bonus-box {
  background: linear-gradient(160deg, #120508 0%, #0a0305 50%, #100708 100%);
  border: 2px solid rgba(218,165,32,0.5);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-8) var(--space-6);
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,215,0,0.12),
    0 0 40px rgba(218,165,32,0.35),
    0 0 80px rgba(200,100,0,0.2),
    inset 0 0 60px rgba(218,165,32,0.04);
  animation: bonusIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bonusIn {
  from { opacity: 0; transform: scale(0.75) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.bonus-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.bonus-chest-icon {
  width: 48px; height: 40px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(218,165,32,0.7));
  flex-shrink: 0;
}
.bonus-label {
  font-family: var(--font-pixel);
  font-size: clamp(0.42rem, 0.38rem + 0.35vw, 0.62rem);
  color: var(--color-secondary);
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(232,180,0,0.7);
  line-height: 1.6;
}
/* Цифры бонуса */
.bonus-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  background: rgba(218,165,32,0.06);
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: var(--radius-lg);
}
.bonus-fs {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 0.8rem + 1.5vw, 1.8rem);
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.4);
  line-height: 1;
}
.bonus-plus {
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  color: var(--color-text-muted);
}
.bonus-dep {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 0.8rem + 1.5vw, 1.8rem);
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(224,80,0,0.8), 0 0 40px rgba(224,80,0,0.4);
  line-height: 1.2;
}
.bonus-dep span {
  font-size: 0.55em;
  color: var(--color-text-muted);
  text-shadow: none;
  display: block;
}
.bonus-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}
.bonus-timer {
  font-family: var(--font-pixel);
  font-size: 0.9em;
  color: var(--color-primary);
  text-shadow: 0 0 8px rgba(224,80,0,0.6);
}
.bonus-cta {
  width: 100%;
  font-size: var(--text-lg) !important;
  padding: var(--space-4) var(--space-6) !important;
  box-shadow: 0 0 30px rgba(224,80,0,0.5), 0 0 60px rgba(224,80,0,0.2);
  animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(224,80,0,0.4), 0 0 40px rgba(224,80,0,0.15); }
  50%       { box-shadow: 0 0 35px rgba(224,80,0,0.7), 0 0 70px rgba(224,80,0,0.3); }
}
.bonus-fine {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}
.modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  color: var(--color-text-muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.modal-close:hover { color: var(--color-text); }
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   SEO FAQ BLOCK
   ============================================================ */
.seo-faq {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
  position: relative;
}
.seo-faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,80,0,0.3) 30%, rgba(232,180,0,0.2) 50%, rgba(224,80,0,0.3) 70%, transparent);
}
.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.seo-faq-item {
  padding: var(--space-6);
  background: linear-gradient(160deg, rgba(28,8,8,0.85), rgba(16,5,5,0.9));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: var(--trans);
}
.seo-faq-item:hover {
  border-color: rgba(224,80,0,0.3);
}
.seo-faq-q {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
  letter-spacing: 0.03em;
  text-shadow: 0 0 10px rgba(232,180,0,0.2);
}
.seo-faq-a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}
.review-card {
  background: linear-gradient(160deg, rgba(28,8,8,0.88), rgba(16,5,5,0.93));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  position: relative;
  transition: var(--trans);
  animation: reviewIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  backdrop-filter: blur(6px);
}
@keyframes reviewIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.review-card:hover {
  border-color: rgba(224,80,0,0.4);
  box-shadow: 0 4px 24px rgba(224,80,0,0.12);
}
.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: var(--text-xs);
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(224,80,0,0.3);
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-date { font-size: var(--text-xs); color: var(--color-text-faint); }
.review-stars { font-size: 0.85rem; letter-spacing: 2px; flex-shrink: 0; }
.review-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.review-new-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(224,80,0,0.5);
}
.reviews-live-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px rgba(224,80,0,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(224,80,0,0.1);
  border: 1px solid rgba(224,80,0,0.3);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

/* ============================================================
   WRITE REVIEW FORM
   ============================================================ */
.write-review-block {
  background: linear-gradient(160deg, rgba(20,6,6,0.95), rgba(14,5,7,0.98));
  border: 1px solid rgba(224,80,0,0.35);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
  box-shadow: 0 0 40px rgba(224,80,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.write-review-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.write-review-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.write-review-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.write-review-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 600px) {
  .review-form-row { grid-template-columns: 1fr; }
}
.review-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.review-form-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.review-form-input {
  background: rgba(10,3,3,0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.review-form-input:focus {
  border-color: rgba(224,80,0,0.6);
  box-shadow: 0 0 0 3px rgba(224,80,0,0.12);
}
.review-form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b07060' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.review-form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.review-form-chars {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: right;
  margin-top: -var(--space-1);
}
/* Star picker */
.star-picker {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}
.star-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-border);
  transition: color 120ms, transform 120ms;
  padding: 2px;
  line-height: 1;
}
.star-btn:hover,
.star-btn.active {
  color: #f59e0b;
  transform: scale(1.15);
}
.star-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-left: var(--space-2);
  font-weight: 600;
  transition: color 150ms;
}
.review-form-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.review-form-success {
  color: #22c55e;
  font-weight: 700;
  font-size: var(--text-base);
  animation: reviewIn 0.4s both;
}
/* User review badge */
.review-user-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: rgba(232,180,0,0.18);
  border: 1px solid rgba(232,180,0,0.4);
  color: var(--color-secondary);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: var(--space-20) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(224,80,0,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 90% 35% at 50% 100%, rgba(180,40,0,0.18) 0%, transparent 55%);
}
/* Blurred bg on inner pages too */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://minedrop-busia.ru/images/background.png');
  background-size: cover;
  background-position: center;
  filter: blur(10px) brightness(0.15) saturate(0.5) sepia(0.5) hue-rotate(-5deg);
  transform: scale(1.08);
  opacity: 0.5;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.6rem, 0.5rem + 1.2vw, 1.3rem);
  color: var(--color-text);
  text-shadow: 0 0 30px rgba(224,80,0,0.4);
  margin-bottom: var(--space-4);
  line-height: 2;
}
.page-hero-title span { color: var(--color-secondary); }
.page-hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, rgba(14,5,7,0) 0%, rgba(6,3,4,1) 100%);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-6);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,80,0,0.4) 30%, rgba(232,180,0,0.3) 50%, rgba(224,80,0,0.4) 70%, transparent);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-8);
}
.footer-brand .logo-text { font-size: clamp(0.45rem, 0.4rem + 0.2vw, 0.6rem); }
.footer-tagline { font-size: var(--text-sm); color: var(--color-text-faint); margin-top: var(--space-2); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--color-secondary); }
.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 55ch; line-height: 1.6; }
.footer-copy { font-size: var(--text-xs); color: var(--color-text-faint); font-family: var(--font-display); letter-spacing: 0.06em; }
.footer-attribution { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-attribution a { color: var(--color-primary); text-decoration: none; }
.footer-attribution a:hover { color: var(--color-secondary); }

/* ============================================================
   COMPARE TABLE (Mineslot 2)
   ============================================================ */
.version-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin: var(--space-8) 0;
}
.compare-card {
  background: linear-gradient(160deg, rgba(28,8,8,0.9), rgba(16,5,5,0.95));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(6px);
}
.compare-card--new {
  border-color: rgba(232,180,0,0.45);
  background: linear-gradient(160deg, rgba(35,20,5,0.9), rgba(20,12,3,0.95));
  box-shadow: 0 0 30px rgba(232,180,0,0.08);
}
.compare-title {
  font-family: var(--font-pixel);
  font-size: var(--text-xs);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}
.compare-title--gold { color: var(--color-secondary) !important; text-shadow: 0 0 10px rgba(232,180,0,0.4); }
.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  gap: var(--space-4);
}
.compare-row:last-child { border-bottom: none; }
.compare-label { color: var(--color-text-muted); }
.compare-value { font-weight: 700; color: var(--color-text); }
.compare-value--gold { color: var(--color-secondary) !important; }
@media (max-width: 600px) { .version-compare { grid-template-columns: 1fr; } }

/* Mineslot 2 gold button override */
.md2-gold { color: var(--color-secondary) !important; text-shadow: 0 0 20px rgba(232, 180, 0, 0.5) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-ctas  { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-ctas, .cta-block-btns { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; max-width: 320px; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   ANIMATED GRID CANVAS — always behind content
   ============================================================ */
#bg-grid-canvas {
  position: fixed !important;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
}

/* All main layout elements above canvas */
.site-header,
.hero,
section,
footer,
.modal-overlay {
  position: relative;
  z-index: 1;
}

.site-header { z-index: 100; }
.modal-overlay { z-index: 999; }
#custom-cursor { z-index: 99999 !important; }
.cursor-spark   { z-index: 99998 !important; }
