/* ============================================================
   QUANTTSTORYDOCK — CRYSTAL DEPTHS DESIGN SYSTEM
   Theme: Tropical Ocean · Fluid UI · Orange & Green Vibrant
   ============================================================ */

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

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --deep-sea: #0d2210;
  --abyss: #071a08;
  --midnight-ocean: #0f2e14;
  --ocean-mid: #1a4a20;
  --coral-dark: #2a1200;
  --gold: #ff8c00;
  --gold-light: #ffaa33;
  --gold-pale: #ffe8c0;
  --teal: #2ecc40;
  --teal-bright: #4dff6e;
  --teal-dark: #1a8a28;
  --pearl: #d8f8e0;
  --biolum: #39d353;
  --biolum-purple: #ff6b00;
  --coral-red: #ff4500;
  --coral-orange: #ff7700;
  --sky-blue: #48e4a0;
  --bubble-blue: #90ffb0;
  --text-primary: #f0fff4;
  --text-secondary: #a8e6b8;
  --text-muted: #5a9a6a;
  --border-subtle: rgba(46,204,64,0.25);
  --border-gold: rgba(255,140,0,0.4);
  --glass-bg: rgba(7,26,8,0.75);
  --card-bg: rgba(13,40,16,0.75);
  --section-pad: clamp(60px, 8vw, 110px);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 999px;
  --font-display: 'Fredoka One', 'Nunito', cursive;
  --font-body: 'Nunito', system-ui, sans-serif;
  --shadow-gold: 0 8px 32px rgba(255,140,0,0.3), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-teal: 0 8px 32px rgba(46,204,64,0.3), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5), 0 2px 0px rgba(255,255,255,0.05) inset;
  --compliance-bar-h: 32px;
  --nav-h: 70px;
  --sticky-total: 102px;
  --cartoon-stroke: 2px solid rgba(255,255,255,0.12);
  --wiggle-speed: 0.3s;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--abyss);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(18,60,22,0.8) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(60,40,6,0.5) 0%, transparent 55%);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: var(--radius-sm); }
button:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: var(--radius-sm); }

/* --- TYPOGRAPHY SCALE --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-family: var(--font-body); font-weight: 700; }
em { color: var(--gold); font-style: normal; }
p { font-weight: 500; }

/* --- SECTION CONTAINERS --- */
.section-container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.section-container--narrow { max-width: 860px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.section-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: rgba(46,204,64,0.12);
  border: 2px solid rgba(46,204,64,0.4);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(46,204,64,0.18);
}
.section-label-tag::before { content: '✦'; font-size: 0.65rem; opacity: 0.7; }
.section-label-tag.light {
  color: var(--gold);
  background: rgba(255,140,0,0.1);
  border-color: rgba(255,140,0,0.38);
  box-shadow: 0 2px 12px rgba(255,140,0,0.15);
}
.section-label-tag.light::before { content: '★'; }

.section-header-center { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.section-header-center h2 { margin-bottom: 16px; }
.section-intro-text {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.85;
  font-weight: 500;
}

.section-header-asymm { margin-bottom: clamp(40px, 6vw, 70px); max-width: 700px; }
.section-header-asymm h2 { margin-bottom: 16px; }

/* ============================================================
   CARTOON DECORATIVE BLOBS
   ============================================================ */
.blob-deco {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.08;
  pointer-events: none;
  animation: blobMorph 8s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33% { border-radius: 40% 60% 45% 55% / 60% 40% 50% 40%; }
  66% { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
}

/* ============================================================
   FLUID SHAPE DIVIDERS
   ============================================================ */
.fluid-divider {
  position: relative;
  overflow: hidden;
}
.fluid-divider::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,15 1440,30 L1440,60 L0,60Z' fill='%23071a08'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   TOP COMPLIANCE BAR
   ============================================================ */
.top-compliance-bar {
  background: linear-gradient(90deg, #071a08 0%, #0a1f0a 50%, #0d1a03 100%);
  border-bottom: 2px solid rgba(46,204,64,0.22);
  padding: 7px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--compliance-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compliance-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.comp-badge, .age-badge {
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
  box-shadow: 0 2px 8px rgba(255,69,0,0.45);
}
.comp-sep { color: var(--text-muted); opacity: 0.5; }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: var(--compliance-bar-h);
  z-index: 900;
  background: rgba(7,26,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(46,204,64,0.18);
  height: var(--nav-h);
  box-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.main-nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.nav-logo:hover {
  color: var(--gold-light);
  transform: scale(1.06) rotate(-1deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--teal-bright);
  transform: translateY(-2px) scale(1.05);
  background: rgba(46,204,64,0.12);
}
.nav-links a[aria-current="page"] {
  color: var(--gold);
  background: rgba(255,140,0,0.14);
}
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(46,204,64,0.1);
  border: 2px solid rgba(46,204,64,0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px 11px;
  transition: background 0.2s;
}
.nav-mobile-toggle:hover { background: rgba(46,204,64,0.22); }
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--teal-bright);
  border-radius: 3px;
  transition: all 0.25s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: clamp(700px, 95vh, 1000px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 60px);
}

.hero-ocean-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(20,80,20,0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(100,50,0,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(10,30,12,0.65) 0%, transparent 80%),
    linear-gradient(180deg, #0d2210 0%, #071a08 100%);
}

/* Fluid wavy layers */
.ocean-layer {
  position: absolute;
  inset: 0;
}
.layer-1 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120Z' fill='rgba(46,204,64,0.05)'/%3E%3C/svg%3E") repeat-x bottom / 200% 100%;
  animation: waveFlow 12s linear infinite;
  opacity: 1;
}
.layer-2 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,90 720,10 1080,55 C1260,78 1380,30 1440,50 L1440,120 L0,120Z' fill='rgba(255,140,0,0.04)'/%3E%3C/svg%3E") repeat-x bottom / 250% 100%;
  animation: waveFlow 18s linear infinite reverse;
  opacity: 1;
}
.layer-3 {
  background: radial-gradient(ellipse at 50% 100%, rgba(46,204,64,0.07) 0%, transparent 60%);
}
@keyframes waveFlow {
  from { background-position-x: 0; }
  to { background-position-x: 200%; }
}

.bubbles-container, .biolum-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}

.hero-coral {
  position: absolute;
  bottom: 0;
  z-index: 1;
  opacity: 0.7;
  filter: saturate(1.6) hue-rotate(30deg);
}
.coral-left { left: clamp(-40px, -2vw, 10px); }
.coral-right { right: clamp(-30px, -1.5vw, 20px); }

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-compliance-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(7,26,8,0.72);
  border: 2px solid rgba(255,140,0,0.22);
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  margin-bottom: 36px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hc-badge {
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255,69,0,0.45);
}

