/* ============================================
   GAMELAYERMANOR — NEON OCEAN CASINO
   Premium Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Backgrounds */
  --bg-deep: #020617;
  --bg-ocean: #071a2f;
  --bg-mid: #0c2d48;
  --bg-gradient: linear-gradient(180deg, #020617 0%, #071a2f 40%, #0c2d48 100%);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.05);
  --glass-bg-hover: rgba(255,255,255,0.08);
  --glass-blur: 20px;
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-hover: rgba(255,255,255,0.15);

  /* Accent - Aqua */
  --aqua: #06b6d4;
  --aqua-light: #22d3ee;
  --aqua-gradient: linear-gradient(135deg, #06b6d4, #22d3ee);
  --aqua-glow: rgba(34,211,238,0.45);

  /* Accent - Coral */
  --coral: #fb7185;
  --coral-dark: #f43f5e;
  --coral-gradient: linear-gradient(135deg, #fb7185, #f43f5e);
  --coral-glow: rgba(244,63,94,0.35);

  /* Highlight */
  --electric: #38bdf8;

  /* Text */
  --text-primary: #f0f9ff;
  --text-secondary: rgba(224,242,254,0.7);
  --text-muted: rgba(224,242,254,0.45);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-gap: 120px;
  --container-max: 1280px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-btn: 18px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg-gradient);
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-sm { max-width: 800px; }

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

/* --- Cursor Glow --- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

@media (hover: hover) {
  .cursor-glow { opacity: 1; }
}

/* --- Bubble Canvas --- */
.bubble-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  padding: 8px 0;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease);
}

.header.scrolled::before {
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.header-ripple {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.header-ripple::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--aqua-glow), transparent);
  animation: headerRipple 4s ease-in-out infinite;
}

@keyframes headerRipple {
  0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
  50% { opacity: 0.8; transform: scaleX(1); }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease);
}

.logo:hover { transform: scale(1.03); }

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.nav-link.active {
  color: var(--aqua-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--aqua-gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: rgba(2,6,23,0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  z-index: 999;
  transition: right 0.4s var(--ease);
  padding: 100px 32px 32px;
}

.mobile-menu.open { right: 0; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--glass-bg);
  color: var(--aqua-light);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-btn);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

.btn-primary {
  background: var(--aqua-gradient);
  color: var(--bg-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--aqua-glow);
}

.btn-primary:active {
  transform: translateY(0px) scale(0.98);
}

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.05);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(34,211,238,0.2); }
  50% { box-shadow: 0 0 40px rgba(34,211,238,0.4); }
}

.btn-fire { font-size: 1.1em; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Light Rays */
.light-rays {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 70%;
  overflow: hidden;
  opacity: 0.4;
}

.ray {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, rgba(56,189,248,0.4), transparent);
  filter: blur(8px);
  animation: rayFloat 8s ease-in-out infinite;
}

.ray-1 { left: 15%; animation-delay: 0s; width: 4px; }
.ray-2 { left: 30%; animation-delay: 1.5s; width: 2px; }
.ray-3 { left: 50%; animation-delay: 0.8s; width: 5px; }
.ray-4 { left: 70%; animation-delay: 2.2s; width: 3px; }
.ray-5 { left: 85%; animation-delay: 1s; width: 2px; }

@keyframes rayFloat {
  0%, 100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
  50% { opacity: 0.8; transform: scaleY(1.1) translateY(-20px); }
}

/* Swimming Fish */
.hero-fish {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
}

.fish-1 {
  top: 20%;
  left: -80px;
  animation: swimRight 18s linear infinite;
}

.fish-2 {
  top: 45%;
  right: -60px;
  animation: swimLeft 22s linear infinite;
  animation-delay: 3s;
}

.fish-3 {
  top: 70%;
  left: -70px;
  animation: swimRight 25s linear infinite;
  animation-delay: 7s;
}

.fish-4 {
  top: 35%;
  right: -50px;
  animation: swimLeft 20s linear infinite;
  animation-delay: 10s;
}

@keyframes swimRight {
  0% { transform: translateX(-100px) translateY(0); }
  25% { transform: translateX(25vw) translateY(-20px); }
  50% { transform: translateX(50vw) translateY(10px); }
  75% { transform: translateX(75vw) translateY(-15px); }
  100% { transform: translateX(calc(100vw + 100px)) translateY(0); }
}

@keyframes swimLeft {
  0% { transform: translateX(100px) translateY(0) scaleX(-1); }
  25% { transform: translateX(-25vw) translateY(15px) scaleX(-1); }
  50% { transform: translateX(-50vw) translateY(-10px) scaleX(-1); }
  75% { transform: translateX(-75vw) translateY(20px) scaleX(-1); }
  100% { transform: translateX(calc(-100vw - 100px)) translateY(0) scaleX(-1); }
}

