/* ============================================
   MARTA MARTINS - ADVOGADA DO FORRÓ
   Premium Stylesheet
   ============================================ */

:root {
  --primary: #FF4D00;
  --secondary: #FFB800;
  --accent: #FF1B6B;
  --dark: #0f0a04;
  --darker: #0a0603;
  --cream: #fff5e6;
  --muted: #A89580;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--dark);
}

/* ===== PERFORMANCE: Content-visibility for off-screen sections ===== */
section:not(#hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* ===== PERFORMANCE: GPU acceleration for animated elements ===== */
.hero-blob,
.float-anim,
.music-float,
.vinyl-disc,
.ember,
#loader,
.reveal {
  will-change: transform, opacity;
}

.cursor-dot,
.cursor-ring {
  will-change: left, top;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, opacity 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(255, 77, 0, 0.1);
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring {
    display: none;
  }
}

/* ===== KEYFRIMES ===== */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes floatEmber {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) translateX(-50px) scale(0.3);
    opacity: 0;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes waveBar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ===== UTILITY ANIMATIONS ===== */
.animate-spin-slow {
  animation: spin-slow 15s linear infinite;
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* ===== HERO BLOBS ===== */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation: blob 20s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -50px;
  left: -100px;
  animation: blob 25s ease-in-out infinite;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  top: 40%;
  left: 30%;
  animation: blob 18s ease-in-out infinite;
  animation-delay: -10s;
  opacity: 0.2;
}

/* ===== HERO GRADIENT TEXT ===== */
.hero-gradient-text {
  background: linear-gradient(135deg, #FF4D00 0%, #FFB800 35%, #FF1B6B 70%, #FF4D00 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
  display: inline-block;
}

/* ===== WAVE BARS ===== */
.wave-bar {
  display: inline-block;
  width: 3px;
  border-radius: 2px;
  animation: waveBar 0.8s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }

/* ===== NAVIGATION ===== */
.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

#navbar.scrolled {
  background: rgba(15, 10, 4, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 77, 0, 0.1);
}

.mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 77, 0, 0.08);
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-link:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
  background: rgba(255, 77, 0, 0.05);
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.2);
  color: var(--cream);
  transition: all 0.3s ease;
}

.social-icon i {
  width: 18px;
  height: 18px;
}

.social-icon img.social-icon-img {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(255, 77, 0, 0.4);
}

/* ===== STREAMING LOGO BUTTONS (FOOTER) ===== */
.streaming-logo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.15);
  transition: all 0.3s ease;
}

.streaming-logo-btn:hover {
  background: rgba(255, 77, 0, 0.15);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(255, 77, 0, 0.3);
}

.streaming-logo-btn img.streaming-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF4D00 0%, #FF1B6B 100%);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(255, 77, 0, 0.3);
  cursor: pointer;
  border: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(255, 77, 0, 0.5);
}

.btn-primary:hover::after {
  left: 200%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background: rgba(255, 245, 230, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--cream);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 184, 0, 0.1);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.section-divider {
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

/* ===== MARQUEE ===== */
.marquee-strip {
  position: relative;
}

.marquee-track {
  animation: marquee 25s linear infinite;
}

.marquee-item {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #0f0a04;
  padding: 0 1rem;
  font-weight: 700;
}

.marquee-dot {
  font-size: 1rem;
  color: rgba(15, 10, 4, 0.6);
  padding: 0 0.5rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 77, 0, 0.05);
  border: 1px solid rgba(255, 77, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background: rgba(255, 77, 0, 0.1);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #FF4D00, #FFB800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ===== TIMELINE ===== */
.timeline-item {
  position: relative;
  padding-left: 4rem;
  display: flex;
  align-items: flex-start;
}

.timeline-item.timeline-right {
  padding-left: 0;
  padding-right: 4rem;
  flex-direction: row-reverse;
}

@media (min-width: 640px) {
  .timeline-item {
    width: 50%;
    padding-left: 4rem;
    padding-right: 0;
  }
  .timeline-item.timeline-right {
    margin-left: 50%;
    padding-left: 0;
    padding-right: 4rem;
  }
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 0.7rem;
  color: white;
  z-index: 5;
  box-shadow: 0 0 0 4px var(--dark), 0 0 20px rgba(255, 77, 0, 0.5);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.15);
}

@media (min-width: 640px) {
  .timeline-dot {
    left: auto;
    right: -1.25rem;
  }
  .timeline-item:not(.timeline-right) .timeline-dot {
    right: auto;
    left: auto;
    margin-left: calc(100% - 2.5rem);
  }
  .timeline-item.timeline-right .timeline-dot {
    right: auto;
    left: -1.25rem;
    margin-left: 0;
  }
}

.timeline-card {
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
}

.timeline-card:hover {
  background: rgba(255, 77, 0, 0.1);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(255, 77, 0, 0.2);
}

/* ===== EVENT CARDS ===== */
.event-card {
  position: relative;
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.event-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.08);
}

