@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600&display=swap');

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

:root {
  --red: #c0000a;
  --red-glow: #ff0018;
  --dark: #060608;
  --dark2: #0e0b0b;
  --gold: #c9a227;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ── ENTER OVERLAY ── */
#enter-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #060608;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

#enter-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
}

#enter-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#enter-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#enter-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 16vw, 14rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: #fff;
  text-shadow:
    0 0 40px rgba(192, 0, 10, 0.8),
    0 0 100px rgba(192, 0, 10, 0.4);
}

#enter-tagline {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(0.7rem, 2vw, 1rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

#enter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 16px 52px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

#enter-btn:hover {
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(192,0,10,0.35);
  background: rgba(192,0,10,0.1);
}

/* ── SMOKE CANVAS ── */
#smoke-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.75;
}

/* ── SPOTIFY BUTTON ── */
#spotify-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  background: var(--dark);
}

#spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 18px 36px;
  letter-spacing: 0.25em;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

#spotify-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,0,10,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

#spotify-btn:hover::before { opacity: 1; }

#spotify-btn:hover {
  border-color: rgba(192, 0, 10, 0.5);
  box-shadow: 0 0 30px rgba(192, 0, 10, 0.2), inset 0 0 20px rgba(192,0,10,0.05);
}

#spotify-icon {
  width: 22px;
  height: 22px;
  color: #1DB954;
  flex-shrink: 0;
}

/* ── AUDIO PLAYER BAR ── */
#audio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 6, 8, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(192, 0, 10, 0.3);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 24px;
}

#audio-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

#audio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

#audio-visualizer span {
  display: block;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  animation: none;
  height: 4px;
  transition: height 0.1s;
}

#audio-bar.playing #audio-visualizer span:nth-child(1) { animation: bar 0.9s ease-in-out infinite; }
#audio-bar.playing #audio-visualizer span:nth-child(2) { animation: bar 0.7s ease-in-out infinite 0.15s; }
#audio-bar.playing #audio-visualizer span:nth-child(3) { animation: bar 1.1s ease-in-out infinite 0.05s; }
#audio-bar.playing #audio-visualizer span:nth-child(4) { animation: bar 0.8s ease-in-out infinite 0.25s; }
#audio-bar.playing #audio-visualizer span:nth-child(5) { animation: bar 1.0s ease-in-out infinite 0.1s; }

@keyframes bar {
  0%, 100% { height: 4px; }
  50%       { height: 22px; }
}

#audio-text { line-height: 1.3; }

#audio-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #fff;
  letter-spacing: 0.05em;
}

#audio-artist {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#audio-controls {
  display: flex;
  align-items: center;
}

#play-btn {
  background: none;
  border: 1px solid rgba(192,0,10,0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

#play-btn:hover {
  background: rgba(192,0,10,0.2);
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(192,0,10,0.4);
}

#play-btn svg { width: 20px; height: 20px; }

#audio-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#audio-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}

#audio-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--red), #ff4444);
  border-radius: 2px;
  transition: width 0.5s linear;
}

#audio-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* push footer up so player bar doesn't cover it */
footer { padding-bottom: 80px; }

/* ── HERO ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  animation: slowzoom 18s ease-in-out infinite alternate;
}

@keyframes slowzoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

#hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,6,8,0.15) 0%,
    rgba(6,6,8,0.10) 40%,
    rgba(6,6,8,0.70) 75%,
    rgba(6,6,8,1.00) 100%
  );
}

#hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 80px;
}

#hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 14rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: #fff;
  text-shadow:
    0 0 40px rgba(192, 0, 10, 0.8),
    0 0 100px rgba(192, 0, 10, 0.4),
    0 2px 6px rgba(0,0,0,0.9);
  animation: flicker 6s ease-in-out infinite;
}

@keyframes flicker {
  0%, 92%, 96%, 100% { opacity: 1; }
  93%               { opacity: 0.88; }
  95%               { opacity: 0.94; }
}

#hero-content .tagline {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(0.75rem, 2vw, 1.1rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  animation: bounce 2.2s ease-in-out infinite;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--red));
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── GALLERY ── */
#gallery {
  padding: 80px 0 120px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s ease;
  filter: brightness(0.82) saturate(0.9);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,0,10,0.08) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0;
}

.gallery-item:hover::after {
  opacity: 1;
}


/* ── FLOW LEGENDARIO 2×2 GRID ── */
.flow-4grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.flow-4grid .gallery-item {
  height: 42vw;
  max-height: 520px;
}

.flow-label-bar {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.flow-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6rem);
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow:
    0 0 40px rgba(192, 0, 10, 0.8),
    0 0 100px rgba(192, 0, 10, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.9);
}

/* full-width wide photos */
.wide-item {
  width: 100%;
  height: 56vw;
  max-height: 620px;
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(192,0,10,0.3);
  box-shadow: 0 0 80px rgba(192,0,10,0.25);
}

#lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

#lightbox-close:hover {
  color: var(--red);
}

/* ── SECTION LABELS ── */
.section-label {
  text-align: center;
  margin-bottom: 48px;
}

.section-label h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 0 30px rgba(192,0,10,0.5);
}

.section-label .red-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 12px auto 0;
}

/* ── MUSIC SECTION ── */
#music {
  padding: 80px 0 160px;
  background: linear-gradient(to bottom, var(--dark), var(--dark2));
  text-align: center;
}

#music .spotify-wrap {
  display: inline-block;
  border: 1px solid rgba(192,0,10,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(192,0,10,0.12), 0 8px 40px rgba(0,0,0,0.6);
}

/* ── RED DIVIDER ── */
.red-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
  opacity: 0.4;
}

/* ── FOOTER ── */
footer {
  padding: 40px 24px 48px;
  text-align: center;
  background: var(--dark2);
}

footer p {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

footer .socials a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.3s;
}

footer .socials a:hover {
  color: var(--red);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .flow-4grid .gallery-item {
    height: 48vw;
  }
}
