:root {
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent-primary: #e5e7eb;
  --accent-secondary: #f3f4f6;
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  --glow-subtle: rgba(229, 231, 235, 0.15);
  --glow-strong: rgba(229, 231, 235, 0.3);
  
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--spacing-desktop) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.text-center {
  text-align: center;
}

.max-w-800 {
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glow-subtle);
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.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-color: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-secondary);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--accent-primary);
  transition: 0.3s;
}

/* ==========================================
   COMPONENTS
   ========================================== */
/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--glow-subtle);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--glow-strong);
  color: var(--bg-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 13, 0.7), var(--bg-primary));
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -1px;
}

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

.legal-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glow-subtle);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Game Section */
.game-section {
  width: 100%;
}

.game-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  background-color: var(--bg-secondary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-subtle);
  border: 1px solid rgba(229, 231, 235, 0.1);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

/* Legal & Info Sections */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 50px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--glow-subtle);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(229, 231, 235, 0.05);
  border-radius: 50%;
  color: var(--accent-primary);
}

.card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-primary);
}

.card-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Typography elements */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 50px;
}

.content-block {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 2rem;
  color: var(--accent-primary);
  margin: 40px 0 20px;
}

.content-block h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 30px 0 15px;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.content-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

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

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

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

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

.form-control {
  width: 100%;
  padding: 15px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}

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

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

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 20px;
  display: inline-block;
  text-transform: uppercase;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-title {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-secondary);
}

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

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

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 0;
}

/* Page Banner */
.page-banner {
  padding: 160px 0 80px;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.3;
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .game-container {
    width: 95%;
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
    gap: 30px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .game-container {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

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

  .page-banner {
    padding: 120px 0 60px;
  }

  .section-title {
    font-size: 2rem;
  }
}