/* Version: 1.0.25 */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Mono:wght@400;700&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
.root { font-family: 'Space Mono', monospace; background: #080808; color: #ddd5c5; min-height: 100vh; padding-top: 40px; }
/* Full-width invite image (outside content column) */
.invite-section { position: relative; width: 100%; height: 480px; overflow: hidden; }
.invite-section img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: brightness(0.45) saturate(0.7); display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,0.1) 0%, rgba(8,8,8,0.95) 100%); }
.hero-inner { max-width: 520px; margin: 0 auto; padding: 0 28px; position: absolute; bottom: 24px; left: 0; right: 0; }

/* Mobile: shorter hero, bg image cropped lower (text stays at top) */
@media (max-width: 600px) {
  .root { padding-top: 0; }
  .invite-section { height: 42vh; min-height: 220px; max-height: 320px; }
  .invite-section img { object-position: center 85%; }
  .hero-inner { bottom: 16px; padding: 0 20px; }
  .content { padding: 20px 20px 48px; }
}
.hero-eyebrow { font-size: 11px; letter-spacing: 0.35em; color: #ff3c00; text-transform: uppercase; margin-bottom: 8px; animation: blink 2.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 55%{opacity:0.3} }
.club-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px,14vw,86px); line-height: 0.88; color: #fff; letter-spacing: 0.04em; }
.club-sub { font-family: 'Bebas Neue', sans-serif; font-size: clamp(24px,7vw,40px); color: #ff3c00; letter-spacing: 0.08em; line-height: 1; margin-top: 6px; }
.content { padding: 28px 28px 60px; max-width: 520px; margin: 0 auto; }

.tagline-bar { border-left: 3px solid #ff3c00; padding: 8px 14px; margin: 0 0 12px; font-size: 13px; color: #b0b0b0; letter-spacing: 0.12em; line-height: 1.6; }
.play-hint {
  font-size: 12px; color: #ff3c00; letter-spacing: 0.15em; margin-bottom: 28px;
  animation: playHintPulse 2.5s ease-in-out infinite;
  cursor: pointer;
}
.play-hint.played { opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.play-hint:hover { color: #ff5222; }
@keyframes playHintPulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.pill { font-size: 11px; border: 1px solid #333; color: #999; padding: 4px 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.pill.hot { border-color: #ff3c00; color: #ff3c00; }
.divider { border: none; border-top: 1px solid #1c1c1c; margin: 22px 0; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #1a1a1a; margin-bottom: 28px; }
.stat { background: #080808; padding: 18px 16px; }
.stat-label { font-size: 10px; letter-spacing: 0.3em; color: #777; text-transform: uppercase; margin-bottom: 6px; }
.stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: #fff; letter-spacing: 0.05em; }
.stat-note { font-size: 11px; color: #999; margin-top: 3px; letter-spacing: 0.08em; }
.section-label { font-size: 11px; letter-spacing: 0.3em; color: #777; text-transform: uppercase; margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #1a1a1a; margin-bottom: 28px; }
.cd-unit { background: #080808; padding: 16px 8px; text-align: center; }
.cd-num { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: #ff3c00; line-height: 1; }
.cd-label { font-size: 10px; letter-spacing: 0.25em; color: #666; text-transform: uppercase; margin-top: 4px; }
.lineup-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #141414; }
.ln-num { font-size: 12px; color: #ff3c00; font-weight: 700; min-width: 22px; }
.ln-name { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: #fff; letter-spacing: 0.06em; line-height: 1; }
.ln-from { font-size: 11px; color: #777; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }
.ln-badge { margin-left: auto; font-size: 10px; padding: 3px 9px; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid #2a2a2a; color: #999; white-space: nowrap; }
.ln-badge.confirmed { border-color: #ff3c00; color: #ff3c00; }
.music-preview { display: block; margin-bottom: 10px; }
.spotify-embed { overflow: hidden; margin-bottom: 10px; min-height: 80px; }
.spotify-embed.empty { display: none; }
/* Hidden player: iframe stays in DOM for playback, not visible — use our controls only */
.spotify-embed.audio-only { position: absolute; left: -9999px; width: 1px; height: 1px; margin: 0; min-height: 0; overflow: hidden; }
.intro-countdown { margin-left: 8px; color: #ff3c00 !important; font-size: 11px; }
.track-row {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 0; border-bottom: 1px solid #141414;
  cursor: pointer; transition: background 0.15s;
}
.track-row:hover { background: #0f0f0f; }
.track-row:hover .pbtn { background: #ff3c00; color: #080808; }
.pbtn {
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1px solid #2a2a2a; background: transparent; color: #ff3c00;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.18s; font-family: inherit;
}
.pbtn.on { background: #ff3c00; color: #080808; }
.t-name { font-size: 14px; color: #ddd; }
.t-artist { font-size: 11px; color: #777; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 1px; }
.viz { display: flex; align-items: flex-end; gap: 2px; height: 16px; margin-left: auto; opacity: 0; transition: opacity 0.3s; }
.viz.on { opacity: 1; }
.vbar { width: 3px; background: #ff3c00; border-radius: 1px; height: 2px; }
.vbar.go { animation: vb var(--d,.5s) ease-in-out infinite alternate; }
@keyframes vb { from{height:2px} to{height:var(--h,14px)} }
.beat-canvas-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.beat-play-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #ff3c00; border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.1s;
}
.beat-play-btn:hover { background: #ff5222; }
.beat-play-btn:active { transform: scale(0.95); }
.beat-btn-icon { width: 14px; height: 14px; position: relative; }
.beat-btn-icon.play::before {
  content: ''; position: absolute; left: 4px; top: 2px;
  border-width: 5px 0 5px 10px; border-style: solid;
  border-color: transparent transparent transparent #080808;
}
.beat-btn-icon.pause::before, .beat-btn-icon.pause::after {
  content: ''; position: absolute; top: 2px; width: 4px; height: 10px;
  background: #080808; border-radius: 1px;
}
.beat-btn-icon.pause::before { left: 2px; }
.beat-btn-icon.pause::after { right: 2px; }
.beat-canvas-wrap { flex: 1; background: #0d0d0d; border: 1px solid #1a1a1a; min-width: 0; }
.intro-active .beat-canvas-wrap { animation: introFade 10s ease-in-out forwards; }
@keyframes introFade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}
canvas#beatcanvas { display: block; width: 100%; height: 48px; }
.npbar-slot { min-height: 0; margin-bottom: 0; overflow: hidden; transition: min-height 0.2s ease, margin-bottom 0.2s ease; }
.content:not(.music-visible) .npbar-slot .now-playing-bar { display: none; }
.content.music-visible .npbar-slot { min-height: 48px; margin-bottom: 12px; }
.content.music-visible .npbar-slot .now-playing-bar { display: flex; }
.now-playing-bar { align-items: center; gap: 10px; background: #111; border: 1px solid #1e1e1e; padding: 10px 14px; margin-bottom: 0; cursor: pointer; transition: background 0.15s; min-height: 44px; box-sizing: border-box; }
.now-playing-bar:not(.visible) { visibility: hidden; opacity: 0; }
.now-playing-bar.visible:hover { background: #1a1a1a; }
.intro-countdown { min-width: 6.5ch; display: inline-block; }
.np-dot { width: 6px; height: 6px; background: #ff3c00; border-radius: 50%; animation: pulse 1s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
.np-text { font-size: 12px; color: #b0b0b0; }
.np-text span { color: #ddd5c5; }
/* RSVP */
.rsvp-wrap { margin-top: 32px; }
.rsvp-main { display: block; width: 100%; padding: 18px; background: #ff3c00; color: #080808; font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.1em; border: none; cursor: pointer; text-align: center; transition: background 0.15s, transform 0.1s; margin-bottom: 0; }
.rsvp-main:hover { background: #e63500; }
.rsvp-main:active { transform: scale(0.98); }

/* Door list form */
.door-form { background: #0f0f0f; border: 1px solid #1e1e1e; border-top: none; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.door-form.open { max-height: 400px; padding: 24px 20px 20px; }
.form-label { font-size: 10px; letter-spacing: 0.3em; color: #777; text-transform: uppercase; margin-bottom: 6px; display: block; }
.form-group { margin-bottom: 16px; }
.form-input {
  display: block; width: 100%; background: #080808; border: 1px solid #222;
  color: #ddd5c5; font-family: 'Space Mono', monospace; font-size: 13px;
  padding: 10px 12px; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; border-radius: 0;
}
.form-input:focus { border-color: #ff3c00; }
.form-input::placeholder { color: #666; }
.form-submit { display: block; width: 100%; padding: 14px; background: transparent; border: 1px solid #ff3c00; color: #ff3c00; font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.12em; cursor: pointer; transition: all 0.18s; margin-top: 4px; }
.form-submit:hover { background: #ff3c00; color: #080808; }
.form-submit:active { transform: scale(0.98); }
.form-success { display: none; text-align: center; padding: 20px 0 4px; }
.form-success-icon { font-size: 22px; color: #ff3c00; margin-bottom: 8px; }
.form-success-msg { font-size: 13px; color: #b0b0b0; letter-spacing: 0.1em; line-height: 1.8; }
.form-success-msg span { color: #ddd5c5; }

.rsvp-sub { font-size: 11px; color: #666; text-align: center; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 10px; }
.footer-note { margin-top: 44px; text-align: center; font-size: 11px; color: #555; letter-spacing: 0.2em; text-transform: uppercase; line-height: 2; }
