/* ═══════════════════════════════════════════════════
   RGK UNIVERSE — styles.css v2
   Fonts: Poppins (titles) + Inter (body/prompts)
   Zero cursive. Full gravity system support.
   ═══════════════════════════════════════════════════ */

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

:root {
  --void:          #080612;
  --deep-space:    #0c0a24;
  --nebula:        #160e38;
  --purple-dark:   #2a1860;
  --purple-mid:    #5530a0;
  --purple-glow:   #8060d0;
  --lavender:      #c4b5fd;
  --white-soft:    rgba(255,255,255,0.93);
  --white-muted:   rgba(255,255,255,0.52);
  --white-dim:     rgba(255,255,255,0.18);

  /* Island orb colors */
  --c-goodvibes:   #a78bfa;
  --c-guesswhat:   #f472b6;
  --c-levelup:     #fb923c;
  --c-write:       #fbbf24;
  --c-reset:       #60a5fa;
  --c-adventures:  #34d399;

  /* Zone backgrounds */
  --z-goodvibes:   #1a0f50;
  --z-write:       #1a0f2e;
  --z-reset:       #0f1525;
  --z-adventures:  #062918;
  --z-levelup:     #1f0e00;
  --z-guesswhat:   #1f0a1a;

  --font-title: 'Poppins', system-ui, sans-serif;
  --font-body:  'Inter',   system-ui, sans-serif;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BASE ─────────────────────────────────────── */
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background: var(--void);
  color: var(--white-soft);
}

/* ─── CANVASES ─────────────────────────────────── */
#starfield, #gravity-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#gravity-canvas { z-index: 2; }

/* ─── SCREENS ──────────────────────────────────── */
.screen {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-soft);
  overflow-y: auto;
}
.screen.active { opacity: 1; pointer-events: all; }

/* ─── HEADER ───────────────────────────────────── */
.rgk-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(to bottom, rgba(8,6,18,0.9), transparent);
}
.rgk-logo {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-soft);
}
.rgk-nav { display: flex; gap: 28px; }
.rgk-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  text-decoration: none;
  transition: color 200ms;
}
.rgk-nav a:hover { color: var(--lavender); }

/* ─── UNIVERSE MAP ─────────────────────────────── */
#universe-map {
  background: radial-gradient(ellipse at 50% 38%, #2a1860 0%, #140c30 40%, var(--void) 100%);
}

