:root {
  --bg-color: #080808;
  --bg-color-light: #121212;
  --bg-color-lighter: #1a1a1a;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --neon-cyan: #00f5ff;
  --neon-purple: #7b2cff;
  --neon-pink: #ff00c8;
  --neon-green: #00ff9f;
  --gradient-main: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-green));
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --padding-standard: clamp(16px, 4vw, 48px);
  --spacing-section: clamp(40px, 6vw, 100px);
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--padding-standard);
}

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

/* Typography & Utilities */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Badges */
.badges-container {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-heading);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}
.badge-18 { border-color: var(--neon-pink); color: var(--neon-pink); }
.badge-resp { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 0 20px rgba(123, 44, 255, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 0.2;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--neon-cyan);
}
.btn-outline:hover {
  background: rgba(0, 245, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* Mandatory Legal Bars */
.legal-bar {
  background: rgba(255, 0, 200, 0.05);
  border: 1px solid rgba(255, 0, 200, 0.2);
  padding: 15px;
  text-align: center;
  border-radius: var(--border-radius);
  margin: 20px auto;
  max-width: 900px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.legal-bar strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 5px;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: var(--spacing-section);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(123,44,255,0.15) 0%, rgba(8,8,8,0) 70%);
  z-index: -1;
  border-radius: 50%;
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 255, 0.1);
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: var(--gradient-main);
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-color-light);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: var(--bg-color-lighter);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Game Card */
.game-card {
  background: var(--bg-color-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  max-width: 500px;
  margin: 0 auto;
}

.game-card:hover {
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 245, 255, 0.1);
}

.game-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-info {
  padding: 30px;
  text-align: center;
}

/* Iframe Container */
.game-container {
  background: var(--bg-color-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  padding: 10px;
  box-shadow: 0 0 40px rgba(123, 44, 255, 0.15);
  margin-bottom: 40px;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: #000;
}

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

/* Text Content Pages (Legal, About, etc) */
.content-page {
  padding-top: 140px;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.text-content {
  background: var(--bg-color-light);
  border: 1px solid var(--glass-border);
  padding: clamp(30px, 5vw, 60px);
  border-radius: var(--border-radius-lg);
  max-width: 900px;
  margin: 0 auto;
}

.text-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--neon-cyan);
  font-size: 1.5rem;
}

.text-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #fff;
}

.text-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.text-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-muted);
}

.text-content li {
  margin-bottom: 10px;
  position: relative;
}

.text-content li::before {
  content: '✦';
  color: var(--neon-purple);
  position: absolute;
  left: -20px;
}

/* Forms */
.contact-form {
  display: grid;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-control {
  background: var(--bg-color);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: var(--border-radius);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--bg-color-light);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  margin-top: var(--spacing-section);
}

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

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.important-notice {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  text-align: center;
}

.important-notice h4 {
  color: var(--neon-pink);
  margin-bottom: 10px;
}

.important-notice p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 900px;
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 20px;
}

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

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

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-color-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
  }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .badges-container { justify-content: center; }
}