.wave-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, var(--bg-deep), transparent);
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--aqua);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--aqua-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--aqua-light);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--aqua-light);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

.hero-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--glass-border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--aqua);
  border-radius: 3px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   GAME SECTION
   ============================================ */
.game-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.game-page-section {
  padding-top: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--aqua-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* Game Console */
.game-console {
  position: relative;
  max-width: 960px;
  margin: 0 auto 48px;
}

.game-console-full {
  max-width: 100%;
}

.console-frame {
  position: relative;
  background: rgba(7,26,47,0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  z-index: 1;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--glass-border);
}

.console-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #f43f5e; }
.dot-yellow { background: #facc15; }
.dot-green { background: #22c55e; }

.console-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.console-btn {
  padding: 6px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}

.console-btn:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.console-body {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-deep);
}

.console-body-full {
  aspect-ratio: 16/9;
  min-height: 400px;
}

.console-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-deep);
  z-index: 5;
  transition: opacity 0.5s var(--ease);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.game-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--aqua);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.console-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: conic-gradient(from 0deg, var(--aqua), var(--coral-dark), var(--electric), var(--aqua));
  z-index: 0;
  opacity: 0.3;
  filter: blur(4px);
  animation: borderRotate 6s linear infinite;
}

@keyframes borderRotate {
  to { transform: rotate(360deg); filter: blur(6px); }
}

/* Actually make the glow work behind the frame */
.game-console {
  position: relative;
}

.console-glow {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.2; filter: blur(6px); }
  50% { opacity: 0.5; filter: blur(10px); }
}

.console-frame { z-index: 1; position: relative; }

/* Game Info Cards */
.game-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.game-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.game-info-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.game-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.game-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Game Page Info */
.game-page-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.feature-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(34,211,238,0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(34,211,238,0.1);
}

.feature-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: 20px;
  margin: 0 auto 20px;
  transition: all 0.4s var(--ease);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(34,211,238,0.15);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(34,211,238,0.2);
}

.feature-icon { font-size: 2rem; }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--aqua-glow), transparent 70%);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover .feature-glow { opacity: 0.15; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-gap) 0;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(244,63,94,0.05));
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.15), transparent);
  animation: ctaBubbleFloat 8s ease-in-out infinite;
}

.cta-bubble-1 { width: 200px; height: 200px; bottom: -50px; left: 10%; animation-delay: 0s; }
.cta-bubble-2 { width: 150px; height: 150px; top: -30px; right: 15%; animation-delay: 2s; }
.cta-bubble-3 { width: 100px; height: 100px; bottom: 20%; right: 5%; animation-delay: 4s; background: radial-gradient(circle, rgba(244,63,94,0.1), transparent); }

@keyframes ctaBubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ============================================
   PAGE HERO (Sub-pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero-sm {
  padding: 140px 0 40px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* ============================================
   CONTENT SECTIONS (sub-pages)
   ============================================ */
.content-section {
  padding: 0 0 var(--section-gap);
}

.content-block {
  margin-bottom: 32px;
}

.content-block:last-child { margin-bottom: 0; }

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.content-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.content-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

/* Legal Content */
.legal-content h2 {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin: 12px 0;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* About Features */
.about-features {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,211,238,0.08);
  border-radius: 14px;
}

.about-feature h3 { margin-bottom: 4px; }
.about-feature p { margin-bottom: 0; font-size: 0.9rem; }

/* Responsible Gaming Cards */
.responsible-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.responsible-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.responsible-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.responsible-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.responsible-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
  background: rgba(255,255,255,0.06);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(224,242,254,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-ocean);
  color: var(--text-primary);
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
  background: rgba(2,6,23,0.5);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

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

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-disclaimer {
  margin-bottom: 16px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.footer-copyright a {
  color: var(--aqua);
  transition: color 0.3s;
}

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

.footer-bottom-simple {
  padding-top: 0;
  border-top: none;
}

.footer-simple-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.footer-simple-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation for feature cards */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .game-info {
    grid-template-columns: 1fr;
  }

  .game-page-info {
    grid-template-columns: 1fr;
  }

  .responsible-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .scroll-indicator { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .cta-card {
    padding: 48px 24px;
  }

  .glass-card {
    padding: 28px 20px;
  }

  .console-body {
    aspect-ratio: 4/3;
  }

  .console-body-full {
    aspect-ratio: 4/3;
    min-height: 300px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn { width: 100%; max-width: 300px; }

  .game-info-card {
    padding: 20px 16px;
  }

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

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .container {
    padding: 0 16px;
  }
}