/* ============================================
   ESOTERICA — Dark Cinematic Theme
   ============================================ */

:root {
  --bg:           #050507;
  --surface:      #0d0d12;
  --surface-2:    #13131a;
  --accent:       #0c9a9a;
  --accent-light: #14b8b8;
  --accent-glow:  rgba(12, 154, 154, 0.18);
  --accent-dim:   rgba(12, 154, 154, 0.06);
  --text:         #e8e6e1;
  --text-muted:   #706d68;
  --text-sub:     #a09d98;
  --border:       rgba(255, 255, 255, 0.07);
  --border-accent: rgba(12, 154, 154, 0.3);

  --font-display: 'Gotham Condensed', 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Gotham', 'Montserrat', sans-serif;
  --font-body:    'Gotham', 'Inter', 'Helvetica Neue', sans-serif;

  --nav-h:        72px;
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GOTHAM FONT — drop files into /fonts/ to activate
   Weights: Light=300, Book=400, Medium=500, Bold=700, Black=900
   ============================================ */
@font-face {
  font-family: 'Gotham Condensed';
  font-weight: 900;
  font-style: normal;
  src: url('/fonts/gotham-condensed-black.woff2') format('woff2'),
       url('/fonts/gotham-condensed-black.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  font-weight: 300;
  font-style: normal;
  src: url('/fonts/GothamSSm-Light.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  font-weight: 400;
  font-style: normal;
  src: url('/fonts/GothamSSm-Book.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  font-weight: 500;
  font-style: normal;
  src: url('/fonts/GothamSSm-Medium.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  font-weight: 700;
  font-style: normal;
  src: url('/fonts/GothamSSm-Bold.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  font-weight: 900;
  font-style: normal;
  src: url('/fonts/GothamSSm-Black.otf') format('opentype');
  font-display: swap;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Typography ---- */
.display { font-family: var(--font-display); font-weight: 900; letter-spacing: 0.06em; line-height: 0.95; text-transform: uppercase; }
.heading  { font-family: var(--font-heading); font-weight: 700; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.teal { color: var(--accent); }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

/* ---- Scroll Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
  transition: background 0.4s var(--ease-std), backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  flex: 0 0 auto;
  margin-right: auto;
}
.nav-logo img {
  height: 24px;
  width: auto;
  filter: brightness(1);
  transition: opacity 0.2s;
}
.nav-logo img:hover { opacity: 0.8; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease-expo);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  margin-left: clamp(16px, 2vw, 32px);
  padding: 9px 22px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #000 !important;
}
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 20px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* Cinematic bars */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  background: #000;
  z-index: 4;
  height: 12%;
  transition: height 1.2s var(--ease-expo) 0.3s;
}
.hero::before { top: 0; }
.hero::after  { bottom: 0; }
.hero.bars-gone::before,
.hero.bars-gone::after { height: 0; }

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  pointer-events: none;
}

/* Gradient overlays */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(5,5,7,0.5) 0%,
      rgba(5,5,7,0.1) 40%,
      rgba(5,5,7,0.3) 60%,
      rgba(5,5,7,0.9) 85%,
      rgba(5,5,7,1)   100%),
    radial-gradient(ellipse at 60% 50%, transparent 40%, rgba(5,5,7,0.7) 100%);
}

/* Temporary cover to hide YouTube loading controls */
.hero-video-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bg);
  pointer-events: none;
  animation: coverFade 0.4s ease-out 4.3s forwards;
}
@keyframes coverFade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Particle canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 1.4s var(--ease-expo) 0.3s forwards;
}
.hero-title {
  opacity: 0;
  animation: fadeInScale 5s var(--ease-expo) 0.5s forwards;
}
.hero-logo-svg {
  width: min(84vw, 820px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 60px rgba(12, 154, 154, 0.3));
}
.hero-tagline {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-sub);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1.4s var(--ease-expo) 0.9s forwards;
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.4s var(--ease-expo) 1.2s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-std);
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(12, 154, 154, 0.4);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1.4s var(--ease-expo) 1.8s forwards;
}
.hero-scroll span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.04em;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================
   SECTIONS — Base
   ============================================ */