.event-image video.event-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-image video.event-video {
  transform: scale(1.08);
}

.event-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 4, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.75rem;
}

.event-image-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF4D00, #FF1B6B);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.4);
}

.event-card:hover {
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(255, 77, 0, 0.3);
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.event-day {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: white;
}

.event-month {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
}

.event-body {
  padding: 1.5rem;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--secondary);
  transition: gap 0.3s ease;
}

.event-link:hover {
  gap: 0.75rem;
}

.event-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.event-card:hover .event-shine {
  left: 200%;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 77, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover {
  border-color: rgba(255, 77, 0, 0.4);
  transform: scale(1.02);
  z-index: 5;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 4, 0.9) 0%, rgba(15, 10, 4, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-overlay i {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  width: 28px;
  height: 28px;
}

.gallery-overlay span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-tall {
    grid-row: span 1;
  }
  .gallery-wide {
    grid-column: span 2;
  }
}

/* ===== VIDEO CARDS ===== */
.video-card {
  position: relative;
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover {
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(255, 77, 0, 0.3);
}

.video-card:hover .event-shine {
  left: 200%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-body {
  padding: 1.5rem;
}

/* ===== TEAM CARDS ===== */
.team-card {
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.12);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.team-card:hover {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(255, 77, 0, 0.2);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px -5px rgba(255, 77, 0, 0.3);
}

.team-card-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.team-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== CONTACT ===== */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.12);
  border-radius: 1.25rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.25);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 15px -3px rgba(255, 77, 0, 0.3);
}

.contact-form-card {
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(15, 10, 4, 0.5);
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 0.75rem;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(15, 10, 4, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.15);
}

.form-input::placeholder {
  color: rgba(168, 149, 128, 0.5);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23A89580' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-input option {
  background: var(--dark);
  color: var(--cream);
}

/* ===== FOOTER LINKS ===== */
.footer-link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-link:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

/* ===== EMBER PARTICLES ===== */
.ember {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary), 0 0 16px rgba(255, 77, 0, 0.3);
  animation: floatEmber linear infinite;
  pointer-events: none;
}

/* ===== MUSIC PLAYER ===== */
.music-player-card {
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.vinyl-disc {
  background: url('https://static.found.ee/user/110222/res-f7712d98-eeee-4c4e-bc83-1ba8995ff2d4-list---2025-04-14T170547.199.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 0, 0.3);
  box-shadow: 0 0 20px rgba(0,0,0,0.8), 0 0 30px rgba(255, 77, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.vinyl-disc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
  border-radius: 50%;
}

.vinyl-disc.spinning {
  animation: vinylSpin 4s linear infinite;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: var(--cream);
  border-radius: 50%;
  border: 2px solid var(--primary);
  z-index: 2;
}

.vinyl-arm {
  position: absolute;
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  top: -20px;
  left: 50%;
  margin-left: -2px;
  transform-origin: top center;
  transform: rotate(45deg);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.vinyl-arm.playing {
  transform: rotate(0deg);
}

.music-wave-container {
  height: 50px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.music-wave {
  width: 4px;
  height: 12px;
  background: var(--primary);
  border-radius: 2px;
  animation: musicWaveAnim 1s ease-in-out infinite;
}

.music-wave.paused {
  animation-play-state: paused;
  height: 12px;
}

@keyframes musicWaveAnim {
  0%, 100% { height: 12px; background: var(--primary); }
  50% { height: 36px; background: var(--secondary); }
}

.music-progress-bar {
  height: 6px;
  background: rgba(255, 77, 0, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.music-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.music-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 77, 0, 0.15);
  outline: none;
}

.music-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

.music-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

.music-pulse {
  animation: musicPulse 1.5s infinite;
}

@keyframes musicPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

.music-float {
  animation: musicFloat 4s ease-in-out infinite;
}

@keyframes musicFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.playlist-box {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(15, 10, 4, 0.5);
  border: 1px solid rgba(255, 77, 0, 0.1);
}

.playlist-scroll::-webkit-scrollbar {
  width: 6px;
}
.playlist-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.playlist-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 77, 0, 0.3);
  border-radius: 4px;
}

.song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 10, 4, 0.3);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.song-item:hover {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.2);
}

.song-item.active {
  background: linear-gradient(90deg, rgba(255, 77, 0, 0.15), rgba(255, 27, 107, 0.05));
  border-color: rgba(255, 77, 0, 0.4);
}

.song-item .song-number {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  width: 24px;
  text-align: center;
}

.song-item .song-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cream);
}

