@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

/* Style Tokens & Variables */
:root {
  --bg-primary: #050506;
  --bg-secondary: #0e0e12;
  --text-primary: #ffffff;
  --text-muted: #a0a0ab;
  --accent-cherry: #ff073a;
  --accent-cherry-neon: #ff2d55;
  --accent-green: #39ff14;
  --accent-purple: #8a2be2;
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --glass-bg: rgba(10, 10, 14, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: rgba(0, 0, 0, 0.5);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cherry) var(--bg-primary);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cherry), var(--accent-cherry-neon));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cherry-neon);
}

/* Selection */
::selection {
  background: var(--accent-cherry);
  color: var(--text-primary);
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #020203;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.1);
}

.preloader-controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 10;
}

.preloader-btn {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 24px;
  border-radius: 40px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.preloader-btn:hover {
  border-color: var(--accent-cherry);
  box-shadow: 0 0 15px rgba(255, 7, 58, 0.4);
  transform: translateY(-2px);
}

.preloader-btn.accent {
  background: linear-gradient(135deg, var(--accent-cherry), var(--accent-purple));
  border: none;
}

.preloader-btn.accent:hover {
  box-shadow: 0 0 20px rgba(255, 7, 58, 0.6);
}

/* Sound Icon Animation */
.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 16px;
}
.sound-waves span {
  display: block;
  width: 2px;
  background-color: var(--text-primary);
  animation: bounce 0.8s ease infinite alternate;
}
.sound-waves.muted span {
  animation: none;
  height: 2px !important;
}
.sound-waves span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.sound-waves span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.sound-waves span:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.sound-waves span:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes bounce {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Loading Bar indicator at top */
.preloader-bar-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 10;
}
.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cherry), var(--accent-cherry-neon));
  box-shadow: 0 0 10px var(--accent-cherry-neon);
  transition: width 0.1s linear;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 20px 40px;
  transition: padding var(--transition-normal), background-color var(--transition-normal);
}

header.scrolled {
  padding: 15px 40px;
  background-color: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.artist-brand {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.artist-brand span {
  display: inline-block !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.85), 0 0 20px var(--accent-cherry) !important;
  animation: whiteFlashGlow 3s infinite ease-in-out !important;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-cherry-neon);
  position: relative;
  text-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cherry), var(--accent-cherry-neon));
  transition: width var(--transition-fast);
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

.nav-close-btn {
  display: none;
}

/* --- Common Layout Elements --- */
section {
  position: relative;
  padding: 120px 40px;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-cherry);
}

.section-title span {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent-cherry-neon);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* Glassmorphism Card Style */
.glass-panel {
  background: rgba(10, 10, 14, 0.45);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

#home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-image: linear-gradient(rgba(5, 5, 6, 0.8), rgba(5, 5, 6, 0.8)), url('wrinkled_paper_texture.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 800px auto;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.05); /* keeps video subtle so typography is highly legible */
}

/* Ensure container content floats over the video background */
#home .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-cherry-neon);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 15px;
  display: inline-block;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -3px;
  margin-bottom: 30px;
  color: var(--text-primary);
  animation: fadeInUp 1.2s ease forwards;
}

.hero-title span {
  display: block !important;
  animation: heroGlowBlink 1.4s infinite ease-in-out !important;
}

@keyframes whiteFlashGlow {
  0%, 100% {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 
                 0 0 22px var(--accent-cherry),
                 0 0 32px var(--accent-cherry-neon);
  }
  50% {
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.25), 
                 0 0 7px rgba(255, 7, 58, 0.25);
  }
}

@keyframes heroGlowBlink {
  0%, 100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 
                 0 0 25px var(--accent-cherry), 
                 0 0 45px var(--accent-cherry-neon),
                 0 0 60px var(--accent-cherry-neon);
    color: #ffffff;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.6;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInUp 1.4s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  animation: fadeInUp 1.6s ease forwards;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 40px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cherry), var(--accent-purple));
  color: var(--text-primary);
  border: none;
  box-shadow: 0 5px 20px rgba(255, 7, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 7, 58, 0.5), 0 0 15px var(--accent-cherry-neon);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

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

/* --- Biography Section --- */
#biography {
  background-image: linear-gradient(to bottom, rgba(5, 5, 6, 0.6), rgba(5, 5, 6, 0.7)), url('fondo1.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.bio-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.bio-highlight {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-cherry-neon);
  padding-left: 20px;
  margin-bottom: 24px;
}


.bio-content-left {
  width: 100%;
}
.bio-card-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.fans-container {
  width: 100%;
}
.contact-info-panel, .contact-form-panel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.bio-card-wrapper {
  perspective: 1000px;
}

.bio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}