/* Cloud layers */
.cloud-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
}
.cloud-1 {
  background:
    radial-gradient(ellipse 340px 85px at 18% 72%, rgba(167,139,250,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 220px 65px at 62% 78%, rgba(139,111,212,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 280px 75px at 87% 68%, rgba(167,139,250,0.3) 0%, transparent 70%);
  animation: cd1 90s linear infinite;
}
.cloud-2 {
  background:
    radial-gradient(ellipse 380px 95px at 38% 58%, rgba(120,100,210,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 200px 55px at 78% 62%, rgba(140,115,230,0.2) 0%, transparent 70%);
  animation: cd2 130s linear infinite;
  opacity: 0.16;
}
.cloud-3 {
  background:
    radial-gradient(ellipse 450px 110px at 8% 82%, rgba(100,80,190,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 320px 85px at 92% 88%, rgba(120,100,200,0.18) 0%, transparent 70%);
  animation: cd1 170s linear infinite reverse;
  opacity: 0.12;
}
@keyframes cd1 { from { transform: translateX(0);     } to { transform: translateX(60px);  } }
@keyframes cd2 { from { transform: translateX(0);     } to { transform: translateX(-60px); } }

/* ─── CONSTELLATION PATHS ──────────────────────── */
.constellation-paths {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
}
.const-path {
  fill: none;
  stroke: rgba(196,181,253,0.14);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke 400ms, stroke-width 400ms;
}
.const-path.drawn {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s var(--ease-out),
              stroke 400ms, stroke-width 400ms;
}
.const-path.active {
  stroke: rgba(196,181,253,0.75);
  stroke-width: 2.5;
  filter: url(#glow-filter);
}

/* ─── CENTRAL ORB ──────────────────────────────── */
.orb-container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  z-index: 6;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196,181,253,0.14);
  animation: orbRingBreath 4s ease-in-out infinite;
}
.orb-ring-1 { width: 250px; height: 250px; animation-delay: 0s; }
.orb-ring-2 { width: 340px; height: 340px; animation-delay: 0.6s; border-color: rgba(196,181,253,0.09); }
.orb-ring-3 { width: 460px; height: 460px; animation-delay: 1.2s; border-color: rgba(196,181,253,0.05); }

@keyframes orbRingBreath {
  0%,100% { transform: scale(1);    opacity: 0.55; }
  50%      { transform: scale(1.07); opacity: 1;    }
}

/* ─── CENTRAL ORB — color cycle signature ──────── */
.central-orb {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 35% 28%,
    rgba(255,255,255,0.65) 0%,
    var(--purple-glow) 32%,
    var(--purple-dark)  68%,
    rgba(130,100,220,0.85) 100%);
  box-shadow:
    0 0 50px  rgba(128,96,208,0.65),
    0 0 100px rgba(128,96,208,0.35),
    0 0 180px rgba(85,48,160,0.2),
    inset 0 0 35px rgba(255,255,255,0.18);
  animation: orbBreath 4s ease-in-out infinite, orbColorCycle 12s ease-in-out infinite;
  transition: box-shadow 300ms var(--ease-out), transform 200ms var(--ease-spring);
  z-index: 6;
}

@keyframes orbColorCycle {
  0%   { box-shadow: 0 0 50px rgba(128,96,208,0.65),  0 0 100px rgba(128,96,208,0.35),  0 0 180px rgba(85,48,160,0.2),    inset 0 0 35px rgba(255,255,255,0.18); }
  16%  { box-shadow: 0 0 50px rgba(167,139,250,0.65), 0 0 100px rgba(167,139,250,0.35), 0 0 180px rgba(167,139,250,0.2),  inset 0 0 35px rgba(255,255,255,0.18); }
  33%  { box-shadow: 0 0 50px rgba(244,114,182,0.65), 0 0 100px rgba(244,114,182,0.35), 0 0 180px rgba(244,114,182,0.2),  inset 0 0 35px rgba(255,255,255,0.18); }
  50%  { box-shadow: 0 0 50px rgba(251,146,60,0.65),  0 0 100px rgba(251,146,60,0.35),  0 0 180px rgba(251,146,60,0.2),   inset 0 0 35px rgba(255,255,255,0.18); }
  66%  { box-shadow: 0 0 50px rgba(251,191,36,0.65),  0 0 100px rgba(251,191,36,0.35),  0 0 180px rgba(251,191,36,0.2),   inset 0 0 35px rgba(255,255,255,0.18); }
  83%  { box-shadow: 0 0 50px rgba(96,165,250,0.65),  0 0 100px rgba(96,165,250,0.35),  0 0 180px rgba(96,165,250,0.2),   inset 0 0 35px rgba(255,255,255,0.18); }
  100% { box-shadow: 0 0 50px rgba(52,211,153,0.65),  0 0 100px rgba(52,211,153,0.35),  0 0 180px rgba(52,211,153,0.2),   inset 0 0 35px rgba(255,255,255,0.18); }
}

.central-orb:hover {
  transform: scale(1.07);
  box-shadow:
    0 0 80px  rgba(196,181,253,0.9),
    0 0 150px rgba(128,96,208,0.6),
    0 0 240px rgba(85,48,160,0.35),
    inset 0 0 50px rgba(255,255,255,0.28);
}
.central-orb:active { transform: scale(0.95); }
.central-orb.gravity-hot {
  box-shadow:
    0 0 90px  rgba(196,181,253,1),
    0 0 160px rgba(128,96,208,0.7),
    0 0 260px rgba(85,48,160,0.4),
    inset 0 0 55px rgba(255,255,255,0.32);
}

.orb-inner-glow {
  position: absolute; inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.42) 0%, transparent 60%);
  animation: orbShimmer 3.2s ease-in-out infinite;
}
.orb-shimmer {
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  top: 20px; left: 26px;
  filter: blur(9px);
  animation: shimFloat 5.5s ease-in-out infinite;
}
@keyframes orbBreath {
  0%,100% { box-shadow: 0 0 50px rgba(128,96,208,.65), 0 0 100px rgba(128,96,208,.35), inset 0 0 35px rgba(255,255,255,.18); }
  50%      { box-shadow: 0 0 75px rgba(196,181,253,.85), 0 0 140px rgba(128,96,208,.55), inset 0 0 48px rgba(255,255,255,.26); }
}
@keyframes orbShimmer  { 0%,100%{opacity:.8;transform:scale(1)}  50%{opacity:1;transform:scale(1.1)} }
@keyframes shimFloat   { 0%,100%{transform:translate(0,0)}  33%{transform:translate(4px,-4px)}  66%{transform:translate(-3px,3px)} }

/* ─── HERO TEXT ────────────────────────────────── */
.hero-text {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  z-index: 4;
  animation: heroFadeIn 1.2s var(--ease-out) 0.3s both;
}
@keyframes heroFadeIn { from { opacity:0; transform:translateX(-50%) translateY(16px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 8px;
}
.hero-headline {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white-soft);
  line-height: 1.1;
  text-shadow: 0 0 48px rgba(196,181,253,0.45);
  margin-bottom: 12px;
}
.hero-support {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white-muted);
}

.island {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 5;
  transition: transform 320ms var(--ease-spring);
  user-select: none;
}
.island:hover { transform: translateY(-12px) scale(1.08); }

/* ─── VIGNETTE ──────────────────────────────────── */
.vignette {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 4;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.32) 100%);
}

