/* ==== CONFIGURACIÓN GENERAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --bg1: #000000;
  --accent: #993300; /* naranja profundo */
  --accent-light: #ffa64d;
  --panel-bg: rgba(0,0,0,0.45);
  --panel-bg-solid: rgba(0,0,0,0.98);
  --muted: #d9d9d9;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--bg1), var(--accent));
  color: #ffffff;
  min-height: 100vh;
  animation: fadeIn 1s ease;
  overflow-x: hidden;
}

/* ==== PANEL SUPERIOR FIJO ==== */
.fixed-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: var(--panel-bg);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.fixed-panel::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 165, 77, 0.25);
  box-shadow: 0 0 10px rgba(255, 165, 77, 0.4);
}

.fixed-panel.scrolled {
  background: var(--panel-bg-solid);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  backdrop-filter: none;
}

/* ===========================================================
   LANDING - BLOQUE MARCA RESPONSIVE MÓVIL (REAL-LIVE)
   =========================================================== */

.landing-brand-block {
  display: contents;
}

/* ==== BLOQUE IZQUIERDO (logo + nombre + slogan) ==== */
.main-section {                    /* contenedor principal del logo y textos */
  display: flex;
  align-items: center;             /* alinea verticalmente al centro */
  gap: 0px;                       /* espacio entre el logo y el bloque de texto */
}