.hero-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
  background: rgba(46,204,64,0.1);
  border: 2px solid rgba(46,204,64,0.32);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}
.hero-eyebrow::before { content: '🌿'; }

.hero-headline {
  color: var(--text-primary);
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  line-height: 1.15;
}
.hero-subheadline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.8;
  max-width: 520px;
  font-weight: 600;
}

.hero-disclaimers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.disclaimer-pill {
  background: rgba(13,40,16,0.85);
  border: 2px solid rgba(46,204,64,0.22);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: border-color 0.2s, transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.disclaimer-pill:hover { border-color: rgba(46,204,64,0.55); transform: translateY(-2px); }

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: center;
}

.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2ecc40 0%, #4dff6e 100%);
  color: #002a08;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow:
    0 6px 0 #1a8a28,
    0 8px 25px rgba(46,204,64,0.45);
  transition: transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.15s;
  overflow: hidden;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 0 #1a8a28, 0 14px 35px rgba(46,204,64,0.55);
  color: #001a04;
}
.btn-hero-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1a8a28, 0 4px 15px rgba(46,204,64,0.3);
}
.btn-ripple {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.28) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.btn-hero-primary:hover .btn-ripple { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  border: 2.5px solid rgba(255,140,0,0.5);
  background: rgba(255,140,0,0.09);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  box-shadow: 0 4px 0 rgba(180,80,0,0.25);
}
.btn-hero-secondary:hover {
  background: rgba(255,140,0,0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 7px 0 rgba(180,80,0,0.25), 0 10px 25px rgba(255,140,0,0.22);
}
.hero-legal-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.65;
  font-weight: 500;
}

.hero-visual-side {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-game-preview {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 4px rgba(46,204,64,0.35),
    0 0 0 8px rgba(46,204,64,0.1),
    0 20px 70px rgba(0,0,0,0.7);
  border: 3px solid rgba(46,204,64,0.45);
  animation: heroFloating 5s ease-in-out infinite;
}
@keyframes heroFloating {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--abyss) 0%, #0c2210 100%);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), var(--teal), transparent);
  opacity: 0.65;
}

.features-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 2px solid rgba(46,204,64,0.18);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  transition:
    transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.3s ease,
    border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: visible;
  position: relative;
  box-shadow: var(--shadow-card);
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px) rotate(-0.5deg) scale(1.01);
  box-shadow: 0 20px 60px rgba(46,204,64,0.22), 0 6px 0 rgba(46,204,64,0.18);
  border-color: rgba(46,204,64,0.5);
}

.feature-card--large { grid-column: span 5; }
.feature-card--tall { grid-column: span 4; }
.feature-card--wide { grid-column: span 3; grid-row: span 1; }
.feature-card:nth-child(4) { grid-column: span 4; }
.feature-card:nth-child(5) { grid-column: span 4; }
.feature-card:nth-child(6) { grid-column: span 4; }