.song-item.active .song-title {
  color: var(--secondary);
}

.song-item .song-artist {
  font-size: 0.75rem;
  color: var(--muted);
}

.song-item .song-duration {
  font-size: 0.75rem;
  color: var(--muted);
}

.streaming-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.12);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.streaming-card:hover {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateX(4px);
}

/* ===== YOUTUBE VIDEO FACADE ===== */
.video-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-facade:hover img {
  transform: scale(1.1);
}

.video-facade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,4,0.6), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-facade:hover .video-facade-overlay {
  background: linear-gradient(to top, rgba(15,10,4,0.4), rgba(255,77,0,0.2));
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-facade:hover .video-play-btn {
  transform: scale(1.15);
  background: rgba(255, 27, 107, 1);
}

/* ===== CLIPS SECTION ===== */
.clip-card {
  position: relative;
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clip-card:hover {
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(255, 77, 0, 0.3);
}

.clip-card:hover .clip-overlay {
  opacity: 1;
}

.clip-card:hover .event-shine {
  left: 200%;
}

.clip-card.playing .clip-overlay {
  opacity: 0;
  pointer-events: none;
}

.clip-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.clip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,4,0.7) 0%, rgba(15,10,4,0.3) 40%, rgba(255,77,0,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
  z-index: 15;
}

.clip-card:not(.playing) .clip-video-wrapper:hover .clip-overlay {
  opacity: 1;
}

.clip-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 77, 0, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
  border: none;
  cursor: pointer;
}

.clip-play-btn:hover {
  transform: scale(1.15);
  background: rgba(255, 27, 107, 1);
}

.clip-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 77, 0, 0.3);
  color: var(--cream);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
}

.clip-badge i {
  color: var(--secondary);
}

.clip-body {
  padding: 1.5rem;
}

/* ===== CLIP CUSTOM CONTROLS ===== */
.clip-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(15, 10, 4, 0.95) 0%, rgba(15, 10, 4, 0.6) 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.clip-card:hover .clip-controls,
.clip-card.playing .clip-controls {
  opacity: 1;
}

.clip-control-btn {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  min-width: 32px;
  min-height: 32px;
}

.clip-control-btn:hover {
  color: var(--secondary);
  background: rgba(255, 77, 0, 0.15);
}

.clip-time {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.clip-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 40px;
  transition: height 0.2s ease;
}

.clip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.clip-progress-bar:hover {
  height: 6px;
}

/* Touch devices: always show controls and overlay when paused */
@media (hover: none) {
  .clip-controls {
    opacity: 1;
  }
  .clip-card:not(.playing) .clip-overlay {
    opacity: 1;
  }
}

/* Small screens: compact controls */
@media (max-width: 480px) {
  .clip-controls {
    padding: 0.4rem 0.5rem;
    gap: 0.35rem;
  }
  .clip-time {
    font-size: 0.65rem;
  }
  .clip-control-btn {
    min-width: 28px;
    min-height: 28px;
    padding: 0.2rem;
  }
}

