/* ============================================================
   THE CHURCH OF THE HOLY BURGERPHET — burgerphet.live
   Styled after the BrophetLIVE brand guidelines, then blessed
   with 40% more absurdity. In Bun We Trust.
   ============================================================ */

:root {
  --charcoal: #2D3436;
  --pit: #1A1A1A;
  --spring: #F8F5F0;
  --gold: #D4A574;
  --terra: #C67B5C;
  --sand: #E8DFD4;
  --sage: #87A878;
  --moss: #5D7A5D;
  --slate: #6B7B8A;
  --blood: #8B0000;
  --purple: #9333ea;
  --violet: #7c3aed;
  --royal: #8b5cf6;
  --deep: #6b21a8;
  --beat: 0;
  --font-head: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--spring);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* the cursor is a burger. it is ALWAYS a burger. no exceptions. */
*, *::before, *::after, a, button, img, input {
  cursor: url('media/icons/cursor32.png') 4 4, auto !important;
}

::selection { background: var(--purple); color: var(--spring); }

img { -webkit-user-drag: none; user-select: none; }

/* ---------- scrollbar of the faithful ---------- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--pit); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; border: 3px solid var(--pit); }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ============================================================
   THE GATE (autoplay-blessing splash)
   ============================================================ */
#gate {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(147, 51, 234, .18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 165, 116, .12), transparent 55%),
    var(--pit);
  text-align: center;
  transition: opacity .9s ease, transform .9s ease;
}
#gate.open { opacity: 0; transform: scale(1.15); pointer-events: none; }
.gate-inner { padding: 24px; max-width: 720px; }
.gate-burger {
  width: 110px; height: 110px; image-rendering: pixelated;
  animation: gate-bounce 1.1s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(212, 165, 116, .5));
}
@keyframes gate-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}
.gate-inner h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  letter-spacing: .08em; margin: 18px 0 8px;
  background: linear-gradient(180deg, #f0d9b8, var(--gold) 55%, #9a6f42);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gate-inner p { color: var(--sand); letter-spacing: .04em; margin-bottom: 26px; }
#enterBtn {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--spring); background: var(--terra);
  border: none; border-radius: 12px; padding: 18px 34px;
  cursor: pointer; box-shadow: 0 0 0 0 rgba(198, 123, 92, .6);
  animation: enter-pulse 1.6s ease-out infinite;
  transition: background .25s, transform .15s;
}
#enterBtn:hover { background: var(--purple); transform: scale(1.05); }
#enterBtn:active { transform: scale(.97); }
@keyframes enter-pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 123, 92, .55); }
  100% { box-shadow: 0 0 0 26px rgba(198, 123, 92, 0); }
}
.gate-warning {
  display: block; margin-top: 22px; font-size: .72rem;
  color: var(--slate); letter-spacing: .08em; text-transform: uppercase;
}

/* ============================================================
   SCRIPTURE TICKER
   ============================================================ */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--pit); border-bottom: 1px solid rgba(212, 165, 116, .25);
  overflow: hidden; height: 36px; display: flex; align-items: center;
}
.ticker-track {
  display: inline-block; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .22em; color: var(--gold);
  animation: ticker-roll 60s linear infinite;
  padding-left: 0;
}
.ticker:hover .ticker-track { animation-play-state: paused; color: var(--royal); }
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   AMBIENT BURGER RAIN
   ============================================================ */
#rain { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.raindrop {
  position: absolute; top: -80px;
  animation: rainfall linear forwards;
  will-change: transform; pointer-events: none;
}
.raindrop img {
  display: block; pointer-events: auto; opacity: .75;
  animation: sway var(--sw-t, 2.4s) ease-in-out infinite alternate;
  will-change: transform;
}
.raindrop img.pixelated { image-rendering: pixelated; }
@keyframes rainfall {
  from { transform: translateY(0); }
  to { transform: translateY(122vh); }
}
@keyframes sway {
  from { transform: translateX(calc(var(--sw, 34px) * -1)) rotate(-26deg); }
  to { transform: translateX(var(--sw, 34px)) rotate(26deg); }
}
.raindrop img.pop { animation: rainpop .35s ease-out forwards; }
@keyframes rainpop {
  0% { opacity: 1; }
  100% { transform: scale(2.4) rotate(40deg); opacity: 0; }
}

