@font-face {
  font-family: 'Scriptin';
  src: url('assets/scriptin.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #03040b;
  --panel: rgba(8, 11, 27, 0.76);
  --panel-strong: rgba(5, 7, 18, 0.94);
  --text: #f6f5fb;
  --muted: #aaa8b7;
  --pink: #ff2f91;
  --pink-soft: #ff78bd;
  --cyan: #20d9ff;
  --gold: #ffc277;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 38%, rgba(93, 0, 63, 0.34), transparent 34%),
    radial-gradient(circle at 84% 30%, rgba(0, 94, 133, 0.32), transparent 34%),
    linear-gradient(180deg, #02030a 0%, #040614 46%, #02030a 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.backdrop {
  position: fixed;
  inset: -40px;
  z-index: -5;
  background: url("assets/backdrop.webp") center 20% / cover no-repeat;
  filter: saturate(1.12) blur(9px);
  opacity: 0.16;
  transform: scale(1.1);
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 3, 10, 0.92), rgba(3, 4, 12, 0.8) 25%, rgba(3, 4, 12, 0.82) 72%, #02030a),
    repeating-linear-gradient(90deg, rgba(255,255,255,.01) 0 1px, transparent 1px 6px);
}
.skyline-overlay {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background: url("assets/nyc-skyline-bg.png") center top / cover no-repeat;
  opacity: .14;
  filter: saturate(1.25) contrast(1.05);
  mix-blend-mode: screen;
}
.skyline-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,3,10,.84) 0%, rgba(3,4,12,.52) 30%, rgba(3,4,12,.7) 55%, rgba(2,3,10,.94) 100%);
}
.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
  z-index: -2;
  pointer-events: none;
}
.ambient-left { left: -14rem; top: 16rem; background: var(--pink); }
.ambient-right { right: -14rem; top: 10rem; background: var(--cyan); }

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
}
.hero {
  text-align: center;
  padding-top: 10px;
}
.live-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .48em;
}
.hero h1 {
  margin: 0;
  font-family: 'Scriptin', 'Brush Script MT', 'Segoe Script', cursive;
  font-size: clamp(4.6rem, 12vw, 8.3rem);
  line-height: .9;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 26px rgba(255,255,255,.12), 0 0 24px rgba(255, 47, 145, .35);
}
.event-window {
  margin: 14px auto 24px;
  font-size: clamp(.95rem, 3vw, 1.42rem);
  font-weight: 800;
  letter-spacing: .09em;
  color: #ff94c8;
}
.event-window span { color: #fff; padding: 0 .4em; }
.countdown-wrap {
  width: min(780px, 100%);
  margin: 0 auto 28px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(255, 68, 158, .42);
  background: linear-gradient(180deg, rgba(11, 12, 33, .82), rgba(4, 5, 17, .83));
  box-shadow: 0 0 38px rgba(255, 31, 141, .08), inset 0 1px 0 rgba(255,255,255,.07);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}
.countdown-status {
  margin: 0 0 8px;
  font-size: .7rem;
  letter-spacing: .34em;
  color: #d4cfdb;
}
.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
}
.countdown-cell { display: grid; gap: 3px; }
.countdown-cell strong {
  color: #fff;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(255, 47, 145, .38);
}
.countdown-cell span {
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.countdown-separator { color: var(--pink); font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 300; }

.broadcast-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin: 2px auto 4px;
  min-height: 340px;
}
.tv-glow {
  position: absolute;
  width: min(660px, 74vw);
  aspect-ratio: 1.5;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 35, 142, .22), rgba(31, 207, 255, .12) 45%, transparent 72%);
  filter: blur(28px);
}
.retro-tv { position: relative; width: min(520px, 90vw); z-index: 1; }
.tv-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 14px;
  padding: 16px;
  border-radius: 34px 34px 24px 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), transparent 22%),
    linear-gradient(160deg, #41271f 0%, #181112 42%, #050508 82%);
  border: 2px solid rgba(255, 190, 146, .35);
  box-shadow:
    inset 0 0 0 6px rgba(0,0,0,.38),
    inset 0 0 30px rgba(0,0,0,.7),
    0 22px 48px rgba(0,0,0,.64),
    0 0 24px rgba(255, 47, 145, .12);
}
.tv-screen-shell {
  padding: 10px;
  border-radius: 34px;
  background: #050505;
  box-shadow: inset 0 0 0 5px #100b0b, inset 0 0 18px #000, 0 0 0 2px rgba(255,255,255,.08);
}
.tv-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 28px / 18px;
  background: #111;
  isolation: isolate;
}
.tv-screen iframe { width: 100%; height: 100%; border: 0; position: relative; z-index: 4; }
#static-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; image-rendering: pixelated; }
.screen-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse, transparent 50%, rgba(0,0,0,.78) 100%);
  box-shadow: inset 0 0 70px #000;
  pointer-events: none;
}
.scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .34;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
  animation: scanShift .15s linear infinite;
}
@keyframes scanShift { to { transform: translateY(3px); } }
.screen-message {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;
  padding: 20px;
  text-align: center;
  text-shadow: 0 2px 12px #000;
}
.screen-message strong { font-size: clamp(1rem, 3vw, 1.7rem); letter-spacing: .18em; }
.screen-message > span:last-child { margin-top: 10px; color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .14em; }
.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff2759;
  box-shadow: 0 0 15px currentColor;
  margin-bottom: 14px;
  animation: blink 1.3s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .25; } }