/* ─── ISLAND HOVER TOOLTIPS ─────────────────────── */
.island-tooltip {
  position: absolute;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500;
  color: var(--white-soft);
  background: rgba(14,8,40,0.82);
  border: 1px solid rgba(196,181,253,0.2);
  border-radius: 20px; padding: 5px 14px;
  pointer-events: none; z-index: 8;
  opacity: 0; white-space: nowrap;
  transition: opacity 200ms;
  transform: translateX(-50%);
}
.island-tooltip.visible { opacity: 1; }
/* Tooltip positions — just above each island label */
#tooltip-goodvibes  { top: calc(19% - 38px);    left: 18%; }
#tooltip-guesswhat  { top: calc(13% - 38px);    right: 10%; transform: none; }
#tooltip-levelup    { top: calc(42% - 38px);    right: 2%;  transform: none; }
#tooltip-write      { bottom: calc(19% + 62px); left: 20%; }
#tooltip-reset      { bottom: calc(9%  + 62px); left: 46%; }
#tooltip-adventures { bottom: calc(19% + 62px); right: 9%; transform: none; }
#tooltip-reflection { top: 42%; left: 8%; }

/* Positions */
.island-goodvibes   { top:19%;  left:14%; }
.island-guesswhat   { top:13%;  right:15%; }
.island-levelup     { top:42%;  right:7%; }
.island-write       { bottom:19%; left:17%; }
.island-reset       { bottom:9%;  left:43%; }
.island-adventures  { bottom:19%; right:14%; }

.island-label {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white-soft);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  transition: color 300ms;
}
.island:hover .island-label { color: white; }

/* Orb wrap */
.island-orb-wrap {
  position: relative;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
}

/* Island orb base */
.island-orb {
  width: 56px; height: 56px;
  border-radius: 50%;
  position: relative;
  transition: transform 320ms var(--ease-spring), box-shadow 320ms;
  animation: islandFloat 5s ease-in-out infinite;
}
.island-orb .iob-core {
  position: absolute; inset: 0;
  border-radius: 50%;
}
.island-orb .iob-shimmer {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  top: 9px; left: 12px;
  filter: blur(5px);
  animation: shimFloat 4s ease-in-out infinite;
}

/* Unique float offsets */
.island-goodvibes  .island-orb { animation-delay: 0s; }
.island-guesswhat  .island-orb { animation-delay: 0.7s; }
.island-levelup    .island-orb { animation-delay: 1.4s; }
.island-write      .island-orb { animation-delay: 0.35s; }
.island-reset      .island-orb { animation-delay: 1.05s; }
.island-adventures .island-orb { animation-delay: 1.75s; }

@keyframes islandFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── Orb color variants ── */
.orb-goodvibes {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55) 0%, #a78bfa 38%, #6d28d9 100%);
  box-shadow: 0 0 24px rgba(167,139,250,0.7), 0 0 50px rgba(109,40,217,0.35);
}
.orb-guesswhat {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55) 0%, #f472b6 38%, #be185d 100%);
  box-shadow: 0 0 24px rgba(244,114,182,0.7), 0 0 50px rgba(190,24,93,0.35);
}
.orb-levelup {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55) 0%, #fb923c 38%, #c2410c 100%);
  box-shadow: 0 0 24px rgba(251,146,60,0.7), 0 0 50px rgba(194,65,12,0.35);
}
.orb-write {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55) 0%, #fbbf24 38%, #b45309 100%);
  box-shadow: 0 0 24px rgba(251,191,36,0.7), 0 0 50px rgba(180,83,9,0.35);
}
.orb-reset {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55) 0%, #60a5fa 38%, #1d4ed8 100%);
  box-shadow: 0 0 24px rgba(96,165,250,0.7), 0 0 50px rgba(29,78,216,0.35);
}
.orb-adventures {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55) 0%, #34d399 38%, #065f46 100%);
  box-shadow: 0 0 24px rgba(52,211,153,0.7), 0 0 50px rgba(6,95,70,0.35);
}

/* Hover intensify */
.island:hover .orb-goodvibes  { box-shadow: 0 0 38px rgba(167,139,250,1),  0 0 80px rgba(109,40,217,0.55); transform: translateY(-6px) scale(1.1); }
.island:hover .orb-guesswhat  { box-shadow: 0 0 38px rgba(244,114,182,1),  0 0 80px rgba(190,24,93,0.55);  transform: translateY(-6px) scale(1.1); }
.island:hover .orb-levelup    { box-shadow: 0 0 38px rgba(251,146,60,1),   0 0 80px rgba(194,65,12,0.55);  transform: translateY(-6px) scale(1.1); }
.island:hover .orb-write      { box-shadow: 0 0 38px rgba(251,191,36,1),   0 0 80px rgba(180,83,9,0.55);   transform: translateY(-6px) scale(1.1); }
.island:hover .orb-reset      { box-shadow: 0 0 38px rgba(96,165,250,1),   0 0 80px rgba(29,78,216,0.55);  transform: translateY(-6px) scale(1.1); }
.island:hover .orb-adventures { box-shadow: 0 0 38px rgba(52,211,153,1),   0 0 80px rgba(6,95,70,0.55);    transform: translateY(-6px) scale(1.1); }