.feature-card-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(46,204,64,0.35));
  transition: transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.feature-card:hover .feature-card-icon { transform: scale(1.15) rotate(-5deg); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--text-primary);
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  overflow-wrap: break-word;
  font-weight: 500;
}
.feature-accent-line {
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: var(--radius-pill);
  margin-top: auto;
}
.feature-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.feature-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  font-weight: 600;
}
.feature-list li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  top: 3px;
}

/* ============================================================
   GAME SECTION
   ============================================================ */
.game-section {
  padding: clamp(24px, 3vw, 48px) clamp(16px, 3vw, 48px) clamp(16px, 2vw, 32px);
  background: var(--abyss);
  position: relative;
}
.game-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), var(--gold), transparent);
  opacity: 0.55;
}
.game-section-header {
  text-align: center;
  margin-bottom: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.game-section-header h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2.5vw, 2rem); }
.game-section-header p { color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; }

.game-compliance-notice {
  background: rgba(255,69,0,0.08);
  border: 2px solid rgba(255,69,0,0.28);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 10px;
  font-size: 0.73rem;
  color: var(--text-secondary);
  font-weight: 700;
  flex-wrap: wrap;
  line-height: 1.5;
}
.gcn-badge {
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,69,0,0.4);
}

.game-frame-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.game-frame-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}
.game-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(13,40,16,0.85);
  border: 2px solid rgba(46,204,64,0.28);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 16px;
  cursor: pointer;
  transition: all var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
  min-height: 42px;
  min-width: 44px;
  font-family: var(--font-body);
  box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}
.game-ctrl-btn:hover {
  background: rgba(46,204,64,0.14);
  border-color: var(--teal);
  color: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(0,0,0,0.3), 0 6px 16px rgba(46,204,64,0.22);
}
.game-ctrl-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.game-ctrl-btn--primary {
  border-color: rgba(255,140,0,0.38);
  color: var(--gold);
  box-shadow: 0 3px 0 rgba(120,60,0,0.3);
}
.game-ctrl-btn--primary:hover {
  background: rgba(255,140,0,0.14);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 5px 0 rgba(120,60,0,0.3), 0 6px 16px rgba(255,140,0,0.22);
}

/* ============================================================
   GAME IFRAME CONTAINER
   ============================================================ */
.game-iframe-container {
  width: 100%;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid rgba(46,204,64,0.45);
  box-shadow:
    0 0 0 6px rgba(46,204,64,0.09),
    0 0 0 12px rgba(46,204,64,0.04),
    0 0 60px rgba(46,204,64,0.2),
    0 24px 80px rgba(0,0,0,0.7);
  background: var(--abyss);
  height: clamp(520px, calc(100dvh - 308px), 860px);
}

@supports not (height: 100dvh) {
  .game-iframe-container { height: clamp(520px, calc(100svh - 308px), 860px); }
}
@supports not (height: 100svh) {
  .game-iframe-container { height: clamp(520px, calc(100vh - 308px), 860px); }
}

.game-iframe-container iframe {
  display: block; width: 100%; height: 100%; border: none; background: var(--abyss);
}

.game-section.theater-mode .game-section-header,
.game-section.theater-mode .game-compliance-notice { display: none; }
.game-section.theater-mode .game-iframe-container {
  height: clamp(600px, calc(100dvh - 180px), 1000px);
  border-radius: var(--radius-xl);
}

.game-section.fullscreen-mode {
  position: fixed; inset: 0; z-index: 9000; padding: 0;
  display: flex; flex-direction: column; background: var(--abyss);
}
.game-section.fullscreen-mode .game-frame-wrapper {
  flex: 1; max-width: 100%; display: flex; flex-direction: column; padding: 8px;
}
.game-section.fullscreen-mode .game-frame-controls { padding: 0; margin-bottom: 6px; }
.game-section.fullscreen-mode .game-iframe-container {
  flex: 1; height: 100% !important; border-radius: var(--radius-xl); max-height: none;
}
.game-section.fullscreen-mode .game-section-header,
.game-section.fullscreen-mode .game-compliance-notice,
.game-section.fullscreen-mode .game-bottom-notice { display: none; }

.game-bottom-notice {
  text-align: center;
  margin-top: 10px;
  font-size: 0.73rem;
  color: var(--text-muted);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 600;
}

/* ============================================================
   HOW TO PLAY SECTION
   ============================================================ */
.how-to-play-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #0c2210 0%, var(--abyss) 100%);
  position: relative;
  overflow: hidden;
}
.htp-bg-deco {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,204,64,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: blobMorph 10s ease-in-out infinite;
}

.htp-steps {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 60px; position: relative;
}
.htp-steps::before {
  content: '';
  position: absolute;
  left: 34px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--gold) 100%);
  opacity: 0.35;
  border-radius: var(--radius-pill);
}
.htp-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  position: relative;
  align-items: start;
  border-bottom: 2px dashed rgba(46,204,64,0.12);
}
.htp-step:last-child { border-bottom: none; }
.htp-step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  padding-top: 4px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--abyss);
  width: 68px;
  text-shadow: 0 0 20px rgba(46,204,64,0.5);
}
.htp-step-content h3 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}
.htp-step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  overflow-wrap: break-word;
  font-weight: 500;
}