.section {
  padding: clamp(70px, 10vw, 140px) 0;
}
.section-dark    { background: var(--bg); }
.section-surface { background: var(--surface); }
.section-alt     { background: var(--surface-2); }
.section-header  { margin-bottom: clamp(40px, 6vw, 80px); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--text);
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

/* ============================================
   TOUR
   ============================================ */
.tour-list { list-style: none; }
.tour-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.tour-item:first-child { border-top: 1px solid var(--border); }
.tour-date {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tour-venue {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.tour-ticket {
  padding: 10px 24px;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.tour-ticket:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.tour-ticket.sold-out {
  background: #333;
  color: var(--text-muted);
  cursor: not-allowed;
}
.no-shows {
  padding: 40px 0;
  font-family: var(--font-heading);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.tour-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.link-arrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 14px; }

/* ============================================
   VIDEO
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.video-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo), filter 0.4s;
  filter: brightness(0.7);
}
.video-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.5);
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease-expo);
}
.video-play-icon svg { margin-left: 4px; }
.video-card:hover .video-play-icon {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: scale(1.12);
}
.video-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.video-card:hover .video-title { color: var(--accent); }

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-modal.open {
  opacity: 1;
  pointer-events: all;
}
.video-modal-inner {
  position: relative;
  width: min(90vw, 1100px);
  aspect-ratio: 16/9;
  background: #000;
}
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 24px;
  transition: color 0.2s;
}
.video-modal-close:hover { color: var(--accent); }

/* ============================================
   MUSIC
   ============================================ */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.music-player {
  border: none;
  border-radius: 12px;
  height: 352px;
  width: 100%;
}

/* ============================================
   MERCH
   ============================================ */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.merch-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.3s var(--ease-expo);
}
.merch-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.merch-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0a0f;
}
.merch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-expo);
}
.merch-card:hover .merch-card-img img { transform: scale(1.06); }
.merch-card-body { padding: 20px; }
.merch-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.merch-card-price {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}
.merch-shop-all {
  margin-top: 40px;
  text-align: center;
}

/* ============================================
   PATREON
   ============================================ */
.patreon-section {
  background: var(--surface);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  position: relative;
  overflow: hidden;
}
.patreon-bg {
  position: absolute;
  inset: -15% 0;
  background: url('/images/gallery/crowd-lights.jpg') center 30% / cover no-repeat;
  z-index: 0;
  will-change: transform;
}
.patreon-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 7, 0.90) 0%,
    rgba(5, 5, 7, 0.75) 50%,
    rgba(5, 5, 7, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.patreon-section .container {
  position: relative;
  z-index: 2;
}
.patreon-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.patreon-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 20px;
}
.patreon-desc {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.patreon-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.patreon-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.patreon-benefits li::before {
  content: '';
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.patreon-logo-text {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--surface-2);
  user-select: none;
  pointer-events: none;
}

/* ============================================
   PRESS
   ============================================ */
.press-strip {
  background: var(--surface);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.press-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}
.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}
.press-logo-item {
  display: flex;
  align-items: center;
  color: var(--text);
  opacity: 0.35;
  transition: opacity 0.25s;
}
.press-logo-item:hover { opacity: 0.7; }
.press-logo-item svg {
  height: 28px;
  width: auto;
  display: block;
}
/* fallback text if no SVG */
.press-logo-item span {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ============================================
   VIRTUAL SHOW
   ============================================ */
.virtual-show-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
/* Image sits on the right 58% of the section only */
.virtual-show-bg {
  position: absolute;
  right: 0;
  top: -15%;
  bottom: -15%;
  width: 75%;
  background: url('/images/gallery/press-cyber.jpg') 25% center / cover no-repeat;
  z-index: 0;
  will-change: transform;
}
/* Gradient: solid dark on left, fades out over the image */
.virtual-show-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 5, 7, 1)    0%,
    rgba(5, 5, 7, 1)    42%,
    rgba(5, 5, 7, 0.65) 58%,
    rgba(5, 5, 7, 0.1)  80%,
    rgba(5, 5, 7, 0)    100%
  );
  pointer-events: none;
  z-index: 1;
}
.virtual-show-section .container {
  position: relative;
  z-index: 2;
}
.virtual-show-inner {
  max-width: 520px;
}
.virtual-show-desc {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  .virtual-show-bg { width: 100%; }
  .virtual-show-section::before {
    background: linear-gradient(
      to bottom,
      rgba(5,5,7,0.96) 0%,
      rgba(5,5,7,0.85) 100%
    );
  }
}

