/* ============================================
   BOUNCEFLOWLOUNG - FIRESTORM RESCUE COMMAND
   Social Casino Gaming Platform
   Premium Cinematic UI System
   ============================================ */

/* ---- IMPORTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0f172a;
  --fire-orange: #ff6a00;
  --fire-red: #ff0000;
  --fire-yellow: #ffb300;
  --fire-deep: #ff3c00;
  --smoke-gray: #9ca3af;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.12);
  --glass-bg-hover: rgba(255,255,255,0.08);
  --fire-gradient: linear-gradient(135deg, #ff3c00, #ff6a00, #ffb300, #ff0000);
  --fire-gradient-reverse: linear-gradient(135deg, #ff0000, #ffb300, #ff6a00, #ff3c00);
  --sidebar-collapsed: 70px;
  --sidebar-expanded: 230px;
  --font-heading: 'Orbitron', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', 'Roboto', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --glow-orange: 0 0 30px rgba(255,106,0,0.4), 0 0 60px rgba(255,106,0,0.2);
  --glow-red: 0 0 30px rgba(255,0,0,0.4), 0 0 60px rgba(255,0,0,0.2);
  --glow-yellow: 0 0 30px rgba(255,179,0,0.3);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: #e5e7eb;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ---- SCROLL PROGRESS BAR ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--fire-gradient);
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255,106,0,0.8), 0 0 20px rgba(255,106,0,0.4);
}

/* ---- CURSOR GLOW ---- */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ---- FIRE PARTICLES CANVAS ---- */
#fire-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.6;
}

/* ---- PAGE TRANSITION OVERLAY ---- */
#page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-transition.hidden {
  opacity: 0;
  visibility: hidden;
}

#page-transition .loader {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255,106,0,0.2);
  border-top-color: var(--fire-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-collapsed);
  height: 100vh;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--fire-orange), var(--fire-red), transparent);
  opacity: 0.6;
  animation: fireEdge 3s ease-in-out infinite;
}

@keyframes fireEdge {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.sidebar:hover {
  width: var(--sidebar-expanded);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  padding: 20px 15px;
  min-height: 70px;
  border-bottom: 1px solid var(--glass-border);
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-logo .logo-icon {
  min-width: 40px;
  width: 40px;
  height: 40px;
  background: var(--fire-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  animation: flicker 2s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { box-shadow: 0 0 15px rgba(255,106,0,0.5); }
  50% { box-shadow: 0 0 25px rgba(255,106,0,0.8), 0 0 50px rgba(255,0,0,0.3); }
}

.sidebar-logo .logo-text {
  margin-left: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  letter-spacing: 1px;
}

.sidebar:hover .logo-text {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  border-left: 3px solid transparent;
  transition: var(--transition-smooth);
}

.sidebar-nav a:hover {
  background: var(--glass-bg-hover);
  border-left-color: var(--fire-orange);
}

.sidebar-nav a.active {
  background: rgba(255,106,0,0.1);
  border-left-color: var(--fire-orange);
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--fire-orange);
  box-shadow: 0 0 15px rgba(255,106,0,0.8);
  border-radius: 0 2px 2px 0;
}

.sidebar-nav .nav-icon {
  min-width: 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.sidebar-nav a:hover .nav-icon {
  filter: drop-shadow(0 0 8px rgba(255,106,0,0.6));
  transform: scale(1.1);
}

.sidebar-nav a.active .nav-icon {
  filter: drop-shadow(0 0 10px rgba(255,106,0,0.8));
}

.sidebar-nav .nav-label {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  color: #d1d5db;
}

.sidebar:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-nav a:hover .nav-label {
  color: #fff;
}

.sidebar-nav a.active .nav-label {
  color: var(--fire-orange);
}

.sidebar-social {
  padding: 15px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.sidebar-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 16px;
  transition: var(--transition-smooth);
}

.sidebar-social a:hover {
  background: rgba(255,106,0,0.2);
  border-color: var(--fire-orange);
  box-shadow: 0 0 15px rgba(255,106,0,0.3);
  transform: translateY(-2px);
}

/* ---- MOBILE NAV ---- */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.mobile-header .mobile-logo {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.mobile-header .mobile-logo span {
  color: var(--fire-orange);
}

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9998;
  padding: 30px 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: #d1d5db;
  border-radius: 12px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.mobile-menu-overlay a:hover,
.mobile-menu-overlay a.active {
  background: rgba(255,106,0,0.1);
  color: var(--fire-orange);
  border-left-color: var(--fire-orange);
}

.mobile-menu-overlay a .nav-icon {
  font-size: 22px;
  width: 40px;
  text-align: center;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
  margin-left: var(--sidebar-collapsed);
  min-height: 100vh;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.1s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.5) 50%, rgba(5,5,5,0.95) 100%),
    linear-gradient(to right, rgba(5,5,5,0.8) 0%, transparent 50%);
}

.hero-fire-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255,60,0,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(255,106,0,0.1) 0%, transparent 40%);
  animation: fireOverlay 4s ease-in-out infinite;
}