main { position: relative; z-index: 2; }

/* ============================================================
   HERO — THE SHRINE
   ============================================================ */
#hero {
  position: relative; min-height: 100svh;
  padding-top: 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 108%, rgba(147, 51, 234, .22), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(212, 165, 116, .13), transparent 65%),
    conic-gradient(from 200deg at 50% -10%,
      rgba(107, 33, 168, .16), rgba(212, 165, 116, .10), rgba(93, 122, 93, .10),
      rgba(198, 123, 92, .12), rgba(107, 33, 168, .16));
}
.shrine {
  position: relative;
  width: min(96vw, 1100px);
  height: min(86svh, 900px);
  display: flex; align-items: flex-end; justify-content: center;
}

/* god rays */
.rays, .rays2 {
  position: absolute; left: 50%; top: 42%;
  width: 160vmax; height: 160vmax;
  margin: -80vmax; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, black 0%, transparent 58%);
  mask-image: radial-gradient(circle, black 0%, transparent 58%);
  will-change: transform;
}
.rays {
  background: repeating-conic-gradient(from 0deg,
    rgba(212, 165, 116, calc(.13 + var(--beat) * .12)) 0deg 5deg, transparent 5deg 13deg);
  animation: spin 54s linear infinite;
}
.rays2 {
  background: repeating-conic-gradient(from 4deg,
    rgba(147, 51, 234, calc(.09 + var(--beat) * .10)) 0deg 3deg, transparent 3deg 17deg);
  animation: spin-rev 84s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* anything with a mortal white background becomes a holy coin */
.round { border-radius: 50%; object-fit: cover; }

/* the halo */
.halo {
  position: absolute; left: 50%; top: 12%;
  width: 30vmin; height: 30vmin;
  transform: translateX(-50%) scale(calc(1 + var(--beat) * .16));
  border-radius: 50%;
  border: 1.6vmin solid transparent;
  background:
    conic-gradient(from 0deg, #f7e3c3, var(--gold), #8a5f36, var(--gold), #f7e3c3) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  filter: drop-shadow(0 0 18px rgba(212, 165, 116, .8)) drop-shadow(0 0 46px rgba(147, 51, 234, .5));
  animation: halo-drift 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-drift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -1.4vmin; }
}
.halo-pulse { animation: halo-pop .5s ease-out; }
@keyframes halo-pop {
  30% { filter: drop-shadow(0 0 40px rgba(212,165,116,1)) drop-shadow(0 0 90px rgba(147,51,234,.9)); }
}

.sparkle {
  position: absolute; color: var(--gold); pointer-events: none;
  font-size: clamp(.8rem, 2vmin, 1.4rem);
  animation: twinkle 2.6s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(212, 165, 116, .9);
}
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(20deg); }
}