.htp-symbols-showcase {
  background: linear-gradient(135deg, rgba(13,40,16,0.85) 0%, rgba(18,60,20,0.65) 100%);
  border: 2px solid rgba(46,204,64,0.28);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}
.htp-symbols-showcase h3 {
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 1.4rem;
}

.symbols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.symbol-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px;
  background: rgba(7,26,8,0.75);
  border: 2px solid rgba(46,204,64,0.16);
  border-radius: var(--radius-lg);
  transition:
    border-color 0.2s,
    transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.2s;
  min-height: 130px;
  cursor: default;
}
.symbol-item:hover {
  border-color: var(--teal);
  transform: translateY(-5px) rotate(2deg);
  box-shadow: 0 10px 30px rgba(46,204,64,0.22), 0 4px 0 rgba(46,204,64,0.22);
}
.symbol-preview {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.symbol-name { font-weight: 800; font-size: 0.82rem; color: var(--text-primary); text-align: center; }
.symbol-value { font-size: 0.73rem; color: var(--teal-bright); text-align: center; font-weight: 700; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: var(--section-pad) clamp(16px, 5vw, 80px);
  background: linear-gradient(135deg, #0e2a10 0%, #1a0d04 100%);
  position: relative;
  overflow: hidden;
}
.about-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.about-orb-display {
  position: relative; height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.about-orb {
  position: absolute; border-radius: 50%;
}
.orb-1 {
  width: 280px; height: 280px;
  background: radial-gradient(circle at 35% 35%, rgba(46,204,64,0.32) 0%, rgba(13,40,16,0.85) 60%, transparent 100%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 80px rgba(46,204,64,0.22), 0 0 0 3px rgba(46,204,64,0.16);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 160px; height: 160px;
  background: radial-gradient(circle at 40% 40%, rgba(255,140,0,0.38) 0%, rgba(50,22,0,0.85) 60%, transparent 100%);
  top: 10%; right: 5%;
  box-shadow: 0 0 50px rgba(255,140,0,0.22), 0 0 0 3px rgba(255,140,0,0.16);
  animation: orbFloat2 9s ease-in-out infinite;
}
.orb-3 {
  width: 100px; height: 100px;
  background: radial-gradient(circle at 40% 40%, rgba(77,255,110,0.42) 0%, rgba(10,40,14,0.85) 60%, transparent 100%);
  bottom: 12%; left: 8%;
  box-shadow: 0 0 40px rgba(77,255,110,0.28), 0 0 0 3px rgba(77,255,110,0.16);
  animation: orbFloat3 7s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(5deg); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

.about-stats-float {
  position: absolute;
  display: flex; flex-direction: column; gap: 14px;
  right: 0; top: 50%; transform: translateY(-50%);
}
.stat-bubble {
  background: rgba(7,26,8,0.92);
  border: 2px solid rgba(255,140,0,0.38);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  min-width: 130px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 2px 0 rgba(255,255,255,0.05) inset;
  transition: transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.stat-bubble:hover { transform: scale(1.06) rotate(-1deg); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,140,0,0.45);
}
.stat-lbl {
  display: block; font-size: 0.72rem; color: var(--text-secondary);
  margin-top: 4px; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700;
}

.about-content-col p {
  color: var(--text-secondary); font-size: 0.97rem; line-height: 1.85;
  margin-bottom: 16px; overflow-wrap: break-word; font-weight: 500;
}
.about-content-col h2 { margin-bottom: 24px; }

.about-promise-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.promise-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(13,40,16,0.55);
  border: 2px solid rgba(46,204,64,0.2);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  transition:
    border-color 0.2s,
    transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.2s;
  overflow: visible; min-height: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.promise-card:hover {
  border-color: rgba(255,140,0,0.45);
  transform: translateX(6px);
  box-shadow: -4px 4px 20px rgba(255,140,0,0.12), 0 4px 20px rgba(0,0,0,0.3);
}
.promise-icon {
  font-size: 1.8rem; flex-shrink: 0; margin-top: 2px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4));
}
.promise-card strong { display: block; font-size: 1rem; color: var(--gold); margin-bottom: 4px; font-family: var(--font-display); }
.promise-card p { font-size: 0.87rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--abyss);
  position: relative;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 2px solid rgba(46,204,64,0.12);
  overflow: visible;
  transition: background 0.2s;
  border-radius: 0;
}
.faq-item:first-child { border-top: 2px solid rgba(46,204,64,0.12); }

.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--text-primary);
  transition: color 0.2s;
  min-height: 60px;
}
.faq-question:hover { color: var(--gold); }
.faq-question[aria-expanded="true"] { color: var(--gold); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  fill: var(--text-muted);
  background: rgba(13,40,16,0.55);
  border-radius: 50%;
  padding: 2px;
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); fill: var(--gold); }
.faq-answer { padding: 0 0 24px; overflow: hidden; }
.faq-answer p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.85;
  max-width: 720px; overflow-wrap: break-word; font-weight: 500;
}
.faq-answer[hidden] { display: none; }