@keyframes fireOverlay {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-smoke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0.3;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(156,163,175,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(156,163,175,0.08) 0%, transparent 40%);
  animation: smokeMove 8s ease-in-out infinite;
}

@keyframes smokeMove {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(20px) translateY(-10px); }
  50% { transform: translateX(-10px) translateY(5px); }
  75% { transform: translateX(15px) translateY(-5px); }
  100% { transform: translateX(0) translateY(0); }
}

.hero-heatwave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  z-index: 3;
  background: linear-gradient(to top, rgba(255,60,0,0.05), transparent);
  animation: heatDistort 3s ease-in-out infinite;
  filter: blur(1px);
}

@keyframes heatDistort {
  0%, 100% { transform: scaleY(1) translateY(0); }
  50% { transform: scaleY(1.02) translateY(-5px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(20px, 5vw, 80px);
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,106,0,0.15);
  border: 1px solid rgba(255,106,0,0.3);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--fire-orange);
  letter-spacing: 2px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--fire-orange);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 5px rgba(255,106,0,0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 15px rgba(255,106,0,0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
  background: linear-gradient(135deg, #fff 30%, var(--fire-orange) 60%, var(--fire-yellow) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255,106,0,0.3));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

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

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--fire-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(255,106,0,0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,106,0,0.5), 0 0 60px rgba(255,106,0,0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--glass-bg);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,106,0,0.15);
  border-color: var(--fire-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255,106,0,0.2);
}

.btn-small {
  padding: 10px 24px;
  font-size: 12px;
}

/* ============================================
   SECTION SYSTEM
   ============================================ */
.section {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 80px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--fire-orange);
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.section-title span {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--smoke-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- FEATURED GAME SECTION ---- */
.featured-game-card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transition: var(--transition-smooth);
}

.featured-game-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: var(--fire-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-game-card:hover::before {
  opacity: 0.5;
}

.featured-game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-orange);
}

.featured-game-image {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-game-card:hover .featured-game-image img {
  transform: scale(1.05);
}

.featured-game-image .game-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  background: var(--fire-gradient);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  z-index: 2;
}