/* giant title behind the prophet */
.hero-title {
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(3.4rem, 13.5vw, 13rem);
  line-height: .9; letter-spacing: .02em; white-space: nowrap;
  background: linear-gradient(180deg, #f7e3c3 8%, var(--gold) 45%, #7a5530 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 80px rgba(147, 51, 234, .45);
  pointer-events: none; z-index: 1;
}

/* orbiting relics */
.orbit {
  position: absolute; left: 50%; top: 44%; width: 0; height: 0;
  z-index: 4; pointer-events: none;
  animation: spin var(--orbit-t, 30s) linear infinite;
}
.orbit .o {
  position: absolute; top: 0; left: 0;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.orbit .o img {
  width: var(--s, 56px); height: auto; display: block;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px rgba(212, 165, 116, .55));
  animation: spin-rev var(--orbit-t, 30s) linear infinite;
}
.orbit .o .smooth { image-rendering: auto; }
.orbit .o .round { aspect-ratio: 1; }
.orbit2 { animation-name: spin-rev; }
.orbit2 .o img { animation-name: spin; }

.prophet {
  position: relative; z-index: 3;
  height: min(74svh, 92vw);
  max-width: 96vw; object-fit: contain;
  filter:
    drop-shadow(0 0 34px rgba(212, 165, 116, .55))
    drop-shadow(0 0 90px rgba(147, 51, 234, .45))
    drop-shadow(0 24px 40px rgba(0, 0, 0, .6));
  cursor: pointer;
  transition: filter .3s ease;
  will-change: transform;
}
.prophet:hover {
  filter:
    drop-shadow(0 0 50px rgba(212, 165, 116, .85))
    drop-shadow(0 0 130px rgba(147, 51, 234, .7))
    drop-shadow(0 24px 40px rgba(0, 0, 0, .6));
}

.hero-copy { position: relative; z-index: 5; text-align: center; padding: 0 16px 26px; }
.hero-sub {
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: .42em; text-indent: .42em; text-transform: uppercase;
  color: var(--gold); font-size: clamp(.8rem, 2.2vw, 1.25rem);
}
.hero-sub2 {
  margin-top: 8px; color: var(--sand); font-size: clamp(.66rem, 1.6vw, .85rem);
  letter-spacing: .18em; text-transform: uppercase; opacity: .8;
}
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.chip {
  font-family: var(--font-body); font-weight: 800; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  background: var(--pit); color: var(--sand);
  border: 1px solid rgba(212, 165, 116, .4);
  transition: transform .15s, border-color .2s, color .2s;
  cursor: default;
}
.chip:hover { transform: translateY(-3px) rotate(-2deg); border-color: var(--purple); color: var(--royal); }

.scroll-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  z-index: 6; color: var(--slate); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; animation: hint-bob 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hint-bob { 50% { transform: translateX(-50%) translateY(6px); } }

/* click-burst particles */
.burst {
  position: fixed; z-index: 65; pointer-events: none;
  font-size: 26px; will-change: transform, opacity;
  animation: burst-fly .9s cubic-bezier(.2, .6, .3, 1) forwards;
}
@keyframes burst-fly {
  to {
    transform: translate(var(--bx), var(--by)) rotate(var(--br)) scale(.4);
    opacity: 0;
  }
}

/* ============================================================
   SECTIONS SHARED
   ============================================================ */
section { position: relative; }
.section-head { text-align: center; padding: 90px 20px 30px; }
.section-head h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.7rem, 5vw, 3.4rem); letter-spacing: .06em;
  background: linear-gradient(180deg, #f0d9b8, var(--gold) 60%, #9a6f42);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head .rune { color: var(--purple); font-size: 1.2em; -webkit-text-fill-color: var(--purple); }
.section-head p {
  margin-top: 12px; color: var(--sand); letter-spacing: .05em;
  max-width: 640px; margin-left: auto; margin-right: auto; font-size: .95rem;
}
.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 16px auto 0; color: var(--gold); opacity: .85;
}
.divider::before, .divider::after {
  content: ''; height: 1px; width: min(180px, 26vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ============================================================
   THE GOSPELS
   ============================================================ */
/* translucent so the swirling rain ghosts behind the relics */
#gospels { background: rgba(26, 26, 26, .84); border-top: 1px solid rgba(212, 165, 116, .2); }
.gospel-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px; padding: 30px clamp(16px, 5vw, 70px) 100px;
  max-width: 1500px; margin: 0 auto;
}
.gospel-card {
  position: relative; background: var(--charcoal);
  border: 1px solid rgba(212, 165, 116, .28); border-radius: 16px;
  overflow: hidden; cursor: pointer;
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .25s, box-shadow .25s;
}
.gospel-card:hover {
  border-color: var(--purple);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(147, 51, 234, .25);
}
.g-img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pit); }
.g-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease, filter .4s ease;
}
.gospel-card:hover .g-img { transform: scale(1.06); filter: saturate(1.25); }
.g-num {
  position: absolute; top: 8px; right: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 900;
  font-size: 3.2rem; color: rgba(212, 165, 116, .35);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
  transition: color .3s;
  pointer-events: none;
}
.gospel-card:hover .g-num { color: var(--royal); }
.g-body { padding: 18px 20px 22px; }
.g-body h3 {
  font-family: var(--font-head); font-weight: 700; color: var(--gold);
  font-size: 1.02rem; letter-spacing: .1em; margin-bottom: 8px;
}
.g-body p { color: var(--sand); font-size: .86rem; line-height: 1.55; }

