/* Gizz Rides — site styles */
:root {
  --green: #39FF14;
  --green-soft: #9DFF85;
  --purple: #9D4DFF;
  --purple-text: #B57AFF;
  --bg: #0E0B10;
  --panel: #17141B;
  --panel-edge: #0B090D;
  --line: #2E2836;
  --off: #3A3340;
  --text: #F2F0EC;
  --text-2: #D9D5DE;
  --muted: #A8A2B0;
  --screen: #050806;
  --mono: 'Space Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --dots: 'Doto', 'Space Mono', monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-soft); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 0 28px;
}
.logo {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 16px 10px 18px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--panel-edge);
}
.logo-text {
  font-family: var(--dots); font-weight: 800; font-size: 28px; line-height: 1;
  letter-spacing: 3px; color: var(--green); text-shadow: 0 0 6px var(--green);
}
.leds { display: flex; gap: 5px; }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.led.p { background: var(--purple); box-shadow: 0 0 6px var(--purple); }
.led.off { background: var(--off); box-shadow: none; }
.site-nav { display: flex; gap: 8px; font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.site-nav a { padding: 12px 14px; color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--green); }

/* Common */
.eyebrow { margin: 0; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--purple-text); }
.meta { margin: 0; font-family: var(--mono); font-size: 15px; color: var(--muted); }
.back {
  display: inline-block; padding: 8px 0; font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 1px; color: var(--muted); text-decoration: none;
}
.back:hover { color: var(--green); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
main { display: flex; flex-direction: column; gap: 28px; }

/* Home */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head h1 { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -0.5px; }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.show-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  overflow: hidden; transition: border-color .15s, transform .15s;
}
.show-card:hover { border-color: var(--green); color: var(--text); transform: translateY(-2px); }
.show-art { position: relative; }
.show-art img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.day-chip {
  position: absolute; left: 14px; top: 14px; padding: 8px 12px; border-radius: 8px;
  background: rgba(5, 8, 6, 0.88); border: 1px solid var(--line);
  font-family: var(--dots); font-weight: 800; font-size: 22px; letter-spacing: 2px;
  color: var(--green); text-shadow: 0 0 6px var(--green);
}
.show-info { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.show-info h2 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.25; }
.show-info .count { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--purple-text); }
.show-info .meta { font-size: 14px; }

.about { margin-top: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 28px; }
.avatar {
  flex: 0 0 auto; width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  background: #241E2B; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--dots); font-weight: 800; font-size: 48px; color: var(--green); text-shadow: 0 0 6px var(--green);
}
.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.about-text h2 { margin: 0; font-size: 22px; font-weight: 700; }
.about-text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Show page */
.show-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.show-hero img { flex: 0 0 auto; width: 200px; height: 200px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.show-hero-text { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.show-hero h1 { margin: 0; font-size: 48px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.class-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px 24px;
  text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s;
}
.class-card:hover { border-color: var(--green); color: var(--text); transform: translateY(-2px); }
.class-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.class-num { font-family: var(--dots); font-weight: 800; font-size: 26px; letter-spacing: 2px; color: var(--green); text-shadow: 0 0 5px var(--green); }
.class-dur { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.class-card h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.songs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-2); }
.songs li { display: flex; justify-content: space-between; gap: 12px; }
.songs .t { font-family: var(--mono); color: var(--muted); }
.cta { margin-top: auto; padding-top: 4px; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-text); }

