/*
 * Coms's skin: loaded after everything else, on this artist's site only. The
 * hero is a tank of UV liquid, so the rest of the page is the room it sits
 * in under a blacklight: platinum headings with a cyan cast, a slow wash of
 * violet and pink drifting behind the sections, striped tape round the
 * ticker, pill buttons like the hero's. The neutrals (platinum text on near
 * black) stay, so it reads as the same family as the other sites.
 */

/* The UV wash: two blurred pools of colour, drifting slowly behind the whole page. */
.ambient-haze {
  opacity: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 35% at 15% 10%, color-mix(in srgb, var(--br-teal) 7%, transparent), transparent),
    radial-gradient(ellipse 45% 40% at 85% 85%, color-mix(in srgb, var(--br-gold) 6%, transparent), transparent);
}
.ambient-haze::before,
.ambient-haze::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
  will-change: transform;
}
.ambient-haze::before {
  left: -20vmax;
  top: 10vh;
  background: radial-gradient(circle, var(--br-amber), transparent 65%);
  animation: coms-drift-a 38s ease-in-out infinite alternate;
}
.ambient-haze::after {
  right: -25vmax;
  top: 40vh;
  background: radial-gradient(circle, var(--br-teal), transparent 65%);
  animation: coms-drift-b 47s ease-in-out infinite alternate;
}
@keyframes coms-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30vw, 25vh) scale(1.25); }
}
@keyframes coms-drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-35vw, -20vh) scale(0.9); }
}

/* Section order: the crowd's things first. The list sits right under the track; dates and the booking line come after. */
main > [data-section="hero"] { order: 0; }
main > [data-section="next-gig"] { order: 1; }
main > [data-section="ticker"] { order: 2; }
main > [data-section="track"] { order: 3; }
main > [data-section="list"] { order: 4; }
main > [data-section="dates"] { order: 5; }
main > [data-section="cta"] { order: 6; }

/* Headings in platinum with a cyan cast behind them, like white under a blacklight. */
.theme-bigroom h2 {
  color: var(--br-platinum);
  text-shadow:
    0 0 18px color-mix(in srgb, var(--br-red) 40%, transparent),
    0 0 60px color-mix(in srgb, var(--br-red) 16%, transparent);
  letter-spacing: 0.01em;
}

/* The ticker as tape: cyan and black stripes above and below, the words in cyan. */
main > [data-section="ticker"] {
  position: relative;
  border: 0;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  background: #000;
}
main > [data-section="ticker"]::before,
main > [data-section="ticker"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(-45deg, var(--br-red) 0 14px, #000 14px 28px);
}
main > [data-section="ticker"]::before { top: 0; }
main > [data-section="ticker"]::after { bottom: 0; }
main > [data-section="ticker"] .marquee-track {
  color: var(--br-red);
  font-weight: 700;
}

/* Rules and the // marks in the hero's colours. */
.beam-line {
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--br-red) 80%, transparent) 20%,
    color-mix(in srgb, var(--br-gold) 80%, transparent) 50%,
    color-mix(in srgb, var(--br-teal) 80%, transparent) 80%,
    transparent 100%
  );
  box-shadow: 0 0 14px color-mix(in srgb, var(--br-gold) 30%, transparent);
}
.beam-text {
  background: linear-gradient(92deg, var(--br-red) 0%, var(--br-gold) 50%, var(--br-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Panels with a UV edge: the player frame and the header bar. */
.glass-panel {
  border-color: color-mix(in srgb, var(--br-gold) 30%, transparent);
  box-shadow: 0 0 50px color-mix(in srgb, var(--br-amber) 18%, transparent);
}

/* Every section sits in its own pool of light. */
main > [data-section="track"] {
  background: radial-gradient(ellipse 60% 70% at 50% 60%, color-mix(in srgb, var(--br-amber) 9%, transparent), transparent);
}
main > [data-section="dates"] {
  background: radial-gradient(ellipse 50% 60% at 10% 40%, color-mix(in srgb, var(--br-teal) 7%, transparent), transparent);
}
main > [data-section="list"] {
  background: radial-gradient(ellipse 55% 70% at 50% 50%, color-mix(in srgb, var(--br-gold) 8%, transparent), transparent);
}
main > [data-section="cta"] {
  background: radial-gradient(ellipse 60% 60% at 50% 30%, color-mix(in srgb, var(--br-red) 6%, transparent), transparent);
}

/* Buttons are pills, the primary one cyan, like the hero's. */
.theme-bigroom .light-sweep {
  border-radius: 999px;
}
.theme-bigroom .light-sweep.bg-br-platinum {
  background: var(--br-red);
  color: #000;
  box-shadow: 0 0 28px color-mix(in srgb, var(--br-red) 45%, transparent);
}
.theme-bigroom .light-sweep.bg-br-platinum:hover {
  background: var(--br-platinum);
  color: #000;
}
.theme-bigroom input:focus-visible,
.theme-bigroom textarea:focus-visible,
.theme-bigroom select:focus-visible {
  outline: 2px solid var(--br-red);
  outline-offset: 2px;
}

::selection {
  background: var(--br-red);
  color: #000;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-haze::before,
  .ambient-haze::after {
    animation: none;
  }
}
