:root {
  --cyan: #00b8ff;
  --blue: #1749ff;
  --pink: #ff2aa3;
  --green: #00f06a;
  --red: #ff2525;
  --red-soft: rgba(255, 37, 37, .55);
  --white: #f8f8ff;
  --card-bg: rgba(9, 7, 18, .86);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  background: #02030a;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("assets/mural.png") center / cover no-repeat;
  filter: saturate(1.22) contrast(1.12) brightness(.58);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 28%, rgba(0, 105, 255, .56), transparent 26%),
    radial-gradient(circle at 86% 38%, rgba(255, 0, 120, .42), transparent 31%),
    linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.25) 42%, rgba(0,0,0,.72) 100%);
}

.landing {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(18px, 2.6vw, 42px) clamp(16px, 4.3vw, 72px) 24px;
}

.landing::before {
  content: "102.7 SENTIMIENTO NACIONAL 102.7";
  position: absolute;
  top: 15%;
  left: -2%;
  z-index: -1;
  color: rgba(0, 157, 255, .28);
  font-size: clamp(28px, 4vw, 70px);
  letter-spacing: -2px;
  text-shadow: 0 0 18px rgba(0, 68, 255, .8);
  white-space: nowrap;
}

.social-links {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  z-index: 100;
}

.social-links a {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 0;
  backdrop-filter: none;
  overflow: visible;
}

.social-links img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.hero {
  min-height: 44vh;
  display: flex;
  justify-content: center;
  align-items: center;
}



.hero-copy {
  align-self: center;
  justify-self: center;
  width: min(780px, 74vw);
  text-align: center;
  margin-top: -30px;
}

.main-logo {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  /*filter: drop-shadow(0 0 16px rgba(0, 60, 255, .8)) drop-shadow(0 0 14px rgba(255, 0, 140, .48));*/
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 1))
        drop-shadow(0 0 8px rgba(0, 0, 0, 1))
        drop-shadow(0 0 12px rgba(0, 0, 0, 1))
        drop-shadow(0 0 16px rgba(0, 60, 255, 1))
        drop-shadow(0 0 14px rgba(255, 0, 140, 1));
}

.tagline {
  margin: -40px 0 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 1.65vw, 25px);
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 0 12px #000, 0 0 18px rgba(255,255,255,.38);
}


.about-toggle {
  width: min(760px, 94vw);
  margin: 24px auto 0;
  border-radius: 22px;
  border: 1.5px solid rgba(255, 42, 163, .58);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 184, 255, .18), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(255, 42, 163, .18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.28)),
    rgba(9, 7, 18, .88);
  box-shadow:
    0 0 22px rgba(255, 42, 163, .32),
    0 0 42px rgba(0, 184, 255, .18),
    0 18px 46px rgba(0,0,0,.54),
    inset 0 0 24px rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.about-toggle summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 0 12px #000, 0 0 18px rgba(255, 42, 163, .7);
  user-select: none;
}

.about-toggle summary::-webkit-details-marker { display: none; }

.about-toggle summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(180deg, rgba(255, 42, 163, .35), rgba(0, 184, 255, .2));
  box-shadow: 0 0 14px rgba(255, 42, 163, .45);
  font-size: 21px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.about-toggle[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.about-toggle summary:hover::after {
  background: linear-gradient(180deg, rgba(255, 42, 163, .55), rgba(0, 184, 255, .32));
}

.about-content {
  padding: 0 clamp(18px, 3vw, 36px) 26px;
  color: rgba(255,255,255,.92);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.about-content h2 {
  margin: 4px 0 14px;
  color: #ffdc4a;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0,0,0,.95), 0 0 18px rgba(255, 220, 74, .42);
}

.about-content p {
  margin: 0 0 13px;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: .01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.88);
}

.about-content strong {
  color: #fff;
  font-weight: 900;
}

.about-closing {
  margin-top: 18px !important;
  color: #fff;
  text-align: center;
  font-size: clamp(15px, 1.35vw, 19px) !important;
}

.playlists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  align-items: stretch;
  max-width: 1220px;
  margin: clamp(10px, 2vh, 26px) auto 0;
}

