/* Song landing pages — elegant, self-contained */
:root{
  --yp-bg0:#060607;
  --yp-bg1:#0b0b0d;
  --yp-card1:rgba(255,255,255,.075);
  --yp-card2:rgba(255,255,255,.035);
  --yp-border:rgba(255,255,255,.12);
  --yp-border2:rgba(255,255,255,.10);
  --yp-text:#ffffff;
  --yp-muted:rgba(255,255,255,.72);
  --yp-muted2:rgba(255,255,255,.56);
  --yp-accent:#f5c84b;
  --yp-accent2:#ffe08a;
  --yp-shadow:rgba(0,0,0,.55);

  /* Logo consistente con la cabecera del sitio */
  --yp-logo-size: 96px;
  --yp-logo-size-mobile: 64px;
}

html,body{height:100%;}
body.yp-song-body{
  margin:0;
  color:var(--yp-text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(245,200,75,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, var(--yp-bg1), var(--yp-bg0));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.yp-song-container{max-width:1100px;margin:0 auto;padding:0 18px;}
.yp-song-header{
  position:sticky; top:0; z-index:50;
  background: rgba(5,5,6,.58);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.yp-song-header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 0;
}
.yp-song-brand{display:flex; align-items:center; gap:12px; min-width:0; text-decoration:none;}
.yp-song-brand img{
  height:var(--yp-logo-size);
  width:var(--yp-logo-size);
  border-radius:999px;
  object-fit:cover;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.6));
}

@media (max-width: 860px){
  .yp-song-brand img{
    height:var(--yp-logo-size-mobile);
    width:var(--yp-logo-size-mobile);
  }
}
.yp-song-brand-title{font-size:13px;font-weight:700;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.yp-song-toplink{font-size:12px;color:rgba(255,255,255,.62);text-decoration:none;}
.yp-song-toplink:hover{opacity:.88;}

.yp-song-main{padding:28px 0 78px;}
.yp-breadcrumb{
  font-size:12px;
  color:var(--yp-muted2);
  letter-spacing:.02em;
}
.yp-breadcrumb a{color:var(--yp-muted2);text-decoration:none;}
.yp-breadcrumb a:hover{opacity:.9;}
.yp-breadcrumb-sep{color:rgba(255,255,255,.20);margin:0 8px;}

.yp-song-card{
  margin-top:14px;
  border:1px solid var(--yp-border);
  background: linear-gradient(180deg, var(--yp-card1), var(--yp-card2));
  border-radius:28px;
  padding:22px;
  box-shadow: 0 30px 90px var(--yp-shadow);
  position:relative;
  overflow:hidden;
}
.yp-song-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(820px 320px at 20% 0%, rgba(245,200,75,.22), transparent 58%);
  pointer-events:none;
}
.yp-song-grid{
  position:relative;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:26px;
  align-items:start;
}
@media (max-width: 860px){
  .yp-song-grid{grid-template-columns:1fr;}
}

.yp-song-cover{
  width:100%;
  aspect-ratio:1/1;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  box-shadow: 0 18px 52px rgba(0,0,0,.55);
}
.yp-song-cover img{width:100%;height:100%;object-fit:cover;display:block;}

.yp-song-title{
  margin:0;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-0.02em;
}
@media (max-width: 860px){
  .yp-song-title{font-size:30px;}
}
.yp-song-sub{
  margin-top:7px;
  font-size:13px;
  color:var(--yp-muted2);
}
.yp-song-desc{
  margin-top:14px;
  font-size:15px;
  line-height:1.75;
  color:var(--yp-muted);
}

/* Long descriptions: elegant clamp + toggle */
.yp-song-desc.yp-desc-collapsed{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;
  overflow:hidden;
}
.yp-desc-toggle{
  margin-top:10px;
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color:rgba(255,255,255,.82);
  font-size:12px;
  font-weight:750;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition: transform .12s ease, opacity .12s ease;
}
.yp-desc-toggle:active{transform: translateY(1px);}

.yp-desc-toggle:hover{opacity:.94;}

.yp-song-meta{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:16px;
}
.yp-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color:var(--yp-muted2);
  font-size:12px;
}
.yp-chip strong{color:#fff;font-weight:650;}

.yp-tags-title{
  margin-top:18px;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--yp-muted2);
}
.yp-tags{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  color:rgba(255,255,255,.74);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
}

.yp-song-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.yp-btn{
  appearance:none;
  border:none;
  cursor:pointer;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  padding:12px 16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition: transform .12s ease, opacity .12s ease;
  user-select:none;
}
.yp-btn:active{transform: translateY(1px);}
.yp-btn-primary{
  background: linear-gradient(180deg, var(--yp-accent), rgba(219,172,55,1));
  color:#111;
  box-shadow: 0 18px 40px rgba(245,200,75,.14);
}
.yp-btn-secondary{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.yp-btn:hover{opacity:.94;}

.yp-song-footer{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.45);
  font-size:12px;
}

@media (prefers-reduced-motion: reduce){
  .yp-btn{transition:none;}
}


/* Visible FAQ block (GEO-friendly, user-friendly) */
.yp-faq-card{margin-top:18px;}
.yp-faq-title{
  margin:0 0 10px 0;
  font-size:18px;
  letter-spacing:-0.01em;
}
.yp-faq-intro{
  margin:0 0 14px 0;
  font-size:13px;
  color:var(--yp-muted2);
  line-height:1.6;
}
.yp-faq-list{display:flex;flex-direction:column;gap:10px;}
.yp-faq-item{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius:18px;
  padding:12px 14px;
}
.yp-faq-item summary{
  cursor:pointer;
  font-weight:750;
  font-size:13px;
  color:rgba(255,255,255,.90);
  list-style:none;
  outline:none;
}
.yp-faq-item summary::-webkit-details-marker{display:none;}
.yp-faq-item p{
  margin:10px 0 0 0;
  font-size:14px;
  line-height:1.75;
  color:var(--yp-muted);
}


/* GEO / Answer Engine — factual block */
.yp-ai-list{margin:.75rem 0 0;padding-left:1.1rem;}
.yp-ai-list li{margin:.35rem 0;}

/* Lyrics card (v350) */
.yp-lyrics-card{margin-top:18px;}
.yp-lyrics-title{
  margin:0 0 10px 0;
  font-size:18px;
  letter-spacing:-0.01em;
}
.yp-lyrics-details{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius:18px;
  padding:12px 14px;
}
.yp-lyrics-details summary{
  cursor:pointer;
  font-weight:750;
  font-size:13px;
  color:rgba(255,255,255,.90);
  list-style:none;
  outline:none;
}
.yp-lyrics-details summary::-webkit-details-marker{display:none;}
.yp-lyrics-pre{
  margin:10px 0 0 0;
  white-space:pre-wrap;
  word-break:break-word;
  font-size:13px;
  line-height:1.75;
  color:var(--yp-muted);
}


/* ==========================
   Video modal (v351)
   ========================== */
.yp-video-overlay{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.yp-video-overlay.is-open{
  display: flex;
}
.yp-video-panel{
  width: min(980px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 18px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
}
.yp-video-title{
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,.92);
  padding-right: 86px;
}
.yp-video-close{
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.yp-video-close:hover{ opacity: .92; }
.yp-video-el{
  width: 100%;
  margin-top: 14px;
  border-radius: 18px;
  background: #000;
  max-height: 70vh;
}