/* Fullscreen clip */
.clip-video-wrapper:fullscreen {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clip-video-wrapper:fullscreen .clip-video {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
}

.clip-video-wrapper:fullscreen .clip-controls {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 1;
  padding: 1rem 2rem;
  background: linear-gradient(to top, rgba(15, 10, 4, 0.98) 0%, rgba(15, 10, 4, 0.7) 70%, transparent 100%);
}

.clip-video-wrapper:fullscreen .clip-control-btn {
  min-width: 40px;
  min-height: 40px;
}

.clip-video-wrapper:fullscreen .clip-control-btn svg {
  width: 20px;
  height: 20px;
}

.clip-video-wrapper:fullscreen .clip-time {
  font-size: 0.85rem;
}

/* ===== HOMAGE SECTION ===== */
.homage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

@media (max-width: 768px) {
  .homage-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
}

.homage-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 184, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.homage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.homage-item:hover {
  border-color: rgba(255, 184, 0, 0.4);
  transform: scale(1.02);
  z-index: 5;
}

.homage-item:hover img {
  transform: scale(1.15);
}

.homage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 4, 0.9) 0%, rgba(15, 10, 4, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.homage-item:hover .homage-overlay {
  opacity: 1;
}

.homage-overlay i {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  width: 28px;
  height: 28px;
}

.homage-overlay span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
}

.homage-large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .homage-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 400px) {
  .homage-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .homage-large {
    grid-column: span 1;
    grid-row: span 2;
  }
}

.homage-info-card {
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.homage-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #FFB800, #FF4D00, #FF1B6B);
}

.homage-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 120px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #FFB800, #FF4D00);
  padding: 0.75rem;
  box-shadow: 0 10px 30px -5px rgba(255, 184, 0, 0.4);
}

/* ===== PERFIL SLIDESHOW ===== */
.perfil-slideshow {
  position: relative;
}

.perfil-slide-display {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 0, 0.15);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 10;
  background: #0a0603;
}

.perfil-slide-fullwidth {
  border-radius: 0;
  aspect-ratio: 21 / 9;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .perfil-slide-fullwidth {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1920px) {
  .perfil-slide-fullwidth {
    aspect-ratio: 24 / 9;
  }
}

.perfil-slide-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.perfil-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.perfil-slide-img.active {
  opacity: 1;
}

.perfil-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 10, 4, 0.95) 0%, rgba(15, 10, 4, 0.6) 60%, transparent 100%);
  z-index: 10;
}

.perfil-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 77, 0, 0.1);
  z-index: 20;
}

.perfil-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF4D00, #FFB800, #FF1B6B);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

.perfil-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 10, 4, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 77, 0, 0.3);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 15;
  opacity: 0;
}

.perfil-nav-btn:focus:not(:focus-visible) {
  outline: none;
}

.perfil-nav-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.perfil-slide-display:hover .perfil-nav-btn {
  opacity: 1;
}

.perfil-nav-btn:hover {
  background: linear-gradient(135deg, #FF4D00, #FF1B6B);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px -5px rgba(255, 77, 0, 0.5);
}

.perfil-nav-prev {
  left: 1rem;
}

.perfil-nav-next {
  right: 1rem;
}

@media (max-width: 640px) {
  .perfil-nav-btn {
    width: 40px;
    height: 40px;
    opacity: 1;
  }
  .perfil-nav-prev {
    left: 0.5rem;
  }
  .perfil-nav-next {
    right: 0.5rem;
  }
  .perfil-slide-info {
    padding: 1rem;
  }
  .perfil-slide-display:not(.perfil-slide-fullwidth) {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
  }
}

/* Thumbnails */
.perfil-thumbnails-wrap {
  position: relative;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.perfil-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  overscroll-behavior-x: contain;
}

.perfil-thumbnails::-webkit-scrollbar {
  display: none;
}

.perfil-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 50px;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 77, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0.5;
  position: relative;
}

.perfil-thumb:focus:not(:focus-visible) {
  outline: none;
}

.perfil-thumb:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.perfil-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.perfil-thumb:hover {
  opacity: 0.8;
  border-color: rgba(255, 77, 0, 0.4);
}

.perfil-thumb:hover img {
  transform: scale(1.1);
}

.perfil-thumb.active {
  opacity: 1;
  border-color: #FF4D00;
  box-shadow: 0 0 12px rgba(255, 77, 0, 0.4);
}

.perfil-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.15), rgba(255, 27, 107, 0.1));
}

.perfil-thumb-scroll-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 10, 4, 0.8);
  border: 1px solid rgba(255, 77, 0, 0.2);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.perfil-thumb-scroll-btn:focus:not(:focus-visible) {
  outline: none;
}