.heavy-btn {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(26, 26, 26, .82); backdrop-filter: blur(3px);
  border: none; cursor: pointer; color: var(--spring);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  font-size: .95rem; text-transform: uppercase; padding: 12px;
}
.heavy-btn .mb { color: var(--blood); background: rgba(139,0,0,.14); border: 1px solid var(--blood);
  padding: 4px 12px; border-radius: 999px; font-size: .72rem; letter-spacing: .18em; }
.heavy-btn:hover { color: var(--royal); }
.heavy-btn small { font-family: var(--font-body); font-size: .66rem; color: var(--slate);
  letter-spacing: .1em; text-transform: none; }

/* ============================================================
   THE HOLY BALL PIT
   ============================================================ */
#pit-section {
  min-height: 100svh; display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 80% 45% at 50% 115%, rgba(147, 51, 234, .28), transparent 65%),
    rgba(45, 52, 54, .86);
  border-top: 1px solid rgba(212, 165, 116, .2);
  overflow: hidden;
}
.pit-header { position: relative; z-index: 3; pointer-events: none; }
.pit-header .section-head { padding-bottom: 12px; }
#offerings {
  font-family: var(--font-head); font-weight: 900; color: var(--gold);
  font-size: clamp(1rem, 2.6vw, 1.6rem); letter-spacing: .18em;
  margin-top: 10px; display: block;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(212, 165, 116, .45);
}
.pit-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px; pointer-events: auto;
}
.pit-btn {
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--terra); color: var(--spring);
  border: none; border-radius: 10px; padding: 13px 22px; cursor: pointer;
  transition: background .2s, transform .12s;
}
.pit-btn:hover { background: var(--purple); transform: translateY(-2px); }
.pit-btn:active { transform: scale(.95); }
.pit-btn.ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.pit-btn.ghost:hover { border-color: var(--purple); color: var(--royal); background: rgba(147,51,234,.12); }

#pit-stage {
  position: relative; flex: 1; min-height: 52svh; z-index: 2;
  cursor: grab; touch-action: pan-y;
}
#pit-stage.grabbing { cursor: grabbing; }
#pit-stage::after {
  content: 'THE PIT ACCEPTS ALL OFFERINGS'; position: absolute;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  color: rgba(232, 223, 212, .18); font-family: var(--font-head);
  letter-spacing: .4em; font-size: .7rem; pointer-events: none; white-space: nowrap;
}
.ball {
  position: absolute; top: 0; left: 0; will-change: transform;
  pointer-events: none; image-rendering: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.ball.pixelated { image-rendering: pixelated; }
.ball.out { transition: opacity .4s, scale .4s; opacity: 0; scale: .3; }
.ripple {
  position: absolute; border: 2px solid var(--royal); border-radius: 50%;
  pointer-events: none; z-index: 3;
  animation: rip 0.55s ease-out forwards;
  box-shadow: 0 0 30px rgba(147, 51, 234, .5), inset 0 0 20px rgba(147, 51, 234, .3);
}
@keyframes rip {
  from { opacity: 1; transform: translate(-50%, -50%) scale(.1); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: rgba(26, 26, 26, .84); border-top: 1px solid rgba(212, 165, 116, .25);
  text-align: center; padding: 80px 20px 120px; position: relative; z-index: 2;
}
footer h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.6rem, 4.6vw, 3rem); letter-spacing: .08em;
  color: var(--gold);
}
footer .foot-sub { color: var(--sand); margin-top: 10px; letter-spacing: .08em; }
.twitch-btn {
  display: inline-block; margin-top: 28px; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--spring); background: var(--purple);
  padding: 18px 34px; border-radius: 12px;
  box-shadow: 0 10px 34px rgba(147, 51, 234, .4);
  transition: background .25s, transform .15s;
}
.twitch-btn:hover { background: var(--terra); transform: translateY(-3px) rotate(-1deg); }
.foot-gnome { width: 84px; margin-top: 44px; border-radius: 10px; opacity: .85;
  transition: transform .3s; }
