@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --red-primary: #dc2626;
  --red-deep: #991b1b;
  --red-glow: #ef4444;
  --red-light: #fee2e2;
  --glass-white: rgba(255, 255, 255, 0.7);
  --border-red: rgba(220, 38, 38, 0.2);
  --border-red-strong: rgba(220, 38, 38, 0.4);
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-red: 0 4px 24px rgba(220,38,38,0.15);
  --shadow-red-lg: 0 8px 40px rgba(220,38,38,0.25);
  --sidebar-collapsed: 80px;
  --sidebar-expanded: 260px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* ====== SCANNING ANIMATION OVERLAY ====== */
.scan-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,0.08), transparent);
  animation: scanDown 8s linear infinite;
}

@keyframes scanDown {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ====== LEFT SIDEBAR ====== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-collapsed);
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-red);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

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

.sidebar-header {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  border-bottom: 1px solid var(--border-red);
  flex-shrink: 0;
}

.sidebar-logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}

.sidebar-logo svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.sidebar-brand {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.sidebar:hover .sidebar-brand,
.sidebar.expanded .sidebar-brand {
  opacity: 1;
}

.sidebar-brand h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-primary);
  letter-spacing: 1px;
}

.sidebar-brand span {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-nav ul {
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  color: var(--text-medium);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  white-space: nowrap;
}

.nav-item a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--red-primary);
  border-radius: 0 4px 4px 0;
  transition: height 0.3s ease;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--red-primary);
  background: var(--red-light);
}

.nav-item a:hover::before,
.nav-item a.active::before {
  height: 28px;
}

.nav-icon {
  width: 32px;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-label {
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
  font-weight: 500;
  font-size: 14px;
}

.sidebar:hover .nav-label,
.sidebar.expanded .nav-label {
  opacity: 1;
}

/* Tooltip for collapsed state */
.nav-item .tooltip {
  position: absolute;
  left: calc(var(--sidebar-collapsed) + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-dark);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.nav-item .tooltip::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--text-dark);
}

.sidebar:not(:hover):not(.expanded) .nav-item:hover .tooltip {
  opacity: 1;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-red);
  flex-shrink: 0;
}

.sidebar-social {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.sidebar-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-red);
  color: var(--text-light);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.sidebar-social a:hover {
  background: var(--red-primary);
  color: white;
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
}

.sidebar-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.sidebar-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: var(--red-light);
  border-radius: 10px;
  border: 1px solid var(--border-red);
}

.badge-18 {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--red-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.badge-text {
  font-size: 10px;
  color: var(--red-deep);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.sidebar:hover .badge-text,
.sidebar.expanded .badge-text {
  opacity: 1;
}

/* ====== MOBILE SIDEBAR TOGGLE ====== */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--border-red);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.mobile-toggle:hover {
  box-shadow: var(--shadow-red);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--red-primary);
  position: relative;
  transition: var(--transition-smooth);
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--red-primary);
  transition: var(--transition-smooth);
}

.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { bottom: -7px; }

.mobile-toggle.active span {
  background: transparent;
}

.mobile-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
}

/* ====== MAIN CONTENT ====== */
.main-content {
  margin-left: var(--sidebar-collapsed);
  min-height: 100vh;
  transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vw, 120px) clamp(24px, 5vw, 80px);
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(220,38,38,0.06) 0%, transparent 70%);
  animation: heroPulse 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(220,38,38,0.04) 0%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite reverse;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220,38,38,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,38,38,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--red-light);
  border: 1px solid var(--border-red);
  border-radius: 50px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-red-lg);
}

.btn-primary::after {
  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::after {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--red-primary);
  border: 2px solid var(--border-red-strong);
}

.btn-outline:hover {
  background: var(--red-light);
  border-color: var(--red-primary);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
  border-radius: 10px;
}

/* ====== SECTION COMMON ====== */
.section {
  padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 80px);
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red-primary);
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-light);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

/* ====== GLASS CARD ====== */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-red);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,0.3), transparent);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-red);
  border-color: var(--border-red-strong);
}

/* ====== FEATURED GAME SECTION ====== */
.featured-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-game-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-lg);
}

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

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

.featured-game-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--border-red-strong);
  border-radius: 24px;
  pointer-events: none;
}

.game-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: var(--red-primary);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 8px;
  text-transform: uppercase;
  z-index: 2;
}