.perfil-thumb-scroll-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.perfil-thumb-scroll-btn:hover {
  background: rgba(255, 77, 0, 0.2);
  border-color: rgba(255, 77, 0, 0.5);
}

.perfil-play-pause-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 10, 4, 0.8);
  border: 1px solid rgba(255, 77, 0, 0.3);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.perfil-play-pause-btn:focus:not(:focus-visible) {
  outline: none;
}

.perfil-play-pause-btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.perfil-play-pause-btn:hover {
  background: linear-gradient(135deg, #FF4D00, #FF1B6B);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 8px 20px -5px rgba(255, 77, 0, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .timeline-item,
  .timeline-item.timeline-right {
    padding-left: 3.5rem;
    padding-right: 0;
    flex-direction: row;
    width: 100%;
    margin-left: 0;
  }

  .timeline-dot {
    left: 0;
    right: auto;
    width: 2rem;
    height: 2rem;
    font-size: 0.6rem;
  }
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */

/* Mobile (≤640px) */
@media (max-width: 640px) {
  /* Marquee */
  .marquee-item {
    font-size: 1rem;
    padding: 0 0.75rem;
  }
  .marquee-dot {
    font-size: 0.875rem;
  }

  /* Section spacing */
  section:not(#hero) {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  /* Section header margin */
  .text-center.mb-16 {
    margin-bottom: 2.5rem !important;
  }

  /* Music Player */
  .music-player-card {
    padding: 1.25rem !important;
  }
  .music-volume-slider {
    width: 70px;
  }
  .playlist-box {
    padding: 1rem;
  }
  .song-item {
    padding: 0.75rem 0.875rem;
  }

  /* Contact Form */
  .contact-form-card {
    padding: 1.25rem;
  }

  /* Video Cards */
  .video-body {
    padding: 1.25rem;
  }

  /* Team Cards */
  .team-card {
    padding: 1.25rem;
  }

  /* Timeline */
  .timeline-card {
    padding: 1rem 1.25rem;
  }

  /* Event Cards */
  .event-body {
    padding: 1.25rem;
  }
  .event-day {
    font-size: 2.25rem;
  }

  /* Streaming Cards */
  .streaming-card {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
}

/* Very small screens (≤400px) */
@media (max-width: 400px) {
  /* Gallery - single column */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-large,
  .gallery-wide {
    grid-column: span 1;
  }
  .gallery-large {
    grid-row: span 2;
  }

  /* Stat Cards */
  .stat-card {
    padding: 0.5rem 0.25rem;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .stat-label {
    font-size: 0.55rem;
  }

  /* Music player controls */
  #play-button {
    width: 56px !important;
    height: 56px !important;
  }

  /* Hero badge */
  .hero-badge-text {
    font-size: 0.6rem;
  }
}

/* Large screens (≥1920px) */
@media (min-width: 1920px) {
  .max-w-7xl {
    max-width: 1400px !important;
  }
  .max-w-5xl {
    max-width: 1100px !important;
  }
  .max-w-6xl {
    max-width: 1200px !important;
  }
}

/* Tablet landscape (1024px-1280px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-link {
    font-size: 0.8rem;
  }
}

/* ============================================
   ENHANCED STYLES - PREMIUM POLISH
   ============================================ */

/* ===== GLOBAL REFINEMENTS ===== */
html {
  scroll-padding-top: 80px;
}

::selection {
  background: rgba(255, 77, 0, 0.3);
  color: var(--cream);
}

/* ===== ENHANCED REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== ENHANCED SECTION SEPARATORS ===== */
section:not(#hero)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 77, 0, 0.2), rgba(255, 184, 0, 0.15), rgba(255, 27, 107, 0.2), transparent);
  z-index: 2;
}

/* ===== ENHANCED GLASSMORPHISM ===== */
.event-card,
.team-card,
.video-card,
.clip-card,
.contact-card,
.contact-form-card,
.music-player-card,
.playlist-box,
.homage-info-card,
.timeline-card {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ===== 3D CARD EFFECTS ===== */
.event-card,
.team-card,
.video-card,
.clip-card {
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tilt-active {
  transition: transform 0.15s ease-out !important;
}

/* ===== ENHANCED BUTTON EFFECTS ===== */
.btn-primary {
  animation: btnPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 10px 25px -5px rgba(255, 77, 0, 0.3);
  }
  50% {
    box-shadow: 0 10px 35px -5px rgba(255, 77, 0, 0.5),
                0 0 20px rgba(255, 77, 0, 0.15);
  }
}

.btn-primary:hover {
  animation: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(255, 77, 0, 0.5),
              0 0 30px rgba(255, 77, 0, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 184, 0, 0.12);
  box-shadow: 0 10px 25px -5px rgba(255, 184, 0, 0.2);
  border-color: rgba(255, 184, 0, 0.5);
}

/* ===== ENHANCED SECTION TITLES ===== */
.section-title {
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(255, 77, 0, 0.08);
}

.section-divider {
  position: relative;
  overflow: hidden;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: dividerShine 4s ease-in-out infinite;
}

@keyframes dividerShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ===== ENHANCED STAT CARDS ===== */
.stat-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.stat-number {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== ENHANCED TIMELINE CARDS ===== */
.timeline-card {
  position: relative;
  overflow: hidden;
}

.timeline-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.5s ease;
}

.timeline-card:hover::after {
  width: 100%;
}

/* ===== ENHANCED GALLERY & HOMAGE ITEMS ===== */
.gallery-item:hover,
.homage-item:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(255, 77, 0, 0.1);
}

.gallery-overlay,
.homage-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ===== ENHANCED EVENT CARD DATE BADGE ===== */
.event-date-badge {
  position: relative;
  overflow: hidden;
}

.event-date-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.event-card:hover .event-date-badge::after {
  left: 200%;
}

/* ===== ENHANCED CONTACT FORM ===== */
.form-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.15),
              0 0 20px rgba(255, 77, 0, 0.08);
  background: rgba(15, 10, 4, 0.9);
}

.form-input {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ENHANCED CUSTOM CURSOR ===== */
.cursor-dot {
  mix-blend-mode: difference;
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(255, 77, 0, 0.08);
  mix-blend-mode: difference;
}

/* ===== ENHANCED NAVBAR ===== */
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
              0 1px 0 rgba(255, 77, 0, 0.1);
}

/* ===== ENHANCED STREAMING CARDS ===== */
.streaming-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.streaming-card:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 25px -5px rgba(255, 77, 0, 0.2);
}

.streaming-logo-btn:hover {
  background: rgba(255, 77, 0, 0.15);
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px -6px rgba(255, 77, 0, 0.3);
}

/* ===== ENHANCED FOOTER ===== */
.footer-link:hover {
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 24px -6px rgba(255, 77, 0, 0.4);
}

/* ===== ENHANCED MUSIC PULSE ===== */
@keyframes musicPulseEnhanced {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 77, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
  }
}