.foot-gnome:hover { transform: rotate(360deg) scale(1.2); }

/* the congregation of dancing burgers */
.conga { display: flex; justify-content: center; gap: 10px; margin-top: 46px; flex-wrap: wrap; }
.conga-item { animation: conga-bob 1.15s ease-in-out infinite; animation-delay: var(--d, 0s); }
.conga-item img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5));
  transition: transform .2s ease;
}
.conga-item:hover img { transform: scale(1.4) rotate(14deg); filter: drop-shadow(0 0 22px rgba(147, 51, 234, .8)); }
@keyframes conga-bob { 50% { transform: translateY(-15px); } }
.conga-label {
  margin-top: 14px; color: var(--slate); font-family: var(--font-head);
  font-size: .68rem; letter-spacing: .34em; text-transform: uppercase;
}
.disclaimer {
  margin-top: 30px; color: var(--slate); font-size: .72rem;
  letter-spacing: .06em; line-height: 1.9; max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.disclaimer a { color: var(--gold); }
.credits-line { margin-top: 18px; color: rgba(107, 123, 138, .7); font-size: .66rem; letter-spacing: .05em; }
.hint-b { color: var(--moss); }

/* ============================================================
   NOW PLAYING (Cathedral Radio)
   ============================================================ */
#now-playing {
  position: fixed; left: 16px; bottom: 16px; z-index: 55;
  display: flex; align-items: center; gap: 10px;
  background: rgba(26, 26, 26, .92); backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 165, 116, .45); border-radius: 999px;
  padding: 8px 12px 8px 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(80px); transition: opacity .6s, transform .6s;
  max-width: calc(100vw - 32px);
}
#now-playing.show { opacity: 1; transform: translateY(0); }
#npDisc {
  width: 38px; height: 38px; image-rendering: pixelated;
  animation: spin 2.6s linear infinite;
  transform: scale(calc(1 + var(--beat) * .3));
  border-radius: 50%; background: rgba(147, 51, 234, .18); padding: 3px;
}
#now-playing.muted #npDisc { animation-play-state: paused; }
.np-label { display: flex; flex-direction: column; overflow: hidden; width: clamp(120px, 30vw, 230px); }
.np-tag {
  font-size: .56rem; letter-spacing: .22em; color: var(--purple);
  text-transform: uppercase; font-weight: 800;
}
#npName {
  white-space: nowrap; color: var(--sand); font-size: .78rem; font-weight: 600;
}
#npName span { display: inline-block; padding-right: 40px; animation: np-marquee 11s linear infinite; }
@keyframes np-marquee { to { transform: translateX(-50%); } }
.np-btn {
  background: none; border: 1px solid rgba(212, 165, 116, .4); color: var(--gold);
  border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: .95rem;
  display: grid; place-items: center; transition: border-color .2s, color .2s, transform .12s;
  flex-shrink: 0;
}
.np-btn:hover { border-color: var(--purple); color: var(--royal); transform: scale(1.1); }

