/* ========================================
   1. VARIABLES
   ======================================== */
:root {
  /* Base */
  --bg-primary: #0a0f14;
  --bg-secondary: #111827;
  --bg-panel: #0d1420;
  --bg-glass: rgba(255,255,255,0.04);

  /* Fire Accents */
  --fire-red: #ef4444;
  --fire-orange: #f97316;
  --fire-yellow: #facc15;
  --fire-yellow-light: #fde047;
  --emergency-blue: #3b82f6;
  --emergency-blue-light: #60a5fa;

  /* Gradients */
  --gradient-fire: linear-gradient(135deg, #ef4444, #f97316);
  --gradient-flame: linear-gradient(135deg, #f97316, #fb923c);
  --gradient-heat: linear-gradient(135deg, #facc15, #fde047);
  --gradient-blue: linear-gradient(135deg, #3b82f6, #60a5fa);
  --gradient-hero: linear-gradient(180deg, rgba(10,15,20,0.3) 0%, rgba(10,15,20,0.85) 60%, #0a0f14 100%);

  /* Glow */
  --glow-red: rgba(239,68,68,0.45);
  --glow-orange: rgba(249,115,22,0.45);
  --glow-yellow: rgba(250,204,21,0.35);
  --glow-blue: rgba(59,130,246,0.35);

  /* Text */
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Layout */
  --max-width: 1320px;
  --header-height: 72px;
  --radius: 4px;
  --radius-lg: 8px;
  --blur: 18px;

  /* Typography */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Rajdhani', sans-serif;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* ========================================
   2. RESET
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   3. LAYOUT
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire-orange);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 6px 16px;
  margin-bottom: 16px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   4. HEADER (ALERT BAR)
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,15,20,0.92);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 40px) 100%, 0 100%);
}

.hazard-strip {
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--fire-orange) 0px,
    var(--fire-orange) 20px,
    var(--bg-primary) 20px,
    var(--bg-primary) 40px
  );
  background-size: 40px 3px;
  animation: hazardScroll 2s linear infinite;
}

@keyframes hazardScroll {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 20px;
}

.header-left {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

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

.header-center {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.alert-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
  padding: 4px 12px;
  overflow: hidden;
  width: 100%;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.alert-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire-red);
  flex-shrink: 0;
  animation: alertBlink 1s ease-in-out infinite;
  box-shadow: 0 0 8px var(--glow-red);
}

@keyframes alertBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.alert-ticker {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.alert-text {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fire-orange);
  animation: tickerScroll 30s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-fire);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  text-decoration: none;
}

.btn-respond {
  background: var(--gradient-fire);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-red), 0 0 40px rgba(239,68,68,0.15);
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px var(--glow-red), 0 0 40px rgba(239,68,68,0.15); }
  50% { box-shadow: 0 0 30px var(--glow-red), 0 0 60px rgba(239,68,68,0.25); }
}

.btn-respond:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--glow-red), 0 0 70px rgba(239,68,68,0.3);
}

.btn-fire {
  background: var(--gradient-fire);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-red);
}

.btn-fire:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px var(--glow-red), 0 0 60px rgba(239,68,68,0.2);
}

.btn-fire:active {
  transform: translateY(1px) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline:hover {
  border-color: var(--fire-orange);
  background: rgba(249,115,22,0.08);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(249,115,22,0.15);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  font-size: 1.1em;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(10,15,20,0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(239,68,68,0.15);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 80px;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary);
  border-left-color: var(--fire-red);
  background: rgba(239,68,68,0.05);
}

.mobile-cta {
  margin-top: 16px;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(10,15,20,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(239,68,68,0.2);
  z-index: 999;
}

/* ========================================
   5. HERO (FIRE ZONE)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    var(--gradient-hero),
    radial-gradient(ellipse at 30% 80%, rgba(239,68,68,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(249,115,22,0.1) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.hero-smoke {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(100,100,100,0.08) 0%, transparent 70%);
  animation: smokeFloat 8s ease-in-out infinite;
}

@keyframes smokeFloat {
  0%, 100% { opacity: 0.5; transform: translateY(0) scale(1); }
  50% { opacity: 0.8; transform: translateY(-20px) scale(1.05); }
}

.hero-heatwave {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    rgba(249,115,22,0.02) 2px,
    transparent 4px
  );
  animation: heatwave 3s ease-in-out infinite;
}

@keyframes heatwave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-flicker {
  position: absolute;
  inset: 0;
  animation: flicker 4s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { background: transparent; }
  10% { background: rgba(239,68,68,0.02); }
  20% { background: transparent; }
  30% { background: rgba(249,115,22,0.015); }
  40%, 90% { background: transparent; }
  92% { background: rgba(239,68,68,0.025); }
  94% { background: transparent; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire-yellow);
  background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.2);
  padding: 8px 20px;
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(250,204,21,0.1); }
  50% { box-shadow: 0 0 25px rgba(250,204,21,0.2); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.fire-text {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--glow-red));
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* Fire particles */
.fire-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1) translateX(var(--drift));
  }
}

/* ========================================
   6. GAME SECTION
   ======================================== */
.section-game {
  padding: 100px 0;
  position: relative;
}

.section-game::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.3), transparent);
}