.music-pulse {
  animation: musicPulseEnhanced 1.5s infinite;
}

/* ===== ENHANCED BOTTOM TO TOP ===== */
#backToTop:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 15px 30px -5px rgba(255, 77, 0, 0.5);
}

/* ===== ENHANCED LOADING SCREEN ===== */
#loader {
  background: linear-gradient(135deg, #0f0a04 0%, #1a0f06 50%, #0f0a04 100%);
}

/* ===== ENHANCED CLIP OVERLAY ===== */
.clip-overlay {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* ===== ENHANCED MOBILE MENU ===== */
#mobileMenu {
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ENHANCED SONG ITEMS ===== */
.song-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.song-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.song-item.active::before,
.song-item:hover::before {
  transform: scaleY(1);
}

/* ===== ENHANCED SECTION BADGES ===== */
.reveal .inline-flex.items-center.gap-2 {
  transition: all 0.3s ease;
}

.reveal .inline-flex.items-center.gap-2:hover {
  background: rgba(255, 77, 0, 0.15);
  transform: scale(1.02);
}

/* ===== ENHANCED RESPONSIVE ===== */
@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .contact-card {
    padding: 1rem;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
  }

  .perfil-thumb {
    width: 56px;
    height: 40px;
  }

  .perfil-slide-info {
    padding: 0.75rem !important;
  }
}

@media (min-width: 1280px) {
  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .homage-grid {
    grid-auto-rows: 250px;
  }
}

/* ===== ENHANCED KEYBOARD FOCUS ===== */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* ===== LIGHTBOX TRANSITIONS ===== */
#lightboxImg {
  transition: opacity 0.3s ease;
}

#lightbox {
  transition: opacity 0.3s ease;
}

