:root {
  --bg-primary: #0A0A0D;
  --bg-secondary: #141417;
  --card-bg: rgba(255, 255, 255, 0.03);
  --accent-primary: #00FF88;
  --accent-secondary: #00FFCC;
  --text-primary: #F5F5F5;
  --text-secondary: #9CA3AF;
  
  --spacing-section: 100px;
  --container-padding: 40px;
  
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

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

ul {
  list-style: none;
}

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

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

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

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

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

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

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

.brand-logo a span {
  color: var(--accent-primary);
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::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-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.btn-nav::after {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: 0.3s;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
  color: var(--bg-primary);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 20px;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/photo-1518709268805-4e9042af9f23-hero.png') center/cover no-repeat;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 13, 0.6), var(--bg-primary));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.legal-badge {
  display: inline-block;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--accent-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-hero {
  min-height: 40vh;
  background: url('images/photo-1605806616949-1e87b487bc2a-page-hero-page-hero.png') center/cover no-repeat;
}

/* Game Section */
.game-section {
  padding: var(--spacing-section) 0;
  background: radial-gradient(circle at center, rgba(0,255,136,0.05) 0%, var(--bg-primary) 70%);
}

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

.game-wrapper {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.15), inset 0 0 20px rgba(0,255,136,0.05);
  overflow: hidden;
  display: flex;
  position: relative;
}

.game-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

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

/* Glass Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 136, 0.3);
}

.glass-card h3 {
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.glass-card.text-card p:last-child {
  margin-bottom: 0;
}

/* Content Pages Formatting */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

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

.content-wrapper h3 {
  margin-top: 30px;
}

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

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

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

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

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

.form-group input,
.form-group textarea {
  background: rgba(10, 10, 13, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Legal Footer Bar */
.legal-bar {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0;
  text-align: center;
}

.legal-bar p {
  font-size: 0.85rem;
  max-width: 900px;
  margin: 0 auto 15px;
}

.legal-bar .strict-warning {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Main Footer */
.site-footer {
  background: #050507;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 255, 136, 0.1);
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  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;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 1024px) {
  :root {
    --spacing-section: 70px;
    --container-padding: 30px;
  }
  
  .hero-title { font-size: 3rem; }
  .game-wrapper { width: 95%; }
  .game-wrapper iframe { height: 600px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 50px;
    --container-padding: 20px;
  }
  
  .mobile-toggle { display: flex; }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 13, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .hero-title { font-size: 2.2rem; }
  .game-wrapper { width: 100%; border-radius: 12px; }
  .game-wrapper iframe { height: 500px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links a:hover { padding-left: 0; }
  .content-wrapper { padding: 0 10px; }
}