.logo-circle {                     /* círculo contenedor del logo */
  width: 85px;
  height: 85px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-img {                        /* imagen del logo dentro del círculo */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.title-block {                     /* bloque del nombre + slogan */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0px;  
  margin-left: -40px;/* 🔽 mueve hacia abajo el nombre y el slogan */
}

.site-title {                      /* nombre principal del sitio */
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.slogan {                          /* texto del slogan debajo del nombre */
  font-size: 1.0rem;
  font-weight: 800;
  color: var(--muted);
  font-style: italic;
  margin-top: 6px;
}

/* Curator switch – estado normal */
.curator-switch {
  text-decoration: none;
  color: inherit;
}

/* Hover SOLO cuando el switch está activo */

.curator-switch[href]:hover {
  background: transparent;              /* quita el bloque */
  transform: translateY(-1px);
  cursor: pointer;
}

/* Subrayado elegante SOLO texto (no caja) */
.curator-switch .site-title,
.curator-switch .slogan {
  position: relative;
}

.curator-switch .site-title::after,
.curator-switch .slogan::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ff6b00;
  transition: width .25s ease;
}

.curator-switch[href]:hover .site-title::after,
.curator-switch[href]:hover .slogan::after {
  width: 100%;
}

/* Hover TEXTO — visible y limpio */
.curator-switch[href]:hover .site-title,
.curator-switch[href]:hover .slogan {
  color: #ff6b00;                 /* cambio claro de color */
  letter-spacing: 0.6px;          /* sensación premium */
  transition: color .2s ease, letter-spacing .2s ease;
}
.curator-switch[href]:hover .site-title {
  transform: scale(1.02);
}



/* ==== BETA AVISO ==== */

.beta-warning{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:6px 8px;
  border:1px solid rgba(0,0,0,0.45);
  border-radius:25px;
  background: rgba(255,0,0,0.32);
  box-shadow: 0 3px 8px rgba(255,0,0,0.28);
  color:#fff;
  transition: all .25s ease;
  width: 450px;
  margin-right: 50px;
  
}

.beta-warning:hover{
  background: rgba(255,0,0,0.45);
  transform: translateY(-1px);
}

.beta-title{
font-weight:900;
margin-bottom:2px;
font-size: 0.9rem;
}

.beta-text{
font-weight:600;
font-size:0.8rem;
opacity:0.9;
margin-left: 20px;
}



/* ==== CABECERA DERECHA ==== */
/* CABECERA DERECHA */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  right: 20px;
}
.lang-selector {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 18px;
  border:1px solid rgba(0,0,0,0.45);
  border-radius:25px;
  background: rgba(255,107,0,0.32);
  box-shadow: 0 3px 8px rgba(255,107,0,0.28);
  font-weight:800;
  color:#fff;
  cursor:pointer;
  transition: all .25s ease;
  min-width: 76px;
  white-space: nowrap;
}

.lang-selector:hover{ background: rgba(255,107,0,0.45); transform: translateY(-1px); }

.login-btn{
  background: transparent;
  border:1px solid #fff;
  color:#fff;
  padding:10px 26px;
  border-radius:25px;
  font-weight:800;
  cursor:pointer;
  transition:all .2s;
  text-decoration:none;
}
.login-btn:hover{ background: var(--accent); border-color:var(--accent); transform: translateY(-1px); }






/* ==== LAYOUT PRINCIPAL: dos columnas ==== */
.container{
  display: grid;
  grid-template-columns: 1fr 380px; /* izquierda flexible, derecha fija (panel) */
  gap: 40px;
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto;

  /* 🔹 Aumentamos el espacio entre la barra superior y el contenido */
  padding-top: 130px; /* antes era 120px */
  padding-bottom: 60px;

  /* 🔹 Alineación vertical perfecta */
  align-items: start;
}

/* PRINCIPIOS (izquierda) */
.principles {
  max-width: 100%;
  text-align: left;
  padding: 0;
}

.principles h2 { font-size:1.5rem; font-weight:900; margin-bottom:10px; }
.intro { color:var(--muted); margin-bottom:20px; font-weight:800; }

ol { list-style:none; counter-reset:item; padding-left:0; }
ol li { margin-bottom:20px; font-size:1rem; line-height:1.6; font-weight:800; }
ol li::before { counter-increment:item; content: counter(item) ". "; color: var(--accent-light); font-weight:900; margin-right:6px; }
.subtext { margin-top:8px; color:#eaeaea; font-weight:700; }

/* ==== PANEL DERECHO ==== */
.right-panel { display: flex; flex-direction: column; gap: 20px; align-self:start; }

/* Tarjeta base */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Titulos de tarjeta */
.card-title { font-size:1.05rem; font-weight:900; margin-bottom:12px; }
/* Centrar título del panel de estadísticas */
.metrics-card .card-title {
  text-align: center;
}

/* ===========================================================
   LANDING - PANEL METRICAS AJUSTE INTERNO SPOTIFY (REAL-LIVE)
   =========================================================== */

.metrics-card {
  padding: 32px 30px;
}

.metrics-card .card-title {
  margin-bottom: 10px;
}

/* ===========================================================
   LANDING - MINICARD PERFIL SPOTIFY LIVE (REAL-LIVE)
   =========================================================== */

.landing-spotify-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  margin-bottom: 10px;
  padding: 10px 9px;
  border: 1px solid rgba(30, 215, 96, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 33, 17, 0.96), rgba(10, 82, 35, 0.88));
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(30, 215, 96, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-spotify-profile-card:hover {
  border-color: rgba(30, 215, 96, 0.9);
  box-shadow: 0 0 18px rgba(30, 215, 96, 0.26);
  transform: translateY(-1px);
}

.landing-spotify-profile-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
}

.landing-spotify-profile-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 7px;
  color: #f3fff7;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
}

.landing-spotify-profile-stats span {
  white-space: nowrap;
}

.landing-spotify-profile-stats span + span::before {
  content: "";
  margin-right: 0;
}

.landing-spotify-profile-stats strong {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 1000;
}

