:root {
  /* Strict Color Palette */
  --bg-primary: #07070a; /* Black */
  --bg-secondary: #11131a; /* Dark Blue / Darkest */
  --bg-card: rgba(255, 255, 255, 0.04);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  
  --color-blue: #2563eb;
  --color-dark-blue: #1e3a8a;
  --color-red: #dc2626;
  --color-green: #16a34a;
  --color-yellow: #facc15;

  /* Typography */
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --spacing-desktop: 110px;
  --spacing-tablet: 80px;
  --spacing-mobile: 60px;
  
  --container-max: 1320px;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  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;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

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

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

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

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

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

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

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

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

/* Buttons */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-yellow);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.2);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.5);
  background-color: #fde047;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 7, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.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);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--color-blue);
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: var(--transition-fast);
  box-shadow: 0 0 8px var(--color-blue);
}

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

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

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

@media (max-width: 992px) {
  .nav-links, .header-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }

  .nav-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  
  .nav-active .header-cta {
    display: flex;
    position: absolute;
    top: 260px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* Offset for header */
  overflow: hidden;
}

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

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

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.disclaimer-badge .icon {
  color: var(--color-red);
}

.disclaimer-text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

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

.game-header {
  margin-bottom: 40px;
}

.game-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.1), inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  transition: var(--transition-smooth);
}

.game-wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.2), inset 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.iframe-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-primary);
  position: relative;
}

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

@media (max-width: 768px) {
  .game-wrapper {
    padding: 8px;
    border-radius: var(--radius-md);
  }
  .iframe-container {
    aspect-ratio: 4 / 3; /* Better fit for mobile */
  }
}

/* Features Grid */
.features-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.02);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.02);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

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

.content-section {
  background: var(--bg-primary);
}

.content-box {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  max-width: 900px;
  margin: 0 auto;
}

.content-box h2 {
  margin-top: 2rem;
  color: var(--text-primary);
}

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

.content-box ul {
  padding-left: 20px;
  list-style: disc;
}

@media (max-width: 768px) {
  .content-box { padding: 24px; }
}

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

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

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
}

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

.form-control:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

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

.btn-submit {
  background: var(--color-blue);
  color: var(--text-primary);
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.btn-submit:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

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

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

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

.footer-brand .logo {
  margin-bottom: 24px;
}

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

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

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

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

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

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

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

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

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

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility */
.glow-text {
  color: var(--color-blue);
  text-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}