:root {
  --bg-primary: #0f0c14;
  --bg-secondary: #1e122d;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #cfcfcf;
  --neon-red: #ff3c6e;
  --neon-green: #22d682;
  --neon-cyan: #4ae8f0;
  --gold-sparkle: #ffd166;
  --sidebar-width: 80px;
  --sidebar-width-mobile: 60px;
  --max-content-width: 1400px;
  --border-radius-lg: 18px;
  --border-radius-md: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-heading: 'Syncopate', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  background-image: radial-gradient(circle at 50% 0%, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

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

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

/* Global Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Slim Left Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(15, 12, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  z-index: 100;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.brand-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-red), var(--neon-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  margin-bottom: 50px;
  box-shadow: 0 0 15px var(--neon-red);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: center;
}

.nav-item {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 18px;
  position: relative;
  border: 1px solid transparent;
}

.nav-link::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 70px;
  background: var(--bg-secondary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
  white-space: nowrap;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(74, 232, 240, 0.3);
  pointer-events: none;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 60, 110, 0.1);
  border-color: var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 60, 110, 0.4), inset 0 0 10px rgba(255, 60, 110, 0.2);
  transform: translateY(-3px);
}

.nav-link:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-link.active {
  animation: pulseNeon 2s infinite;
}

@keyframes pulseNeon {
  0% { box-shadow: 0 0 10px rgba(255, 60, 110, 0.4); }
  50% { box-shadow: 0 0 25px rgba(255, 60, 110, 0.8); }
  100% { box-shadow: 0 0 10px rgba(255, 60, 110, 0.4); }
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  cursor: pointer;
  text-shadow: 0 0 10px var(--neon-cyan);
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
  padding-bottom: 60px;
}

.centered-container {
  width: 100%;
  max-width: var(--max-content-width);
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Sections */
section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: url('images/cinematic-christmas-neon-city-bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 12, 20, 0.7) 0%, rgba(15, 12, 20, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(74, 232, 240, 0.5);
  display: inline-block;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 25px;
  background: linear-gradient(to right, #fff, var(--color-text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-title span {
  color: var(--neon-red);
  -webkit-text-fill-color: var(--neon-red);
  text-shadow: 0 0 20px rgba(255, 60, 110, 0.6);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  cursor: pointer;
  border: none;
  outline: none;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn-neon {
  background: linear-gradient(90deg, var(--neon-red), #e62050, var(--neon-green));
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 60, 110, 0.3);
}

.btn-neon::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(90deg, var(--neon-red), var(--neon-green), var(--neon-cyan), var(--neon-red));
  z-index: -1;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-neon:hover {
  background-position: right center;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(34, 214, 130, 0.4);
}

.btn-neon:hover::after {
  opacity: 1;
  animation: bgGlow 3s linear infinite;
}

@keyframes bgGlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Game Section */
.game-section {
  background: url('images/subtle-twinkle-pattern.png') repeat;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.section-subtitle {
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.game-wrapper {
  width: 75%;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,0.8);
  border-radius: var(--border-radius-lg);
  position: relative;
  z-index: 10;
  padding: 5px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 
              0 0 30px rgba(255, 60, 110, 0.2), 
              0 0 30px rgba(34, 214, 130, 0.2);
  transition: var(--transition-smooth);
}

.game-wrapper::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--neon-red), var(--bg-primary), var(--neon-green), var(--bg-primary));
  z-index: -1;
  border-radius: 20px;
  animation: borderRotate 4s linear infinite;
  background-size: 400%;
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.game-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.9), 
              0 0 50px rgba(255, 60, 110, 0.4), 
              0 0 50px rgba(34, 214, 130, 0.4);
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--border-radius-md);
  background-color: #000;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  background: var(--bg-glass-hover);
  border-color: rgba(74, 232, 240, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(74, 232, 240, 0.1);
}

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

.feature-icon {
  font-size: 40px;
  color: var(--gold-sparkle);
  margin-bottom: 25px;
  text-shadow: 0 0 15px rgba(255, 209, 102, 0.5);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #fff;
}

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

/* Interior Pages Content */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(to bottom, rgba(30, 18, 45, 0.8), var(--bg-primary));
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.content-box {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.content-box h2, .content-box h3 {
  color: var(--neon-cyan);
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-box p {
  margin-bottom: 20px;
  color: var(--color-text-secondary);
}

.content-box ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--color-text-secondary);
}

.content-box li {
  margin-bottom: 10px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 15px;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-red);
  box-shadow: 0 0 15px rgba(255, 60, 110, 0.2);
}

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

/* Footer */
.site-footer {
  width: 100%;
  background: #0a080d;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-logo span {
  color: var(--neon-red);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.legal-disclaimer {
  font-size: 0.8rem;
  color: #777;
  max-width: 700px;
  margin-bottom: 30px;
}

.age-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #777;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: #555;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Floating Snow Effect Canvas */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  opacity: 0.6;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .game-wrapper { width: 95%; }
  .hero-title { font-size: 3rem; }
  section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 250px;
    padding-top: 80px;
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-grid { grid-template-columns: 1fr; }
  .game-wrapper { width: 100%; aspect-ratio: 4/3; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .content-box { padding: 30px 20px; }
  section { padding: 60px 0; }
}