:root {
  --bg-primary: #050505;
  --bg-secondary: #111315;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gold-grad: linear-gradient(135deg, #FBBF24, #F59E0B);
  --jade-grad: linear-gradient(135deg, #0F766E, #14B8A6);
  --red-grad: linear-gradient(135deg, #991B1B, #DC2626);
  --slate-grad: linear-gradient(135deg, #374151, #6B7280);
  
  --text-primary: #FAFAF9;
  --text-secondary: #FDE68A;
  --text-muted: #D6D3D1;
  
  --font-primary: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --blur-amount: blur(18px);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* Top Disclaimer */
.top-disclaimer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 19, 21, 0.95);
  backdrop-filter: var(--blur-amount);
  -webkit-backdrop-filter: var(--blur-amount);
  border-top: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 1rem 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cookie-notice a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

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

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

.heading-hero {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.heading-section {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

.subheading {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
  font-weight: 300;
}

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

.section {
  padding: 8rem 0;
  position: relative;
}

/* Glass & Surfaces */
.glass-panel {
  background: var(--surface);
  backdrop-filter: var(--blur-amount);
  -webkit-backdrop-filter: var(--blur-amount);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gold-grad);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(253, 230, 138, 0.1);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: var(--max-width);
  z-index: 100;
  transition: var(--transition);
}

.nav-glass {
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: var(--blur-amount);
  -webkit-backdrop-filter: var(--blur-amount);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 0 30px rgba(20, 184, 166, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-secondary);
  text-shadow: 0 0 10px rgba(253, 230, 138, 0.5);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Split Layout Hero Section */
.hero.split-layout {
  height: auto;
  min-height: 100vh;
  padding: 10rem 0 6rem;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  background-image: radial-gradient(circle at 80% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-text-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-text-area .heading-hero {
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero-text-area .hero-desc {
  margin: 0 0 2.5rem 0;
  text-align: left;
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  font-weight: 300;
}

.hero-text-area .hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
  width: 100%;
}

.hero-text-area .hero-legal {
  margin: 0;
  text-align: left;
  font-size: 0.75rem;
  color: rgba(214, 211, 209, 0.6);
  max-width: 500px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.1),
              0 0 100px rgba(20, 184, 166, 0.05);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  z-index: 2;
  pointer-events: none;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

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

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

.game-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 24px;
  padding: 4px; /* Space for border */
  background: var(--gold-grad);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15),
              0 0 100px rgba(245, 158, 11, 0.05);
  transition: var(--transition);
}

.game-container:hover {
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25),
              0 0 120px rgba(245, 158, 11, 0.1);
}

.game-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
}

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

.game-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.control-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.control-btn:hover {
  color: var(--text-secondary);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--surface-hover);
  border-color: rgba(251, 191, 36, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #14B8A6; /* Jade */
  font-size: 1.5rem;
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Internal Page Headers */
.page-header {
  padding: 12rem 0 6rem;
  text-align: center;
  background: url('images/black-stone-texture.jpg') center/cover;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(5,5,5,0.7), var(--bg-primary));
}

.page-header .container {
  position: relative;
  z-index: 2;
}

/* Content Pages */
.content-section {
  padding: 4rem 0 8rem;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: var(--text-secondary);
}

.content-block p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

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

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 0.75rem 1rem;
  color: #fff;
}

.newsletter-form button {
  background: var(--gold-grad);
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 4px 4px 0;
  color: var(--bg-primary);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--jade-grad);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(0,0,0,0.5);
}

.badge-18 {
  border-color: rgba(220, 38, 38, 0.5);
  color: #FCA5A5;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(214, 211, 209, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-text-area {
    align-items: center;
    text-align: center;
  }
  
  .hero-text-area .heading-hero,
  .hero-text-area .hero-desc,
  .hero-text-area .hero-legal {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-text-area .hero-actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 3.5rem;
    width: calc(100% - 2rem);
  }
  .nav-links {
    display: none;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-top: 1rem;
    text-align: center;
  }
  .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-text-area .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p, .footer-title {
    margin: 0 auto 1.5rem;
  }
  .footer-badges {
    flex-direction: column;
  }
  .cookie-notice {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .top-disclaimer {
    font-size: 0.6rem;
    padding: 0.4rem;
  }
}