:root {
  --bg: #000;
  --panel: #0a0a0a;
  --text: #d6ffd6;
  --lime: #39ff14;
  --cyan: #00ffff;
  --pink: #ff4fd8;
  --yellow: #fff45c;
  --border: #4a4a4a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  font-family: "Courier New", Courier, monospace;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(#1b1b1b 1px, transparent 1px),
    radial-gradient(#111 1px, transparent 1px);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
}

p {
  margin: 0 0 10px;
}

a {
  color: var(--cyan);
}

a:hover,
a:focus {
  color: var(--pink);
}

a:focus-visible,
.retro-btn:focus-visible {
  outline: 2px dotted var(--cyan);
  outline-offset: 3px;
}

.page {
  max-width: 920px;
  margin: 16px auto;
  padding: 12px;
  border: 3px solid var(--pink);
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.45);
}

.header {
  border: 2px solid var(--lime);
  background: #070707;
  padding: 12px;
  margin-bottom: 12px;
}

.site-title {
  margin: 0;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--pink);
  letter-spacing: 1px;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
}

.tagline {
  margin: 8px 0 0;
  color: var(--cyan);
  font-size: 0.95rem;
}

/* Marquee: box stays put, only text moves */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border: 2px dashed var(--cyan);
  background: #050505;
  padding: 6px 0;
  margin: 12px 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-left: 100%;
  animation: scroll-left 14s linear infinite;
  color: var(--cyan);
  font-weight: bold;
  will-change: transform;
}

.marquee-text {
  flex: 0 0 auto;
}

/* A tiny CSS Pac-Man follows the scrolling text, facing left as it moves. */
.pacman {
  position: relative;
  display: inline-block;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}

.pacman-top,
.pacman-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffe600;
}

.pacman-top {
  top: 0;
  border-radius: 23px 23px 0 0;
  transform-origin: center bottom;
  animation: pacman-top-chomp 260ms ease-in-out infinite alternate;
}

.pacman-bottom {
  bottom: 0;
  border-radius: 0 0 23px 23px;
  transform-origin: center top;
  animation: pacman-bottom-chomp 260ms ease-in-out infinite alternate;
}

.pacman-top::after {
  content: "";
  position: absolute;
  top: 46%;
  right: 33%;
  width: 3px;
  height: 3px;
  background: #000;
  border-radius: 50%;
}

@keyframes pacman-top-chomp {
  from { transform: rotate(0); }
  to { transform: rotate(27deg); }
}

@keyframes pacman-bottom-chomp {
  from { transform: rotate(0); }
  to { transform: rotate(-27deg); }
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

nav {
  border: 2px solid var(--lime);
  background: #101010;
  padding: 10px;
  margin-bottom: 14px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-weight: bold;
}

nav a:hover,
nav a:focus {
  text-decoration: underline;
}

/* --- Make nav feel like the same UI --- */
nav {
  border: 2px solid var(--lime);
  background: #070707; /* a bit darker */
}

nav a {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--cyan);
  background: #000;
  color: var(--cyan);
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(255, 79, 216, 0.45);
}

nav a:hover,
nav a:focus {
  background: var(--cyan);
  color: #000;
  text-decoration: none;
}

nav a:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(255, 79, 216, 0.45);
}
.grid {
  display: grid;
  gap: 14px;
}

.panel {
  border: 2px solid var(--border);
  background: var(--panel);
  padding: 12px;
}

