:root {
  --bg: #0b0014;
  --bg-alt: #130022;
  --fg: #f5f0ff;
  --muted: #b9a8d6;
  --pink: #ff2e93;
  --cyan: #19e3ff;
  --yellow: #ffee05;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Raleway, system-ui, sans-serif;
  line-height: 1.6;
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, .brand, .btn, .nav a { font-family: Orbitron, system-ui, sans-serif; }
h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255, 238, 5, 0.45);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(11, 0, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 46, 147, 0.4);
}
.brand { color: var(--pink); text-decoration: none; font-weight: 900; letter-spacing: 0.05em; text-shadow: 0 0 12px rgba(255,46,147,.6); }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { color: var(--yellow); text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.nav a:hover { color: var(--cyan); }
.menu-btn { display: none; background: none; border: 0; color: var(--yellow); font-size: 1.8rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: var(--pink);
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 2px solid var(--pink);
  box-shadow: 0 0 20px rgba(255, 46, 147, 0.55);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 46, 147, 0.85); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-ghost { background: transparent; border-color: var(--cyan); color: var(--cyan) !important; box-shadow: 0 0 16px rgba(25, 227, 255, 0.35); }

/* Hero */
.hero { position: relative; text-align: center; }
.hero img { width: 100%; height: auto; max-height: calc(100vh - 60px); object-fit: contain; background: #000; }
.hero-text { padding: 1.5rem 1rem 2.5rem; background: linear-gradient(rgba(11, 0, 20, 0.6), rgba(19, 0, 34, 0.55)); }
.kicker { font-family: Orbitron, sans-serif; font-size: clamp(1.1rem, 3.5vw, 1.8rem); color: var(--cyan); text-shadow: 0 0 16px rgba(25,227,255,.6); margin: 0 0 1.2rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 4rem 1rem; max-width: 1100px; margin: 0 auto; }
.section-alt { max-width: none; background: rgba(19, 0, 34, 0.78); }
.section-alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.section-alt > .member-grid { max-width: 1150px; }
.lead { font-size: 1.1rem; text-align: center; max-width: 780px; margin: 0 auto 2rem; }
.muted { color: var(--muted); text-align: center; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-top: 2rem; }
.about-grid img { border-radius: var(--radius); box-shadow: 0 0 30px rgba(255, 46, 147, 0.4); max-height: 520px; width: 100%; object-fit: cover; object-position: top; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { padding: 0.5rem 0 0.5rem 1.8rem; position: relative; }
.checks li::before { content: "\2605"; position: absolute; left: 0; color: var(--pink); }

/* Shows */
.show-list { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 1rem; }
.show {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.2rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid rgba(25, 227, 255, 0.35);
  box-shadow: 0 0 18px rgba(25, 227, 255, 0.12);
}
.show-date { text-align: center; font-family: Orbitron, sans-serif; color: var(--pink); line-height: 1.1; }
.show-date .month { font-size: 0.9rem; letter-spacing: 0.15em; }
.show-date .day { font-size: 2.2rem; font-weight: 900; color: #fff; }
.show h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.show p { margin: 0.15rem 0; color: var(--muted); font-size: 0.95rem; }
.show .show-when { color: var(--pink); font-weight: 600; }
.show .show-where strong { color: #fff; }
.show .show-note { margin-top: .5rem; padding-left: .7rem; border-left: 2px solid var(--pink); }
.show-label { display: block; font-family: Orbitron, sans-serif; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--cyan, #19e3ff); margin-bottom: .1rem; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.live-photo { margin: 2rem 0 0; }
.live-photo img { width: 100%; border-radius: var(--radius); max-height: 520px; object-fit: cover; }

/* Reviews */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
blockquote { margin: 0; padding: 1.4rem; background: var(--bg); border-left: 4px solid var(--pink); border-radius: var(--radius); }
blockquote p { margin: 0 0 .8rem; font-style: italic; }
cite { color: var(--yellow); font-style: normal; font-weight: 700; font-size: .9rem; }

#contact { text-align: center; }
.site-footer { text-align: center; padding: 2rem 1rem; color: var(--muted); font-size: .85rem; border-top: 1px solid rgba(255,46,147,.3); }

/* Phones */
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1rem; background: var(--bg); border-bottom: 1px solid var(--pink); }
  .nav.open { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .show { grid-template-columns: 70px 1fr; }
  .show .btn { grid-column: 1 / -1; text-align: center; }
  .section { padding: 3rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* About page */
.page-top { padding-top: 3rem; }
.page-title { font-size: clamp(1.8rem, 6vw, 3rem); text-align: center; color: var(--pink); text-shadow: 0 0 20px rgba(255,46,147,.6); margin: 0 0 2rem; }
h2.left { text-align: left; margin: 1.5rem 0 .8rem; }
h2.left:first-child { margin-top: 0; }
.cta-row.left { justify-content: flex-start; }
.nav a[aria-current="page"] { color: var(--cyan); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 2rem; margin-top: 1.5rem; max-width: 1150px; }
.member { background: var(--bg); border: 1px solid rgba(255, 46, 147, 0.35); border-radius: var(--radius); padding: 1.5rem; }
.member h3 { margin: 0; font-family: Orbitron, sans-serif; font-size: 1.4rem; color: var(--yellow); }
.member .role { margin: .2rem 0 1rem; color: var(--cyan); font-size: 1.15rem; }
.member img { width: 100%; border-radius: 8px; }
.song-filter { display: block; width: 100%; max-width: 420px; margin: 0 auto 1.5rem; padding: .8rem 1rem; border-radius: 999px; border: 2px solid var(--cyan); background: var(--bg-alt); color: var(--fg); font: inherit; }
.song-list { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 2rem; }
.song-list li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.song-list li[hidden] { display: none; }
.song-list .song { display: block; font-weight: 700; }
.song-list .artist { display: block; color: var(--muted); font-size: .85rem; }

/* Shows page */
.show-list + .cta-row, .cta-row + .cta-row { margin-top: 1.5rem; }
#show-list + .muted + .cta-row, #show-list + .cta-row { margin-top: 1.5rem; }
.show-date .year { font-size: .7rem; color: var(--muted); letter-spacing: .1em; }
.show.past { opacity: .85; border-color: rgba(255, 255, 255, .15); box-shadow: none; }
.show.past .show-date { color: var(--muted); }
.past-toggle { display: flex; justify-content: center; margin: 2.5rem 0 1.5rem; }
.switch { display: inline-flex; align-items: center; gap: .8rem; cursor: pointer; font-weight: 700; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slider { position: relative; width: 52px; height: 28px; border-radius: 999px; background: #3a2a52; border: 2px solid var(--cyan); transition: background .2s; flex: none; }
.slider::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .slider { background: var(--pink); }
.switch input:checked + .slider::after { transform: translateX(24px); }
.switch input:focus-visible + .slider { outline: 3px solid var(--yellow); outline-offset: 3px; }
#past-wrap[hidden] { display: none; }
#past-wrap h2 { margin-top: 1rem; }

/* Dimmed band photo that stays put behind the page while scrolling */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(11, 0, 20, 0.78), rgba(11, 0, 20, 0.86)),
    url("images/band-banner-cropped.jpg") center 25% / cover no-repeat;
  pointer-events: none;
}

/* Center a lone last band-member card when the grid has two columns */
@media (min-width: 1100px) {
  .member:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 1rem); justify-self: center; }
}

/* Text laid over the live-stage photo (home page) */
.photo-panel {
  border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 3.5rem);
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(11, 0, 20, 0.82) 0%, rgba(11, 0, 20, 0.55) 60%, rgba(11, 0, 20, 0.35) 100%),
    url("images/live-show.jpg") center / cover no-repeat;
  box-shadow: 0 0 30px rgba(255, 46, 147, 0.35);
}
.photo-panel p { max-width: 36rem; margin: 0 0 1rem; font-size: 1.15rem; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.photo-panel .panel-cta { margin-top: .5rem; color: var(--yellow); font-weight: 700; }

/* Featured video under the band introduction */
.featured-video { max-width: 900px; margin: 2rem auto 0; }
.featured-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; box-shadow: 0 0 30px rgba(25, 227, 255, 0.35); }

/* Dimmed singers photo behind the testimonials (whole photo, top to bottom) */
#reviews {
  min-height: 760px;
  background:
    linear-gradient(rgba(11, 0, 20, 0.35), rgba(11, 0, 20, 0.5)),
    url("images/singers.jpg") center 18% / min(100%, 1000px) auto no-repeat,
    var(--bg-alt);
}
#reviews blockquote {
  background: rgba(11, 0, 20, 0.45);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* Testimonials: one column, so the section is taller and the photo behind it is bigger */
#reviews .quote-grid { grid-template-columns: 1fr; max-width: 720px; gap: 1.5rem; }
#reviews { min-height: 1050px; padding-top: 4rem; padding-bottom: 4rem; display: flex; flex-direction: column; justify-content: center; }
#reviews > * { width: 100%; }
@media (max-width: 760px) {
  #reviews { min-height: 0; background-size: auto, 100% auto, auto; background-position: center, center 45%, center; }
}
/* Tablets and small laptops: fit the photo to the section height so the section never runs past it */
@media (min-width: 761px) and (max-width: 1100px) {
  #reviews { background-size: auto, auto 100%, auto; background-position: center, center, center; }
}

/* Contact page */
.contact-section { max-width: 760px; }
.contact-form { background: rgba(11, 0, 20, 0.72); border: 1px solid rgba(255, 46, 147, 0.35); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: 0 0 24px rgba(255, 46, 147, 0.2); }
.field { margin: 0 0 1.3rem; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: .4rem; font-weight: 700; color: var(--yellow); padding: 0; }
.field .req { color: var(--pink); }
.field input[type="text"], .field input[type="email"], .field input[type="date"], .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 2px solid rgba(25, 227, 255, 0.5);
  background: rgba(19, 0, 34, 0.9); color: var(--fg); font: inherit;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 2px; border-color: var(--cyan); }
.field textarea { resize: vertical; min-height: 140px; }
.field .choice { display: flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--fg); margin: .35rem 0; cursor: pointer; }
.field .choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--pink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 10px; background: rgba(255, 46, 147, 0.2); border: 1px solid var(--pink); }
.contact-form button.btn { cursor: pointer; font-family: Orbitron, sans-serif; }
.contact-form button.btn:disabled { opacity: .6; cursor: wait; }
.thanks { text-align: center; }
.thanks[hidden] { display: none; }
.contact-form[hidden] { display: none; }