/* METRICS GRID */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.metric {
  padding: 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(12, 11, 11, 0.6); /* naranja oscuro profundo */
  box-shadow: 0 0 8px rgba(12, 12, 12, 0.35); /* sombra más oscura y concentrada */
}.metric-value { font-size:1.35rem; font-weight:900; color:#fff; }
.metric-label { font-size:0.8rem; color:var(--muted); margin-top:6px; font-weight:800; }
.card-note { margin-top:12px; font-size:0.85rem; color:var(--muted); }

.metrics-card .metric {
  padding: 7px;
}

.metrics-card .metric-value {
  font-size: 1.12rem;
}

.metrics-card .metric-label {
  margin-top: 4px;
  font-size: 0.72rem;
}

.metrics-card .card-note {
  margin-top: 9px;
}

/* ==== FOOTER CARD DE MÉTRICAS - AVISO BETA ==== */
.metrics-card .card-note {
  color: #fff3e6;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ==== ENLACE VISIBLE - GALERÍA DE PLAYLISTS ==== */
.language-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 166, 77, 0.38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(26, 9, 5, 0.95) 0%, rgba(129, 52, 8, 0.96) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.language-selector:hover {
  border-color: rgba(255, 221, 189, 0.72);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
  opacity: 0.96;
  transform: translateY(-1px);
}


/* ==== ANIMACIONES ==== */
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

/* ==== RESPONSIVE ==== */
@media (max-width: 980px) {
  .container { grid-template-columns: 1fr; width: calc(100% - 40px); padding-top: 140px; gap: 28px; }
  .fixed-panel { padding: 14px 20px; }
  .site-title { font-size:1.6rem; }
  .logo-circle { width:60px; height:60px; }
  .language-selector { padding:6px 10px; }
}

@media (max-width: 520px) {
  .logo-circle { width:54px; height:54px; }
  .site-title { font-size:1.2rem; }
  .slogan { font-size:0.95rem; }
  .login-btn { padding:8px 14px; font-size:0.85rem; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   LANDING - MINICARD SPOTIFY RESPONSIVE MOVIL (REAL-LIVE)
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .metrics-card {
    padding: 16px 12px;
  }

  .metrics-card .card-title {
    margin-bottom: 8px;
  }

  .landing-spotify-profile-card {
    min-height: 58px;
    margin-bottom: 8px;
    padding: 8px 7px;
  }

  .landing-spotify-profile-title {
    margin-bottom: 5px;
    font-size: 0.82rem;
  }

  .landing-spotify-profile-stats {
    gap: 3px 5px;
    font-size: 0.6rem;
  }

  .landing-spotify-profile-stats span + span::before {
    margin-right: 0;
  }

  .landing-spotify-profile-stats strong {
    font-size: 0.78rem;
  }

  .metrics-card .metric {
    padding: 6px 4px;
  }

  .metrics-card .metric-value {
    font-size: 1rem;
  }

  .metrics-card .metric-label {
    margin-top: 3px;
    font-size: 0.62rem;
  }

  .metrics-card .card-note {
    margin-top: 8px;
    font-size: 0.74rem;
  }
}

/* ===========================================================
   LANDING - RESPONSIVE MÓVIL VERTICAL Y HORIZONTAL (REAL-LIVE)
   Conserva PC intacto y organiza solo la landing móvil solicitada
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .fixed-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 11px 8px;
  }

  .landing-brand-block {
    order: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    text-align: left;
  }

  .logo-circle {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
  }

  .title-block {
    align-items: flex-start;
    margin-top: 0;
    margin-left: 0;
    text-align: left;
    min-width: 0;
  }

  .site-title {
    font-size: 1rem;
    line-height: 1.05;
  }

  .slogan {
    max-width: 155px;
    margin-top: 4px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .header-right {
    order: 2;
    position: static;
    right: auto;
    flex: 0 0 auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
  }

  .lang-selector,
  .login-btn {
    width: auto;
    min-height: 32px;
  }

  .lang-selector {
    min-width: 46px;
    padding: 5px 9px;
    font-size: 0.76rem;
  }

  .login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .beta-warning {
    order: 3;
    display: none;
  }

  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding-top: 90px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 38px;
    gap: 10px;
  }

  .principles,
  .right-panel {
    width: 100%;
  }

  /* ===========================================================
     LANDING - ORDEN VISUAL MOBILE METRICAS Y PRINCIPIOS (SITUACION VISUAL)
     Intercambia solo la posicion movil sin alterar el DOM ni la version PC
     =========================================================== */
  .right-panel {
    order: 1;
  }

  .principles {
    order: 2;
  }

  .principles ol li:last-child {
    margin-bottom: 0;
  }

  .ranking-title-button {
    display: none !important;
  }
}
:root {
  --bg-bar-top: linear-gradient(180deg, #111111 0%, #0b0b0b 100%);
  --text-accent: #ffffff;
  --container-max: 1200px;
  --bar-height: 82px;
  --title-size: 42px;
  --title-weight: 700;
}

/* =======================================================
   BOTÓN DECORATIVO — TÍTULO DE LA SECCIÓN RANKING
   ======================================================= */

.ranking-title-button {
 /* bloque del título tipo botón decorativo */
  position: relative;
  top: -92px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 10rem), 1180px);
  min-height: 108px;
  padding: 1.1rem 2.4rem;
  margin: 3rem auto;
  background: linear-gradient(135deg, #000000 0%, #660909 100%);
  border: 3px solid rgba(255,255,255,0.6);
  color: #f7f1f1;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  border-radius: 40px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.25;
  white-space: normal;
  transition: all 0.25s ease;
  cursor: default;
}

.ranking-title-button:hover { /* efecto al pasar el cursor */
  border-color: rgba(255,255,255,0.9); 
  transform: scale(1.05); 
  opacity: 0.95; 
}


/* --- Barra secundaria ajustada --- */
.secondary-bar {
  width: 100%;
  background: linear-gradient(180deg, rgba(17,17,17,0.9) 0%, rgba(11,11,11,0.8) 100%);
  height: var(--bar-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  z-index: 9;
  margin-top: -122px;
  border-bottom: 20px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
}

/* Alineación con los principios */
.secondary-bar .container {
  width: 100%;
  max-width: var(--container-max);
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Nuevo grupo: título + botón */
.sb-group {
  display: flex;
  align-items: center;
  gap: 18px; /* separación natural entre PlayLists y el botón */
  transform: translateX(70px);
}

/* Texto principal */
.sb-title {
  margin: 0;
  color: var(--text-accent);
  font-family: "Inter", "Spotify", "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
  font-weight: var(--title-weight);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 10px;
}


/* ==== SECCIÓN: MUESTRA DE PLAYLISTS ==== */
.playlists-sample {
  margin-top: 0px;
  width: 100%;
  padding: 0;
  background: #000;
  border-top: -50px solid rgba(255,255,255,0.05);
}

.playlists-grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  gap: 130px 38px;
  justify-content: center;
  align-items: start;
}

.playlist-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  max-width: 260px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 440px;  
  margin-top: -100px;

  /* 🔹 estructura correcta */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 0 0 20px 0;
}


.playlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.playlist-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.playlist-info {
  padding: 16px;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.spotify-btn {
  display: inline-block;
  text-align: center;
  background: linear-gradient(90deg, #1a0905, #813408);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.spotify-btn:hover {
  opacity: 0.85;
}

.curator {
  display: flex;
  align-items: center;
  gap: 20px;
}

.curator-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 10px;
}

.curator-link {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 16px;
  border: 2px solid #020202;
  border-radius: 20px;
  background: linear-gradient(90deg, #09411d, #0b5826);
  transition: all 0.25s ease;
  margin-top: 7px;
  margin-left: -15px;
}

.curator-link:hover {
  text-decoration: underline;
  background: rgba(255,107,0,0.32);
  transform: translateY(-1px);
}

.playlist-name {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.playlist-likes {
  font-size: 1rem;
  font-weight: 1000;
  color: #f78a24;
  margin-bottom: 10px;
}



/* FOOTER */
.footer {
  text-align:center;
  padding:40px 20px;
  background:#000;
  border-top: 1px solid rgba(255,165,77,0.12);
  margin-top:80px;
}
.footer p { font-size:0.95rem; color:#ccc; font-weight:800; margin-bottom:8px; }
.footer-links { font-weight:800; }
.footer-links a { color:#999; text-decoration:none; transition: color .25s; }
.footer-links a:hover { color: var(--accent-light); }

/* ===========================================================
   LANDING - MUESTRA DE PLAYLISTS MÓVIL 3 COLUMNAS (REAL-LIVE)
   Restaura barra + container de muestra sin tocar la versión PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .ranking-title-button {
    display: none !important;
  }

  main.container {
    padding-bottom: 10px;
  }

  .secondary-bar {
    display: flex !important;
    height: var(--bar-height);
    margin-top: 0;
    border-bottom: 20px solid rgba(255,255,255,0.05);
  }

  .secondary-bar .container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: none;
    padding: 0 10px;
    margin: 0;
    align-items: center;
    justify-content: flex-start;
  }

  .sb-group {
    width: 100%;
    transform: none;
    gap: 8px;
  }

  .sb-title {
    font-size: 1.05rem;
    margin-left: 0;
  }

  .language-selector {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .secondary-bar .language-selector {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.58;
  }

  /* ===========================================================
     LANDING - BOTON GALERIA DE PLAYLISTS MOBILE ACTIVO REAL-LIVE
     =========================================================== */
  .secondary-bar .language-selector[href] {
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
  }

  .playlists-sample {
    display: block !important;
    margin-top: 0;
    padding: 14px 0 0;
  }

  .playlists-sample .container {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0 6px;
    margin: 0;
  }

  .playlists-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 6px;
    justify-content: stretch;
    align-items: start;
  }

  .playlist-card {
    width: 100%;
    max-width: none;
    height: 245px;
    margin-top: 0;
    border-radius: 10px;
    padding: 0 0 8px 0;
  }

  .playlist-info {
    padding: 7px 5px;
  }

  .playlist-name {
    font-size: 0.66rem;
    line-height: 1.18;
    margin-bottom: 4px;
  }

  .playlists-sample .playlist-likes {
    color: #fff;
    font-size: 0.74rem;
    font-weight: 1000;
    line-height: 1.15;
    margin-bottom: 5px;
  }

  .playlist-desc {
    display: none;
  }

  .spotify-btn {
    width: 100%;
    padding: 6px 4px;
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .playlists-sample .curator {
    display: none;
  }

  .curator-img {
    width: 20px;
    height: 20px;
    margin-top: 7px;
  }

  .curator-link {
    min-width: 0;
    padding: 4px 5px;
    margin-top: 7px;
    margin-left: 0;
    font-size: 0.52rem;
    line-height: 1.1;
    white-space: normal;
    text-align: center;
  }

  .footer {
    margin-top: 28px;
  }
}

/* ===========================================================
   LANDING - INTERCAMBIO VISUAL MOBILE PLAYLISTS Y PRINCIPIOS (SITUACION VISUAL)
   Sube la barra + container de PlayLists al lugar visual de Principios
   y baja Principios sin alterar el DOM, la logica ni la version PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  body {
    display: flex;
    flex-direction: column;
  }

  main.container {
    display: contents;
  }

  .right-panel {
    order: 1;
    width: 100%;
    margin-top: 90px;
    margin-bottom: 10px;
  }

  .secondary-bar {
    order: 2;
  }

  .playlists-sample {
    order: 3;
  }

  .principles {
    order: 4;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
  }

  .footer {
    order: 5;
  }
}

/* ===========================================================
   LANDING - COMPACTACION HORIZONTAL CARD METRICAS MOBILE (SITUACION VISUAL)
   Reduce solo el ancho visual de la tarjeta y sus minicards sin tocar PC
   ni modificar datos, logica o funcionamiento REAL-LIVE
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .metrics-card {
    width: min(calc(100% - 20px), 320px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  .metrics-grid {
    gap: 6px;
  }

  .metrics-card .metric {
    padding-left: 3px;
    padding-right: 3px;
  }
}

/* ===========================================================
   LANDING - ANCHO ANTERIOR Y MARGEN LATERAL CARD MOBILE (SITUACION VISUAL)
   Restaura el ancho anterior y separa un poco mas los elementos de los bordes
   laterales sin alterar la version PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .metrics-card {
    width: min(calc(100% - 20px), 320px);
    padding-left: 14px;
    padding-right: 14px;
  }

  .metrics-card .card-note {
    white-space: normal;
    text-align: center;
  }
}

/* ===========================================================
   LANDING - ALINEACION Y TAMANOS MINI CARD SPOTIFY MOBILE (SITUACION VISUAL)
   Iguala el tamano de 1K+ y 100+ con el numero de FOLLOWERS y alinea
   numeros y etiquetas en tres columnas iguales sin modificar la version PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .landing-spotify-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    align-items: start;
    justify-content: stretch;
    gap: 3px;
  }

  .landing-spotify-profile-stats > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    gap: 2px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .landing-spotify-profile-stats > span > strong,
  .landing-spotify-profile-fixed-number {
    font-size: 0.78rem;
    font-weight: 1000;
    line-height: 1.1;
  }

  .landing-spotify-profile-stats .landing-spotify-profile-label {
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.2;
  }
}

/* ===========================================================
   LANDING - AJUSTE VERTICAL UNICO DE FOLLOWERS MOBILE (SITUACION VISUAL)
   Corrige solo la posicion del bloque FOLLOWERS sin tocar Seguidos ni PlayLists
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .landing-spotify-profile-stats {
    align-items: start;
  }

  .landing-spotify-profile-stats > span:first-child {
    position: relative;
    top: 3px;
  }
}

/* ===========================================================
   LANDING - INDICADOR TACTIL DE REDIRECCION SPOTIFY MOBILE (SITUACION VISUAL)
   Señala visualmente que la minicard verde completa funciona como boton
   sin modificar su enlace, contenido, logica ni la version PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  @keyframes landingSpotifyMobileCtaPulse {
    0%,
    100% {
      box-shadow: 0 0 12px rgba(30, 215, 96, 0.16);
    }

    50% {
      box-shadow:
        0 0 20px rgba(30, 215, 96, 0.42),
        0 0 0 3px rgba(30, 215, 96, 0.16);
    }
  }

  .landing-spotify-profile-card {
    animation: landingSpotifyMobileCtaPulse 2.8s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px),
  (prefers-reduced-motion: reduce) and (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .landing-spotify-profile-card {
    animation: none;
  }
}

/* ===========================================================
   LANDING - SIMBOLO DE REDIRECCION SPOTIFY CON PARPADEO MOVIL (SITUACION VISUAL)
   Deja solo el simbolo compacto y anima exclusivamente su indicador tactil
   sin animar la minicard completa ni modificar la version PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  @keyframes landingSpotifyMobileCtaSymbolBlink {
    0%,
    44%,
    100% {
      opacity: 1;
      background: #1ed760;
      border-color: rgba(255, 255, 255, 0.95);
      box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.34), 0 0 22px rgba(30, 215, 96, 0.95);
    }

    45%,
    89% {
      opacity: 0.08;
      background: rgba(30, 215, 96, 0.18);
      border-color: rgba(255, 255, 255, 0.25);
      box-shadow: none;
    }
  }

  .landing-spotify-profile-card::after {
    content: "↗";
    padding: 3px 6px;
    font-size: 0.8rem;
    letter-spacing: 0;
    animation: landingSpotifyMobileCtaSymbolBlink 1.4s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px),
  (prefers-reduced-motion: reduce) and (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .landing-spotify-profile-card::after {
    animation: none;
  }
}

/* ===========================================================
   LANDING - CTA MOVIL VISIBLE PARA REDIRECCION SPOTIFY (SITUACION VISUAL)
   Hace evidente que la minicard verde completa es un boton tactil
   sin modificar el enlace, el contenido logico ni la version PC
   =========================================================== */

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  @keyframes landingSpotifyMobileStrongCtaPulse {
    0%,
    100% {
      border-color: rgba(30, 215, 96, 0.78);
      box-shadow: 0 0 14px rgba(30, 215, 96, 0.3);
    }

    50% {
      border-color: #1ed760;
      box-shadow:
        0 0 0 4px rgba(30, 215, 96, 0.28),
        0 0 28px rgba(30, 215, 96, 0.78);
    }
  }

  .landing-spotify-profile-card {
    position: relative;
    border-width: 2px;
    border-color: rgba(30, 215, 96, 0.78);
    animation: landingSpotifyMobileStrongCtaPulse 2.4s ease-in-out infinite;
  }

  .landing-spotify-profile-card::after {
    content: "↗";
    position: absolute;
    top: 5px;
    right: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(30, 215, 96, 0.92);
    color: #031c0b;
    font-size: 0.5rem;
    font-weight: 1000;
    letter-spacing: 0.03em;
    line-height: 1;
    text-align: center;
    pointer-events: none;
  }

  .landing-spotify-profile-card:active {
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px),
  (prefers-reduced-motion: reduce) and (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .landing-spotify-profile-card {
    animation: none;
  }
}
