:root {
  --bg: #120d0e;
  --surface: #1c1517;
  --text: #f4ecea;
  --muted: #b3a6a4;
  --neon: #ff2a3d;
  --neon-hot: #ff0019;
  --line: #3a2d2f;
  --head: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }

/* Header */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 0;
}
.site-footer::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--line);
}
.brand { display: inline-flex; flex-direction: column; align-items: center; }
/* Head width follows the name: always 75% of it */
.head { display: block; width: 0; min-width: 75%; height: auto; margin-top: 14px; }
.site-footer::before { margin: 0 auto 18px; }
.wordmark {
  font-family: var(--head);
  font-size: 1.725rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

main { padding: 0 clamp(20px, 5vw, 56px) 48px; }
.section { max-width: 760px; margin: 0 auto; padding-top: 44px; text-align: center; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: 0.03em; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 24px; }
.section h2 { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Neon sign */
.neon-wrap { display: flex; justify-content: center; padding-top: 32px; }
.neon-sign {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8.5px;
  background: #160405;
  border: 2px solid var(--neon);
  box-shadow: 0 0 5px var(--neon), 0 0 16px rgba(255,42,61,.7), inset 0 0 18px rgba(255,42,61,.45);
  text-decoration: none;
  transition: transform .15s ease;
}
.neon-sign:hover { transform: scale(1.04); }
.neon-sign:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.neon-text {
  display: block;
  font-family: "Tilt Neon", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(1.275rem, 4.25vw, 2.34rem);
  line-height: 1;
  letter-spacing: .06em;
  color: #ffe3e6;
  text-shadow: 0 0 4px #fff, 0 0 10px var(--neon), 0 0 22px var(--neon), 0 0 44px var(--neon), 0 0 80px var(--neon-hot);
  animation: flicker 4s infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 4px #fff, 0 0 10px var(--neon), 0 0 22px var(--neon), 0 0 44px var(--neon), 0 0 80px var(--neon-hot);
  }
  20%, 24%, 55% { opacity: .55; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .neon-text { animation: none; } }

/* Link lists */
#follow-h { margin-bottom: 6px; }
.handle { margin: 0 0 24px; color: var(--muted); font-size: 1.1rem; font-weight: 500; letter-spacing: .02em; }
.link-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.link-row .icon {
  width: 40px; height: 40px; flex: none;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.icon-instagram { --icon: url(/icons/instagram.svg); }
.icon-x { --icon: url(/icons/x.svg); }
.link-row .icon-x { width: 34px; }
/* Brand colors */
.link-row .icon-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.link-row .icon-x { background: #fff; }
.link-row .icon-youtube { background: #ff0000; }
.link-row .icon-spotify { background: #1ed760; }
.link-row a.soc-youtube { background: radial-gradient(circle at 51% 50%, #fff 0 8px, transparent 9px); }
.link-row a.soc-spotify { background: radial-gradient(circle, #000 0 17px, transparent 18px); }
.icon-youtube { --icon: url(/icons/youtube.svg); }
.icon-spotify { --icon: url(/icons/spotify.svg); }
.link-row a:hover, .link-row a:focus-visible {
  border-color: var(--neon);
  color: #ffe3e6;
  box-shadow: 0 0 10px rgba(255,42,61,.55), inset 0 0 8px rgba(255,42,61,.25);
  outline: none;
}
.link-row a:hover .icon, .link-row a:focus-visible .icon { filter: drop-shadow(0 0 4px var(--neon)); }
.biz-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: min(100%, 312px); }
.biz-grid a { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s ease, transform .15s ease; }
.biz-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.biz-grid a:hover, .biz-grid a:focus-visible { outline: none; transform: scale(1.03); box-shadow: 0 0 0 2px var(--neon), 0 0 18px rgba(255,42,61,.55); }

/* Newsletter */
.newsletter p { color: var(--muted); margin: 0 0 20px; }
.signup { display: flex; gap: 8px; width: min(100%, 312px); margin: 0 auto; }
.signup input[type=email] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.signup button {
  flex: none;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--neon);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.signup button:hover { background: var(--neon-hot); }
.hidden { position: absolute; left: -9999px; }
.signup[hidden] { display: none; }
.signup-msg { margin: 12px 0 0; min-height: 1.4em; color: var(--muted); }

/* Live page */
.live-main { max-width: 1280px; margin: 0 auto; padding-top: 48px; }
.live-head { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.live-head h1.on-air { margin: 0; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 400; letter-spacing: .06em; line-height: 1.2; padding: 4px 18px; }
.on-air {
  font-family: "Tilt Neon", Arial, sans-serif;
  color: #ffe3e6;
  padding: 2px 12px;
  border: 2px solid var(--neon);
  border-radius: 8px;
  text-shadow: 0 0 6px var(--neon), 0 0 14px var(--neon);
  box-shadow: 0 0 10px rgba(255,42,61,.6);
}
.schedule { color: var(--muted); margin: 16px 0 22px; text-align: center; }
.player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.past { margin-top: 64px; }
.past h2 { text-align: left; }
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.past-item button { all: unset; cursor: pointer; display: block; width: 100%; }
.past-item button:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.thumb { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: translate(-35%, -50%);
  border-left: 24px solid rgba(255,255,255,.9);
  border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.past-item h3 { margin: 10px 0 0; font-size: 1.2rem; }
.past-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.empty { color: var(--muted); }

.site-footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 32px 20px; }

/* Player + chat */
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .stage { grid-template-columns: 1fr; } }
.stage { align-items: stretch; }
.chat {
  display: flex; flex-direction: column;
  height: 420px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}
@media (min-width: 901px) { .chat { height: 0; min-height: 100%; } }
.chat-log { min-height: 0; }
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-top h2 { margin: 0; font-size: 1.3rem; text-align: left; }
.chat-mod { font-size: .8rem; color: var(--neon); }
.chat-log { list-style: none; margin: 0; padding: 12px 16px; flex: 1; overflow-y: auto; font-size: .95rem; line-height: 1.45; }
.chat-log li { padding: 4px 0; overflow-wrap: anywhere; }
.chat-log strong { color: #ff8a95; font-weight: 600; }
.chat-empty { color: var(--muted); }
.chat-tools { margin-left: 8px; white-space: nowrap; }
.chat-tools button { font: inherit; font-size: .75rem; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; margin-left: 4px; cursor: pointer; }
.chat-tools button:hover { color: var(--text); border-color: var(--text); }
.chat-form { padding: 12px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.chat-form input {
  width: 100%; padding: 9px 12px; font: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
}
.chat-send { display: flex; gap: 8px; }
.chat-send button { padding: 0 16px; font: inherit; font-weight: 600; color: #fff; background: var(--neon); border: 0; border-radius: 6px; cursor: pointer; }
.chat-send button:hover { background: var(--neon-hot); }
.chat-error { margin: 0; min-height: 1.2em; font-size: .85rem; color: #ff8a95; }
.chat-closed { flex: 1; display: grid; place-items: center; margin: 0; padding: 20px; color: var(--muted); text-align: center; }
.chat-closed[hidden], .chat-log[hidden], .chat-form[hidden] { display: none; }
.watching { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--text); font-weight: 500; }
.watching[hidden] { display: none; }
.watch-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
@media (max-width: 420px) {
  .link-row { gap: 10px; }
  .link-row a { width: 70px; height: 70px; }
}

/* Go-live alert signup (shown in the player when offline) */
.alert-box { width: min(100%, 360px); }
.alert-title { margin: 0 0 14px; font-family: var(--head); font-weight: 600; font-size: clamp(1rem, 4vw, 1.45rem); line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.alert-form { display: flex; gap: 8px; }
.alert-form[hidden] { display: none; }
.alert-form input[type=email] { flex: 1 1 auto; min-width: 0; padding: 11px 14px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.alert-form button { flex: none; padding: 11px 16px; font: inherit; font-weight: 600; color: #fff; background: var(--neon); border: 0; border-radius: 6px; cursor: pointer; }
.alert-form button:hover { background: var(--neon-hot); }
.alert-msg { margin: 10px 0 0; min-height: 1.3em; font-size: .9rem; color: var(--muted); }
.player .placeholder { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 16px; }
.alert-box { width: 100%; max-width: 440px; }