/* Date field: dark calendar pop-out with a visible icon */
.field input[type="date"] { color-scheme: dark; cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 1; width: 1.4rem; height: 1.4rem; }

/* Client resources page */
.resources-section { max-width: 900px; }
.resource-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.5rem; }
.resource { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 1.5rem; align-items: center; background: rgba(11, 0, 20, 0.72); border: 1px solid rgba(25, 227, 255, 0.35); border-radius: var(--radius); padding: 1.2rem; }
.resource img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
.resource img.logo-preview { background: #0b0014; padding: .5rem; }
.resource h3 { margin: 0 0 .4rem; font-family: Orbitron, sans-serif; color: var(--yellow); font-size: 1.15rem; }
.resource p { margin: 0 0 1rem; color: var(--muted); }
.resource .btn { margin: 0 .6rem .6rem 0; }
@media (max-width: 640px) { .resource { grid-template-columns: 1fr; } }

/* Social icons in the footer */
.socials { display: flex; justify-content: center; gap: 1rem; margin: 0 0 1.2rem; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--cyan); border: 2px solid var(--cyan); box-shadow: 0 0 14px rgba(25, 227, 255, 0.35); transition: transform .15s, color .15s, border-color .15s, box-shadow .15s; }
.socials a:hover, .socials a:focus-visible { color: var(--pink); border-color: var(--pink); box-shadow: 0 0 18px rgba(255, 46, 147, 0.6); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .socials a { transition: none; } }