/* Rings around island orbs */
.island-orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 68px; height: 68px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1.5px solid transparent;
  opacity: 0;
  transition: opacity 300ms, width 300ms, height 300ms;
}
.island-orb-ring.ring2 {
  width: 84px; height: 84px;
  animation-delay: 0.3s;
}
.island:hover .island-orb-ring { opacity: 1; }

/* Ring colors */
.ring-goodvibes  { border-color: rgba(167,139,250,0.5); }
.ring-guesswhat  { border-color: rgba(244,114,182,0.5); }
.ring-levelup    { border-color: rgba(251,146,60,0.5);  }
.ring-write      { border-color: rgba(251,191,36,0.5);  }
.ring-reset      { border-color: rgba(96,165,250,0.5);  }
.ring-adventures { border-color: rgba(52,211,153,0.5);  }

/* Island click launch zoom */
.island.launching {
  transform: translateY(-20px) scale(1.25) !important;
  transition: transform 280ms var(--ease-spring) !important;
}

/* Map dim */
.map-dim {
  position: absolute;
  inset: 0;
  background: rgba(8,6,18,0);
  pointer-events: none;
  transition: background 300ms;
  z-index: 3;
}
.map-dim.active { background: rgba(8,6,18,0.55); }

/* ─── VIBE MODAL ───────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(8,6,18,0.8);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 350ms var(--ease-soft);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-panel {
  background: linear-gradient(135deg, rgba(26,16,70,0.98) 0%, rgba(14,8,40,0.99) 100%);
  border: 1px solid rgba(196,181,253,0.22);
  border-radius: 24px;
  padding: 40px 36px;
  width: min(500px, 92vw);
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 60px rgba(128,96,208,0.15);
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  color: var(--white-muted); font-size: 1.6rem; cursor: pointer;
  transition: color 150ms; line-height: 1;
}
.modal-close:hover { color: var(--white-soft); }
.modal-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 8px;
}
.modal-title {
  font-family: var(--font-title);
  font-size: 1.75rem; font-weight: 700;
  color: var(--white-soft); margin-bottom: 6px;
}
.modal-sub {
  font-family: var(--font-body);
  font-size: 0.9rem; color: var(--white-muted); margin-bottom: 26px;
}
.vibe-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.vibe-chip {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(196,181,253,0.2);
  background: rgba(196,181,253,0.08);
  color: var(--white-soft);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: background 200ms, border-color 200ms, transform 150ms var(--ease-spring);
}
.vibe-chip:hover {
  background: rgba(196,181,253,0.18);
  border-color: rgba(196,181,253,0.5);
  transform: translateY(-2px);
}
.vibe-chip:active { transform: scale(0.97); }
.vibe-quote {
  font-family: var(--font-body); font-size: 0.88rem;
  color: var(--lavender); text-align: center; opacity: 0.8;
  font-style: italic;
}

/* ─── ZONE SCREENS ─────────────────────────────── */
.zone-bg { position: fixed; inset: 0; z-index: 0; }
.zone-goodvibes-bg  { background: radial-gradient(ellipse at 50% 30%, #3d2080 0%, #1a1040 40%, #0c0820 100%); }
.zone-write-bg      { background: radial-gradient(ellipse at 50% 30%, #2d1144 0%, #1a0f2e 50%, #0a0618 100%); }
.zone-reset-bg      { background: radial-gradient(ellipse at 50% 30%, #1e2a50 0%, #0f1830 50%, #060d20 100%); }
.zone-adventures-bg { background: radial-gradient(ellipse at 50% 40%, #0a3d28 0%, #041e14 50%, #010a08 100%); }
.zone-levelup-bg    { background: radial-gradient(ellipse at 50% 40%, #3d1a00 0%, #1f0e00 50%, #0a0500 100%); }
.zone-guesswhat-bg  { background: radial-gradient(ellipse at 50% 40%, #4a1030 0%, #280818 50%, #100308 100%); }

.zone-content {
  position: relative; z-index: 2;
  max-width: 680px; margin: 0 auto;
  padding: 100px 28px 60px;
  text-align: center; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 22px;
}
.zone-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--lavender);
}
.zone-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  color: var(--white-soft); line-height: 1.1;
}
.zone-support {
  font-family: var(--font-body);
  font-size: 1rem; color: var(--white-muted);
  max-width: 440px; line-height: 1.65;
}

/* Zone slide-in animation */
.zone-screen.active .zone-content {
  animation: zoneSlideIn 0.5s var(--ease-out) both;
}
@keyframes zoneSlideIn {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ─── BREATH ORB ───────────────────────────────── */
.breath-container {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.breath-orb {
  position: relative;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.5) 0%, #a78bfa 38%, #5b21b6 85%);
  box-shadow: 0 0 44px rgba(167,139,250,0.45), 0 0 90px rgba(109,40,217,0.22);
  animation: breathCycle 4s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.reset-orb {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.45) 0%, #60a5fa 38%, #1d4ed8 85%);
  box-shadow: 0 0 44px rgba(96,165,250,0.45), 0 0 90px rgba(29,78,216,0.22);
}
.breath-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 2px solid rgba(167,139,250,0.35);
  animation: breathRingPulse 4s ease-in-out infinite;
}
.reset-ring { border-color: rgba(96,165,250,0.35); }
.breath-label {
  font-family: var(--font-title);
  font-size: 1rem; font-weight: 600;
  color: white; z-index: 1;
}
.breath-instruction {
  font-family: var(--font-body);
  font-size: 0.82rem; color: var(--white-muted);
  max-width: 260px;
}
@keyframes breathCycle    { 0%,100%{transform:scale(1)}   50%{transform:scale(1.22)} }
@keyframes breathRingPulse{ 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.28);opacity:1} }

/* ─── CALM MESSAGES ────────────────────────────── */
.calm-message-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px; padding: 18px 28px;
  max-width: 380px; backdrop-filter: blur(12px);
  transition: opacity 500ms;
}
.calm-message {
  font-family: var(--font-body);
  font-size: 1.15rem; font-weight: 400;
  color: var(--white-soft); line-height: 1.6;
  font-style: italic;
}

/* ─── STORM / RESET ────────────────────────────── */
.storm-mood-row {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.storm-chip {
  padding: 10px 18px; border-radius: 20px;
  border: 1px solid rgba(96,165,250,0.3);
  background: rgba(96,165,250,0.08);
  color: var(--white-muted);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all 200ms;
}
.storm-chip:hover, .storm-chip.active {
  background: rgba(96,165,250,0.25);
  border-color: rgba(96,165,250,0.7);
  color: var(--white-soft);
}
.storm-message-card {
  background: rgba(29,78,216,0.15);
  border: 1px solid rgba(96,165,250,0.22);
  border-radius: 18px; padding: 18px 28px; max-width: 400px;
}
.storm-message {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 400;
  color: rgba(147,197,253,0.95); line-height: 1.6;
  font-style: italic;
}
.timer-row { display: flex; align-items: center; gap: 14px; }
.timer-btn {
  padding: 10px 22px; border-radius: 12px;
  border: 1px solid rgba(96,165,250,0.35);
  background: rgba(96,165,250,0.1);
  color: rgba(147,197,253,0.9);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: background 200ms;
}
.timer-btn:hover { background: rgba(96,165,250,0.22); }
.timer-display {
  font-family: var(--font-title);
  font-size: 1.4rem; font-weight: 700;
  color: rgba(147,197,253,0.95); min-width: 50px;
}

/* ─── WRITE IT ─────────────────────────────────── */
.write-content { max-width: 720px; }
.journal-tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.07);
  padding: 4px; border-radius: 12px;
}
.jtab {
  flex: 1; padding: 10px; border-radius: 9px;
  border: none; background: transparent;
  color: var(--white-muted);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 200ms;
}
.jtab.active { background: rgba(196,181,253,0.18); color: var(--white-soft); }

#journal-write-view, #journal-notes-view {
  width: 100%; display: flex; flex-direction: column; gap: 16px;
}

.prompt-card {
  position: relative;
  background: linear-gradient(135deg, rgba(196,181,253,0.1) 0%, rgba(128,96,208,0.07) 100%);
  border: 1px solid rgba(196,181,253,0.2);
  border-radius: 18px; padding: 20px 24px;
  width: 100%; text-align: left;
}
.prompt-vibe-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--lavender);
  background: rgba(196,181,253,0.14);
  border-radius: 20px; padding: 4px 10px; margin-bottom: 10px;
}
.prompt-text {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 400;
  color: var(--white-soft); line-height: 1.6;
}
.prompt-refresh {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: var(--lavender); font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  cursor: pointer; opacity: 0.7;
  transition: opacity 200ms, transform 300ms;
}
.prompt-refresh:hover { opacity: 1; transform: rotate(180deg); }

.star-note-textarea {
  width: 100%; min-height: 180px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,181,253,0.18);
  border-radius: 16px; padding: 18px 20px;
  color: var(--white-soft);
  font-family: var(--font-body); font-size: 1rem;
  font-weight: 400; line-height: 1.75;
  resize: vertical; outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.star-note-textarea:focus {
  border-color: rgba(196,181,253,0.5);
  box-shadow: 0 0 0 3px rgba(196,181,253,0.1);
}
.star-note-textarea::placeholder { color: rgba(255,255,255,0.28); }

.journal-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.saved-notes-list {
  width: 100%; display: flex; flex-direction: column; gap: 12px;
  max-height: 52vh; overflow-y: auto; padding-right: 4px;
}
.saved-notes-list::-webkit-scrollbar { width: 4px; }
.saved-notes-list::-webkit-scrollbar-thumb { background: rgba(196,181,253,0.28); border-radius: 2px; }

.note-card {
  background: rgba(196,181,253,0.06);
  border: 1px solid rgba(196,181,253,0.13);
  border-radius: 14px; padding: 16px 18px; text-align: left;
}
.note-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.note-date  { font-family: var(--font-body); font-size: 0.72rem; color: var(--white-muted); font-weight: 500; }
.note-vibe-tag {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 10px;
  background: rgba(196,181,253,0.18); color: var(--lavender);
}
.note-prompt { font-family: var(--font-body); font-size: 0.78rem; color: var(--white-muted); font-style: italic; margin-bottom: 8px; }
.note-text   { font-family: var(--font-body); font-size: 0.9rem; color: var(--white-soft); line-height: 1.65; }

.clear-journal-row { text-align: center; margin-top: 6px; }
.clear-btn {
  font-family: var(--font-body); font-size: 0.75rem;
  color: rgba(255,100,100,0.5); background: none; border: none; cursor: pointer;
  transition: color 200ms;
}
.clear-btn:hover { color: rgba(255,100,100,0.8); }

/* ─── PLACEHOLDER ZONES ────────────────────────── */
.zone-placeholder-content { justify-content: center; min-height: 100vh; }
.placeholder-msg {
  font-family: var(--font-body);
  font-size: 0.9rem; color: var(--white-muted);
  max-width: 340px; line-height: 1.65;
}

/* Guess What card */
.guesswhat-card {
  background: rgba(244,114,182,0.1);
  border: 1px solid rgba(244,114,182,0.25);
  border-radius: 20px; padding: 24px 32px; max-width: 420px;
}
.guesswhat-message {
  font-family: var(--font-body);
  font-size: 1.15rem; font-weight: 400;
  color: rgba(252,196,228,0.95); line-height: 1.65; font-style: italic;
}

/* ─── CHARACTER MENTORS (real images) ─────────── */
.character-mentor {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 200ms var(--ease-spring);
  z-index: 10;
}
.character-mentor:hover { transform: translateY(-6px) scale(1.04); }
.char-img {
  width: 110px;
  filter: drop-shadow(0 0 18px rgba(196,181,253,0.35));
  transition: filter 200ms;
}
.character-mentor:hover .char-img {
  filter: drop-shadow(0 0 28px rgba(196,181,253,0.7));
}
.char-name {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(196,181,253,0.7);
}
.gv-char    { right: 3%; bottom: 10%; }
.write-char { right: 3%; bottom: 6%; }
.reset-char { right: 3%; bottom: 10%; }
.nova-char  { right: 3%; bottom: 6%; }

/* ─── REFLECTION MIRROR FLOAT ───────────────────── */
.reflection-mirror-float {
  position: absolute;
  top: 50%;
  left: 2.5%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; cursor: pointer; z-index: 5;
  animation: mirrorFloat 5s ease-in-out infinite;
  transition: transform 200ms var(--ease-spring);
}
.reflection-mirror-float:hover {
  transform: translateY(calc(-50% - 8px)) scale(1.1);
}
@keyframes mirrorFloat {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 8px)); }
}
.mirror-face {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%,
    rgba(255,255,255,0.9) 0%,
    rgba(210,225,255,0.82) 35%,
    rgba(160,185,235,0.78) 65%,
    rgba(100,130,200,0.72) 100%);
  box-shadow:
    0 0 20px rgba(200,220,255,0.8),
    0 0 42px rgba(170,195,240,0.4),
    inset 0 0 14px rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
}
.mirror-shine {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.65);
  top: 10px; left: 12px;
  filter: blur(3px);
}
.mirror-glyph {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 6px rgba(200,220,255,0.9));
}
.mirror-label {
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(200,215,255,0.75);
}

