:root{
  /* Paleta base (fácil de cambiar) */
  --bg1: #fff3fb;
  --bg2: #ffe6f4;
  --pink: #ff7fc8;
  --pink2: #ffb3dc;
  --text: #2b1b2a;
  --soft: rgba(43, 27, 42, 0.65);
  --card: rgba(255,255,255,0.8);
  --border: rgba(255, 127, 200, 0.35);
  --shadow: 0 18px 45px rgba(255, 127, 200, 0.20);
}

/* Base */
body{
  margin: 0;
  padding: 20px;
  body{
  /* ...lo que ya tienes... */
  font-family: "Rubik", "Trebuchet MS", Verdana, Arial, sans-serif;
}

  color: var(--text);

  /* Fondo y2k suave */
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(255,127,200,0.25), transparent 55%),
    radial-gradient(800px 500px at 90% 20%, rgba(255,255,255,0.85), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));

  /* Brillitos discretos */
  background-image:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 25%, rgba(255,255,255,0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 60%, rgba(255,255,255,0.40) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.50) 0 2px, transparent 3px),
    linear-gradient(135deg, var(--bg1), var(--bg2));

  background-size: 100% 100%;
}

/* Header simple por ahora */
header{
  text-align: center;
  margin-bottom: 10px;
}

header h1{
  margin: 10px 0 4px;
  letter-spacing: 0.3px;
}

header h2{
  margin: 0 0 10px;
  color: var(--soft);
  font-weight: 600;
}

/* Nav */
nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0 22px;
}

button{
  padding: 10px 14px;
  cursor: pointer;

  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  color: var(--text);

  box-shadow: 0 8px 18px rgba(255,127,200,0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255,127,200,0.22);
}

/* Secciones */
.seccion{
  display: none;
}

.seccion.activa{
  display: block;
}

/* Card principal */
.profileCard{
  width: min(720px, 92vw);
  margin: 0 auto;
  padding: 18px 18px 22px;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);

  backdrop-filter: blur(6px);
}

/* Barrita con glitter */
.sparkleBar{
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 10px;
  margin-bottom: 12px;

  border-radius: 14px;
  border: 1px dashed rgba(255,127,200,0.35);
   background: rgba(255,255,255,0.80);
  color: rgba(255,127,200,0.95);
  font-weight: 700;
}




.subtituloY2K{
  font-size: 16px;       /* antes 18px */
  font-weight: 700;      /* más presencia */
  letter-spacing: 0.3px; /* un toque más “sticker” */
}



/* Marco para foto */
.fotoMarco{
  padding: 10px;
  border-radius: 16px;

  background: linear-gradient(135deg, rgba(255,127,200,0.35), rgba(255,255,255,0.7));
  border: 1px solid rgba(255,127,200,0.25);
  box-shadow: 0 14px 35px rgba(255,127,200,0.18);

  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.fotoMarco img{
  width: 100%;
  max-width: 640px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.9);
  display: block;
}

/* Texto */
.textoY2K{
  margin: 0;
  line-height: 1.55;
  color: rgba(43,27,42,0.75);
  text-align: center;
}

/* Badges */
.badgeRow{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,127,200,0.28);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 10px 22px rgba(255,127,200,0.14);
  font-size: 13px;
}

/* Footer */
footer{
  text-align: center;
  margin-top: 26px;
  color: rgba(43,27,42,0.60);
}
.siteHeader{
  text-align: center;
  margin-bottom: 8px;
}

.siteLogo{
  font-weight: 800;
  letter-spacing: .5px;
  color: rgba(43,27,42,0.90);
  text-shadow: 0 10px 22px rgba(255,127,200,0.18);
}

.siteStatus{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(43,27,42,0.55);
}
nav button.activo{
  background: linear-gradient(135deg, rgba(255,127,200,0.35), rgba(255,255,255,0.85));
  border-color: rgba(255,127,200,0.55);
  box-shadow: 0 14px 26px rgba(255,127,200,0.22);
  position: relative;
}

nav button.activo::before{
  content: "♡ ";
  color: rgba(255,127,200,0.95);
  font-weight: 800;
}
/* --- Player Y2K / Frutiger Aero rosado --- */
.playerCard{
  margin: 0 auto 14px;
  width: min(640px, 100%);
  padding: 12px 12px 10px;

  border-radius: 18px;
  border: 1px solid rgba(255,127,200,0.35);

  /* bubbly glass */
  background:
    radial-gradient(120px 80px at 20% 20%, rgba(255,255,255,0.90), rgba(255,255,255,0) 60%),
    radial-gradient(140px 90px at 80% 10%, rgba(255,255,255,0.65), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,200,230,0.55));

  box-shadow:
    0 18px 35px rgba(255,127,200,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);

  position: relative;
  overflow: hidden;
}

.playerCard::after{
  content: "";
  position: absolute;
  inset: -40px -60px auto -60px;
  height: 80px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0.55;
}