.bio-card img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(40%) contrast(1.1);
  transition: filter var(--transition-normal);
}

.bio-card:hover img {
  filter: grayscale(0%) contrast(1.1);
}

.bio-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.bio-card-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bio-card-role {
  font-size: 0.9rem;
  color: var(--accent-cherry-neon);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Message to Fans Section --- */
#fans-message {
  background-image: linear-gradient(to bottom, rgba(5, 5, 6, 0.6), rgba(5, 5, 6, 0.7)), url('fondo1.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 100px 40px;
}

.fans-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 6rem;
  font-family: var(--font-display);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cherry), var(--accent-cherry-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  margin-bottom: -30px;
}

.fans-text {
  font-size: 1.8rem;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: #f3f3f6;
  margin-bottom: 30px;
}

.fans-signature {
  font-family: 'Caveat', cursive, 'Brush Script MT', sans-serif !important;
  font-size: 3.2rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.85), 0 0 20px var(--accent-cherry), 0 0 30px var(--accent-cherry-neon) !important;
  margin-top: 25px !important;
  display: inline-block !important;
  transform: rotate(-3deg); /* Slight angle for realistic signature look! */
}

/* --- Stats Dashboard / Numbers --- */
#stats {
  background-image: linear-gradient(rgba(14, 14, 18, 0.8), rgba(14, 14, 18, 0.8)), url('wrinkled_paper_texture.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 800px auto;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 50px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card.spotify:hover::before {
  background-color: var(--accent-green);
}

.stat-card.youtube:hover::before {
  background-color: #ff0000;
}

.stat-card.total:hover::before {
  background-color: var(--accent-cherry-neon);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  transition: transform var(--transition-fast);
}

.stat-card:hover .stat-icon {
  transform: scale(1.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 10px;
  white-space: nowrap;
}

.stat-card.spotify .stat-number {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-green) 100%);
  -webkit-background-clip: text;
}
.stat-card.youtube .stat-number {
  background: linear-gradient(135deg, #ffffff 30%, #ff5b5b 100%);
  -webkit-background-clip: text;
}
.stat-card.total .stat-number {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cherry-neon) 100%);
  -webkit-background-clip: text;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

#music {
  background-image: url('fondo 2.jpg');
  background-size: cover;
  background-position: left center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* High-fidelity layout container to ensure content is pushed left */
.music-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.music-content {
  max-width: 580px;
  margin-left: 0; /* Pushes content to the left side on desktop */
  margin-right: auto;
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.custom-player {
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.player-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}

.player-cover {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  position: relative;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-meta {
  flex-grow: 1;
}

.player-track-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.player-track-artist {
  font-size: 0.9rem;
  color: var(--accent-cherry-neon);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.player-btn-circle {
  background: var(--text-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--bg-primary);
  font-size: 1.2rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.player-btn-circle:hover {
  transform: scale(1.08);
  background-color: var(--accent-cherry-neon);
  box-shadow: 0 0 20px var(--accent-cherry-neon);
}

.player-progress-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.player-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cherry), var(--accent-cherry-neon));
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
}

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.track-item:hover, .track-item.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.track-item.active {
  border-color: var(--accent-cherry-neon);
}

.track-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.track-index {
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 20px;
}

.track-name {
  font-weight: 500;
}

.track-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spotify-embed {
  margin-top: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
}

/* --- Photo Gallery --- */
#gallery {
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

/* Custom visual layout grid with mixed column/row spans for premium design */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: transform var(--transition-normal);
}



.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.9);
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.gallery-icon {
  color: var(--text-primary);
  font-size: 2rem;
  transform: translateY(10px);
  transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/* Lightbox Modal */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 2, 3, 0.96);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

#lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-cherry);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-counter {
  margin-top: 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Booking & Contact --- */
