:root {
  --bg: #07060F;
  --surface: #14112A;
  --line: #2A2448;
  --text: #ECE8F7;
  --muted: #B4ADC8;
  --gold: #E9C46A;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(ellipse at 70% 30%, #1A1438 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  overflow: hidden;
}
.stage {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; gap: 56px;
  padding: 24px;
}
.panel { width: 340px; display: flex; flex-direction: column; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Quicksand, sans-serif; font-weight: 700; font-size: 15px; color: var(--muted); }
.kicker { margin: 18px 0 0; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.panel h1 { margin: 0; font-family: Quicksand, sans-serif; font-size: 32px; line-height: 1.15; font-weight: 700; }
.panel .body { margin: 0; font-size: 16px; line-height: 1.55; color: #D4CEE6; }
.hint { margin: 4px 0 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.hint .dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 5px; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex-shrink: 0; animation: lk-blink 1.6s ease-in-out infinite; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.progress .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress .bar div { height: 4px; background: var(--gold); transition: width .3s ease; }
.nav { display: flex; gap: 10px; }
button.primary, button.ghost { height: 48px; padding: 0 22px; border-radius: 24px; font-family: 'Nunito Sans', sans-serif; font-size: 15px; font-weight: 800; cursor: pointer; }
button.primary { flex: 1; border: none; background: var(--gold); color: #141225; }
button.ghost { border: 1px solid var(--line); background: transparent; color: var(--text); }
button.ghost:disabled { opacity: .35; cursor: default; }
button:focus-visible { outline: 3px solid #7EBCF5; outline-offset: 2px; }
.credit { margin: 10px 0 0; font-size: 12px; color: #8F88A8; }

.phone-slot { position: relative; flex-shrink: 0; }
.phone {
  position: absolute; top: 0; left: 0; width: 406px; height: 860px; transform-origin: top left;
  border-radius: 56px; padding: 8px; background: #1B1830;
  box-shadow: 0 0 0 1px #3A3456, 0 30px 80px rgba(0,0,0,.6), 0 0 120px rgba(233,196,106,.08);
}
.screen { width: 390px; height: 844px; border-radius: 48px; overflow: hidden; position: relative; background: #0D0B1E; }
.screen > * { position: relative; }

.lk-pulse { animation: lk-pulse 1.6s ease-in-out infinite !important; }
@keyframes lk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(233,196,106,.0); } 50% { box-shadow: 0 0 0 5px rgba(233,196,106,.55), 0 0 22px rgba(233,196,106,.5); } }
@keyframes lk-blink { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.mbar { display: none; }
@media (max-width: 759px) {
  .stage { padding: 8px 8px 92px; align-items: flex-start; }
  .panel { display: none; }
  .phone { border-radius: 44px; }
  .mbar {
    display: flex; position: fixed; left: 8px; right: 8px; bottom: 8px; gap: 12px; align-items: center;
    padding: 10px 10px 10px 16px; border-radius: 20px; background: rgba(20,17,42,.96); border: 1px solid var(--line);
  }
  .mtext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; color: #D4CEE6; }
  .mtext strong { font-family: Quicksand, sans-serif; font-size: 15px; color: var(--text); }
  .mbar button.primary { flex: 0 0 auto; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .lk-pulse, .hint .dot { animation: none !important; } .lk-pulse { box-shadow: 0 0 0 4px rgba(233,196,106,.6) !important; } }

/* The guided journey has one active route; free exploration restores all links. */
[hidden] { display: none !important; }
.lk-guided a[aria-disabled="true"] { opacity: .3; cursor: default; }
.mbar button.primary { max-width: 48%; height: auto; min-height: 44px; padding: 10px 16px; }

/* Mynassa's light stays centered on the ensemble without obscuring the story. */
.mynassa-radiance {
  position: absolute; left: 50%; top: 50%; width: 250px; height: 330px;
  transform: translate(-50%, -50%); pointer-events: none;
  mix-blend-mode: screen; transition: opacity .9s ease;
}
.mynassa-radiance-light {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,241,191,.45) 0%, rgba(233,196,106,.32) 25%, rgba(233,196,106,.14) 48%, transparent 72%);
  filter: blur(8px); animation: mynassa-light-breathe 5s ease-in-out infinite;
}
@keyframes mynassa-light-breathe {
  0%, 100% { opacity: .65; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .mynassa-radiance { transition: none; }
  .mynassa-radiance-light { animation: none; }
}

.mynassa-sparkle {
  position: absolute; overflow: visible; opacity: .4;
  filter: drop-shadow(0 0 4px rgba(255,225,145,.85));
  animation: mynassa-sparkle-drift 4.5s ease-in-out infinite;
}
@keyframes mynassa-sparkle-drift {
  0%, 100% { opacity: .15; transform: translateY(5px) scale(.55) rotate(-10deg); }
  45% { opacity: 1; transform: translateY(-4px) scale(1.1) rotate(10deg); }
  75% { opacity: .45; transform: translateY(-9px) scale(.75) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mynassa-sparkle { animation: none; opacity: .75; }
}

@keyframes bunny-unlock {
  from { filter: grayscale(1) brightness(.45); opacity: .55; transform: scale(.85); }
  to { filter: none; opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .unlock-preview-art { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Odia emerges through purple mist; effects stay within the portrait area. */
.karnega-stage { isolation: isolate; flex-shrink: 0; }
.karnega-atmosphere { position: absolute; inset: -16px; pointer-events: none; }
.karnega-fog {
  position: absolute; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at 25% 55%, rgba(164,98,201,.55), transparent 55%),
    radial-gradient(ellipse at 75% 40%, rgba(115,61,158,.7), transparent 60%);
  filter: blur(15px);
}
.karnega-fog-back {
  inset: 10px -12px; animation: karnega-fog-drift 9s ease-in-out infinite alternate;
}
.karnega-fog-front {
  z-index: 2; left: -20px; right: -20px; bottom: 0; height: 94px;
  opacity: .65; animation: karnega-fog-drift 7s ease-in-out -3s infinite alternate-reverse;
}
.karnega-swirl {
  position: absolute; inset: 8px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0deg, rgba(190,136,224,.6) 65deg, transparent 115deg, transparent 180deg, rgba(137,78,180,.55) 245deg, transparent 300deg);
  -webkit-mask-image: radial-gradient(ellipse, transparent 48%, #fff 57%, #fff 63%, transparent 73%);
  mask-image: radial-gradient(ellipse, transparent 48%, #fff 57%, #fff 63%, transparent 73%);
  filter: blur(3px); animation: karnega-swirl 16s linear infinite;
}
.karnega-swirl-inner { inset: 28px 12px; opacity: .65; animation-direction: reverse; animation-duration: 12s; }
.karnega-emerge { z-index: 1; animation: karnega-emerge 2.2s ease-out both; }
@keyframes karnega-emerge {
  from { opacity: 0; transform: translateY(16px) scale(.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes karnega-fog-drift {
  from { opacity: .4; transform: translate(-12px, 7px) scale(.92) rotate(-9deg); }
  to { opacity: .8; transform: translate(12px, -6px) scale(1.08) rotate(9deg); }
}
@keyframes karnega-swirl { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .karnega-emerge, .karnega-fog, .karnega-swirl { animation: none; }
  .karnega-emerge { opacity: 1; transform: none; }
}