.playerTop{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-bottom: 8px;
}

.playerDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,127,200,0.55);
  border: 1px solid rgba(255,127,200,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.playerTitle{
  margin-left: 6px;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(43,27,42,0.78);
  text-shadow: 0 10px 20px rgba(255,127,200,0.18);
}

.playerAudio{
  width: 100%;
  border-radius: 12px;
}

/* Estiliza un poco el control nativo (lo que se puede) */
audio::-webkit-media-controls-panel{
  background: rgba(255,255,255,0.75);
}
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button{
  filter: hue-rotate(310deg) saturate(1.2);
}

.playerHint{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(43,27,42,0.55);
  text-align: center;
}
/* --- TITULO: visible sí o sí + bubble y2k --- */
.tituloY2K{
  text-align: center;
  margin: 8px 0 6px;

  font-family: "Cherry Bomb One", "Rubik", "Trebuchet MS", sans-serif !important;
  font-size: 44px !important;
  letter-spacing: 0.6px;

  /* color sólido (contraste) */
  color: #ff1f9e !important;

  /* contorno sticker */
  -webkit-text-stroke: 2px rgba(255,255,255,0.98) !important;

  /* glow + sombra */
  text-shadow:
    0 2px 0 rgba(255,255,255,0.95),
    0 12px 26px rgba(255, 31, 158, 0.38),
    0 3px 10px rgba(0,0,0,0.12) !important;

  position: relative;
}

.tituloY2K::after{
  content:"";
  position:absolute;
  left: 18%;
  top: 14%;
  width: 64%;
  height: 18%;
  border-radius: 999px;
  background: rgba(255,255,255,0.40);
  filter: blur(1px);
  pointer-events: none;
}
/* placita suave detrás del título para que nunca se pierda */
.tituloY2K{
  display: inline-block;
  padding: 6px 14px 8px;
  border-radius: 999px;
  background: rgba(194, 132, 132, 0.55);
  border: 1px solid rgba(255,127,200,0.25);
  box-shadow: inset 0 1px 0 rgba(175, 102, 102, 0.85);
}

.profileCard{
  text-align: center; /* para que el inline-block quede centrado */
}
/* Afinado: sticker + glow y2k */
/* Título: pill rosado glass con contraste */
.tituloY2K{
  background: linear-gradient(180deg, rgba(255,160,210,0.55), rgba(255,220,240,0.35));
  border: 1px solid rgba(255, 31, 158, 0.45);

  box-shadow:
    0 16px 30px rgba(255, 31, 158, 0.25),
    0 0 22px rgba(255, 31, 158, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.85);
}


/* Corazoncitos lateral*
/* Más contraste en el área del título */
.profileCard{
  background: rgba(255,255,255,0.72); /* antes era muy blanco */
  border-color: rgba(255,127,200,0.55);
}

.sparkleBar{
  background: rgba(255,255,255,0.60); /* menos blanco */
}
/* Subtítulo: más protagonista, menos aburrido */
.subtituloY2K{
  display: inline-block;
  margin: 6px auto 12px;
  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255, 31, 158, 0.28);

  color: rgba(43,27,42,0.78);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;

  box-shadow:
    0 12px 22px rgba(255,127,200,0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
/* ✅ Fix: que las decoraciones NO bloqueen clics del audio */
.playerCard::after{
  pointer-events: none;
  z-index: 0;
}

/* Todo el contenido del player arriba de la decoración */
.playerCard{
  position: relative;
}

.playerCard > *{
  position: relative;
  z-index: 1;
}

/* Asegura que el audio quede bien arriba */
.playerAudio{
  position: relative;
  z-index: 2;
}
/* --- Custom Player: Frutiger Aero rosado --- */
.playerControls{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.pbtn{
  width: 52px;
  height: 52px;
  border-radius: 18px;

  border: 1px solid rgba(255, 31, 158, 0.35);
  background:
    radial-gradient(18px 18px at 30% 28%, rgba(255,255,255,0.95), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,185,225,0.75), rgba(255,120,200,0.35));

  box-shadow:
    0 18px 30px rgba(255, 31, 158, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.95);

  color: rgba(43,27,42,0.85);
  font-size: 20px;
  cursor: pointer;
}

.pbtn:active{
  transform: translateY(1px);
}

.trackArea{
  flex: 1;
  min-width: 220px;
}

.timeRow{
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(43,27,42,0.65);
  margin-bottom: 6px;
}

.seek{
  width: 100%;
  height: 10px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  outline: none;

  background: linear-gradient(90deg, rgba(255,31,158,0.55), rgba(255,255,255,0.60));
  border: 1px solid rgba(255, 31, 158, 0.18);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.seek::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;

  background:
    radial-gradient(7px 7px at 35% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,160,210,0.75));

  border: 1px solid rgba(255,31,158,0.28);
  box-shadow: 0 10px 18px rgba(255,31,158,0.18);
  cursor: pointer;
}

.nowPlaying{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 31, 158, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.volArea{
  display: flex;
  align-items: center;
  gap: 8px;
}

.sbtn{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;

  border: 1px solid rgba(255, 31, 158, 0.25);
  background: rgba(255,255,255,0.60);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.volume{
  width: 110px;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  outline: none;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,31,158,0.18);
}

.volume::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,31,158,0.85);
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 10px 18px rgba(255,31,158,0.18);
  cursor: pointer;
}
/* Fondo SIEMPRE atrás y sin bloquear clicks */
body{
  position: relative;
  background: transparent; /* importante si antes tenías fondo en body */
}