.featured-game-info {
  padding: clamp(30px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-game-info .game-category {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--fire-orange);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.featured-game-info h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.featured-game-info p {
  color: var(--smoke-gray);
  margin-bottom: 25px;
  line-height: 1.8;
}

.game-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.game-features-list li {
  padding: 6px 14px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--fire-orange);
  font-weight: 500;
}

/* ---- FEATURES GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  padding: clamp(30px, 3vw, 40px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--fire-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255,106,0,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,106,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 16px;
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: rgba(255,106,0,0.2);
  box-shadow: 0 0 20px rgba(255,106,0,0.3);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--fire-orange), transparent);
  opacity: 0.3;
  display: none;
}

@media (min-width: 768px) {
  .steps-grid::before {
    display: block;
  }
}

.step-card {
  text-align: center;
  padding: 40px 30px;
  position: relative;
}

.step-number {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 2px solid rgba(255,106,0,0.3);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--fire-orange);
  margin: 0 auto 25px;
  transition: var(--transition-smooth);
}

.step-card:hover .step-number {
  background: rgba(255,106,0,0.15);
  border-color: var(--fire-orange);
  box-shadow: var(--glow-orange);
  transform: scale(1.1) rotate(-5deg);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- GAMEPLAY PREVIEW ---- */
.preview-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.preview-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.preview-frame:hover {
  border-color: rgba(255,106,0,0.3);
  box-shadow: var(--glow-orange);
}

.preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.preview-frame:hover img {
  transform: scale(1.03);
}

.preview-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--fire-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 0 40px rgba(255,106,0,0.5);
  transition: var(--transition-smooth);
  z-index: 5;
}

.preview-frame:hover .preview-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 60px rgba(255,106,0,0.7);
}

.preview-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.3);
  transition: background 0.3s ease;
}

.preview-frame:hover::after {
  background: rgba(5,5,5,0.15);
}

/* ---- TESTIMONIALS ---- */
.testimonials-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  animation: scrollTestimonials 20s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

.testimonial-card {
  min-width: 350px;
  max-width: 350px;
  padding: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.testimonial-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255,106,0,0.2);
  transform: translateY(-5px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
  color: var(--fire-yellow);
  font-size: 16px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,106,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--fire-orange);
  font-family: var(--font-heading);
}

.testimonial-author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-transform: none;
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--smoke-gray);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fire-gradient);
  opacity: 0.08;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.06; transform: scale(1); }
  50% { opacity: 0.12; transform: scale(1.02); }
}

.cta-banner .cta-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 70px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  z-index: 2;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.cta-banner h2 span {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-banner p {
  color: var(--smoke-gray);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ============================================
   GAME PAGE
   ============================================ */
.game-page-hero {
  position: relative;
  padding: clamp(100px, 10vw, 160px) clamp(20px, 5vw, 80px) clamp(40px, 5vw, 80px);
  text-align: center;
  overflow: hidden;
}

.game-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,106,0,0.08) 0%, transparent 60%);
}

.game-iframe-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}

.game-iframe-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 60px rgba(255,106,0,0.15), 0 20px 60px rgba(0,0,0,0.5);
  animation: fireBorder 3s ease-in-out infinite;
}

@keyframes fireBorder {
  0%, 100% { border-color: rgba(255,106,0,0.3); }
  50% { border-color: rgba(255,0,0,0.4); }
}

.game-iframe-wrapper .iframe-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

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

.game-details {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 clamp(20px, 3vw, 40px);
}

.game-details-card {
  padding: clamp(30px, 4vw, 50px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.game-details-card h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  margin-bottom: 15px;
}

.game-details-card p {
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.game-detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.game-detail-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255,106,0,0.05);
  border: 1px solid rgba(255,106,0,0.15);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.game-detail-feature:hover {
  background: rgba(255,106,0,0.1);
  border-color: rgba(255,106,0,0.3);
}

.game-detail-feature .gdf-icon {
  font-size: 24px;
}

.game-detail-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #d1d5db;
}

/* ============================================
   GAMES LIST PAGE
   ============================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.game-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: var(--fire-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover::before {
  opacity: 0.5;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-orange);
}

.game-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.1);
}

.game-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.game-card-content {
  padding: 25px;
}

.game-card-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.game-card-content p {
  color: var(--smoke-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   INNER PAGES (About, Contact, FAQ, Legal)
   ============================================ */
.page-hero {
  position: relative;
  padding: clamp(100px, 12vw, 180px) clamp(20px, 5vw, 80px) clamp(40px, 5vw, 80px);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255,106,0,0.06) 0%, transparent 60%);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 15px;
}

.page-hero h1 span {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--smoke-gray);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 40px);
}