/* Player page */
.class-title { margin: 0; font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; }
.player-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.player-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: var(--screen); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: blur(2px); }
.stage.has-started .poster { display: none; }
.big-play {
  position: relative; z-index: 2; width: 88px; height: 88px; border-radius: 50%; border: none;
  background: var(--green); box-shadow: 0 0 24px var(--green);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.big-play:disabled { background: var(--off); box-shadow: none; cursor: default; }
.stage.is-playing .big-play { opacity: 0; pointer-events: none; }
.stage.is-playing:hover .big-play, .stage.is-playing .big-play:focus-visible { opacity: 0.9; pointer-events: auto; }
.stage-msg {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  padding: 8px 14px; border-radius: 8px; background: rgba(5, 8, 6, 0.85);
  font-family: var(--mono); font-size: 14px; color: var(--text); text-align: center; white-space: nowrap;
}
.stage-msg[hidden] { display: none; }
.soon {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px; text-align: center;
}
.soon[hidden] { display: none; }
.soon-title {
  font-family: var(--dots); font-weight: 800; font-size: clamp(30px, 8vw, 88px); line-height: 1; letter-spacing: 4px; white-space: nowrap;
  color: var(--green); text-shadow: 0 0 6px var(--green), 0 0 22px var(--green);
}
.soon-sub {
  padding: 8px 14px; border-radius: 8px; background: rgba(5, 8, 6, 0.85);
  font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-text);
}
.stage.is-soon .poster { opacity: 0.4; }
.stage.is-soon .big-play, .stage.is-soon .fs-btn { display: none; }
.fs-btn {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(5, 8, 6, 0.8); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.stage:fullscreen { border-radius: 0; border: none; }

.transport { display: flex; align-items: center; gap: 14px; }
.play-btn {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); color: var(--green); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.play-btn:disabled { color: var(--off); cursor: default; }
.time { font-family: var(--mono); font-size: 14px; min-width: 52px; text-align: center; }
.scrub-wrap { position: relative; flex: 1 1 auto; height: 28px; display: flex; align-items: center; }
.scrub-track { position: absolute; left: 0; right: 0; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.scrub-fill { height: 100%; width: 0%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.scrub-mark { position: absolute; top: 7px; width: 2px; height: 14px; background: var(--muted); pointer-events: none; }
.scrub { position: relative; z-index: 2; width: 100%; margin: 0; opacity: 0; height: 28px; cursor: pointer; }
.scrub:disabled { cursor: default; }
.scrub:focus-visible + .focus-ring { outline: 2px solid var(--green); }

.mixer { display: flex; flex-direction: column; gap: 20px; padding: 22px 26px 26px; box-shadow: inset 0 0 0 6px var(--panel-edge); }
.mixer-head { display: flex; justify-content: space-between; align-items: center; }
.mixer-head h2 { margin: 0; }
.mixer-head .leds { gap: 6px; }
.mixer-head .led { width: 8px; height: 8px; }
.faders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.fader { display: flex; flex-direction: column; gap: 10px; }
.fader-top { display: flex; justify-content: space-between; align-items: baseline; }
.fader label { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.fader output { font-family: var(--dots); font-weight: 800; font-size: 24px; color: var(--green); text-shadow: 0 0 5px var(--green); }
.fader.music output { color: var(--purple-text); text-shadow: 0 0 5px var(--purple-text); }
.fader input { width: 100%; height: 28px; accent-color: var(--green); cursor: pointer; }
.fader.music input { accent-color: var(--purple-text); }

.setlist { flex: 1 1 280px; min-width: 0; padding: 22px 24px; }
.setlist h2 { margin: 0 0 6px; }
.setlist ol { margin: 0; padding: 0; list-style: none; }
.setlist li { border-bottom: 1px solid var(--line); }
.setlist button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; min-height: 44px;
  background: none; border: none; color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer;
}
.setlist button:hover { color: var(--green); }
.setlist button .t { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.setlist li.current button { color: var(--green); }
.setlist li.current button .t { color: var(--green); }
.setlist .next { display: inline-flex; margin-top: 18px; padding: 12px 0; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; }

/* Previous / next show */
.page-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.show-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.btn:hover { border-color: var(--green); color: var(--green); }

/* Footer */
.site-footer {
  margin-top: 72px; padding: 32px 0 48px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--muted);
}
.site-footer p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 560px) {
  .logo-text { font-size: 22px; }
  .show-hero h1 { font-size: 38px; }
  .show-hero img { width: 140px; height: 140px; }
  .big-play { width: 72px; height: 72px; }
  .stage-msg { white-space: normal; width: calc(100% - 32px); }
  .btn { padding: 10px 12px; font-size: 13px; letter-spacing: 1px; }
  .soon { gap: 10px; padding: 12px; }
  .soon-sub { font-size: 12px; letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .show-card, .class-card { transition: none; }
  .show-card:hover, .class-card:hover { transform: none; }
}
