/* ============================================================
   crzy-monkey-slot | style.css
   © 2026 nexirastudio.life
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --bg-primary: #061a14;
  --bg-secondary: #0c241c;
  --bg-surface: rgba(255, 255, 255, 0.05);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);
  --accent-primary: #22c55e;
  --accent-secondary: #4ade80;
  --accent-gold: #facc15;
  --text-primary: #ecfdf5;
  --text-secondary: #bbf7d0;
  --text-muted: #6ee7b7;
  --border-glass: rgba(74, 222, 128, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.15);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.5rem;

  /* Layout */
  --max-width: 1320px;
  --padding-desktop: 32px;
  --padding-tablet: 24px;
  --padding-mobile: 16px;
  --section-gap-desktop: 110px;
  --section-gap-tablet: 80px;
  --section-gap-mobile: 60px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 100px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Header */
  --header-height: 72px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-family);
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-family);
}

/* ============================================================
   3. LAYOUT SYSTEM
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--padding-desktop);
  padding-right: var(--padding-desktop);
}

.section-gap {
  padding-top: var(--section-gap-desktop);
  padding-bottom: var(--section-gap-desktop);
}

/* ============================================================
   4. PARTICLES
   ============================================================ */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
}

.particle:nth-child(1)  { left: 5%;  animation-duration: 18s; animation-delay: 0s;   width: 2px; height: 2px; }
.particle:nth-child(2)  { left: 12%; animation-duration: 22s; animation-delay: 2s;   opacity: 0.3; }
.particle:nth-child(3)  { left: 25%; animation-duration: 16s; animation-delay: 4s;   width: 2px; height: 2px; background: var(--accent-gold); }
.particle:nth-child(4)  { left: 38%; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(5)  { left: 50%; animation-duration: 24s; animation-delay: 6s;   width: 2px; height: 2px; }
.particle:nth-child(6)  { left: 63%; animation-duration: 17s; animation-delay: 3s;   background: var(--accent-secondary); }
.particle:nth-child(7)  { left: 72%; animation-duration: 21s; animation-delay: 8s;   width: 2px; height: 2px; }
.particle:nth-child(8)  { left: 80%; animation-duration: 19s; animation-delay: 5s;   background: var(--accent-gold); }
.particle:nth-child(9)  { left: 88%; animation-duration: 23s; animation-delay: 7s;   width: 2px; height: 2px; }
.particle:nth-child(10) { left: 15%; animation-duration: 25s; animation-delay: 9s;   background: var(--accent-secondary); }
.particle:nth-child(11) { left: 45%; animation-duration: 15s; animation-delay: 11s;  width: 2px; height: 2px; }
.particle:nth-child(12) { left: 92%; animation-duration: 20s; animation-delay: 13s; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 26, 20, 0.8);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(6, 26, 20, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: opacity var(--transition-base);
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

/* Main Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ============================================================
   6. MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background: rgba(12, 36, 28, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-glass);
  z-index: 2000;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 40px;
  align-self: flex-end;
  transition: color var(--transition-base);
}

.mobile-menu-close:hover {
  color: var(--text-primary);
}

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

.mobile-nav-link {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--accent-primary);
}

.mobile-menu-cta {
  width: 100%;
  text-align: center;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   7. BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1;
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
  filter: brightness(1.1);
}

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

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--font-size-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  font-size: 1em;
}

/* ============================================================
   8. TYPOGRAPHY UTILITIES
   ============================================================ */
.section-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title-sm {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.body-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

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

.hero-layer {
  position: absolute;
  inset: 0;
}

.hero-layer-1 {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.12) 0%, transparent 60%);
}

.hero-layer-2 {
  background: radial-gradient(ellipse 60% 80% at 80% 60%, rgba(250, 204, 21, 0.05) 0%, transparent 50%);
}

.hero-layer-3 {
  background: linear-gradient(180deg, transparent 40%, var(--bg-primary) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.headline-accent {
  color: var(--accent-primary);
  display: block;
}

.hero-sub {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-scene {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.scene-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}

.monkey-display {
  position: relative;
}

.monkey-frame {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  animation: hero-float 6s ease-in-out infinite;
}

.monkey-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.monkey-emoji-big {
  font-size: 80px;
  line-height: 1;
  animation: monkey-sway 3s ease-in-out infinite;
}

.monkey-reels {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reel-mini {
  width: 52px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.reel-glow {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}

.monkey-tagline {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Leaf floaters */
.leaf-float {
  position: absolute;
  font-size: 1.5rem;
  animation: leaf-drift linear infinite;
  pointer-events: none;
}

.leaf-1 { top: -20px; left: -30px; animation-duration: 8s; animation-delay: 0s; }
.leaf-2 { bottom: 20px; right: -20px; animation-duration: 10s; animation-delay: 2s; }
.leaf-3 { top: 50%; left: -40px; animation-duration: 12s; animation-delay: 4s; }

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent-primary));
  animation: scroll-drop 2s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   10. GAME SHOWCASE
   ============================================================ */
.game-showcase {
  position: relative;
}

.game-showcase .section-title,
.game-showcase .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.game-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.game-panel-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.game-frame-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

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

.game-panel-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

/* How It Works Toggle */
.howit-content {
  border-top: 1px solid var(--border-subtle);
  padding: 32px;
  display: none;
}

.howit-content.open {
  display: block;
}

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

.howit-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

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

.howit-item strong {
  font-size: var(--font-size-sm);
  color: var(--text-primary);
}

.howit-item p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   11. FEATURES SECTION
   ============================================================ */
.features-section .section-title,
.features-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-glass);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.feature-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   12. TERRAIN STRIP
   ============================================================ */
.terrain-strip {
  position: relative;
  overflow: hidden;
}

.terrain-inner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(250, 204, 21, 0.04) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.terrain-content {
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.terrain-headline {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.terrain-sub {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.terrain-deco {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.terrain-emoji {
  font-size: 3rem;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.terrain-emoji:hover {
  opacity: 1;
}

.t1 { animation: terrain-drift 8s ease-in-out infinite; }
.t2 { animation: terrain-drift 10s ease-in-out infinite 1s; }
.t3 { animation: terrain-drift 9s ease-in-out infinite 2s; }
.t4 { animation: terrain-drift 11s ease-in-out infinite 3s; }

/* ============================================================
   13. RESPONSIBLE GAMING BRIEF
   ============================================================ */
.rg-brief-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}

.rg-icon-large {
  font-size: 3rem;
  flex-shrink: 0;
}

.rg-brief-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.rg-brief-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.rg-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

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

.footer-logo {
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-nav-heading {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.footer-nav a {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.footer-disclaimer-block {
  grid-column: 4;
}

.footer-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.7;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* ============================================================
   15. PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-game {
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(250, 204, 21, 0.06) 0%, transparent 60%);
}

.page-hero-rg {
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(34, 197, 94, 0.06) 0%, transparent 60%);
}

.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-hero-sub {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   16. ABOUT PAGE
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.about-visual-inner {
  text-align: center;
}

.about-big-emoji {
  font-size: 6rem;
  display: block;
  margin-bottom: 16px;
  animation: hero-float 6s ease-in-out infinite;
}

.about-visual-caption {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

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

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   17. CTA BLOCK
   ============================================================ */
.cta-block {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(250, 204, 21, 0.04) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
}

.cta-block h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-block p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-block-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   18. GAME FULL PAGE
   ============================================================ */
.game-full-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.game-full-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.game-full-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

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

.game-full-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  justify-content: center;
}

.game-meta-badge {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
}

/* Game Details */
.game-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.game-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.game-detail-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.game-detail-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.game-detail-card p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.game-details-section .section-title,
.game-details-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   19. RULES PAGE
   ============================================================ */
.rules-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.rules-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.toc-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list a {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  display: block;
  transition: color var(--transition-base), background var(--transition-base);
}

.toc-list a:hover {
  color: var(--accent-primary);
  background: rgba(34, 197, 94, 0.06);
}

.rule-block {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.rule-block:last-child {
  border-bottom: none;
}

.rule-heading {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rule-icon {
  font-size: 1.2em;
}

.rule-block p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.rule-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-list li {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  list-style-type: disc;
}

.rule-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}

.rule-callout-gold {
  background: rgba(250, 204, 21, 0.05);
  border-color: rgba(250, 204, 21, 0.15);
}

.callout-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.rule-callout p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Symbol Table */
.symbol-table {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.symbol-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.symbol-row:last-child {
  border-bottom: none;
}

.symbol-row-header {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.sym-emoji {
  font-size: 1.5rem;
}

.sym-val {
  font-weight: 600;
  color: var(--accent-secondary);
}

.sym-val.gold {
  color: var(--accent-gold);
}

/* FAQs */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
}

.faq-item h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   20. LEGAL PAGES
   ============================================================ */
.legal-content-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-block:last-child {
  border-bottom: none;
}

.legal-icon-head {
  font-size: 2rem;
  margin-bottom: 16px;
}

.legal-block h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-block p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.legal-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.legal-list li {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  list-style-type: disc;
}

.rg-resources li {
  font-size: var(--font-size-base);
}

.inline-link {
  color: var(--accent-primary);
  font-weight: 500;
  transition: color var(--transition-base);
}

.inline-link:hover {
  color: var(--accent-secondary);
}

/* RG Principles */
.rg-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.rg-principle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rg-p-icon {
  font-size: 1.5rem;
}

.rg-principle strong {
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.rg-principle p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   21. CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.contact-form-card {
  padding: 40px;
}

.contact-form-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

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

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

.form-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

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

.form-input:focus {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236ee7b7' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

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

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: var(--font-size-sm);
  color: var(--accent-secondary);
  text-align: center;
}

.form-success.show {
  display: block;
}

/* Contact Info */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card,
.contact-links-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.contact-info-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-quick-links a {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-base);
  display: block;
}

.contact-quick-links li:last-child a {
  border-bottom: none;
}

.contact-quick-links a:hover {
  color: var(--accent-primary);
}
/* ============================================================
   END style.css
   ============================================================ */