/* Game page */
.game-section { max-width: 640px; }
.game-wrap { max-width: 560px; margin: 0 auto; }
.game-hud { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; font-family: Orbitron, sans-serif; }
.game-hud > div { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hud-label { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.game-hud span:last-child { font-size: 1.1rem; font-weight: 700; color: var(--yellow); }
.hud-lives { color: var(--pink) !important; letter-spacing: .1em; }
.game-board { position: relative; border: 2px solid var(--pink); border-radius: var(--radius); box-shadow: 0 0 24px rgba(255, 46, 147, 0.5); overflow: hidden; background: #05000c; }
.game-board canvas { display: block; width: 100%; height: auto; aspect-ratio: 19 / 21; touch-action: none; }
.game-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; background: rgba(5, 0, 12, 0.82); }
.game-overlay[hidden] { display: none; }
.game-overlay h2 { margin: 0; font-size: clamp(1.3rem, 5vw, 1.9rem); }
.game-overlay p { margin: 0; max-width: 24rem; }
.game-overlay .btn { cursor: pointer; font-family: Orbitron, sans-serif; }
.game-buttons { display: flex; justify-content: center; gap: .8rem; margin-top: 1rem; }
.game-buttons .btn { cursor: pointer; font-family: Orbitron, sans-serif; }
.dpad { display: none; grid-template-columns: repeat(3, 64px); grid-template-areas: ". up ." "left . right" ". down ."; gap: .5rem; justify-content: center; margin: 1.2rem auto 0; }
.dpad button { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--cyan); background: rgba(11, 0, 20, 0.8); color: var(--cyan); font-size: 1.4rem; cursor: pointer; touch-action: manipulation; box-shadow: 0 0 14px rgba(25, 227, 255, 0.35); }
.dpad button:active { background: var(--pink); color: #fff; border-color: var(--pink); }
.dpad [data-dir="up"] { grid-area: up; }
.dpad [data-dir="left"] { grid-area: left; }
.dpad [data-dir="right"] { grid-area: right; }
.dpad [data-dir="down"] { grid-area: down; }
@media (pointer: coarse), (max-width: 760px) { .dpad { display: grid; } }
.game-help { margin-top: 2.5rem; background: rgba(11, 0, 20, 0.72); border: 1px solid rgba(25, 227, 255, 0.35); border-radius: var(--radius); padding: 1.2rem 1.5rem; }
.game-help h2 { margin-top: 0; font-size: 1.3rem; }
.game-help .checks { margin-bottom: 1rem; }
@media (max-width: 1000px) { .nav { gap: 1rem; } }

/* Game: Power Mode glow and wrapping buttons */
.game-buttons { flex-wrap: wrap; }
.game-board.power-on { border-color: var(--yellow); animation: power-glow 1.2s ease-in-out infinite alternate; }
.game-board.power-on::after { content: "POWER MODE"; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: rgba(255, 238, 5, 0.9); color: #14001f; font-family: Orbitron, sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .12em; pointer-events: none; }
@keyframes power-glow { from { box-shadow: 0 0 18px rgba(255, 238, 5, 0.5); } to { box-shadow: 0 0 34px rgba(255, 46, 147, 0.8); } }
@media (prefers-reduced-motion: reduce) { .game-board.power-on { animation: none; box-shadow: 0 0 26px rgba(255, 238, 5, 0.7); } }

/* Game title screen: "gig starts in 30 minutes" message */
.overlay-banner { padding: .7rem 1rem; border: 2px dashed var(--pink); border-radius: 12px; background: rgba(255, 46, 147, 0.14); color: var(--fg); font-size: .95rem; line-height: 1.4; }
.overlay-banner[hidden] { display: none; }
.overlay-banner strong { display: block; color: var(--yellow); font-family: Orbitron, sans-serif; font-size: 1.05rem; text-shadow: 0 0 10px rgba(255, 238, 5, 0.6); }
.overlay-banner .hot { color: var(--pink); font-family: Orbitron, sans-serif; font-weight: 900; text-shadow: 0 0 12px rgba(255, 46, 147, 0.9); animation: hot-pulse .7s ease-in-out infinite alternate; }
@keyframes hot-pulse { from { opacity: 1; transform: scale(1); } to { opacity: .65; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .overlay-banner .hot { animation: none; } }
@media (max-width: 480px) { .game-overlay { gap: .6rem; padding: 1rem; } .overlay-banner { font-size: .8rem; padding: .5rem .7rem; } .overlay-banner strong { font-size: .9rem; } .game-overlay p { font-size: .85rem; } }

/* Phones and touch screens: put the on-screen controls first, then Pause / Music / Sound / Power Mode below them */
@media (pointer: coarse), (max-width: 760px) {
  .game-wrap { display: flex; flex-direction: column; }
  .game-hud, .game-board { order: 0; }
  .dpad { order: 1; margin: 1.2rem auto 0; }
  .game-buttons { order: 2; margin-top: 1.5rem; }
}
