*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --jazz-gold: #f5c842;
  --jazz-cream: #fdf6e3;
  --jazz-dark: #0a0a0a;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--jazz-dark);
}

/* ── Full-bleed background media ── */
.media-bg {
  position: fixed;
  inset: 0;
  background: #1a0a2e;
  z-index: 0;
}

.media-bg img,
.media-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Dark vignette overlay ── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 6, 20, 0.35) 0%,
    rgba(10, 6, 20, 0.70) 100%
  );
}

.overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.18;
  pointer-events: none;
}

/* ── Centre title ── */
.title-wrap {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem 140px;
  pointer-events: none;
  animation: fadeIn 1.4s ease both;
}

.site-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 12vw, 9rem);
  color: var(--jazz-gold);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 40px rgba(245, 200, 66, 0.6),
    0 4px 32px rgba(0,0,0,0.8);
  line-height: 1;
  text-align: center;
}

.site-subtitle {
  font-family: 'Special Elite', cursive;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  color: rgba(253, 246, 227, 0.75);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
}

/* ── "Enter the Jazz" gate ── */
.play-gate {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 6, 20, 0.82);
  backdrop-filter: blur(6px);
  transition: opacity 0.6s ease;
  border: 0;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
}

.play-gate.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: pulseIn 1s ease both;
}

.play-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--jazz-gold);
  color: var(--jazz-gold);
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(245, 200, 66, 0.3);
  padding-left: 6px;
}

.play-gate:hover .play-circle,
.play-gate:focus-visible .play-circle {
  background: rgba(245, 200, 66, 0.12);
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(245, 200, 66, 0.55);
}

.play-gate:focus-visible {
  outline: none;
}

.play-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--jazz-cream);
  letter-spacing: 0.2em;
}

/* ── Floating mute/unmute toggle (top-right) ── */
.audio-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 8;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 200, 66, 0.45);
  background: rgba(10, 6, 20, 0.7);
  backdrop-filter: blur(6px);
  color: var(--jazz-gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, background 0.2s, transform 0.2s;
}

.audio-toggle.visible {
  opacity: 1;
  pointer-events: auto;
}

.audio-toggle:hover {
  background: rgba(245, 200, 66, 0.18);
  transform: scale(1.08);
}

/* ── "Now Playing" pill (top-left, mirrors mute button) ── */
.now-playing {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 8;
  max-width: min(520px, calc(100vw - 5rem));
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(245, 200, 66, 0.45);
  background: rgba(10, 6, 20, 0.7);
  backdrop-filter: blur(6px);
  color: var(--jazz-cream);
  font-family: 'Special Elite', cursive;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.now-playing.visible {
  opacity: 1;
  pointer-events: auto;
}

.now-playing__icon {
  flex-shrink: 0;
  color: var(--jazz-gold);
  font-size: 0.95rem;
  animation: pulse 2s ease-in-out infinite;
}

.now-playing__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing a {
  color: var(--jazz-gold);
  text-decoration: none;
  border-bottom: 1px dotted rgba(245, 200, 66, 0.4);
}

.now-playing a:hover {
  border-bottom-color: var(--jazz-gold);
}

/* On narrow screens, stack pill below mute button so they don't collide */
@media (max-width: 600px) {
  .now-playing {
    top: auto;
    left: 1rem;
    right: 1rem;
    bottom: 90px; /* sits above the disclaimer */
    max-width: none;
  }
}

/* ── Shoelace disclaimer banner ── */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.disclaimer-bar sl-alert::part(base) {
  border-radius: 0;
  background: rgba(10, 6, 20, 0.92);
  border-top: 2px solid rgba(245, 200, 66, 0.35);
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 0.8rem 1.2rem;
  backdrop-filter: blur(8px);
}

.disclaimer-bar sl-alert::part(message) {
  font-family: 'Special Elite', cursive;
  font-size: 0.78rem;
  color: rgba(253, 246, 227, 0.65);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.disclaimer-bar sl-alert::part(close-button) {
  color: var(--jazz-gold);
}

.disclaimer-bar a {
  color: var(--jazz-gold);
  text-decoration: none;
  border-bottom: 1px dotted rgba(245, 200, 66, 0.4);
}

.disclaimer-bar a:hover {
  border-bottom-color: var(--jazz-gold);
}

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseIn {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .title-wrap, .play-inner, .now-playing__icon { animation: none; }
}