/* --- Neon header tabs for section titles --- */
.panel h2 {
  margin: 0 0 10px;
  display: inline-block;
  padding: 4px 10px;
  border: 2px solid var(--cyan);
  background: #000;
  color: var(--yellow);
  text-shadow: none;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 0 rgba(255, 79, 216, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: start;
}

.hero-box {
  border: 2px solid #333;
  padding: 10px;
  background: #080808;
}

.hero-box h2 {
  margin: 0 0 10px;
  display: inline-block;
  padding: 4px 10px;
  border: 2px solid var(--cyan);
  background: #000;
  color: var(--yellow);
  text-shadow: none;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 0 rgba(255, 79, 216, 0.45);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.retro-btn {
  display: inline-block;
  padding: 8px 12px;
  border: 2px solid var(--cyan);
  background: #000;
  color: var(--cyan);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 3px 3px 0 rgba(255, 79, 216, 0.6);
  transition: transform 120ms ease, filter 120ms ease;
}

.retro-btn:hover,
.retro-btn:focus {
  color: #000;
  background: var(--cyan);
  filter: brightness(1.05);
}

.retro-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(255, 79, 216, 0.6);
}

.retro-btn.disabled {
  border: 2px solid #555;
  background: #111;
  color: #777;
  box-shadow: none;
  cursor: not-allowed;
  user-select: none;
}

.shows-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shows-list li {
  padding: 8px 0;
  border-bottom: 1px dotted #444;
}

.shows-list li:last-child {
  border-bottom: 0;
}

.date {
  color: var(--lime);
  font-weight: bold;
  display: inline-block;
  min-width: 88px;
}

.blink {
  animation: blink 1s steps(2, start) infinite;
  color: #ff5252;
  font-weight: bold;
}

@keyframes blink {
  to { visibility: hidden; }
}

.small {
  font-size: 0.9rem;
  color: #bdbdbd;
}

.divider {
  border: 0;
  border-top: 1px dashed #3b3b3b;
  margin: 8px 0 0;
}

.footer {
  margin-top: 14px;
  border-top: 1px dotted #555;
  padding-top: 10px;
  text-align: center;
  color: #a8a8a8;
  font-size: 0.88rem;
}

.counter {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 6px;
  border: 1px solid #666;
  background: #111;
  color: #fff;
  font-family: monospace;
  letter-spacing: 1px;
}

/* Photos */
.photo-frame {
  border: 2px solid var(--cyan);
  padding: 8px;
  background: #000;
  box-shadow: 3px 3px 0 rgba(255, 79, 216, 0.45);
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.25));
}

.band-photo {
  width: 100%;
  height: auto;
  border: 2px inset #777;
  display: block;
}

.band-photo + .band-photo {
  margin-top: 10px;
}

/* Mobile */
@media (max-width: 720px) {
  .page { margin: 8px; }
  .hero { grid-template-columns: 1fr; }
  .date {
    min-width: 0;
    display: block;
    margin-bottom: 4px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; padding-left: 0; }
  .blink { animation: none; }
  .pacman-top, .pacman-bottom { animation: none; }
}

/* Featured public track, audio player and expandable lyrics */
.featured-track {
  max-width: 600px;
  margin: 8px auto 22px;
  padding: 16px;
  border: 2px solid var(--cyan);
  background: #050505;
  box-shadow: 3px 3px 0 rgba(255, 79, 216, 0.45);
  text-align: center;
}

.featured-label {
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.06em;
}

.track-art {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto 14px;
  border: 2px inset #777;
  background: #111;
}

.featured-track h3 {
  margin: 0;
  color: var(--yellow);
  font-size: 1.3rem;
}

.track-artist {
  margin: 2px 0 12px;
  color: var(--text);
}

.track-audio {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 16px;
}

.lyrics-dropdown {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--cyan);
  text-align: left;
}

.lyrics-dropdown summary {
  padding: 10px 12px;
  color: var(--cyan);
  font-weight: bold;
  cursor: pointer;
  list-style-position: inside;
  background: #111;
}

.lyrics-dropdown summary:hover,
.lyrics-dropdown summary:focus-visible {
  color: var(--pink);
  background: #191919;
}

.lyrics-dropdown[open] summary {
  border-bottom: 1px dashed #555;
}

.lyrics-text {
  padding: 14px;
  overflow-wrap: break-word;
  color: var(--text);
  line-height: 1.75;
}

.lyrics-text p {
  margin: 0 0 1.25em;
}

.lyrics-text p:last-child {
  margin-bottom: 0;
}
