:root {
  /* Color Palette */
  --bg-deep: #0a1f2e;
  --bg-abyss: #0f2f44;
  --bg-reef: #12394f;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(56, 189, 248, 0.2);
  
  --aqua: #38bdf8;
  --cyan: #22d3ee;
  --coral: #fb923c;
  --seafoam: #67e8f9;

  --text-main: #e0f7ff;
  --text-sec: #a5f3fc;
  --text-muted: #7dd3fc;

  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1320px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  
  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-base);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(34, 211, 238, 0.08), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.05), transparent 50%);
  background-attachment: fixed;
}

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

ul {
  list-style: none;
}

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

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

.section-spacing {
  padding: 110px 0;
}

/* Glassmorphism Components */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Typography Utilities */
.heading-xl {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  background: linear-gradient(to right, var(--text-main), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--aqua);
  margin-bottom: 0.75rem;
}

.text-lead {
  font-size: 1.25rem;
  color: var(--text-sec);
  margin-bottom: 2rem;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  color: var(--bg-deep);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, var(--cyan), var(--aqua));
}

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

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 31, 46, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

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

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

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

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--text-sec);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

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

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

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

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

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-content {
  z-index: 2;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-visual:hover img {
  transform: scale(1);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 60%);
  z-index: -1;
}

/* Game Section */
.game-section {
  position: relative;
  z-index: 10;
}

.game-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-abyss);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 0 40px rgba(34, 211, 238, 0.05);
  transition: var(--transition-smooth);
}

.game-wrapper:hover {
  box-shadow: 0 25px 70px rgba(0,0,0,0.5), inset 0 0 60px rgba(34, 211, 238, 0.1);
}

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

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

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

.feature-card {
  padding: 40px;
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--glass-hover);
  border-color: rgba(56, 189, 248, 0.4);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Page Content (About, Contact, Legal) */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(10, 31, 46, 0), var(--bg-abyss));
}

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

.content-block h2 {
  color: var(--text-main);
  margin: 2rem 0 1rem;
}

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

.content-block ul {
  list-style: disc inside;
  color: var(--text-sec);
  margin-bottom: 1.5rem;
}

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

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

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

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--aqua);
  background: rgba(255, 255, 255, 0.08);
}

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

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

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--text-main);
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

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

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

.badge-18 {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-muted);
}