.playlist-card {
  position: relative;
  padding: 18px clamp(16px, 2vw, 28px) 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.22)), var(--card-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 34px rgba(0,0,0,.78), inset 0 0 24px rgba(255,255,255,.04);
}

.spotify-card {
  border: 1.5px solid var(--green);
  box-shadow: 0 0 22px rgba(0, 255, 106, .54), 0 0 60px rgba(0,0,0,.72), inset 0 0 28px rgba(0, 255, 106, .08);
}

.youtube-card {
  border: 1.5px solid var(--red);
  box-shadow: 0 0 22px rgba(255, 37, 37, .5), 0 0 60px rgba(0,0,0,.72), inset 0 0 28px rgba(255, 37, 37, .08);
}

.playlist-card h2 {
  margin: 0 0 14px;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: .04em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.spotify-card h2 { color: var(--green); }
.youtube-card h2 { color: #ff3333; }

.embed-wrap {
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.62);
}

.embed-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(700px, 36vw, 430px);
}

/* ===== YOUTUBE COMO LA REFERENCIA ===== */
.youtube-card {
  padding: clamp(18px, 2vw, 26px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 92, 28, .22), transparent 32%),
    radial-gradient(circle at 6% 4%, rgba(255, 37, 37, .16), transparent 38%),
    linear-gradient(180deg, rgba(20, 12, 24, .93), rgba(8, 4, 14, .94));
}

.youtube-card h2 {
  margin-bottom: 18px;
  color: #ff563f;
  text-shadow: 0 0 14px rgba(255, 37, 37, .6);
}

.youtube-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.08);
  background: #050407;
  box-shadow: 0 14px 30px rgba(0,0,0,.42), inset 0 0 26px rgba(255,37,37,.08);
}

.youtube-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,.04) 48%, rgba(0,0,0,.28)),
    radial-gradient(circle at 82% 44%, rgba(255, 78, 42, .28), transparent 26%);
  pointer-events: none;
  z-index: 2;
}

#youtube-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  background: #000;
}

#youtube-player iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.youtube-now {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: none;
  /*display: grid;*/
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(8, 8, 10, .82);
  box-shadow: 0 10px 24px rgba(0,0,0,.38);
  backdrop-filter: blur(7px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.youtube-now-icon {
  font-size: 22px;
  line-height: 1;
}

.youtube-now-title {
  min-width: 0;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.youtube-subscribe {
  appearance: none;
  border: 0;
  border-radius: 3px;
  padding: 9px 13px;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  cursor: pointer;
}

.youtube-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0 13px;
  flex-wrap: wrap;
}

.yt-refresh-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 70, 70, .38);
  background: linear-gradient(180deg, rgba(255, 55, 55, .22), rgba(120, 8, 8, .22));
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 8px 18px rgba(255, 37, 37, .16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}

.yt-refresh-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 70, 70, .7);
  background: linear-gradient(180deg, rgba(255, 55, 55, .32), rgba(120, 8, 8, .3));
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 10px 22px rgba(255, 37, 37, .24);
}

.yt-refresh-btn:active { transform: translateY(0); }
.yt-refresh-btn:disabled { opacity: .65; cursor: wait; }

#yt-status {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.68);
  line-height: 1.2;
}

#youtube-list {
 /*display: flex;
  flex-direction: column;
  gap: 10px;*/
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 7px 0 0;
  width: 100%;
}

#youtube-list .youtube-item {
  display: grid;
  grid-template-columns: 34px 72px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.055);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

#youtube-list .youtube-item:hover,
#youtube-list .youtube-item.is-active {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 37, 37, .16), rgba(255,255,255,.04));
  border-color: rgba(255, 37, 37, .36);
  box-shadow: 0 8px 18px rgba(0,0,0,.22), inset 3px 0 0 var(--red);
}