/* ===== FLOATING NOTIFICATIONS ===== */
.site-notification {
  pointer-events: auto;
  background: rgba(15, 10, 4, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6),
              0 0 20px rgba(255, 77, 0, 0.15);
  animation: notificationSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #FF4D00, #FFB800, #FF1B6B);
  border-radius: 4px 0 0 4px;
}

.site-notification::after {
  display: none;
}

.notification-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #FF4D00, #FFB800, #FF1B6B);
  transform-origin: left;
  animation: notificationProgress linear forwards;
  border-radius: 0 0 1rem 1rem;
  z-index: 5;
}

.site-notification:hover {
  border-color: rgba(255, 77, 0, 0.5);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7),
              0 0 30px rgba(255, 77, 0, 0.25);
}

.site-notification.hiding {
  animation: notificationSlideOut 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes notificationSlideIn {
  0% {
    opacity: 0;
    transform: translateX(120%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes notificationSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(120%) scale(0.8);
  }
}

@keyframes notificationProgress {
  0% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.notification-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.notification-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 245, 230, 0.05);
  border: none;
  color: #A89580;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  padding: 0;
}

.site-notification:hover .notification-close-btn {
  opacity: 1;
}

.notification-close-btn:hover {
  background: rgba(255, 77, 0, 0.2);
  color: #FF4D00;
}

/* Notification permission prompt */
#notification-prompt {
  animation: notificationPromptSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#notification-prompt.hiding {
  animation: notificationSlideOut 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes notificationPromptSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  #notification-container {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 5rem;
    max-width: none !important;
  }

  .site-notification {
    padding: 0.875rem 1rem;
  }

  .notification-icon-wrap {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}



/* ===== EVENT STATUS BADGES ===== */
.event-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.event-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.event-status-confirmed {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.event-status-confirmed .event-status-dot {
  background: #4ade80;
  animation: musicPulseEnhanced 1.5s infinite;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.event-status-open {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  color: #FFB800;
}

.event-status-open .event-status-dot {
  background: #FFB800;
  animation: musicPulseEnhanced 2s infinite;
  box-shadow: 0 0 6px rgba(255, 184, 0, 0.4);
}

/* ===== EVENT TYPE TAGS ===== */
.event-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-type-saojoao {
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.25);
  color: #FF4D00;
}

.event-type-festival {
  background: rgba(255, 27, 107, 0.1);
  border: 1px solid rgba(255, 27, 107, 0.25);
  color: #FF1B6B;
}

.event-type-tour {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  color: #FFB800;
}

/* ===== SHARE EVENT BUTTON ===== */
.share-event-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.15);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.share-event-btn:hover {
  background: rgba(255, 77, 0, 0.15);
  border-color: rgba(255, 77, 0, 0.4);
  color: var(--secondary);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

/* ===== EVENT CTA CARD ===== */
.event-cta-card {
  background: rgba(15, 10, 4, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 2rem;
}

/* ===== SHARE TOAST ===== */
.share-toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 10, 4, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 77, 0, 0.15);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.share-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== ENHANCED EVENT CARD FEATURED ===== */
.event-card.md\:scale-\[1_02\] {
  border-color: rgba(255, 77, 0, 0.25);
  box-shadow: 0 0 30px -10px rgba(255, 77, 0, 0.15);
}

@media (max-width: 768px) {
  .event-card.md\:scale-\[1_02\] {
    transform: none;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-blob,
  .float-anim,
  .music-float,
  .vinyl-disc.spinning,
  .music-wave,
  .music-pulse,
  .ember,
  .animate-spin-slow {
    animation: none !important;
  }

  .hero-gradient-text {
    background-size: 100% 100% !important;
    animation: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  #loader {
    transition: none !important;
  }
}

/* ===== MEDIA RESPONSIVENESS IMPROVEMENTS ===== */

/* Ensure media elements don't cause horizontal scroll on any device */
img,
video,
iframe {
  max-width: 100%;
}

/* Tablet portrait breakpoint (769px-1024px) for perfil slideshow */
@media (min-width: 769px) and (max-width: 1024px) {
  .perfil-slide-fullwidth {
    aspect-ratio: 16 / 9;
  }
}

/* Gallery tablet breakpoint — 3 columns instead of 4 */
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Homenagem grid tablet breakpoint — 3 columns */
@media (min-width: 769px) and (max-width: 1024px) {
  .homage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Landscape mobile lightbox fix — image too tall in landscape */
@media (max-width: 768px) and (orientation: landscape) {
  #lightboxImg {
    max-height: 75vh;
    max-width: 85vw;
  }
  #lightboxCaption {
    margin-top: 0.25rem;
    font-size: 0.7rem;
  }
  #lightboxCounter {
    margin-top: 0;
    font-size: 0.6rem;
  }
}

