:root {
  --bg: #050308;
  --fg: #f4f1f8;
  --muted: #9a90b0;
  --accent: #a06bff;      /* purple glow from the artwork */
  --accent-soft: rgba(160, 107, 255, 0.15);
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Ensure the `hidden` attribute always hides, even on elements that set
   their own display (e.g. the countdown uses display:flex). */
[hidden] { display: none !important; }

/* The band name is the <h1> for SEO; this wrapper stays out of the layout
   so the logo renders exactly as a plain image would. */
.logo-heading { display: contents; }

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Parallax background ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.bg-image {
  background: var(--bg) url("assets/background.jpg") center center / cover no-repeat;
}
/* Tones the artwork down so it stays moody and text is legible everywhere,
   without needing a harsh box behind each heading. */
.bg-vignette {
  z-index: -1;
  background:
    radial-gradient(140% 110% at 50% 42%,
      rgba(5, 3, 8, 0.05) 0%,
      rgba(5, 3, 8, 0.28) 55%,
      rgba(5, 3, 8, 0.6) 82%,
      rgba(5, 3, 8, 0.85) 100%),
    linear-gradient(180deg, rgba(5,3,8,0.3) 0%, rgba(5,3,8,0.08) 25%, rgba(5,3,8,0.08) 70%, rgba(5,3,8,0.4) 100%);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
}
.content { width: 100%; max-width: var(--maxw); text-align: center; }

.section-title {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0.9rem auto 0;
  background: var(--accent);
  box-shadow: 0 0 14px 1px var(--accent);
}

/* ---------- Hero ---------- */
.hero { flex-direction: column; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: var(--maxw);
}
.logo {
  width: min(560px, 82vw);
  filter: drop-shadow(0 0 40px rgba(160, 107, 255, 0.35));
}

/* Countdown */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.6rem);
  flex-wrap: nowrap;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(46px, 13vw, 88px);
}
.cd-num {
  font-size: clamp(1.9rem, 7vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  text-shadow: 0 0 24px rgba(160, 107, 255, 0.4);
}
.cd-label {
  margin-top: 0.55rem;
  font-size: clamp(0.55rem, 1.5vw, 0.72rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-sep {
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  align-self: flex-start;
  margin-top: clamp(0.05rem, 0.8vw, 0.3rem);
}

/* Tagline under the countdown */
.tagline {
  width: clamp(160px, 42vw, 230px);
  height: auto;
  margin-top: clamp(0.4rem, 2.5vw, 1.1rem);
}

/* Video (post-countdown) */
.video-wrap { width: min(900px, 92vw); }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(160, 107, 255, 0.35);
  box-shadow: 0 0 60px rgba(160, 107, 255, 0.25);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(244, 241, 248, 0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Streaming links ---------- */
.streaming {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 340px;
  margin: 0 auto;
}
.streaming a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  background: rgba(20, 14, 30, 0.5);
  border: 1px solid rgba(160, 107, 255, 0.16);
  backdrop-filter: blur(8px);
  color: var(--fg);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.streaming a:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: rgba(35, 22, 55, 0.65);
  box-shadow: 0 10px 34px rgba(160, 107, 255, 0.22);
}
.streaming svg { width: 34px; height: 34px; }
.streaming .label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.25s ease;
}
.streaming a:hover .label { color: var(--fg); }

@media (min-width: 560px) {
  .streaming {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 720px;
    gap: 1rem;
  }
  .streaming a { padding: 1.3rem 0.6rem; gap: 0.7rem; }
  .streaming svg { width: 40px; height: 40px; }
  .streaming .label { font-size: 0.75rem; }
}

/* ---------- Social ---------- */
.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 14, 30, 0.45);
  border: 1px solid rgba(160, 107, 255, 0.18);
  backdrop-filter: blur(8px);
  color: var(--fg);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.social-list a:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: rgba(35, 22, 55, 0.6);
  box-shadow: 0 10px 40px rgba(160, 107, 255, 0.25);
}
.social-list svg { width: 28px; height: 28px; }

/* ---------- Booking ---------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  font-size: clamp(0.9rem, 3vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(160, 107, 255, 0.3);
  border-radius: 60px;
  background: rgba(20, 14, 30, 0.4);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.contact-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(160, 107, 255, 0.3);
  transform: translateY(-3px);
}
.contact-link svg { color: var(--accent); flex-shrink: 0; }
.contact-link span { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  color: var(--muted);
}
.footer-logo { width: 150px; opacity: 0.55; margin-bottom: 1rem; }
.footer p { font-size: 0.8rem; letter-spacing: 0.1em; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .section { padding: 4.5rem 1.25rem; }
  .hero-inner { gap: 2.25rem; }
  .countdown { gap: 0.4rem; }
  .contact { gap: 0.9rem; }
  /* Portrait background so the orb reads zoomed-out on phones instead of
     being cropped to the center by `cover`. */
  .bg-image { background-image: url("assets/background-mobile.jpg"); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
