:root {
  /* Base Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111827;
  --bg-surface: #1f2937;
  --glass-layer: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Accent Colors */
  --electric-blue: #3b82f6;
  --aqua-glow: #22d3ee;
  --soft-violet: #a78bfa;
  --success-lime: #4ade80;

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--electric-blue), var(--aqua-glow), var(--soft-violet));
  --surface-gradient: linear-gradient(180deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
  
  /* Text Colors */
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing & Layout */
  --container-max: 1350px;
  --space-desktop: 90px;
  --space-tablet: 60px;
  --space-mobile: 40px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: url('assets/images/luxury-mesh-background.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { color: var(--text-secondary); font-size: 1.125rem; }
a { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--aqua-glow); }

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

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-layer);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  color: var(--text-secondary);
}

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

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

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

/* Mobile Bottom Nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 0.5rem 1rem;
  padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.75rem;
  gap: 0.25rem;
}

.mobile-nav-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.mobile-nav-item.active {
  color: var(--aqua-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  border-radius: calc(var(--radius-md) - 1px);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

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

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: var(--glass-layer);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--aqua-glow);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.hero-visual {
  position: relative;
  height: 500px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.2));
}

/* Game Pod Section */
.game-section {
  position: relative;
  z-index: 10;
  margin-top: -50px;
}

.game-pod-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  padding: 1px; /* For gradient border */
  border-radius: var(--radius-lg);
  background: var(--primary-gradient);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
  animation: floatSlow 8s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-pod-wrapper:hover {
  transform: scale(1.01) translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(34, 211, 238, 0.15);
}

.game-pod {
  background: var(--bg-secondary);
  border-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
  position: relative;
  height: 750px;
  width: 100%;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.game-header {
  height: 50px;
  background: var(--glass-layer);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  justify-content: space-between;
}

.game-title {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--success-lime);
}

.game-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success-lime);
}

.game-iframe-container {
  flex: 1;
  width: 100%;
  position: relative;
  background: #000;
}

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

/* Trust / Legal Banners */
.trust-section {
  background: var(--surface-gradient);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-card {
  padding: 2rem;
  background: var(--glass-layer);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  fill: var(--aqua-glow);
}

.trust-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

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

/* Internal Pages Content Layout */
.page-header {
  text-align: center;
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 3rem;
}

.page-content {
  background: var(--glass-layer);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-content h2 { margin: 2rem 0 1rem; color: var(--aqua-glow); }
.page-content p { margin-bottom: 1rem; }
.page-content ul { margin-bottom: 1rem; padding-left: 2rem; color: var(--text-secondary); }
.page-content li { margin-bottom: 0.5rem; }

/* Contact Form */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.875rem; }
.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
textarea.form-control { min-height: 150px; resize: vertical; }

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

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

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  max-width: 300px;
}

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

.footer-links ul {
  list-style: none;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.disclaimer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255,255,255,0.02);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--glass-border);
}

.disclaimer-banner img {
  height: 32px;
  opacity: 0.7;
}

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

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .container { padding: 0 var(--space-tablet); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero-visual { height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .game-pod { height: 600px; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-mobile); }
  .main-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .site-footer { padding-bottom: 80px; /* Space for mobile nav */ }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 1rem auto; }
  .game-pod { height: 500px; }
  .page-content { padding: 1.5rem; }
  .disclaimer-banner { flex-direction: column; text-align: center; }
}