:root {
  --bg-primary: #0f0a0a;
  --bg-secondary: #1c0f0f;
  
  --glass-surface: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 16px;
  
  --primary-red-start: #b91c1c;
  --primary-red-end: #ef4444;
  --primary-red-grad: linear-gradient(135deg, var(--primary-red-start), var(--primary-red-end));
  
  --secondary-gold-start: #d4af37;
  --secondary-gold-end: #facc15;
  --secondary-gold-grad: linear-gradient(135deg, var(--secondary-gold-start), var(--secondary-gold-end));
  
  --accent-green-start: #166534;
  --accent-green-end: #22c55e;
  --accent-green-grad: linear-gradient(135deg, var(--accent-green-start), var(--accent-green-end));
  
  --glow-red: rgba(239, 68, 68, 0.45);
  --glow-gold: rgba(250, 204, 21, 0.45);
  --glow-green: rgba(34, 197, 94, 0.35);
  
  --text-primary: #fff7ed;
  --text-secondary: #fde68a;
  --text-muted: #a16207;
  
  --container-max: 1280px;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 120px;
}

@media (max-width: 1024px) {
  .container { padding: 0 80px; }
}

@media (max-width: 768px) {
  .container { padding: 0 30px; }
}

.text-center { text-align: center; }
.text-gold { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 150%;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: var(--secondary-gold-grad);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--glow-gold);
}

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

.btn-glass {
  background: var(--glass-surface);
  border: 1px solid var(--secondary-gold-end);
  color: var(--text-secondary);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.btn-glass:hover {
  background: rgba(250, 204, 21, 0.15);
  box-shadow: 0 0 15px var(--glow-gold);
}

/* Header */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--container-max);
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(250, 204, 21, 0.2);
  transition: all 0.3s ease;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--secondary-gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--secondary-gold-grad);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--glow-gold);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

#mobile-menu-toggle { display: none; }

@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid var(--glass-border);
    transition: right 0.4s ease;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.8);
  }
  
  .mobile-menu-btn { display: block; }
  
  #mobile-menu-toggle:checked ~ .main-nav {
    right: 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease forwards;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px var(--glow-gold);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 30px;
  background: linear-gradient(180deg, #fff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(250, 204, 21, 0.3);
}

.hero-text {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  animation: fadeUp 1.2s ease forwards;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-shadow: 0 0 15px var(--glow-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; }
  .hero-stats { gap: 30px; flex-wrap: wrap; }
  .stat-number { font-size: 2rem; }
}

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

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 20px var(--glow-gold), inset 0 0 10px var(--glow-gold); }
  50% { box-shadow: 0 0 40px var(--glow-gold), inset 0 0 20px var(--glow-gold); }
  100% { box-shadow: 0 0 20px var(--glow-gold), inset 0 0 10px var(--glow-gold); }
}

/* Snowfall */
.snow-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-10px) translateX(0); opacity: 1; }
  100% { transform: translateY(100vh) translateX(20px); opacity: 0; }
}

/* Game Section */
.game-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 10;
}

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

.section-title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--text-secondary);
}

.game-wrapper {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: 24px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  animation: pulseGlow 4s infinite;
  transition: transform 0.3s ease;
}

.game-wrapper:hover {
  transform: scale(1.02);
}

.game-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

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

.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 0 10px;
}

.game-details h3 {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.game-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
  position: relative;
}

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

.feature-card {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(250, 204, 21, 0.15);
}

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

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.feature-card p {
  color: #bbb;
  font-size: 0.95rem;
}

/* Internal Pages Layout */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: radial-gradient(circle at top, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--text-secondary);
  text-shadow: 0 0 15px var(--glow-gold);
}

.content-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.content-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(var(--glass-blur));
}

.content-card h2 {
  color: var(--text-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.content-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #ccc;
}

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

/* Contact Form */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-gold-end);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

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

/* Footer */
.site-footer {
  background: #080505;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

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

.footer-col h4 {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-desc {
  color: #999;
  font-size: 0.95rem;
  margin-top: 15px;
}

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

.footer-links a {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-secondary);
  text-shadow: 0 0 8px var(--glow-gold);
}

.legal-notice {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.legal-notice p {
  color: #fff;
  margin: 0;
  font-size: 0.95rem;
}

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

.company-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.copyright {
  color: #666;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Decorations */
.glow-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.glow-red {
  background: var(--glow-red);
  width: 400px; height: 400px;
  top: -100px; left: -100px;
}

.glow-gold {
  background: var(--glow-gold);
  width: 500px; height: 500px;
  bottom: -200px; right: -100px;
}