:root {
  /* Strict Color Palette */
  --bg-primary: #0b0b0d;
  --bg-secondary: #141417;
  --accent-red: #b91c1c;
  --accent-orange: #f97316;
  --accent-green: #22c55e;
  --accent-gold: #d4af37;
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  
  /* Gradients */
  --bg-gradient: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --glow-radial: radial-gradient(circle at 50% 20%, rgba(249,115,22,0.15), transparent 60%);
  --overlay-linear: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.9));
  --btn-gradient: linear-gradient(135deg, var(--accent-red), var(--accent-orange), var(--accent-gold));
  --glass-bg: rgba(20, 20, 23, 0.6);
  --glass-border: rgba(249, 115, 22, 0.2);

  /* Spacing */
  --space-mobile: 50px;
  --space-tablet: 70px;
  --space-desktop: 100px;
  --pad-mobile: 16px;
  --pad-tablet: 24px;
  --pad-desktop: 32px;

  /* Layout */
  --max-width: 1400px;
  --game-max-width: 1300px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric Background Layers */
.atmospheric-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: var(--bg-gradient);
}

.atmospheric-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: var(--glow-radial), var(--overlay-linear);
  pointer-events: none;
}

.dust-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.dust-particle {
  position: absolute;
  background-color: var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatDust 10s infinite linear;
}

@keyframes floatDust {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1.1rem; }
a { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; }

/* Global Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-mobile);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--pad-tablet); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--pad-desktop); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: var(--btn-gradient);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.5);
  background-position: right center;
}

/* Header (Glass Navbar) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo span {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--btn-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-orange);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta { display: block; }
}

@media (max-width: 768px) {
  .nav-links { display: none; } /* Simplified for mobile */
}

/* Sections */
section {
  padding: var(--space-mobile) 0;
}

@media (min-width: 768px) { section { padding: var(--space-tablet) 0; } }
@media (min-width: 1024px) { section { padding: var(--space-desktop) 0; } }

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: -1;
  mix-blend-mode: luminosity;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-out forwards;
}

.hero-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

/* Disclaimer Box */
.disclaimer-box {
  background: rgba(185, 28, 28, 0.1);
  border: 1px solid var(--accent-red);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 600px;
  backdrop-filter: blur(5px);
}

.disclaimer-box h4 {
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.disclaimer-box p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0;
}

/* Game Section (CORE PRODUCT) */
.game-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.game-header {
  text-align: center;
  margin-bottom: 3rem;
}

.game-container {
  width: 100%;
  max-width: var(--game-max-width);
  aspect-ratio: 16 / 9;
  background: var(--glass-bg);
  border-radius: 20px;
  padding: 10px;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.15), inset 0 0 20px rgba(0,0,0,0.8);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.game-container::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--accent-red), var(--accent-orange), var(--accent-gold));
  z-index: -1;
  border-radius: 22px;
  opacity: 0.3;
  animation: pulseGlow 3s infinite alternate;
}

.game-container:hover {
  transform: scale(1.01);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.3), inset 0 0 20px rgba(0,0,0,0.8);
}

.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: #000;
  display: block;
}

@media (max-width: 1024px) {
  .game-container { width: 95%; }
}
@media (max-width: 768px) {
  .game-container { width: 100%; aspect-ratio: 4/3; }
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Generic Inner Page Layout */
.page-header {
  text-align: center;
  padding: 100px 0 50px;
  background: radial-gradient(circle at 50% 100%, rgba(185,28,28,0.1), transparent 70%);
}

.content-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-card h2 {
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
  margin-top: 2rem;
}

.content-card p, .content-card ul {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

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

.content-card li {
  margin-bottom: 0.5rem;
}

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

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

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-legal {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-legal p {
  font-size: 0.85rem;
  color: #6b7280;
}

.age-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  color: var(--accent-red);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  from { opacity: 0.3; }
  to { opacity: 0.6; }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }