/* ===================================================================
   Selena La Vixen — theme stylesheet
   Palette + type scale live in :root so this can be lifted into a
   WordPress theme.css later with minimal changes.
=================================================================== */

:root {
  /* palette (sampled from logo/art) */
  --bg: #0a0c0a;
  --bg-alt: #0f1210;
  --surface: #161a17;
  --surface-2: #1d221e;
  --border: #2a302a;

  --green: #8fe84a;
  --green-bright: #b6ff6b;
  --green-dim: #4c7a2e;
  --cyan: #4fd8e8;
  --grey: #8b968c;
  --grey-light: #c9d1c9;
  --white: #f2f6f2;

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;

  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--grey-light);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 .4em;
  letter-spacing: .02em;
}

.accent { color: var(--green); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .3em;
  font-size: .78rem;
  color: var(--cyan);
  margin: 0 0 .8em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
}

.section-head { max-width: 640px; margin-bottom: 3rem; }

section { position: relative; padding: 6.5rem 0; }

/* faint circuit grid backdrop across whole page */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143,232,74,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,232,74,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

/* ============ reveal-on-scroll ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn .icon, .btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn-primary {
  background: var(--green);
  color: #08130a;
  box-shadow: 0 0 0 rgba(143,232,74,0);
}
.btn-primary:hover {
  background: var(--green-bright);
  box-shadow: 0 0 28px rgba(143,232,74,.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--grey-light);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ============ header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .3s ease, background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10,12,10,.78);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { width: 42px; height: auto; filter: drop-shadow(0 0 10px rgba(143,232,74,.35)); }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-size: .62rem;
  color: var(--cyan);
  letter-spacing: .3em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}
.nav-link {
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grey-light);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--green);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--grey);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey);
}
.live-badge[data-live="true"] { border-color: rgba(232,74,74,.4); color: #ff8080; }
.live-badge[data-live="true"] .live-dot {
  background: #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}

/* ============ hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.hero-tagline {
  font-size: 1.3rem;
  color: var(--grey-light);
  min-height: 1.6em;
  font-weight: 600;
}
.hero-tagline .cursor {
  color: var(--green);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 2.2rem;
}

.social-row {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--grey-light);
  transition: all .25s ease;
}
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.social-row a:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 16px rgba(143,232,74,.35);
  transform: translateY(-3px);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  will-change: transform;
}
.hero-art img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.6));
}
.hero-art-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  background: radial-gradient(circle, rgba(143,232,74,.28) 0%, rgba(79,216,232,.12) 45%, transparent 72%);
  filter: blur(10px);
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--green);
  animation: cue-scroll 1.8s ease infinite;
}
@keyframes cue-scroll {
  0% { top: 6px; opacity: 1; }
  70% { opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

/* ============ about ============ */
.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-art img {
  width: 100%;
  border-radius: var(--radius);
}
.about-art-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(143,232,74,.35), 0 0 40px rgba(143,232,74,.12);
  pointer-events: none;
}
.about-copy p { color: var(--grey-light); }

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green);
  font-weight: 700;
}
.stat-label {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============ schedule ============ */
.schedule { background: var(--bg-alt); }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.schedule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.schedule-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-dim);
}
.schedule-card .day {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  text-transform: uppercase;
}
.schedule-card .time { color: var(--cyan); font-weight: 600; }
.schedule-card .tag {
  margin-top: .6rem;
  align-self: flex-start;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(143,232,74,.1);
  color: var(--green);
}
.schedule-card.is-next {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(143,232,74,.15);
}
.schedule-card .badge {
  position: absolute;
  top: -12px; right: 16px;
  background: var(--green);
  color: #08130a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.countdown {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.countdown-label {
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
}
.countdown-timer { display: flex; gap: .8rem; }
.countdown-timer div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .6rem 1rem;
  min-width: 64px;
  text-align: center;
}
.countdown-timer span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green);
}
.countdown-timer small {
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============ mixes ============ */
.mixes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.mix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.mix-card:hover { transform: translateY(-6px); border-color: var(--green-dim); }
.mix-thumb {
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 30% 30%, rgba(143,232,74,.25), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(79,216,232,.2), transparent 60%),
    var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mix-play {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(10,12,10,.5);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
}
.mix-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.mix-play:hover {
  background: var(--green);
  color: #08130a;
  box-shadow: 0 0 24px rgba(143,232,74,.5);
}
.mix-card h3 {
  font-size: 1.05rem;
  margin: 1.1rem 1.2rem .2rem;
}
.mix-card p {
  margin: 0 1.2rem 1.2rem;
  font-size: .88rem;
  color: var(--grey);
}
.mixes-note {
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--grey);
  font-style: italic;
}

/* ============ merch ============ */
.merch { background: var(--bg-alt); }
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.merch-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.merch-card:hover { transform: translateY(-6px); border-color: var(--green-dim); }
.merch-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 1;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79,216,232,.14);
  color: var(--cyan);
  border: 1px solid rgba(79,216,232,.3);
}
.merch-thumb {
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 30% 30%, rgba(143,232,74,.25), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(79,216,232,.2), transparent 60%),
    var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.merch-thumb svg {
  width: 46px; height: 46px;
  fill: var(--green);
  opacity: .85;
}
.merch-card h3 {
  font-size: 1.05rem;
  margin: 1.1rem 1.2rem .2rem;
}
.merch-card p {
  margin: 0 1.2rem 1.2rem;
  font-size: .88rem;
  color: var(--grey);
}

/* ============ gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  aspect-ratio: 3/4;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: saturate(.9);
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .25s ease;
  border-radius: var(--radius);
}
.gallery-item:hover::after { box-shadow: inset 0 0 0 2px var(--green); }

/* ============ cta ============ */
.cta { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-logo { width: 70px; margin-bottom: 1.2rem; opacity: .9; }
.cta p { max-width: 480px; margin: 0 auto 1.8rem; color: var(--grey-light); }

/* ============ footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}
.footer-logo { width: 54px; opacity: .95; }
.footer-inner p { margin: 0; color: var(--grey); font-size: .88rem; }

/* ============ lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,6,5,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
  flex-direction: column;
  gap: 16px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 0 60px rgba(143,232,74,.2);
}
.lightbox-caption {
  margin: 0;
  max-width: 90vw;
  text-align: center;
  color: var(--green-bright);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .04em;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--green); color: var(--green); }

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .social-row { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 1rem; }
  .hero-art img { max-height: 46vh; }
  .about-inner { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .mixes-grid { grid-template-columns: repeat(2, 1fr); }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .mixes-grid { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { justify-content: center; }
  section { padding: 4.5rem 0; }
}

/* ===================================================================
   Custom cursor — soft green sparkle
   Only enabled on devices with a real mouse (see main.js + this query).
=================================================================== */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor .gallery-item {
    cursor: none;
  }
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-bright) 0%, rgba(143,232,74,.55) 45%, transparent 72%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(.5px);
  transform: translate(-50%, -50%) scale(1);
  transition: opacity .3s ease, width .25s ease, height .25s ease;
  animation: cursor-breathe 2.6s ease-in-out infinite;
}
.cursor-glow.is-visible { opacity: .9; }
.cursor-glow.is-active {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--green-bright) 0%, rgba(79,216,232,.5) 50%, transparent 75%);
}
@keyframes cursor-breathe {
  0%, 100% { filter: blur(.5px) brightness(1); }
  50% { filter: blur(1.5px) brightness(1.3); }
}

.cursor-sparkle {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 6px 1px rgba(143,232,74,.85), 0 0 2px rgba(255,255,255,.9);
  pointer-events: none;
  z-index: 9998;
  animation: sparkle-drift .9s ease-out forwards;
}
@keyframes sparkle-drift {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0) translateY(-16px); }
}

/* ============================================================
   TWITCH LIVE BADGE — Phase 2
   Recolours the "on air" state to circuit-green with a red
   pulsing dot, and adds a neutral "checking" state.
   Loaded after the original .live-badge rules, so this wins.
   ============================================================ */

/* ON AIR: green badge, clickable, soft green glow */
.live-badge[data-live="true"] {
  border-color: rgba(143, 232, 74, .45);
  color: var(--green-bright);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(143, 232, 74, .18);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.live-badge[data-live="true"]:hover,
.live-badge[data-live="true"]:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(143, 232, 74, .30);
  outline: none;
}

/* Red pulsing dot on the live state (restated so it always applies) */
.live-badge[data-live="true"] .live-dot {
  background: #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* CHECKING: subtle neutral state before the first response arrives */
.live-badge[data-live="checking"] { color: var(--grey); opacity: .85; }
.live-badge[data-live="checking"] .live-dot {
  background: var(--grey);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .live-badge .live-dot { animation: none !important; }
}

/* ============================================================
   FOOTER CREDIT — Phase 2
   Sits on its own full-width line under the footer row.
   ============================================================ */
.footer-credit {
  flex-basis: 100%;
  text-align: center;
  margin-top: .4rem !important;
  font-size: .82rem !important;
  color: var(--grey) !important;
  opacity: .85;
}
.footer-credit a {
  color: var(--green);
  text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }


/* ============================================================
   MERCH SUBPAGE — dedicated shop grid (isolated from home page)
   ============================================================ */
.merch-page {
  padding-top: 140px;
  padding-bottom: 5rem;
}
.merch-page .section-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.merch-intro {
  max-width: 620px;
  margin: 1rem auto 0;
  color: var(--grey);
  line-height: 1.6;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
}
.shop-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-dim);
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
}
.shop-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.shop-card:hover .shop-card__media img { transform: scale(1.06); }
.shop-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5,6,5,.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.shop-card__view {
  position: absolute;
  inset: auto 0 0 0;
  padding: .8rem 1rem .7rem;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-bright);
  background: linear-gradient(to top, rgba(5,6,5,.94), rgba(5,6,5,0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.shop-card:hover .shop-card__view { opacity: 1; transform: translateY(0); }
.shop-card__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding: 1rem 1.1rem 1.2rem;
}
.shop-card__title {
  margin: 0;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.3;
}
.shop-card__price {
  flex-shrink: 0;
  color: var(--green);
  font-weight: 700;
  font-size: .98rem;
}
.shop-card.is-soldout .shop-card__media img { opacity: .5; filter: grayscale(.4); }
.shop-card.is-soldout .shop-card__price { color: var(--grey); }

.merch-cta {
  text-align: center;
  margin-top: 2.8rem;
}
.merch-teaser {
  text-align: center;
  padding: 1rem 0 0;
}
.merch-teaser p {
  color: var(--grey);
  margin-bottom: 1.4rem;
}

@media (max-width: 720px) {
  .merch-page { padding-top: 110px; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
}

/* ============================================================
   SUBPAGES — Gallery + Past Sets over the animated background
   ============================================================ */
.subpage {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 150px 0 5rem;
}
.subpage-inner { position: relative; z-index: 1; }
.subpage .section-head { text-align: center; margin-bottom: 2.6rem; }
.subpage-intro {
  max-width: 620px;
  margin: 1rem auto 0;
  color: var(--grey);
  line-height: 1.6;
}
.subpage-empty { text-align: center; padding: 2rem 0 1rem; }
.subpage-empty p { color: var(--grey); margin-bottom: 1.4rem; }

.fan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.2rem;
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}
.set-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.set-card[href]:hover {
  transform: translateY(-6px);
  border-color: var(--green-dim);
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
}
.set-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.set-card__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.set-card[href]:hover .set-card__media img { transform: scale(1.05); }
.set-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.set-card__play svg {
  width: 52px; height: 52px;
  fill: #fff;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.6));
  opacity: .9;
  transition: transform .25s ease, opacity .25s ease;
}
.set-card[href]:hover .set-card__play svg { transform: scale(1.12); opacity: 1; }
.set-card__info { padding: 1rem 1.1rem 1.2rem; }
.set-card__title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; }

