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

:root {
  --bg: #18181c; /* Refined Dark Grey */
  --text: #f0f0f0;
  --text-muted: #a5a5ad;
  --accent: #e8b04b;
  --accent-dark: #c89432;
  --card-bg: rgba(24, 24, 28, 0.72);
  --border: rgba(255, 255, 255, 0.08);
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  overflow-y: scroll; /* Forces standard scrollbar track */
  -webkit-overflow-scrolling: touch;
}

/* Three.js Fixed Background — Immune to mobile toolbar jumps */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none; /* Let all wheel & clicks fall straight to the document */
}

/* Scroll Content */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

/* Content Boxes */
.hero-content,
.content-box {
  pointer-events: auto;
  position: relative;
  text-align: center;
  max-width: 620px;
  width: 100%;
}

/* --- FIXED STAGE SPOTLIGHT RIG --- */
.hero {
  position: relative;
  overflow: hidden;
}

.spotlight-rig {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1; /* Locks in place directly over canvas, behind page text */
  overflow: hidden;
}

.spotlight {
  position: absolute;
  top: 0;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.35; /* Atmospheric stage glow */
  filter: blur(8px);
}

/* Left Spotlight (Warm Amber/Gold originating from top-left, crossing dead-centre) */
.spot-left {
  left: 0;
  width: 100vw;
  background: linear-gradient(
    145deg,
    rgba(255, 250, 230, 0.95) 0%,
    rgba(232, 176, 75, 0.45) 25%,
    rgba(232, 176, 75, 0.12) 60%,
    transparent 85%
  );
  clip-path: polygon(14% 0%, 20% 0%, 75% 100%, 35% 100%);
}

/* Right Spotlight (Moody Violet/Magenta originating from top-right, crossing dead-centre) */
.spot-right {
  right: 0;
  width: 100vw;
  background: linear-gradient(
    215deg,
    rgba(255, 240, 255, 0.95) 0%,
    rgba(180, 45, 230, 0.45) 25%,
    rgba(140, 30, 195, 0.12) 60%,
    transparent 85%
  );
  clip-path: polygon(80% 0%, 86% 0%, 65% 100%, 25% 100%);
}

/* Ensure hero text stays sharply legible above beams */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Mobile responsive angle adjustment */
@media (max-width: 600px) {
  .spotlight {
    opacity: 0.28;
    filter: blur(6px);
  }
  .spot-left {
    clip-path: polygon(5% 0%, 15% 0%, 85% 100%, 25% 100%);
  }
  .spot-right {
    clip-path: polygon(85% 0%, 95% 0%, 75% 100%, 15% 100%);
  }
}

.content-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.content-box.wide {
  max-width: 720px;
}

/* Typography & Hero */
.band-name {
  font-size: clamp(3rem, 11vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 8px 24px rgba(0,0,0,0.7);
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin: 1rem 0 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.content-box h2 {
  font-size: 1.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.content-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: #121214;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(232, 176, 75, 0.3);
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Shows List */
.shows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.show {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.3s ease;
}

.show:hover {
  border-color: var(--accent);
}

.show-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
}

.show-date .day {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.show-date .month {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.show-info h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.show-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Social Links */
.socials {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section-footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666;
}


@media (max-width: 600px) {
  .show { flex-direction: column; text-align: center; }
  .show-date { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 0.75rem 0; }
}