.bg{
  z-index: -1 !important;
  pointer-events: none !important;
}

.page{
  position: relative;
  z-index: 1;
}
/* Contenido arriba del fondo */
.page{
  position: relative;
  z-index: 1;
}

/* Fondo animado */
.bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;

  /* Base: degradado y2k */
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(255,127,200,0.22), transparent 55%),
    radial-gradient(800px 500px at 90% 20%, rgba(255,255,255,0.75), transparent 55%),
    linear-gradient(135deg, #ffe3f2, #ffd0ea);
}

/* “Print” tipo pattern (sin imagen) + movimiento */
.bg::before{
  content:"";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  opacity: 0.22; /* sube/baja intensidad del print */

  /* Print estilo y2k: cuadricula + puntitos (da vibe “wallpaper”) */
  background:
    repeating-linear-gradient(0deg, rgba(255,31,158,0.18) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,31,158,0.12) 0 1px, transparent 1px 48px),
    radial-gradient(circle at 12px 12px, rgba(255,255,255,0.65) 0 2px, transparent 3px);

  background-size: auto, auto, 90px 90px;
  filter: blur(0.2px);

  animation: printDrift 40s linear infinite;
}

/* Brillitos en movimiento (sparkles) */
.bg::after{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;

  background-image:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 25%, rgba(255,255,255,0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 60%, rgba(255,255,255,0.40) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.50) 0 2px, transparent 3px);

  animation: sparkleFloat 14s ease-in-out infinite alternate;
}

@keyframes printDrift{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(60px, 40px, 0); }
}

@keyframes sparkleFloat{
  from { transform: translate3d(0,0,0); opacity: 0.22; }
  to   { transform: translate3d(-18px, -10px, 0); opacity: 0.34; }
}

/* Respeta gente sensible al movimiento */
@media (prefers-reduced-motion: reduce){
  .bg::before, .bg::after{ animation: none; }
}
.sectionTitle{
  margin: 0 0 6px;
  text-align: center;
  font-size: 26px;
}

.sectionDesc{
  margin: 0 0 14px;
  text-align: center;
  color: rgba(43,27,42,0.65);
}

.toolbar{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.searchInput{
  width: min(420px, 88vw);
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,31,158,0.22);
  background: rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  outline: none;
}

.sortSelect{
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,31,158,0.22);
  background: rgba(255,255,255,0.65);
}

.mediaGrid{
  width: min(920px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.mediaCard{
  border-radius: 16px;
  border: 1px solid rgba(255,31,158,0.18);
  background: rgba(255,255,255,0.62);
  box-shadow: 0 14px 28px rgba(255,31,158,0.12);
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.mediaCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255,31,158,0.16);
}

.thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.mediaInfo{
  padding: 10px 10px 12px;
}

.mediaTitle{
  font-weight: 700;
  font-size: 13px;
  color: rgba(43,27,42,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mediaMeta{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(43,27,42,0.60);
}

/* ---- Lightbox ---- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lightbox.hidden{ display: none; }

.lightboxBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 20, 0.35);
  backdrop-filter: blur(6px);
}

.lightboxPanel{
  position: relative;
  width: min(980px, 92vw);
  margin: 6vh auto 0;
  border-radius: 18px;
  border: 1px solid rgba(255,31,158,0.25);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 24px 60px rgba(0,0,0,0.20);
  overflow: hidden;
}

.lbClose{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,31,158,0.22);
  background: rgba(255,255,255,0.70);
  cursor: pointer;
}

.lbHeader{
  padding: 16px 50px 10px 16px;
}

.lbTitle{
  font-weight: 800;
  color: rgba(43,27,42,0.86);
}

.lbMeta{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(43,27,42,0.60);
}

.lbBody{
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 10px;
  padding: 0 12px 14px;
}

.lbNav{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,31,158,0.22);
  background: rgba(255,255,255,0.70);
  cursor: pointer;
  font-size: 28px;
  line-height: 0;
}

.lbMediaWrap{
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,31,158,0.18);
  background: rgba(255,255,255,0.55);
}

.lbMediaWrap img,
.lbMediaWrap video{
  max-width: 100%;
  max-height: 68vh;
  border-radius: 14px;
  display: block;
}