.content-card {
  padding: clamp(30px, 4vw, 50px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 30px;
}

.content-card h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: #fff;
  margin-bottom: 15px;
}

.content-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 20px 0 10px;
}

.content-card p {
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.content-card ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.content-card ul li {
  color: var(--smoke-gray);
  line-height: 1.8;
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
}

.content-card ul li::before {
  content: '🔥';
  position: absolute;
  left: -5px;
  font-size: 10px;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #d1d5db;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fire-orange);
  background: rgba(255,106,0,0.05);
  box-shadow: 0 0 20px rgba(255,106,0,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---- FAQ ACCORDION ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255,106,0,0.2);
}

.faq-item.active {
  border-color: rgba(255,106,0,0.3);
  background: var(--glass-bg-hover);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(255,255,255,0.02);
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: none;
  flex: 1;
  padding-right: 15px;
}

.faq-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,106,0,0.1);
  border-radius: 10px;
  font-size: 18px;
  color: var(--fire-orange);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: rgba(255,106,0,0.2);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--smoke-gray);
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--glass-border);
  background: rgba(5,5,5,0.95);
  margin-top: 60px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--fire-orange), transparent);
  opacity: 0.5;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(40px, 5vw, 70px) clamp(20px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .footer-logo .logo-fire {
  color: var(--fire-orange);
}

.footer-brand p {
  color: var(--smoke-gray);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 18px;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(255,106,0,0.15);
  border-color: var(--fire-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255,106,0,0.2);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--smoke-gray);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
  color: var(--fire-orange);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 25px clamp(20px, 5vw, 80px);
  text-align: center;
}

.footer-disclaimer {
  max-width: 900px;
  margin: 0 auto 15px;
  padding: 20px;
  background: rgba(255,0,0,0.05);
  border: 1px solid rgba(255,0,0,0.15);
  border-radius: 12px;
}

.footer-disclaimer p {
  color: var(--smoke-gray);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-disclaimer strong {
  color: var(--fire-orange);
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fire-orange);
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.8rem;
}

.footer-copyright a {
  color: var(--smoke-gray);
}

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }

/* ============================================
   18+ AGE GATE OVERLAY
   ============================================ */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate.hidden {
  display: none;
}

.age-gate-card {
  max-width: 450px;
  width: 100%;
  padding: 50px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  text-align: center;
}

.age-gate-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,106,0,0.15);
  border: 2px solid rgba(255,106,0,0.3);
  border-radius: 50%;
  font-size: 36px;
  margin: 0 auto 25px;
  animation: flicker 2s ease-in-out infinite;
}

.age-gate-card h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}

.age-gate-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.age-gate-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.age-gate-buttons .btn-deny {
  padding: 14px 30px;
  background: rgba(255,0,0,0.1);
  border: 1px solid rgba(255,0,0,0.3);
  border-radius: 12px;
  color: #ff6b6b;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

.age-gate-buttons .btn-deny:hover {
  background: rgba(255,0,0,0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

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

  .featured-game-image {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }

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

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

@media (max-width: 480px) {
  .section {
    padding: 50px 15px;
  }

  .hero-content {
    padding: 15px;
  }

  .content-card {
    padding: 25px 20px;
  }

  .age-gate-card {
    padding: 35px 25px;
  }

  .age-gate-buttons {
    flex-direction: column;
  }
}

/* ---- UTILITY CLASSES ---- */
.text-fire {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-hover:hover {
  box-shadow: var(--glow-orange);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255,106,0,0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,106,0,0.5);
}

/* Selection */
::selection {
  background: rgba(255,106,0,0.3);
  color: #fff;
}

/* Disclaimer Banner (top of every page) */
.legal-notice-bar {
  background: rgba(255,60,0,0.08);
  border-bottom: 1px solid rgba(255,60,0,0.15);
  padding: 10px 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--smoke-gray);
  line-height: 1.6;
}

.legal-notice-bar strong {
  color: var(--fire-orange);
}