/* ============================================================
   RESPONSIBLE GAMING CTA
   ============================================================ */
.responsible-cta-section {
  padding: var(--section-pad) clamp(16px, 5vw, 60px);
  background: linear-gradient(135deg, #0a1f0a 0%, #0d0d04 50%, #1a0d04 100%);
  position: relative;
  overflow: hidden;
}
.responsible-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(46,204,64,0.07) 0%, transparent 65%);
}
.resp-cta-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; gap: 32px; align-items: flex-start;
  position: relative; z-index: 1;
}
.resp-cta-icon {
  font-size: 4rem; flex-shrink: 0;
  animation: heroFloating 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(46,204,64,0.32));
}
.resp-cta-content h2 { margin-bottom: 16px; font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
.resp-cta-content p {
  color: var(--text-secondary); font-size: 0.97rem; line-height: 1.8;
  margin-bottom: 22px; overflow-wrap: break-word; font-weight: 500;
}
.resp-cta-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.resp-badge {
  background: rgba(46,204,64,0.1);
  border: 2px solid rgba(46,204,64,0.32);
  color: var(--teal-bright);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  transition: transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.resp-badge:hover { transform: scale(1.08) rotate(-1deg); }
.btn-resp-cta {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 3px solid var(--teal);
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  box-shadow: 0 4px 0 rgba(26,138,40,0.45);
}
.btn-resp-cta:hover {
  background: rgba(46,204,64,0.16);
  box-shadow: 0 8px 0 rgba(26,138,40,0.45), 0 12px 30px rgba(46,204,64,0.22);
  color: #fff;
  transform: translateY(-4px);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: #040d05;
  border-top: 3px solid rgba(46,204,64,0.2);
}
.footer-top-bar {
  background: rgba(255,69,0,0.08);
  border-bottom: 2px solid rgba(255,69,0,0.16);
  padding: 10px clamp(16px, 3vw, 40px);
}
.footer-compliance-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px 12px; max-width: 1240px; margin: 0 auto;
  font-size: 0.73rem; font-weight: 800;
  color: rgba(200,240,200,0.65);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.footer-age-badge {
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff; font-weight: 900;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 0.7rem; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,69,0,0.32);
}
.footer-sep { color: rgba(200,240,200,0.22); }

.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 50px); max-width: 1240px; margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) clamp(16px, 3vw, 40px);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--gold); text-decoration: none; margin-bottom: 16px;
  transition: transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.footer-logo:hover { color: var(--gold-light); transform: scale(1.04) rotate(-1deg); }
.footer-brand-desc {
  font-size: 0.87rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px; overflow-wrap: break-word; font-weight: 600;
}
.footer-address {
  font-size: 0.84rem; color: var(--text-muted); line-height: 1.9;
  font-style: normal; overflow-wrap: break-word; font-weight: 500;
}
.footer-address a { color: var(--text-secondary); }
.footer-address a:hover { color: var(--teal-bright); }

.footer-col-title {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--text-secondary); margin-bottom: 18px;
  font-weight: 400;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem; color: var(--text-muted); font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.footer-links a::before { content: '▸'; font-size: 0.7rem; color: var(--teal); opacity: 0.6; }
.footer-links a:hover {
  color: var(--teal-bright);
  transform: translateX(4px);
}
.footer-links a:hover::before { opacity: 1; }

.footer-notices { display: flex; flex-direction: column; gap: 10px; }
.footer-notices p {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.65;
  overflow-wrap: break-word; font-weight: 500;
}
.footer-notices strong { color: var(--text-secondary); }