.tv-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 4px; }
.dial {
  position: relative;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #3f3736, #090909 67%);
  border: 3px solid #120d0d;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.08), 0 8px 17px rgba(0,0,0,.5);
}
.dial.small { width: 44px; }
.dial span { position: absolute; width: 3px; height: 33%; background: #d3b7a5; left: 50%; top: 13%; transform-origin: 50% 110%; transform: rotate(38deg); }
.speaker-grill {
  flex: 1;
  min-height: 76px;
  width: 76%;
  background: repeating-linear-gradient(0deg, #0a0808 0 5px, #291c1c 5px 7px);
  border-radius: 6px;
  box-shadow: inset 0 0 18px #000;
}
.power-light { width: 9px; height: 9px; border-radius: 50%; background: #ff364f; box-shadow: 0 0 12px #ff364f; }
.tv-base {
  width: 74%;
  height: 18px;
  margin: -1px auto 0;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(#1a1010, #050505);
  box-shadow: 0 14px 22px rgba(0,0,0,.64);
}

.platform-section { text-align: center; margin-top: 8px; }
.platform-section h2, .section-rule h2 {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .42em;
  color: #d9d4df;
}
.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 550px;
  margin: 12px auto 8px;
}
.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.platform:hover, .platform:focus-visible { transform: translateY(-3px); outline: none; }
.platform[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }
.platform-icon { display: grid; place-items: center; width: 28px; height: 28px; }
.platform-icon svg { width: 100%; height: 100%; }
.platform small { display: block; color: var(--muted); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; }
.platform strong { display: block; font-size: .92rem; letter-spacing: .04em; }
.platform.twitch { color: #ad79ff; }
.platform.youtube { color: #ff4454; }
.platform.facebook { color: #4c92ff; }
.platform-note { margin: 0; color: var(--muted); font-size: .78rem; }

.section-rule { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.section-rule span { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 54, 147, .65)); }
.section-rule span:last-child { background: linear-gradient(90deg, rgba(255, 54, 147, .65), transparent); }

.feature-section,
.world-clocks { margin-top: 34px; }
.feature-grid {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}
.flyer-card,
.info-card {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 13, 31, .84), rgba(5, 8, 22, .82));
  box-shadow: var(--shadow);
}
.flyer-image {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.info-card { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 14px; }
.artists h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .38em;
  color: #d9d4df;
}
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin: 0 auto 20px;
}
.artist-grid article { padding: 4px 18px; border-right: 1px solid rgba(255, 47, 145, .28); text-align: center; }
.artist-grid article:last-child { border-right: 0; }
.artist-grid h4 {
  margin: 0;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  line-height: .98;
  letter-spacing: .025em;
  font-weight: 800;
}
.artist-grid p {
  margin: 12px 0 0;
  color: var(--pink-soft);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.music-description {
  max-width: 920px;
  margin: 25px auto 0;
  color: #dedbe4;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  text-align: center;
}
.utility-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}
.utility-bar button, .utility-bar a {
  min-width: 160px;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 12, 26, .72);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.utility-bar button:hover, .utility-bar a:hover { border-color: var(--pink); background: rgba(255,47,145,.1); }

.clock-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(5, 8, 23, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.clock {
  min-width: 0;
  padding: 18px 8px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.clock:last-child { border-right: 0; }
.clock h3 { margin: 0 0 9px; font-size: .7rem; letter-spacing: .16em; }
.clock-time { color: var(--gold); font-size: clamp(1rem, 2.2vw, 1.45rem); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock-zone { margin-top: 6px; color: #8e8da0; font-size: .62rem; letter-spacing: .14em; }

footer {
  padding: 26px 0 8px;
  margin-top: 34px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: #8d8b99;
  font-size: .68rem;
  letter-spacing: .2em;
}
footer a { display: inline-block; margin-top: 7px; color: #fff; text-decoration: none; }
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  translate: -50% 18px;
  opacity: 0;
  z-index: 20;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: white;
  background: rgba(4,5,14,.9);
  box-shadow: var(--shadow);
  pointer-events: none;
  transition: opacity .2s ease, translate .2s ease;
}
.toast.show { opacity: 1; translate: -50% 0; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
  .flyer-card { max-width: 420px; margin: 0 auto; }
  .info-card { max-width: 820px; margin: 0 auto; }
}

@media (max-width: 880px) {
  .clock-grid { grid-template-columns: repeat(4, 1fr); }
  .clock:nth-child(4) { border-right: 0; }
  .clock:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 18px, 1180px); padding-top: 12px; }
  .event-window span { display: block; height: 4px; overflow: hidden; }
  .countdown-wrap { padding-inline: 8px; }
  .countdown-cell span { font-size: .52rem; letter-spacing: .08em; }
  .broadcast-stage { min-height: 300px; }
  .retro-tv { width: min(96vw, 520px); }
  .tv-body { grid-template-columns: 1fr 62px; padding: 12px; border-radius: 22px; }
  .tv-screen-shell { padding: 7px; border-radius: 24px; }
  .tv-screen { border-radius: 18px / 12px; }
  .tv-controls { gap: 10px; }
  .speaker-grill { min-height: 60px; }
  .platforms { grid-template-columns: 1fr; gap: 10px; max-width: 430px; }
  .platform { justify-content: flex-start; padding-left: 28px; min-height: 72px; }
  .artist-grid { grid-template-columns: 1fr; }
  .artist-grid article { border-right: 0; border-bottom: 1px solid rgba(255,47,145,.2); padding: 18px 10px; }
  .artist-grid article:last-child { border-bottom: 0; }
  .clock-grid { grid-template-columns: repeat(2, 1fr); }
  .clock, .clock:nth-child(4) { border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
  .clock:nth-child(even) { border-right: 0; }
  .clock:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .section-rule { gap: 10px; }
  .section-rule h2 { letter-spacing: .22em; font-size: .64rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