/* ─── CHARACTER MENTORS (real images) ─────────── */
.character-mentor {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  z-index: 10;
  pointer-events: all;
  animation: charFloat 5s ease-in-out infinite;
}
@keyframes charFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
.character-mentor:hover {
  animation: none;
  transform: translateY(-10px) scale(1.04);
  transition: transform 220ms var(--ease-spring);
}
.char-img {
  width: 140px;
  display: block;
}
.char-name {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(196,181,253,0.75);
}
.gv-char    { right: 4%;  bottom: 8%; }
.write-char { right: 4%;  bottom: 6%; }
.reset-char { right: 4%;  bottom: 8%; }
.nova-char  { right: 4%;  bottom: 6%; }

/* ─── CHARACTER PLACEHOLDERS (legacy fallback) ── */
.character-placeholder {
  position: absolute; display: flex;
  flex-direction: column; align-items: center;
  gap: 6px; opacity: 0.6; pointer-events: none;
}
.char-silhouette {
  width: 76px; height: 116px;
  background: rgba(196,181,253,0.12);
  border: 1px dashed rgba(196,181,253,0.28);
  border-radius: 12px; position: relative;
}
.char-silhouette::after {
  content: '👤';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 1.8rem; opacity: 0.35;
}

/* ─── NOVA CODES ZONE ───────────────────────────── */
.nova-reveal-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; margin: 12px 0 20px;
  min-height: 160px;
}
.nova-orb-stage {
  position: relative;
  width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.nova-orb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(251,146,60,0.2);
  animation: orbRingBreath 4s ease-in-out infinite;
}
.nr1 { width: 100px; height: 100px; }
.nr2 { width: 140px; height: 140px; animation-delay: 0.7s; border-color: rgba(251,146,60,0.1); }
.nova-orb-core {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%,
    rgba(255,255,255,0.6) 0%,
    #fb923c 38%, #9a3412 85%);
  box-shadow: 0 0 30px rgba(251,146,60,0.6), 0 0 60px rgba(251,146,60,0.25);
  transition: background 600ms, box-shadow 600ms;
}
.nova-orb-core.regulation {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.6) 0%, #60a5fa 38%, #1e3a8a 85%);
  box-shadow: 0 0 30px rgba(96,165,250,0.6), 0 0 60px rgba(96,165,250,0.25);
}
.nova-orb-core.activation {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.6) 0%, #fb923c 38%, #9a3412 85%);
  box-shadow: 0 0 30px rgba(251,146,60,0.6), 0 0 60px rgba(251,146,60,0.25);
}
.nova-orb-core.compassion {
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.6) 0%, #fbbf24 38%, #78350f 85%);
  box-shadow: 0 0 30px rgba(251,191,36,0.6), 0 0 60px rgba(251,191,36,0.25);
}
.nova-forming-text {
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  color: var(--white-muted); letter-spacing: 0.08em;
  min-height: 22px;
  transition: opacity 300ms;
}
.nova-card {
  background: rgba(251,146,60,0.08);
  border: 1px solid rgba(251,146,60,0.25);
  border-radius: 20px; padding: 22px 28px;
  max-width: 380px; width: 100%; text-align: center;
  animation: fadeUp 400ms var(--ease-out);
}
.nova-code-type {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
  background: rgba(251,146,60,0.18); color: #fb923c;
}
.nova-code-type.regulation { background: rgba(96,165,250,0.18); color: #60a5fa; }
.nova-code-type.compassion { background: rgba(251,191,36,0.18); color: #fbbf24; }
.nova-code-name {
  font-family: var(--font-title); font-size: 1.5rem; font-weight: 700;
  color: var(--white-soft); margin-bottom: 8px; letter-spacing: 0.04em;
}
.nova-code-statement {
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 400;
  color: rgba(255,255,255,0.88); line-height: 1.6; margin-bottom: 10px; font-style: italic;
}
.nova-code-when {
  font-family: var(--font-body); font-size: 0.8rem; color: var(--white-muted);
  margin-bottom: 18px;
}
.nova-card-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.nova-main-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}

/* ─── CHARACTER POPUP ───────────────────────────── */
.char-panel {
  max-width: 420px;
  padding: 28px 24px 24px;
}
.char-popup-inner {
  display: flex; align-items: center; gap: 20px;
}
.char-popup-img {
  width: 90px; flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(196,181,253,0.4));
}
.char-popup-body {
  display: flex; flex-direction: column; gap: 10px;
}
.char-popup-name {
  font-family: var(--font-title); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender);
}
.char-popup-message {
  font-family: var(--font-body); font-size: 1rem; font-weight: 400;
  color: var(--white-soft); line-height: 1.55;
}
.char-popup-btn { font-size: 0.82rem; padding: 10px 20px; }