.footer-bottom {
  border-top: 2px dashed rgba(46,204,64,0.12);
  padding: clamp(20px, 3vw, 32px) clamp(16px, 3vw, 40px);
  max-width: 1240px; margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 6px; overflow-wrap: break-word; font-weight: 500;
}
.footer-bottom p:last-child { margin-bottom: 0; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(4,13,5,0.88);
  backdrop-filter: blur(10px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
  animation: cookieFadeIn 0.4s ease both;
}
.cookie-overlay.cookie-hidden { animation: cookieFadeOut 0.35s ease both; pointer-events: none; }
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cookieFadeOut { from { opacity: 1; } to { opacity: 0; } }

.cookie-banner, .cookie-settings-panel {
  background: linear-gradient(135deg, #0e2a10 0%, #1a0d04 100%);
  border: 3px solid rgba(46,204,64,0.38);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  max-width: 680px; width: 100%;
  box-shadow:
    0 -8px 60px rgba(0,0,0,0.7),
    0 0 40px rgba(46,204,64,0.09),
    0 2px 0 rgba(255,255,255,0.04) inset;
  animation: cookieSlideUp 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes cookieSlideUp {
  from { transform: translateY(50px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-icon { font-size: 2.5rem; margin-bottom: 14px; animation: heroFloating 3s ease-in-out infinite; }
.cookie-banner h2, .cookie-settings-panel h2 {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--text-primary); margin-bottom: 12px;
}
.cookie-banner p, .cookie-settings-panel > p {
  font-size: clamp(0.87rem, 1.5vw, 0.97rem); color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 22px; overflow-wrap: break-word; font-weight: 500;
}
.cookie-banner a { color: var(--teal-bright); text-decoration: underline; }
.cookie-buttons, .cookie-settings-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-accept, .btn-cookie-settings, .btn-cookie-reject {
  flex: 1; min-width: 120px; min-height: 48px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 800;
  cursor: pointer; transition: all var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
  border: none; letter-spacing: 0.03em; white-space: nowrap;
}
.btn-cookie-accept {
  background: linear-gradient(135deg, #1a8a28 0%, #4dff6e 100%);
  color: #002a08;
  box-shadow: 0 5px 0 rgba(10,60,16,0.55), 0 8px 20px rgba(46,204,64,0.32);
}
.btn-cookie-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(10,60,16,0.55), 0 12px 30px rgba(46,204,64,0.42);
}
.btn-cookie-settings {
  background: rgba(13,40,16,0.75);
  border: 2px solid rgba(46,204,64,0.32) !important;
  color: var(--text-secondary);
  box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}
.btn-cookie-settings:hover {
  border-color: var(--teal) !important;
  color: var(--teal-bright);
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(0,0,0,0.3);
}
.btn-cookie-reject {
  background: rgba(255,69,0,0.1);
  border: 2px solid rgba(255,69,0,0.32) !important;
  color: rgba(255,160,100,0.9);
  box-shadow: 0 3px 0 rgba(120,30,0,0.3);
}
.btn-cookie-reject:hover {
  background: rgba(255,69,0,0.2);
  border-color: #ff4500 !important;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(120,30,0,0.3);
}

.cookie-toggle-group { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.cookie-toggle-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 18px;
  background: rgba(7,26,8,0.65);
  border: 2px solid rgba(46,204,64,0.16);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  transition: border-color 0.2s;
}
.cookie-toggle-item:hover { border-color: rgba(46,204,64,0.35); }
.cookie-toggle-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.cookie-toggle-info strong { font-size: 0.92rem; color: var(--text-primary); font-weight: 800; }
.cookie-toggle-info span { font-size: 0.82rem; color: var(--text-muted); overflow-wrap: break-word; font-weight: 500; }

.toggle-switch { position: relative; }
.toggle-switch input[type="checkbox"] { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-label {
  display: block; width: 52px; height: 28px;
  background: rgba(13,40,16,0.85);
  border: 2px solid rgba(46,204,64,0.28);
  border-radius: var(--radius-pill);
  position: relative; cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.toggle-label::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--text-muted); border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.toggle-switch input:checked + .toggle-label { background: rgba(46,204,64,0.28); border-color: var(--teal); }
.toggle-switch input:checked + .toggle-label::after { transform: translateX(24px); background: var(--teal-bright); }
.locked-label { cursor: not-allowed; background: rgba(46,204,64,0.22) !important; border-color: var(--teal) !important; }
.locked-label::after { transform: translateX(24px) !important; background: var(--teal-bright) !important; }

/* ============================================================
   LEGAL PAGE SHARED STYLES
   ============================================================ */
.legal-page-wrap { min-height: 100vh; background: var(--abyss); color: var(--text-primary); }
.legal-header {
  background: linear-gradient(180deg, #071a08 0%, #0d2210 100%);
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px) clamp(30px, 4vw, 50px);
  border-bottom: 3px solid rgba(46,204,64,0.17);
}
.legal-header-inner { max-width: 900px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.83rem; color: var(--text-muted); margin-bottom: 20px;
  font-weight: 700; display: flex; align-items: center; gap: 6px;
}
.breadcrumb::before { content: '🌿'; font-size: 0.8rem; }
.breadcrumb a { color: var(--teal-bright); }
.breadcrumb a:hover { text-decoration: underline; }

.legal-header-title-row {
  display: flex; align-items: center; gap: 18px; margin-bottom: 10px;
}
.legal-header-icon { font-size: 2.8rem; line-height: 1; flex-shrink: 0; animation: heroFloating 4s ease-in-out infinite; }
.legal-header-title-row h1 { margin-bottom: 0; }
.legal-header .updated { font-size: 0.83rem; color: var(--text-muted); font-weight: 600; }

.legal-content {
  max-width: 900px; margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
}
.legal-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  color: var(--gold); margin-top: 52px; margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,140,0,0.22);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--teal-bright); margin-top: 30px; margin-bottom: 12px;
  font-family: var(--font-body); font-weight: 800;
}
.legal-content p {
  font-size: 0.96rem; color: var(--text-secondary); line-height: 1.9;
  margin-bottom: 16px; overflow-wrap: break-word; font-weight: 500;
}
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 18px; }
.legal-content li {
  font-size: 0.93rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 7px; overflow-wrap: break-word; font-weight: 500;
}
.legal-content a { color: var(--teal-bright); text-decoration: underline; }
.legal-content strong { color: var(--text-primary); font-weight: 800; }

.legal-compliance-notice {
  background: rgba(255,69,0,0.08);
  border: 2px solid rgba(255,69,0,0.28);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 0 0 36px;
  font-size: 0.9rem;
  color: rgba(255,210,160,0.92);
  line-height: 1.75;
  overflow-wrap: break-word;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255,69,0,0.08);
}
.legal-compliance-notice strong { color: #ffaa60; }

.legal-contact-block {
  background: rgba(13,40,16,0.65);
  border: 2px solid rgba(46,204,64,0.22);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.legal-contact-block p { margin-bottom: 0; font-size: 0.93rem; line-height: 2.1; }

.legal-toc {
  background: rgba(13,40,16,0.55);
  border: 2px solid rgba(46,204,64,0.22);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 44px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.toc-heading {
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  color: var(--text-secondary) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  font-weight: 800 !important;
}
.toc-list {
  padding-left: 20px; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 24px;
}
.toc-list li { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 0; font-weight: 600; }
.toc-list a { color: var(--teal-bright); text-decoration: none; transition: color 0.2s; }
.toc-list a:hover { color: var(--gold); }

/* ============================================================
   COOKIE TABLE
   ============================================================ */
.cookie-table-wrap {
  overflow-x: auto; margin-bottom: 26px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(46,204,64,0.22);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.legal-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem; min-width: 560px;
}
.legal-table thead tr { background: rgba(13,40,16,0.95); }
.legal-table th {
  padding: 13px 16px; text-align: left;
  color: var(--gold); font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 2px solid rgba(255,140,0,0.22);
}
.legal-table td {
  padding: 13px 16px; color: var(--text-secondary);
  line-height: 1.6; border-bottom: 1px solid rgba(46,204,64,0.09);
  vertical-align: top; font-weight: 500;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tbody tr { background: rgba(7,26,8,0.55); transition: background 0.15s; }
.legal-table tbody tr:nth-child(even) { background: rgba(13,40,16,0.45); }
.legal-table tbody tr:hover { background: rgba(46,204,64,0.06); }
.legal-table td code {
  background: rgba(46,204,64,0.13);
  border: 1px solid rgba(46,204,64,0.28);
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  font-size: 0.82rem; color: var(--teal-bright); font-family: monospace;
}

/* ============================================================
   RESPONSIBLE GAMING PAGE EXTRAS
   ============================================================ */
.rg-feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px; margin: 0 0 44px;
}
.rg-feature-card {
  background: var(--card-bg);
  border: 2px solid rgba(46,204,64,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition:
    border-color 0.2s,
    transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.rg-feature-card:hover {
  border-color: var(--teal);
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(46,204,64,0.22), 0 4px 0 rgba(46,204,64,0.22);
}
.rg-feature-icon { display: block; font-size: 2.5rem; margin-bottom: 14px; }
.rg-feature-card h3 { font-size: 1rem; color: var(--gold); margin-bottom: 10px; }
.rg-feature-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin: 0; font-weight: 500; }

.rg-support-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin: 24px 0;
}
.rg-support-card {
  background: rgba(13,40,16,0.6);
  border: 2px solid rgba(46,204,64,0.17);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.2s, transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
}
.rg-support-card:hover { border-color: rgba(46,204,64,0.48); transform: translateY(-3px); }
.rg-support-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--gold); margin-bottom: 8px; font-weight: 400; }
.rg-support-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; overflow-wrap: break-word; font-weight: 500; }
.rg-support-card p:last-child { margin-bottom: 0; }
.rg-support-card a { color: var(--teal-bright); text-decoration: underline; }

/* ============================================================
   CONTACT PAGE FORM
   ============================================================ */
.contact-form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 22px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.83rem; font-weight: 800; color: var(--text-secondary);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(13,40,16,0.78);
  border: 2px solid rgba(46,204,64,0.22);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.96rem; font-weight: 600;
  padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  -webkit-appearance: none;
  min-height: 52px;
}
.form-group select {
  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 d='M1 1l5 5 5-5' stroke='%232ecc40' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px; cursor: pointer;
}
.form-group select option { background: #0e2a10; color: var(--text-primary); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46,204,64,0.14);
  transform: translateY(-1px);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.btn-form-submit {
  background: linear-gradient(135deg, #1a8a28 0%, #4dff6e 100%);
  color: #002a08; border: none;
  font-family: var(--font-display); font-size: 1.1rem;
  padding: 16px 44px; border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 6px 0 rgba(10,60,16,0.55), 0 8px 25px rgba(46,204,64,0.32);
  min-height: 56px;
}
.btn-form-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 rgba(10,60,16,0.55), 0 14px 35px rgba(46,204,64,0.42);
}
.btn-form-submit:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(10,60,16,0.55); }