#youtube-list .youtube-item.is-new {
  border-color: rgba(255, 60, 60, .55);
  box-shadow: inset 3px 0 0 var(--red);
}

#youtube-list .youtube-item:focus-visible {
  outline: 2px solid rgba(255, 70, 70, .85);
  outline-offset: 2px;
}

#youtube-list .youtube-item-index {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

#youtube-list .youtube-item-thumb,
#youtube-list .youtube-thumb-fallback,
#youtube-list .youtube-item img {
  width: 72px;
  height: 40px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.06);
}

#youtube-list .youtube-item-text {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}

#youtube-list .youtube-item-title {
  display: -webkit-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.94);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#youtube-list .youtube-item-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 37, 37, .9);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
}

#youtube-list::-webkit-scrollbar { width: 8px; }
#youtube-list::-webkit-scrollbar-thumb { background: rgba(255, 37, 37, .48); border-radius: 999px; }
#youtube-list::-webkit-scrollbar-track { background: rgba(255,255,255,.04); border-radius: 999px; }

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
  max-width: 1220px;
  margin: 22px auto 0;
}

.footer-logo {
  grid-column: 2;
  width: clamp(130px, 18vw, 230px);
  filter: drop-shadow(0 0 14px rgba(0, 157, 255, .72));
}

.made-in {
  justify-self: end;
  width: clamp(190px, 23vw, 310px);
  filter: drop-shadow(0 0 12px rgba(255, 45, 160, .45));
}

@media (max-width: 980px) {
  .landing { padding-inline: 18px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .brand-mini { justify-self: center; width: 120px; }
  .hero-copy { width: min(760px, 96vw); }
  .tagline { margin-top: -12px; }
  
.playlists { grid-template-columns: 1fr; max-width: 680px; }
  .footer { grid-template-columns: 1fr; justify-items: center; }
  .footer-logo { grid-column: auto; }
  .made-in { justify-self: center; }
}

@media (max-width: 560px) {
  .landing { padding: 14px 12px 18px; }
  .landing::before { top: 20%; font-size: 26px; }
  .brand-mini { width: 92px; }
  .hero-copy { margin-top: 20px; }
  .main-logo { max-height: 400px; transform: scale(1.06); }
  .tagline { margin-top: -18px; font-size: 14px; padding-inline: 6px; }
  
.playlists { gap: 16px; margin-top: 10px; }
  .playlist-card { border-radius: 18px; padding: 14px 10px; }
  .embed-wrap iframe { height: 360px; }
  .youtube-hero { min-height: 210px; }
  #youtube-player { min-height: 210px; }
  .youtube-now { left: 9px; right: 9px; bottom: 9px; grid-template-columns: auto 1fr; }
  .youtube-subscribe { display: none; }
  .youtube-toolbar { align-items: stretch; }
  .yt-refresh-btn { width: 100%; }
  #youtube-list { max-height: 300px; }
  #youtube-list .youtube-item { grid-template-columns: 28px 60px minmax(0, 1fr); gap: 8px; padding: 8px 9px; }
  #youtube-list .youtube-item-index { width: 23px; height: 23px; font-size: 10px; }
  #youtube-list .youtube-item-thumb,
  #youtube-list .youtube-thumb-fallback,
  #youtube-list .youtube-item img { width: 60px; height: 34px; }
  #youtube-list .youtube-item-title { font-size: 12px; }
  .footer { margin-top: 14px; gap: 8px; }
  .made-in { width: 220px; max-width: 88vw; }

}
@media (min-width: 769px) {
  .social-links a {
    width: 150px;
    height: 150px;
    flex-basis: 150px;
  }

  .social-links img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .social-links {
    top: 8px;
    right: 6px;
    gap: 0;
  }

  .social-links a {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .social-links img {
    width: 64px;
    height: 64px;
  }
}