:root {
  /* Color Palette */
  --bg-primary: #0f172a;
  --bg-secondary: #111827;
  --surface-card: rgba(255, 255, 255, 0.06);
  --accent-primary: #f59e0b;
  --accent-secondary: #f97316;
  --accent-highlight: #fbbf24;
  --accent-deep: #10b981;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  
  /* Layout */
  --max-width: 1300px;
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  --radius-btn: 14px;
  --radius-game: 18px;
  
  /* Fonts */
  --font-heading: 'Lora', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Layout Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

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

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

.section-padding {
  padding: var(--spacing-desktop) 0;
}

@media (max-width: 1024px) {
  .section-padding { padding: var(--spacing-tablet) 0; }
}

@media (max-width: 768px) {
  .section-padding { padding: var(--spacing-mobile) 0; }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-primary);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-highlight);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

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

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

.header-cta {
  display: none;
}

@media (min-width: 769px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    z-index: 99;
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-menu-btn {
    display: block;
    z-index: 100;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--accent-highlight);
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
}

.disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-card);
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-secondary);
}

.disclaimer-badge span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer-badge i {
  color: var(--accent-primary);
}

/* Game Section */
.game-section {
  background-color: var(--bg-primary);
  position: relative;
}

.game-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  border-radius: var(--radius-game);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(245, 158, 11, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16/9;
}

.game-wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 40px rgba(245, 158, 11, 0.2);
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  .game-wrapper {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .game-wrapper {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* Interior Pages Header */
.page-header {
  background: var(--bg-secondary);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-title {
  font-size: 48px;
  color: var(--accent-highlight);
}

/* Content Blocks */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: var(--surface-card);
  border-radius: var(--radius-game);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.2);
}

.card-icon {
  font-size: 40px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface-card);
  padding: 50px;
  border-radius: var(--radius-game);
}

.text-content h2 {
  color: var(--accent-highlight);
  margin-top: 30px;
}

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

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

@media (max-width: 768px) {
  .text-content { padding: 30px 20px; }
}

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

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

.form-group label {
  font-size: 14px;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

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

/* Legal Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 30px;
}

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

.footer-about p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 20px;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

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

.legal-warning {
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 30px;
}

.legal-warning p {
  color: var(--text-secondary);
  font-size: 13px;
}

.legal-warning strong {
  color: var(--text-primary);
}

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

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

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

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

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--accent-highlight) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.03;
  animation: drift 20s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-50px); }
}