/* ============================================================
   TOASTS / BLESSINGS
   ============================================================ */
#toasts {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none; width: max-content; max-width: 92vw;
}
.toast {
  background: var(--pit); border: 1px solid var(--gold); color: var(--spring);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .08em;
  font-size: .85rem; padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .55), 0 0 24px rgba(212, 165, 116, .25);
  animation: toast-in 3.6s ease forwards; text-align: center; max-width: 92vw;
}
.toast.purple { border-color: var(--purple); box-shadow: 0 10px 40px rgba(0,0,0,.55), 0 0 24px rgba(147,51,234,.4); }
@keyframes toast-in {
  0% { opacity: 0; transform: translateY(24px) scale(.9); }
  8%, 82% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-18px) scale(.94); }
}
.bless {
  position: fixed; z-index: 66; pointer-events: none;
  font-family: var(--font-head); font-weight: 700; color: var(--gold);
  font-size: 1rem; letter-spacing: .06em; white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .8), 0 0 18px rgba(212, 165, 116, .6);
  animation: bless-rise 2.2s ease-out forwards;
}
@keyframes bless-rise {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -110px) scale(1.06); }
}

/* ============================================================
   LIGHTBOX (Reliquary viewer)
   ============================================================ */
#lightbox {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(26, 26, 26, .95); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; padding: 4vh 4vw; text-align: center;
}
#lightbox.open { display: flex; animation: lb-in .3s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lb-img {
  max-width: 92vw; max-height: 72vh; object-fit: contain;
  border: 2px solid rgba(212, 165, 116, .5); border-radius: 12px;
  box-shadow: 0 0 80px rgba(147, 51, 234, .35), 0 30px 80px rgba(0, 0, 0, .7);
}
.lb-title {
  font-family: var(--font-head); color: var(--gold); font-weight: 700;
  letter-spacing: .14em; margin-top: 22px; font-size: 1.1rem;
}
.lb-cap { color: var(--sand); margin-top: 8px; max-width: 640px; font-size: .9rem; line-height: 1.6; }
.lb-close {
  position: absolute; top: 46px; right: 22px;
  background: none; border: 1px solid var(--gold); color: var(--gold);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  transition: all .2s;
}
.lb-close:hover { border-color: var(--purple); color: var(--royal); transform: rotate(90deg); }

/* ============================================================
   FLASH + SHAKE + TRAIL
   ============================================================ */
#flash {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background: radial-gradient(circle, rgba(247, 227, 195, .95), rgba(212, 165, 116, .6));
  opacity: 0; transition: opacity .5s ease-out;
}
#flash.on { opacity: .75; transition: none; }
body.shake { animation: quake .45s ease-out; }
@keyframes quake {
  10% { transform: translate(-7px, 4px) rotate(-.4deg); }
  30% { transform: translate(6px, -6px) rotate(.4deg); }
  50% { transform: translate(-5px, 5px) rotate(-.3deg); }
  70% { transform: translate(4px, -3px) rotate(.2deg); }
  90% { transform: translate(-2px, 2px); }
}
.trail {
  position: fixed; z-index: 58; pointer-events: none; font-size: 13px;
  animation: trail-fade .8s ease-out forwards; will-change: transform, opacity;
}
@keyframes trail-fade {
  to { opacity: 0; transform: translateY(16px) scale(.4) rotate(50deg); }
}

/* ============================================================
   RESPONSIVE + MOTION
   ============================================================ */
@media (max-width: 640px) {
  .g-num { font-size: 2.2rem; }
  .lb-close { top: 44px; right: 12px; }
  #now-playing { left: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .rays, .rays2, .orbit, .orbit .o img, #npDisc, .ticker-track { animation: none !important; }
  .raindrop { display: none; }
  html { scroll-behavior: auto; }
}
