@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #070a07;
  --bg-secondary: #0f1410;
  --bg-surface: #151a16;
  --bg-glass: rgba(10, 15, 10, 0.8);
  
  --accent-neon: #22c55e;
  --accent-soft: #4ade80;
  --accent-glow: #86efac;
  --accent-dark: #0b2e13;
  
  --text-primary: #ecfdf5;
  --text-secondary: #9ca3af;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #22c55e, #4ade80);
  --grad-glow: linear-gradient(135deg, #22c55e, #86efac);
  
  /* Shadows & Glows */
  --glow-box: 0 0 20px rgba(34, 197, 94, 0.2);
  --glow-box-strong: 0 0 30px rgba(34, 197, 94, 0.4);
  --glow-text: 0 0 10px rgba(134, 239, 172, 0.5);
  --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 18px;
  --border-radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::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 {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--bg-primary);
  box-shadow: var(--glow-box);
}

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

.btn-outline {
  background: transparent;
  color: var(--accent-neon);
  border: 2px solid var(--accent-neon);
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.1);
  box-shadow: var(--glow-box);
}

/* Legal Banner */
.legal-banner {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid var(--accent-dark);
  z-index: 1000;
  position: relative;
}

.legal-banner span {
  color: var(--accent-soft);
  font-weight: 700;
}

/* Floating Header */
.header-wrapper {
  position: sticky;
  top: 16px;
  z-index: 999;
  padding: 0 16px;
}

.floating-header {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid var(--accent-neon);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 -2px 10px rgba(34, 197, 94, 0.2);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition);
  box-shadow: var(--glow-text);
}

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

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

.header-cta {
  display: none;
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 80px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-secondary);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(7, 10, 7, 0.8) 50%, rgba(7, 10, 7, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #d1d5db;
}

.hero-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.legal-tag {
  background: var(--bg-surface);
  border: 1px solid var(--accent-dark);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-tag i {
  color: var(--accent-neon);
}

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

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

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

.section-header h2 {
  font-size: 2.5rem;
}

.game-wrapper {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 8px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: var(--shadow-card), var(--glow-box);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.game-wrapper:hover {
  box-shadow: var(--shadow-card), var(--glow-box-strong);
  border-color: var(--accent-neon);
}

.game-container {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  background: #000;
}

.game-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Split Image Sections */
.split-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.split-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--border-radius-lg);
  pointer-events: none;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.split-image:hover img {
  transform: scale(1.05);
}

.split-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.split-content ul {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-content li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.split-content li svg {
  width: 24px;
  height: 24px;
  color: var(--accent-neon);
  flex-shrink: 0;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-card);
  border-color: rgba(34, 197, 94, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-neon);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* Page Headers (About, Contact, etc.) */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

/* Content Pages */
.content-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-wrapper h2 {
  margin-top: 32px;
  font-size: 1.8rem;
  color: var(--text-primary);
}

.content-wrapper p {
  margin-bottom: 16px;
}

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

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--border-radius-lg);
}

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

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

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

.form-group input, .form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--accent-dark);
}

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

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

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

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

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

.footer-legal-text {
  background: var(--bg-surface);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--accent-dark);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

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

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
/* Mobile Landscape & Tablet Portrait */
@media (min-width: 480px) {
  .hero-content h1 { font-size: 3.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet Landscape */
@media (min-width: 768px) {
  .hero-section { min-height: 90vh; }
  .hero-content h1 { font-size: 4.5rem; }
  .game-wrapper { width: 95%; }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .split-grid.reverse .split-content { order: -1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 2fr; }
}

/* Desktop */
@media (min-width: 992px) {
  .mobile-toggle { display: none; }
  .nav-links { display: flex; }
  .header-cta { display: block; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .hero-content h1 { font-size: 5rem; }
  .game-wrapper { width: 100%; }
}