/* ============================================
   ABOUT
   ============================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}
.about-text {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.9;
}
.about-text p + p { margin-top: 1.2em; }
.about-contact {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about-contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-aside {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.about-highlight {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 40px;
}
.about-highlight em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

/* ============================================
   GALLERY — removed, images stored in /images/gallery/ for future use
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 3px;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0f;
}
.gallery-item.size-feature  { grid-column: span 2; grid-row: span 2; }
.gallery-item.size-wide     { grid-column: span 2; }
.gallery-item.size-portrait { grid-row: span 2; }
.gallery-item.size-normal   { /* default 1×1 */ }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo), filter 0.4s;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.55);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
}
.gallery-expand-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
}
.gallery-item:hover .gallery-expand-icon { opacity: 1; }
.gallery-expand-icon:hover { background: var(--accent-glow); }
.gallery-expand-icon svg { width: 16px; height: 16px; stroke: #fff; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  position: relative;
  max-width: min(90vw, 1400px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border: none;
  display: block;
  transition: opacity 0.2s;
}
.lightbox-caption {
  position: absolute;
  bottom: -36px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s;
  z-index: 2001;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  z-index: 2001;
  border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-nav:hover { color: #fff; background: rgba(255,255,255,0.12); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.size-feature { grid-column: span 2; grid-row: span 2; }
  .gallery-item.size-wide    { grid-column: span 2; grid-row: span 1; }
  .gallery-item.size-portrait { grid-column: span 1; grid-row: span 2; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.size-feature,
  .gallery-item.size-wide,
  .gallery-item.size-portrait { grid-column: span 1; grid-row: span 1; }
}

/* ============================================
   SIGN UP
   ============================================ */
.signup-section {
  background: var(--surface);
  text-align: center;
}
.signup-section .section-title {
  margin-bottom: 16px;
}
.signup-section p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 40px;
}
.signup-frame-wrap {
  max-width: 620px;
  margin: 0 auto;
}
.signup-frame-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 60px 0 100px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.footer-brand img {
  height: 32px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.2s;
  margin-bottom: 16px;
}
.footer-brand img:hover { opacity: 1; }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.footer-copy a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 900px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }

  .tour-item { grid-template-columns: 1fr auto; }
  .tour-date { display: none; }

  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid .video-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .patreon-inner { grid-template-columns: 1fr; }
  .patreon-logo-text { display: none; }

  .about-inner { grid-template-columns: 1fr; }
  .about-aside { position: static; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-socials { justify-content: center; }
}

@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(5,5,7,0.98);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: clamp(64px, 20vw, 100px); }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }

  .tour-item { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .tour-date { display: block; }

  .video-grid { grid-template-columns: 1fr; }
  .video-grid .video-card:last-child { grid-column: auto; max-width: 100%; }

  .music-grid { grid-template-columns: 1fr; }
}

/* ============================================
   THEME VARIANT: Glitch (alternate class on body)
   Apply class="theme-glitch" to body for this variant
   ============================================ */
.theme-glitch .hero-title {
  animation: fadeInScale 1s var(--ease-expo) 1.4s forwards, glitchTitle 0.1s step-end 3s, glitchTitle 0.1s step-end 5s;
}
.theme-glitch .nav-logo img { animation: glitchImg 0.15s step-end 4s; }
@keyframes glitchTitle {
  0%   { clip-path: inset(40% 0 60% 0); transform: scale(1) translate(-3px, 0); color: #0ff; }
  33%  { clip-path: inset(20% 0 70% 0); transform: scale(1) translate(3px, 0);  color: #f0f; }
  66%  { clip-path: inset(70% 0 10% 0); transform: scale(1) translate(-2px, 0); color: #ff0; }
  100% { clip-path: inset(0); transform: scale(1) translate(0); color: #fff; }
}
@keyframes glitchImg {
  0%   { filter: drop-shadow(-3px 0 0 cyan) drop-shadow(3px 0 0 magenta); }
  50%  { filter: drop-shadow(3px 0 0 cyan) drop-shadow(-3px 0 0 magenta); }
  100% { filter: none; }
}
