:root {
  --bg-primary: #0A0A0D;
  --bg-secondary: #141417;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --accent-primary: #00FF88;
  --accent-secondary: #00FFCC;
  --text-primary: #F5F5F5;
  --text-secondary: #9CA3AF;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  --container-max: 1400px;
  --spacing-v: 100px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 20px;
  
  --glow-subtle: 0 0 15px rgba(0, 255, 136, 0.15);
  --glow-strong: 0 0 30px rgba(0, 255, 136, 0.3);
  --glow-border: rgba(0, 255, 136, 0.4);
}

@media (max-width: 1024px) {
  :root {
    --spacing-v: 70px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-v: 50px;
  }
}

* {
  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;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.accent-text {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 13, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: var(--glow-subtle);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 50%;
  box-shadow: var(--glow-subtle);
}

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

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

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

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

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

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-label span {
  width: 25px;
  height: 2px;
  background-color: var(--accent-primary);
  transition: 0.3s;
}

#nav-toggle {
  display: none;
}

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

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

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

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: var(--glow-subtle);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.7), rgba(10, 10, 13, 1)), url('images/photo-1462331940025-496dfbfc7564-hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.legal-badge span {
  color: var(--accent-primary);
}

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

.game-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.game-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.game-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 10px;
  border: 1px solid var(--glow-border);
  box-shadow: var(--glow-strong);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.game-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.25);
}

.game-window {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--border-radius-lg) - 5px);
  overflow: hidden;
  background: #000;
  position: relative;
}

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

.game-disclaimer {
  text-align: center;
  padding: 20px 0 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 20px;
}

/* Glass Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.card-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--accent-primary));
}

/* Inner Pages Banner */
.page-banner {
  padding: 160px 0 80px;
  background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), rgba(10, 10, 13, 1)), url('images/photo-1451187580459-43490279c0fa-page-banner-page-banner.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

/* Content Layouts */
.content-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

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

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

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

/* Forms */
.form-group {
  margin-bottom: 24px;
  width: 100%;
  text-align: left;
}

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

.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  padding: 80px 0 40px;
  margin-top: auto;
}

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

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

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

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

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

.legal-warning-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.legal-warning-box p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.legal-warning-box .highlight {
  color: var(--accent-primary);
  font-weight: 700;
}

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

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

/* Media Queries */
@media (max-width: 1200px) {
  .game-container {
    width: 95%;
  }
}

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

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 23, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  }
  
  #nav-toggle:checked ~ .nav-menu {
    max-height: 400px;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-link::after {
    display: none;
  }

  .game-container {
    width: 100%;
    border-radius: var(--border-radius-md);
  }

  .game-window {
    border-radius: calc(var(--border-radius-md) - 5px);
  }

  .content-wrapper {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links a:hover {
    padding-left: 0;
  }
}