/* ─── REFLECTION POPUP ──────────────────────────── */
.reflection-panel {
  max-width: 460px; text-align: center;
}
.reflection-orb-small {
  font-size: 2.4rem; margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(200,215,255,0.7));
}
.reflection-prompt {
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 400;
  color: var(--white-soft); line-height: 1.65; margin: 10px 0 16px;
  font-style: italic;
}
.reflection-textarea { min-height: 120px; margin-bottom: 8px; }
.reflection-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}

/* ─── CREATE CODE POPUP ─────────────────────────── */
.create-code-panel { max-width: 440px; }
.create-code-form {
  display: flex; flex-direction: column; gap: 10px;
  margin: 16px 0;
}
.code-label {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--lavender);
  margin-bottom: -4px;
}
.code-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,181,253,0.22);
  border-radius: 12px; padding: 12px 16px;
  color: var(--white-soft);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color 200ms, box-shadow 200ms;
}
.code-input:focus {
  border-color: rgba(251,146,60,0.5);
  box-shadow: 0 0 0 3px rgba(251,146,60,0.1);
}
.code-input::placeholder { color: rgba(255,255,255,0.25); }
.code-save-msg {
  font-family: var(--font-body); font-size: 0.85rem;
  color: #34d399; text-align: center; min-height: 20px; margin-top: 6px;
}

