:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121215;
  --bg-tertiary: #18181c;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.05);
  
  --accent-primary: #f01432;
  --accent-secondary: #ff3350;
  --accent-glow: rgba(240, 20, 50, 0.35);
  --accent-glow-strong: rgba(240, 20, 50, 0.6);
  
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --space-desktop: 100px;
  --space-tablet: 70px;
  --space-mobile: 50px;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
  }
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-primary); }
.text-muted { color: var(--text-muted); }

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

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

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 20, 50, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  z-index: 1001;
}

.logo span {
  color: var(--accent-primary);
  text-shadow: 0 0 10px var(--accent-glow);
}

.nav {
  display: none;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-normal);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.header-cta {
  display: none;
}

.menu-toggle {
  display: block;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
}

#mobile-menu-checkbox:checked ~ .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu-checkbox:checked ~ .header .hamburger {
  background: transparent;
}
#mobile-menu-checkbox:checked ~ .header .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
#mobile-menu-checkbox:checked ~ .header .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,12,0.8) 0%, rgba(10,10,12,0.95) 100%);
  z-index: -1;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(240,20,50,0.1) 0%, rgba(10,10,12,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

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

.hero-disclaimer {
  display: inline-block;
  background: rgba(240, 20, 50, 0.1);
  border: 1px solid rgba(240, 20, 50, 0.2);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 16px;
  backdrop-filter: blur(4px);
}

.game-section {
  background: var(--bg-secondary);
  position: relative;
}

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-wrapper {
  width: 100%;
  max-width: 1300px;
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 30px rgba(240, 20, 50, 0.15);
  border: 1px solid rgba(240, 20, 50, 0.2);
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .game-wrapper {
    width: 100%;
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
  }
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 60px;
}

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

.feature-card {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-5px);
  border-color: rgba(240, 20, 50, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px rgba(240, 20, 50, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(240, 20, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 24px;
  border: 1px solid rgba(240, 20, 50, 0.2);
}

.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

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

.glass-panel {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

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

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

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(240, 20, 50, 0.2);
}

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

.prose h2, .prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.prose ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.5rem;
}

.footer {
  background: var(--bg-tertiary);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 400px;
}

.footer-title {
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.legal-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.age-badge {
  width: 40px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}