.contact-info-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 44px;
}
.contact-info-card {
  background: var(--card-bg);
  border: 2px solid rgba(46,204,64,0.2);
  border-radius: var(--radius-lg);
  padding: 22px; min-height: 0; overflow: visible;
  transition:
    border-color 0.2s,
    transform var(--wiggle-speed) cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.contact-info-card:hover {
  border-color: rgba(46,204,64,0.48);
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 12px 35px rgba(46,204,64,0.17), 0 4px 0 rgba(46,204,64,0.17);
}
.contact-info-card h4 {
  font-size: 0.9rem; color: var(--gold); font-family: var(--font-display);
  margin-bottom: 10px; font-weight: 400;
}
.contact-info-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin: 0 0 4px; overflow-wrap: break-word; font-weight: 600; }
.contact-info-card a { color: var(--teal-bright); }
.form-success-msg {
  display: none;
  background: rgba(46,204,64,0.1);
  border: 2px solid rgba(46,204,64,0.38);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  color: var(--teal-bright);
  font-weight: 800; margin-top: 18px;
  box-shadow: 0 4px 20px rgba(46,204,64,0.1);
}

/* ============================================================
   ACCESSIBILITY SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute; top: -100px; left: 10px;
  background: var(--teal); color: #002a08;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 99999; font-weight: 900;
  transition: top 0.2s;
  font-family: var(--font-display);
}
.skip-link:focus { top: 0; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-game-preview { animation: none; }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .hero-legal-note { animation: none; }
  .resp-cta-icon { animation: none; }
  .cookie-icon { animation: none; }
  .legal-header-icon { animation: none; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1100px) {
  .features-mosaic { grid-template-columns: repeat(6, 1fr); }
  .feature-card--large { grid-column: span 6; }
  .feature-card--tall { grid-column: span 3; }
  .feature-card--wide { grid-column: span 3; }
  .feature-card:nth-child(4) { grid-column: span 3; }
  .feature-card:nth-child(5) { grid-column: span 3; }
  .feature-card:nth-child(6) { grid-column: span 6; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual-col { display: none; }
  .toc-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-main-content { grid-template-columns: 1fr; }
  .hero-visual-side { display: none; }
  .features-mosaic { grid-template-columns: 1fr 1fr; }
  .feature-card--large,
  .feature-card--tall,
  .feature-card--wide,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) { grid-column: span 1; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-grid .form-group.full-width { grid-column: 1; }
  .resp-cta-inner { flex-direction: column; }
  .rg-feature-grid { grid-template-columns: 1fr 1fr; }
  .game-iframe-container { height: clamp(480px, calc(100dvh - 280px), 720px); }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --compliance-bar-h: 28px;
    --nav-h: 64px;
    --sticky-total: 92px;
  }

  .top-compliance-bar { font-size: 0.65rem; padding: 6px 10px; height: var(--compliance-bar-h); }
  .compliance-bar-inner { gap: 4px 8px; }
  .comp-sep { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(7,26,8,0.98);
    border-bottom: 3px solid rgba(46,204,64,0.22);
    padding: 16px 24px 24px;
    flex-direction: column; gap: 6px;
    z-index: 100; align-items: flex-start;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; animation: cookieSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1) both; }
  .site-header { top: var(--compliance-bar-h); height: var(--nav-h); }

  .features-mosaic { grid-template-columns: 1fr; }
  .feature-card--large,
  .feature-card--tall,
  .feature-card--wide,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) { grid-column: span 1; }

  .game-iframe-container { height: clamp(480px, calc(100dvh - 240px), 680px); }

  .htp-steps::before { display: none; }
  .htp-step { grid-template-columns: 1fr; gap: 8px; }
  .htp-step-number { text-align: left; padding-top: 0; background: none; width: auto; }

  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-compliance-row { gap: 4px 8px; }
  .footer-sep { display: none; }

  .cookie-buttons, .cookie-settings-buttons { flex-direction: column; }
  .btn-cookie-accept, .btn-cookie-settings, .btn-cookie-reject { flex: none; width: 100%; }

  .symbols-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; justify-content: center; }

  .rg-feature-grid { grid-template-columns: 1fr 1fr; }
  .rg-support-cards { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr 1fr; }

  .legal-header-title-row { gap: 12px; }
  .legal-header-icon { font-size: 2rem; }
  .toc-list { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .symbols-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-feature-grid { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .game-iframe-container { height: clamp(440px, calc(100dvh - 220px), 580px); }
}

/* ============================================================
   SCROLLBAR STYLING
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: rgba(46,204,64,0.32); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }
/* ============================================================ */