.gallery-more { text-align: center; margin-top: 2rem; }

@media (max-width: 720px) {
  .subpage { padding-top: 120px; }
  .fan-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; }
  .sets-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAST SETS — custom media player
   ============================================================ */
.player {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-stage {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(143,232,74,.10), transparent 60%),
    var(--surface-2);
}
.player-art {
  flex: 0 0 84px;
  height: 84px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 40%, rgba(143,232,74,.18), rgba(10,12,10,.6));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-eq { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.player-eq i {
  width: 4px; height: 20%;
  background: var(--green);
  border-radius: 2px;
  animation: eq 1s ease-in-out infinite;
  animation-play-state: paused;
}
.player-eq i:nth-child(2) { animation-delay: .2s; }
.player-eq i:nth-child(3) { animation-delay: .4s; }
.player-eq i:nth-child(4) { animation-delay: .1s; }
.player-eq i:nth-child(5) { animation-delay: .3s; }
.player.is-playing .player-eq i { animation-play-state: running; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 95%; } }

.player-main { flex: 1 1 auto; min-width: 0; }
.player-now {
  margin: 0 0 .3rem;
  font-family: 'Orbitron', sans-serif;
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--green);
}
.player-track {
  margin: 0 0 .9rem;
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-scrub { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.player-time { font-size: .74rem; color: var(--grey); font-variant-numeric: tabular-nums; min-width: 34px; }
.player-time:last-child { text-align: right; }
.player-bar {
  flex: 1 1 auto;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.player-bar__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-dim), var(--green-bright));
  border-radius: 999px;
}
.player-controls { display: flex; align-items: center; gap: .7rem; }
.player-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.player-btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.player-btn svg { width: 18px; height: 18px; fill: currentColor; }
.player-btn--play {
  width: 52px; height: 52px;
  background: var(--green);
  border-color: var(--green);
  color: #0a0c0a;
}
.player-btn--play:hover { background: var(--green-bright); color: #0a0c0a; transform: translateY(-1px); }
.player-btn--play svg { width: 22px; height: 22px; }
.player-btn--play .ico-pause { display: none; }
.player.is-playing .player-btn--play .ico-play { display: none; }
.player.is-playing .player-btn--play .ico-pause { display: block; }

.player-list {
  list-style: none;
  margin: 0; padding: 0;
  max-height: 360px;
  overflow-y: auto;
}
.player-list__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .75rem 1.4rem;
  border-bottom: 1px solid rgba(42,48,42,.5);
  cursor: pointer;
  transition: background .18s ease;
}
.player-list__item:last-child { border-bottom: 0; }
.player-list__item:hover { background: var(--surface-2); }
.player-list__idx {
  flex: 0 0 auto;
  font-size: .74rem;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  min-width: 26px;
}
.player-list__name { flex: 1 1 auto; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-list__play { flex: 0 0 auto; opacity: 0; transition: opacity .18s ease; }
.player-list__play svg { width: 15px; height: 15px; fill: var(--green); display: block; }
.player-list__item:hover .player-list__play { opacity: .7; }
.player-list__item.is-active { background: rgba(143,232,74,.08); }
.player-list__item.is-active .player-list__name { color: var(--green-bright); }
.player-list__item.is-active .player-list__idx { color: var(--green); }
.player-list__item.is-active .player-list__play { opacity: 1; }

@media (max-width: 560px) {
  .player-stage { flex-direction: column; text-align: center; }
  .player-art { flex-basis: 64px; height: 64px; }
  .player-controls { justify-content: center; }
  .player-track { white-space: normal; }
}