/* Very small screen music player fix (≤380px) */
@media (max-width: 380px) {
  .music-player-card {
    padding: 1rem !important;
  }
  .vinyl-disc {
    width: 56px !important;
    height: 56px !important;
  }
  .music-wave-container {
    display: none !important;
  }
  #play-button {
    width: 52px !important;
    height: 52px !important;
  }
  .music-volume-slider {
    width: 60px;
  }
  .song-item {
    padding: 0.625rem 0.75rem;
  }
  .song-item .song-title {
    font-size: 0.8rem;
  }
}

/* Hero floating cards fix — prevent overflow on small screens */
@media (max-width: 480px) {
  .float-anim {
    max-width: calc(100vw - 2rem);
  }
}

/* Clip play button on very small screens */
@media (max-width: 400px) {
  .clip-play-btn {
    width: 48px;
    height: 48px;
  }
}

/* Fix video facade play button on small screens */
@media (max-width: 640px) {
  .video-play-btn {
    width: 52px;
    height: 52px;
  }
}

/* Fix perfil thumbnails on very small screens */
@media (max-width: 400px) {
  .perfil-thumb {
    width: 48px;
    height: 34px;
  }
}

/* Ensure event video container has dark background while loading */
.event-image {
  background: #0a0603;
}

/* Ensure clip video wrapper has dark background while loading */
.clip-video-wrapper {
  background: #0a0603;
}

/* Fix YouTube iframe border on all devices */
.video-wrapper iframe {
  border: 0;
}

/* ===== DOWNLOAD MEDIA BUTTON ===== */
.download-media-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 10, 4, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 77, 0, 0.3);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}

.gallery-item:hover .download-media-btn,
.homage-item:hover .download-media-btn {
  opacity: 1;
  pointer-events: auto;
}

.download-media-btn:hover {
  background: linear-gradient(135deg, #FF4D00, #FF1B6B);
  border-color: transparent;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.4);
  color: white;
}

.download-media-btn.downloading {
  pointer-events: none;
  opacity: 0.6;
}

.download-media-btn.downloading svg {
  animation: downloadSpin 0.8s linear infinite;
}

@keyframes downloadSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Clip download button */
.clip-download-btn {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  min-width: 32px;
  min-height: 32px;
}

.clip-download-btn:hover {
  color: var(--secondary);
  background: rgba(255, 77, 0, 0.15);
}

.clip-download-btn.downloading {
  pointer-events: none;
  opacity: 0.6;
}

.clip-download-btn.downloading svg {
  animation: downloadSpin 0.8s linear infinite;
}

/* Perfil download button */
.perfil-download-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 10, 4, 0.8);
  border: 1px solid rgba(255, 77, 0, 0.3);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.perfil-download-btn:hover {
  background: linear-gradient(135deg, #FF4D00, #FF1B6B);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 8px 20px -5px rgba(255, 77, 0, 0.4);
  color: white;
}

.perfil-download-btn.downloading {
  pointer-events: none;
  opacity: 0.6;
}

.perfil-download-btn.downloading svg {
  animation: downloadSpin 0.8s linear infinite;
}

/* Lightbox download button */
.lightbox-download-btn {
  position: absolute;
  top: 1.5rem;
  right: 5.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-download-btn:hover {
  background: #FF4D00;
  transform: scale(1.1);
}

.lightbox-download-btn.downloading {
  pointer-events: none;
  opacity: 0.6;
}

.lightbox-download-btn.downloading svg {
  animation: downloadSpin 0.8s linear infinite;
}

@media (max-width: 640px) {
  .lightbox-download-btn {
    top: 1rem;
    right: 4.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ===== ENHANCED PRINT STYLES ===== */
@media print {
  #navbar, #backToTop, #loader, #embers, .cursor-dot, .cursor-ring {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  section {
    break-inside: avoid;
  }
}