#contact {
  background-image: linear-gradient(180deg, rgba(14, 14, 18, 0.8) 0%, rgba(5, 5, 6, 0.8) 100%), url('wrinkled_paper_texture.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 800px auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-cherry-neon);
  font-size: 1.2rem;
}

.contact-detail-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail-val {
  font-weight: 500;
  font-size: 1.05rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.social-btn.spotify:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--bg-primary);
  box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

.social-btn.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: 12px;
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-cherry-neon);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(255, 45, 85, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
footer {
  background-image: linear-gradient(rgba(2, 2, 3, 0.8), rgba(2, 2, 3, 0.8)), url('wrinkled_paper_texture.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 800px auto;
  padding: 40px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.footer-brand span {
  color: var(--accent-cherry);
}

/* --- Responsive Adaptations (Media Queries) --- */
@media (max-width: 1024px) {
  section {
    padding: 70px 20px;
  }
  
  header {
    padding: 15px 20px;
  }
  
  /* Center Section Titles on Mobile and restrict clamp to prevent page overflow clipping */
  .section-title {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 40px auto !important;
    font-size: clamp(2rem, 7vw, 3.2rem) !important;
    letter-spacing: -1.5px !important;
    width: 100% !important;
  }
  
  .section-title span {
    display: block !important;
    text-align: center !important;
  }
  
  .section-title::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  /* Biography Centering */
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
  }
  
  .bio-content-left {
    text-align: center;
    width: 100%;
  }
  
  .bio-highlight {
    border-left: none;
    border-bottom: 2px solid var(--accent-cherry-neon);
    padding-left: 0;
    padding-bottom: 15px;
    text-align: center;
  }
  
  .bio-text {
    text-align: center;
  }
  
  .bio-card-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-card {
    padding: 35px 20px;
  }
  
  #music {
    background-image: url('fondo 2.jpg');
    background-position: left center;
    min-height: auto;
  }
  
  .music-content {
    max-width: 100%;
    margin-right: unset;
    text-align: center;
  }
  
  /* Contact & Booking Centering */
  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    width: 100%;
  }
  
  .contact-info-panel {
    text-align: center;
    width: 100%;
  }
  
  .contact-list {
    align-items: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-form-panel {
    width: 100%;
  }
  
  .contact-form-panel h3 {
    text-align: center;
  }
  
  .contact-form .btn {
    align-self: center !important;
  }
  
  .bio-content-left {
    width: 100% !important;
  }
  .fans-container {
    width: 100% !important;
  }
  .contact-info-panel, .contact-form-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-nav {
    background: rgba(0, 0, 0, 0.6);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .glass-panel {
    padding: 25px !important;
  }
  
  .mobile-nav-toggle {
    display: block;
  }

  .nav-close-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 910;
    transition: color var(--transition-fast);
  }

  .nav-close-btn:hover {
    color: var(--accent-cherry-neon);
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    visibility: hidden;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    padding: 100px 40px;
    transition: right var(--transition-normal), visibility var(--transition-normal);
    z-index: 850;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  nav.open {
    right: 0;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    gap: 30px;
  }
  
  nav a {
    font-size: 1.1rem;
    display: block;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    height: auto;
  }
  .gallery-item {
    height: 280px;
  }
  
  .hero-title {
    margin-bottom: 20px;
  }
  
  .preloader-controls {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 70px 20px;
  }
  
  header {
    padding: 15px 20px;
  }
  
  .preloader-controls {
    flex-direction: column;
    gap: 15px;
    bottom: 30px;
  }
  
  .preloader-btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-number {
    font-size: 2.8rem !important;
  }
}

/* --- Videos Section --- */
#videos {
  background-image: linear-gradient(rgba(5, 5, 6, 0.8), rgba(5, 5, 6, 0.8)), url('wrinkled_paper_texture.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 800px auto;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  padding: 15px !important;
  transition: transform var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 7, 58, 0.2) !important;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 10px;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Floating Audio Control Button */
.global-audio-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 800;
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
}

.global-audio-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.global-audio-btn:hover {
  border-color: var(--accent-cherry-neon);
  box-shadow: 0 10px 30px rgba(255, 7, 58, 0.2);
}

@media (max-width: 768px) {
  .global-audio-btn {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 0.75rem;
  }
}