/* ─── MY CODES POPUP ────────────────────────────── */
.my-codes-panel { max-width: 460px; }
.my-codes-list {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 42vh; overflow-y: auto;
  margin: 16px 0; padding-right: 4px;
}
.my-codes-list::-webkit-scrollbar { width: 4px; }
.my-codes-list::-webkit-scrollbar-thumb { background: rgba(251,146,60,0.3); border-radius: 2px; }
.my-code-card {
  background: rgba(251,146,60,0.07);
  border: 1px solid rgba(251,146,60,0.2);
  border-radius: 14px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  text-align: left;
}
.my-code-info { flex: 1; }
.my-code-name {
  font-family: var(--font-title); font-size: 0.95rem; font-weight: 700;
  color: var(--white-soft); margin-bottom: 4px;
}
.my-code-statement {
  font-family: var(--font-body); font-size: 0.82rem;
  color: var(--white-muted); font-style: italic; line-height: 1.5;
}
.my-code-delete {
  background: none; border: none; cursor: pointer;
  color: rgba(255,100,100,0.45); font-size: 1rem;
  transition: color 200ms; flex-shrink: 0; padding: 2px 4px;
}
.my-code-delete:hover { color: rgba(255,100,100,0.8); }
.my-codes-empty {
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--white-muted); text-align: center; padding: 24px 0;
}