.featured-game-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.featured-game-info p {
  color: var(--text-medium);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  margin-bottom: 32px;
}

.game-features-list {
  list-style: none;
  margin-bottom: 32px;
}

.game-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-medium);
  font-weight: 500;
}

.game-features-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--red-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ====== FEATURES GRID ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 32px);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--red-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--red-primary);
  box-shadow: var(--shadow-red);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--red-primary);
  fill: none;
  stroke-width: 1.8;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon svg {
  stroke: white;
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

/* ====== HOW IT WORKS ====== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.step-card:hover .step-number {
  color: var(--border-red-strong);
}

.step-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

/* ====== TESTIMONIALS ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  padding: clamp(28px, 4vw, 40px);
}

.testimonial-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-card .stars svg {
  width: 18px;
  height: 18px;
  fill: var(--red-primary);
}

.testimonial-card blockquote {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-author-info h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ====== CTA BANNER ====== */
.cta-banner {
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-banner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.btn-white {
  background: white;
  color: var(--red-primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

/* ====== GAME PAGE ====== */
.game-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(100px, 12vw, 140px) clamp(24px, 5vw, 60px) clamp(60px, 8vw, 100px);
}

.game-container {
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  margin-bottom: 40px;
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid var(--border-red);
}

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

.game-info-panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-red);
  margin-top: 32px;
}

.game-info-panel h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.game-info-panel p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.game-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border-red);
}

.game-feature-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--red-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.game-feature-item span {
  font-weight: 500;
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ====== GAMES PAGE ====== */
.games-showcase {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.game-showcase-card {
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.game-showcase-card .game-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

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

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

.game-showcase-card .game-details {
  padding: clamp(24px, 4vw, 36px);
}

.game-showcase-card .game-details h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.game-showcase-card .game-details p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  padding: clamp(120px, 15vw, 180px) clamp(24px, 5vw, 80px) clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(220,38,38,0.05) 0%, transparent 70%);
}

.page-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  color: var(--text-medium);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ====== ABOUT PAGE ====== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  text-align: center;
  padding: clamp(32px, 4vw, 48px);
}

.about-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--red-light);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--red-primary);
  fill: none;
  stroke-width: 1.8;
}

.about-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.about-story {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px);
}

.about-story h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: center;
}

.about-story p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: center;
}

/* ====== CONTACT PAGE ====== */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  padding: clamp(32px, 5vw, 56px);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-red);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: white;
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 4px rgba(220,38,38,0.1);
}

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

.contact-email {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--red-light);
  border-radius: 16px;
  border: 1px solid var(--border-red);
}

.contact-email span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-email a {
  color: var(--red-primary);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

/* ====== FAQ PAGE ====== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition-smooth);
  outline: none;
}

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

.faq-question.active {
  border-radius: 16px 16px 0 0;
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-light);
  transition: var(--transition-smooth);
}

.faq-question.active .faq-icon {
  background: var(--red-primary);
  transform: rotate(180deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--red-primary);
  fill: none;
  stroke-width: 2.5;
  transition: var(--transition-smooth);
}

.faq-question.active .faq-icon svg {
  stroke: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--border-red);
  border-top: none;
  border-radius: 0 0 16px 16px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ====== LEGAL PAGES ====== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 60px);
}

.legal-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.legal-content p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ====== DISCLAIMER BANNER ====== */
.disclaimer-banner {
  background: var(--red-light);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 20px 24px;
  margin: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 80px);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-banner .disclaimer-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--red-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.disclaimer-banner p {
  font-size: 0.85rem;
  color: var(--red-deep);
  line-height: 1.6;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 80px) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-primary);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: white;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--red-primary);
}

.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.footer-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--red-primary);
}

.footer-disclaimer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 12px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--red-primary);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== IMAGE FALLBACK ====== */
img.error {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .sidebar {
    width: var(--sidebar-collapsed);
  }

  .sidebar:not(.expanded) .sidebar-brand,
  .sidebar:not(.expanded) .nav-label,
  .sidebar:not(.expanded) .badge-text {
    opacity: 0;
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-expanded);
  }

  .sidebar.expanded {
    transform: translateX(0);
  }

  .sidebar.expanded .sidebar-brand,
  .sidebar.expanded .nav-label,
  .sidebar.expanded .badge-text {
    opacity: 1;
  }

  .sidebar-overlay {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

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

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

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

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

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

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

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .disclaimer-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 28px;
    font-size: 14px;
  }

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