:root {
  --bg: #0a0a0c;
  --fg: #f4f2ee;
  --muted: #8a8a92;
}

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

html, body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Archivo', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Prevent image & video blowout before layout loads */
img, video {
  max-width: 100%;
  height: auto;
}

/* Background Video & Tint Layer */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  filter: blur(12px);
  transform: scale(1.08);
  pointer-events: none;
  background-color: var(--bg);
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 12, 0.65);
  z-index: 1;
  pointer-events: none;
}

#page-content {
  position: relative;
  z-index: 10;
}

/* Home Page Hero & Navigation */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.links {
  font-family: 'Anton', 'Archivo', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}

.links a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.links a:hover,
.links a:focus-visible {
  color: var(--muted);
}

/* Bottom Audio Controls Bar */
.audio-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid #1e1e22;
  padding: 0.6rem 1.25rem;
  border-radius: 40px;
  z-index: 100;
}

.audio-btn {
  background: transparent;
  border: 1px solid #1e1e22;
  color: var(--fg);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.audio-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--fg);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-icon {
  font-size: 0.9rem;
}

#volume-slider {
  accent-color: var(--fg);
  cursor: pointer;
  width: 80px;
}

/* Header & Navigation */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 2.5rem 5vw 1.5rem;
  border-bottom: 1px solid #1e1e22;
}

.back {
  position: absolute;
  left: 5vw;
  top: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.back:hover, .back:focus-visible {
  color: var(--fg);
  border-color: var(--fg);
}

h1 {
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.08em;
  text-align: center;
}

/* Masonry Gallery Grid */
.gallery-grid {
  column-count: 3;
  column-gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 5vw 7rem;
}

@media (max-width: 768px) {
  .gallery-grid { column-count: 2; }
}
@media (max-width: 480px) {
  .gallery-grid { column-count: 1; }
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #1e1e22;
  background: rgba(18, 18, 22, 0.5);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover,
.gallery-item video:hover {
  transform: scale(1.03);
}

/* Concerts List Page Styling */
.checklist {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
  padding: 3.5rem 5vw 5rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #1e1e22;
}

.box {
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.checklist a {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.checklist a:hover,
.checklist a:focus-visible {
  color: var(--muted);
}

/* Lightbox Modal */
#lightbox {
  margin: auto;
  position: relative;
  background: transparent;
  border: none;
  max-width: 90vw;
  max-height: 90vh;
  outline: none;
  overflow: visible;
}

#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

#lightbox img,
#lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

#lightbox-video {
  display: none;
}

.close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  background: rgba(18, 18, 22, 0.95);
  color: var(--fg);
  border: 1px solid #1e1e22;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