/* ─── FADE UP ANIMATION ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── CHARACTER PLACEHOLDERS (kept for fallback) ── */
.character-placeholder {
  position: absolute; display: flex;
  flex-direction: column; align-items: center;
  gap: 6px; opacity: 0.6; pointer-events: none;
}
.char-silhouette {
  width: 76px; height: 116px;
  background: rgba(196,181,253,0.12);
  border: 1px dashed rgba(196,181,253,0.28);
  border-radius: 12px; position: relative;
}
.char-silhouette::after {
  content: '👤';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 1.8rem; opacity: 0.35;
}

/* ─── ZONE BUTTONS ─────────────────────────────── */
.zone-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}
.zone-btn {
  font-family: var(--font-title);
  font-size: 0.88rem; font-weight: 600;
  padding: 12px 26px; border-radius: 14px;
  cursor: pointer; border: none; position: relative; overflow: hidden;
  transition: transform 160ms var(--ease-spring), box-shadow 160ms;
}
.zone-btn::after {
  content: ''; position: absolute;
  top:50%; left:50%; width:0; height:0;
  background: rgba(255,255,255,0.18); border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .5s var(--ease-out), height .5s var(--ease-out), opacity .4s;
  opacity: 0;
}
.zone-btn:active::after { width: 220px; height: 220px; opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  color: white;
  box-shadow: 0 4px 22px rgba(85,48,160,0.45);
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(85,48,160,0.65); }
.btn-secondary {
  background: rgba(196,181,253,0.11);
  color: var(--lavender);
  border: 1px solid rgba(196,181,253,0.3);
}
.btn-secondary:hover { background: rgba(196,181,253,0.2); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--white-muted);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.82rem;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--white-soft); }
.zone-btn:active { transform: scale(0.97); }

/* ─── TRANSITION OVERLAY ───────────────────────── */
.transition-overlay {
  position: fixed; inset: 0; z-index: 600;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(128,96,208,0.5) 0%, rgba(8,6,18,0) 70%);
  opacity: 0;
  transition: opacity 380ms var(--ease-soft);
}
.transition-overlay.active { opacity: 1; pointer-events: all; }
.transition-orb {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, white 0%, var(--purple-glow) 55%, transparent 100%);
  animation: tOrbPulse 0.75s ease-in-out infinite;
}
@keyframes tOrbPulse { 0%,100%{transform:scale(1);opacity:.8} 50%{transform:scale(1.35);opacity:1} }

/* Zone clouds (Good Vibes) */
.zone-clouds {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 420px 120px at 12% 82%, rgba(255,255,255,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 300px 90px at 78% 88%, rgba(255,255,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 260px 80px at 48% 92%, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: zcDrift 22s ease-in-out infinite alternate;
}
@keyframes zcDrift { from{transform:translateX(-18px)} to{transform:translateX(18px)} }

/* ─── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  .rgk-nav { display: none; }
  .island-goodvibes   { top:16%;   left:3%; }
  .island-guesswhat   { top:10%;   right:3%; }
  .island-levelup     { top:42%;   right:1%; }
  .island-write       { bottom:15%; left:3%; }
  .island-reset       { bottom:5%;  left:38%; }
  .island-adventures  { bottom:15%; right:3%; }
  .island-orb { width: 44px; height: 44px; }
  .island-orb-wrap { width: 56px; height: 56px; }
  .island-label { font-size: 0.66rem; }
  .central-orb  { width: 116px; height: 116px; }
  .orb-ring-1   { width: 148px; height: 148px; }
  .orb-ring-2   { width: 200px; height: 200px; }
  .orb-ring-3   { width: 270px; height: 270px; }
  .character-placeholder { display: none; }
  .vibe-grid { grid-template-columns: 1fr 1fr; }
  .modal-panel { padding: 30px 18px; }
  .zone-content { padding: 88px 18px 50px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 1.5rem; }
  .zone-title    { font-size: 1.75rem; }
  .vibe-grid     { grid-template-columns: 1fr; }
}