.game-panel {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.game-panel-border {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(239,68,68,0.2), transparent 50%, rgba(249,115,22,0.2)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.game-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.game-frame-full .game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-controls {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-game-full {
  padding-top: 40px;
}

.game-panel-full {
  margin-bottom: 40px;
}

.game-frame-full {
  padding-top: 62%;
}

.game-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.game-info-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.game-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.game-info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.game-feature-list {
  list-style: none;
}

.game-feature-list li {
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.game-feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--fire-orange);
  font-weight: bold;
}

/* ========================================
   7. FEATURES CARDS
   ======================================== */
.section-features {
  padding: 100px 0;
  position: relative;
}

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

.feature-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 36px 28px;
  transition: all var(--transition);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-fire);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239,68,68,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px var(--glow-red);
}

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

.feature-glow {
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--glow-red) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.feature-card:hover .feature-glow {
  opacity: 0.05;
}

.feature-card-large {
  grid-column: span 5;
}

.feature-card:nth-child(2) {
  grid-column: span 3;
}

.feature-card:nth-child(3) {
  grid-column: span 4;
}

.feature-card-wide {
  grid-column: span 12;
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */
.section-about-preview {
  padding: 100px 0;
  position: relative;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-content .section-tag {
  margin-bottom: 16px;
}

.about-preview-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-preview-content .section-desc {
  text-align: left;
  margin: 0 0 32px;
  max-width: none;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-block {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px 20px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all var(--transition);
}

.stat-block:hover {
  border-color: rgba(239,68,68,0.2);
  box-shadow: 0 0 20px var(--glow-red);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========================================
   LEGAL BANNER
   ======================================== */
.legal-banner {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
}

.legal-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.legal-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.legal-banner-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   8. FOOTER
   ======================================== */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-fire);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--fire-orange);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(34,197,94,0.3); }
  50% { box-shadow: 0 0 16px rgba(34,197,94,0.6); }
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  margin-top: 8px;
  font-size: 0.8rem !important;
}

/* ========================================
   PAGE HERO (SUBPAGES)
   ======================================== */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background:
    linear-gradient(180deg, rgba(239,68,68,0.05) 0%, transparent 100%),
    var(--bg-primary);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.2), transparent);
}

.page-hero-sm {
  padding-bottom: 40px;
}

.page-hero-content {
  text-align: center;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.section-content {
  padding: 80px 0;
}

.content-panel {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.content-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  margin-top: 40px;
  color: var(--text-primary);
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.content-panel ul {
  list-style: none;
  margin-bottom: 16px;
}

.content-panel ul li {
  color: var(--text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.7;
}

.content-panel ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--fire-orange);
  font-weight: bold;
}

.content-panel a {
  color: var(--fire-orange);
  transition: color var(--transition);
}

.content-panel a:hover {
  color: var(--fire-yellow);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

/* VALUES GRID (ABOUT) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.value-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.value-card:hover {
  border-color: rgba(239,68,68,0.15);
  transform: translateY(-2px);
}

.value-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem !important;
}

.about-cta-block {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-panel {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.contact-form-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--fire-orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
  background: rgba(255,255,255,0.06);
}

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

.form-select {
  appearance: none;
  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 fill='%239ca3af' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
}

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

.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.contact-info-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* RESPONSIBLE GAMING FACTS */
.responsible-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.fact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.fact-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}

.fact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-primary) !important;
}

.fact-card p {
  font-size: 0.9rem !important;
}

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-panel {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
}

.modal-close:hover {
  color: var(--fire-red);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.modal-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.modal-step h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   9. ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-stagger.visible {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel flicker */
.game-panel {
  animation: panelFlicker 8s ease-in-out infinite;
}

@keyframes panelFlicker {
  0%, 100% { box-shadow: 0 0 30px rgba(239,68,68,0.05); }
  25% { box-shadow: 0 0 40px rgba(239,68,68,0.08); }
  50% { box-shadow: 0 0 25px rgba(249,115,22,0.06); }
  75% { box-shadow: 0 0 35px rgba(239,68,68,0.07); }
}

/* ========================================
   10. UTILITIES & RESPONSIVE
   ======================================== */

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(239,68,68,0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(239,68,68,0.5);
}

/* Selection */
::selection {
  background: rgba(239,68,68,0.3);
  color: var(--text-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large,
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card-wide {
    grid-column: span 1;
  }

  .feature-card-wide {
    grid-column: span 2;
  }

  .game-info-grid {
    grid-template-columns: 1fr;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-center {
    display: none;
  }

  .header-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  .hero {
    min-height: 90vh;
    padding-top: calc(var(--header-height) + 30px);
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large,
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card-wide {
    grid-column: span 1;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-panel {
    padding: 32px 24px;
  }

  .contact-form-panel {
    padding: 32px 24px;
  }

  .values-grid,
  .responsible-facts {
    grid-template-columns: 1fr;
  }

  .legal-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .game-frame-full {
    padding-top: 75%;
  }

  .modal-panel {
    padding: 28px 20px;
  }

  .section-game,
  .section-features,
  .section-about-preview {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-block {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .game-controls {
    flex-direction: column;
  }

  .about-cta-block {
    flex-direction: column;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fire-particles {
    display: none;
  }
}