* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #ff2d75 rgba(255, 255, 255, .07);
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  border: 3px solid rgba(8, 8, 12, .95);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2d75, #ffbd47);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff5b99, #ffc862);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 52, 132, .24), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 190, 71, .20), transparent 28%),
    linear-gradient(180deg, #09090d 0%, #0d0b10 52%, #08080b 100%);
  color: #fff;
  font-family: Montserrat, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 36px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(270px, 42vw);
  max-height: 54px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #d7d7d7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: #ff7bad;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: #fff;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(88vh - 86px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
  padding: 42px 0 68px;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 45, 117, .15);
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 690px;
  margin-top: 20px;
  color: #ceced6;
  font-size: 17px;
  line-height: 1.7;
}

.hero-logo {
  width: min(300px, 72vw);
  margin: 0 0 20px;
  display: block;
  filter: drop-shadow(0 22px 50px rgba(255, 52, 132, .18));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
  justify-content: center;
}

.hero-actions a,
.hero-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.hero-actions a {
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255,45,117,.22);
}

.hero-actions button {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.player-panel,
.station-card,
.program-card,
.chart-item,
.schedule-card,
.news-card,
.studios-section,
.history-section,
.programs-section,
.chart-section,
.schedule-section,
.news-section,
.webcam-section,
.contact-section,
.contact-card,
.radio-card,
.stations-section {
  border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .36);
}

.schedule-section,
.news-section {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 26px;
  border-radius: 28px;
}

.news-section + .chart-section {
  margin-top: 28px;
}

.schedule-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.schedule-card,
.news-card {
  border-radius: 18px;
  padding: 18px;
}

.schedule-card.is-now {
  border-color: rgba(255, 45, 117, .45);
  box-shadow: 0 18px 46px rgba(255, 45, 117, .15);
}

.schedule-card span,
.news-card span,
.news-card time {
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-card strong {
  display: block;
  margin: 8px 0;
  font-size: 30px;
}

.schedule-card h3,
.news-card h3 {
  margin: 0 0 8px;
}

.schedule-card p,
.news-card p {
  color: #ceced6;
  line-height: 1.6;
}

.error-page {
  min-height: calc(100vh - 260px);
  display: grid;
  place-items: center;
  padding: 50px 0;
}

.error-card {
  width: min(760px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  text-align: center;
}

.error-card p {
  max-width: 560px;
  margin: 18px auto 0;
  color: #ceced6;
  line-height: 1.7;
}

.player-panel {
  position: relative;
  overflow: hidden;
  width: min(900px, 100%);
  margin: 6px auto 0;
  padding: 22px;
  border-radius: 24px;
}

.player-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,45,117,.22), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(255,189,71,.18), transparent 28%);
  pointer-events: none;
}

.player-panel > * {
  position: relative;
}

.player-kicker,
.player-footer-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.player-kicker {
  margin-bottom: 18px;
}

.player-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-kicker span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #28ff8a;
  box-shadow: 0 0 18px #28ff8a;
}

.player-kicker small,
.player-footer-note {
  color: #a9aab4;
  font-size: 12px;
  font-weight: 800;
}

.now-playing {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.cover {
  width: 116px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .28), transparent 26%),
    linear-gradient(135deg, #ff347f, #ffbd47);
}

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

.cover span {
  font-size: 24px;
  font-weight: 950;
}

.panel-label {
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.now-playing h2 {
  margin: 8px 0 6px;
  overflow-wrap: anywhere;
}

.now-playing p,
.now-playing small {
  color: #bfc0ca;
}

iframe {
  display: block;
  width: 100%;
  min-height: 150px;
  height: 150px;
  border: 0;
  border-radius: 18px;
  background: #111;
}

.player-panel iframe {
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.player-footer-note {
  margin-top: 14px;
}

.stations-section,
.studios-section,
.programs-section,
.chart-section,
.webcam-section,
.contact-section,
.history-section {
  margin-bottom: 34px;
  padding: 28px;
  border-radius: 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.section-head p {
  max-width: 430px;
  color: #aaa;
  line-height: 1.55;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.studios-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: 26px;
  align-items: center;
}

.studio-copy h2 {
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.02;
}

.studio-copy p {
  margin-top: 16px;
  color: #bbb;
  line-height: 1.7;
}

.studio-stats {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.studio-stats span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aaa;
}

.studio-stats strong {
  min-width: 62px;
  color: #ff9bc0;
  font-size: 22px;
  font-weight: 950;
}

.studio-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.studio-gallery img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 16px 42px rgba(0,0,0,.32);
}

.studio-gallery .studio-main {
  grid-row: span 2;
  min-height: 392px;
}

.webcam-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  align-items: center;
}

.webcam-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: #050507;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}

.webcam-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255, 45, 117, .18), transparent 30%);
  pointer-events: none;
}

.webcam-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.webcam-live {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7,7,10,.78);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.webcam-live::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff2d75;
  box-shadow: 0 0 16px #ff2d75;
}

.webcam-copy h2 {
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.02;
}

.webcam-copy p {
  margin-top: 16px;
  color: #bbb;
  line-height: 1.7;
}

.webcam-notes {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.webcam-notes span {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #d8d8df;
  font-weight: 800;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.program-card:hover,
.program-card:focus {
  transform: translateY(-3px);
  border-color: rgba(255,45,117,.26);
  box-shadow: 0 26px 70px rgba(255,45,117,.12);
  outline: 0;
}

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

.program-card div {
  padding: 18px;
}

.program-card span {
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card h3 {
  margin-top: 7px;
  font-size: 24px;
}

.program-card p {
  margin-top: 8px;
  color: #aaa;
  line-height: 1.55;
}

.program-stations {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.program-stations em,
.program-list-item em:not(:last-child) {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,45,117,.12);
  color: #ffd2e3;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card small {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,45,117,.12);
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 900;
}

.program-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.program-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.program-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255,45,117,.18);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.chart-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #d8d8df;
  font-weight: 900;
  cursor: pointer;
}

.chart-tab.is-active {
  border-color: rgba(255,45,117,.38);
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255,45,117,.18);
}

.schedule-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #d8d8df;
  font-weight: 900;
  cursor: pointer;
}

.schedule-tabs button.is-active {
  border-color: rgba(255,45,117,.38);
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255,45,117,.18);
}

.schedule-tabs button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.chart-item {
  display: grid;
  grid-template-columns: auto 70px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
}

.chart-item:first-child {
  border-color: rgba(255, 45, 117, .3);
  background:
    radial-gradient(circle at 12% 10%, rgba(255,45,117,.14), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
}

.chart-rank {
  min-width: 46px;
  color: #ff9bc0;
  font-size: 22px;
  font-weight: 950;
}

.chart-art {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  font-weight: 950;
}

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

.chart-item h3,
.chart-item p,
.chart-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-item p,
.chart-item small {
  color: #999;
}

.chart-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.chart-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255,45,117,.18);
}

.chart-actions button:hover {
  filter: brightness(1.06);
}

.station-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 300px;
  padding: 18px;
  border-radius: 16px;
  overflow: hidden;
}

.station-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--station-color) 30%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--station-color) 18%, transparent), transparent 46%);
  pointer-events: none;
}

.station-card > * {
  position: relative;
}

.station-card.is-current {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--station-color) 70%, #fff 12%);
  box-shadow:
    0 26px 70px color-mix(in srgb, var(--station-color) 22%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--station-color) 55%, transparent);
}

.station-card.is-current::after {
  content: "Sonando ahora";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.station-card.is-disabled {
  opacity: .62;
}

.station-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.station-logo {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
}

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

.station-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--station-color);
  box-shadow: 0 0 14px var(--station-color);
}

.station-card h3 {
  font-size: 25px;
}

.station-card strong {
  color: var(--station-color);
  font-size: 13px;
}

.station-card p {
  color: #b8b8c0;
  line-height: 1.55;
}

.station-nowplaying {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(0, 0, 0, .22);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--station-color) 12%, transparent);
}

.station-nowplaying span {
  color: #ff9bc0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.station-nowplaying strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.station-card.is-disabled .station-nowplaying strong {
  color: #a7a7ad;
}

.station-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  align-self: end;
}

.station-card button,
.station-actions a {
  align-self: end;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--station-color);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.station-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.station-card button:hover,
.station-actions a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.station-card button:disabled {
  cursor: not-allowed;
  background: #3a3a40;
}

.station-page {
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 160px);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 26px;
  align-items: center;
}

.station-page-copy,
.station-page-player {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--station-color) 24%, transparent), transparent 34%),
    rgba(255,255,255,.045);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.station-page-copy {
  padding: clamp(24px, 4vw, 42px);
}

.station-page-copy img {
  width: 120px;
  height: 120px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 26px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--station-color) 16%, transparent);
}

.station-page-copy h1 {
  font-size: clamp(42px, 8vw, 86px);
}

.station-page-copy strong {
  display: block;
  margin-top: 10px;
  color: var(--station-color);
  font-size: 18px;
}

.station-page-copy p,
.station-page-player p {
  margin-top: 14px;
  color: #c9c9d2;
  line-height: 1.7;
}

.station-page-player {
  padding: 20px;
}

.station-page-player span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.station-page-player iframe {
  width: 100%;
  min-height: 150px;
  height: 150px;
  border: 0;
  border-radius: 18px;
  background: #000;
}

.station-page-now {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}

.station-page-now .cover {
  width: 84px;
}

.station-page-now h2 {
  font-size: clamp(20px, 3vw, 30px);
}

.station-page-section {
  margin-top: 34px;
}

.station-history-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.history-item,
.empty-state {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
}

.history-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.history-art {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2d75, #7c5cff);
  font-weight: 950;
}

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

.history-item strong,
.history-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item small,
.history-item time {
  color: #999;
  font-size: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  color: #aaa;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 18px;
}

.contact-card span {
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-top: 10px;
  font-size: 24px;
}

.contact-card p {
  margin-top: 10px;
  color: #aaa;
  line-height: 1.6;
}

.contact-card a {
  width: max-content;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.social-contact-card {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 45, 117, .22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.social-links a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  margin-top: 0;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:nth-child(1) {
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
}

.social-links a:nth-child(2) {
  background: #fff;
  color: #07070a;
}

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

footer img {
  width: min(250px, 58vw);
  max-height: 42px;
  object-fit: contain;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #aaa;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ff9bc0;
}

.footer-socials a {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #ddd;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #fff;
  background: rgba(255,45,117,.24);
}

.privacy-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: 760px;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(12,12,16,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 80px rgba(0,0,0,.5);
}

.privacy-banner.is-visible {
  display: grid;
}

.privacy-banner p {
  margin-top: 6px;
  color: #bbb;
  line-height: 1.5;
}

.privacy-banner a {
  display: inline-block;
  margin-top: 8px;
  color: #ff9bc0;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.privacy-banner button,
.privacy-close {
  border: 0;
  cursor: pointer;
}

.privacy-banner button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  font-weight: 950;
}

.privacy-modal,
.chart-modal,
.program-modal,
.program-image-modal,
.programs-list-modal,
.install-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(10px);
}

.privacy-modal.is-visible,
.chart-modal.is-visible,
.program-modal.is-visible,
.program-image-modal.is-visible,
.programs-list-modal.is-visible,
.install-modal.is-visible {
  display: grid;
}

.privacy-modal-box,
.chart-modal-box,
.program-modal-box,
.programs-list-modal-box,
.install-modal-box {
  position: relative;
  width: min(680px, 100%);
  max-height: min(720px, 88vh);
  overflow: auto;
  padding: 30px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background: #101014;
  box-shadow: 0 30px 90px rgba(0,0,0,.62);
}

.privacy-modal-box h2,
.chart-modal-box h2,
.program-modal-box h2,
.programs-list-modal-box h2,
.install-modal-box h2 {
  font-size: 34px;
}

.privacy-modal-box h3 {
  margin-top: 20px;
}

.privacy-modal-box p,
.chart-modal-box p,
.program-modal-box p,
.programs-list-modal-box p,
.install-modal-box p {
  margin-top: 10px;
  color: #bbb;
  line-height: 1.65;
}

.privacy-close,
.chart-close,
.program-close,
.program-image-close,
.programs-list-close,
.install-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 24px;
}

.chart-modal-box {
  width: min(900px, 100%);
}

.program-modal-box {
  width: min(920px, 100%);
}

.programs-list-modal-box {
  width: min(980px, 100%);
}

.install-modal-box {
  width: min(680px, 100%);
}

.install-steps {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.install-steps span {
  display: block;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: #ddd;
  font-weight: 800;
}

.install-note {
  color: #ff9bc0 !important;
  font-weight: 800;
}

.programs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.program-list-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.program-list-item:hover {
  border-color: rgba(255,45,117,.3);
  background: rgba(255,45,117,.08);
}

.program-list-item img {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
}

.program-list-item span,
.program-list-item small {
  display: block;
}

.program-list-item span {
  color: #ff9bc0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.program-list-item strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.program-list-item small {
  margin-top: 5px;
  color: #aaa;
}

.program-list-item em {
  font-style: normal;
  color: #ff9bc0;
  font-size: 22px;
  font-weight: 950;
}

.program-list-item span > em {
  display: inline-flex;
  width: auto;
  height: auto;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,45,117,.12);
  color: #ffd2e3;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.program-modal-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.program-modal-hero img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.1);
  cursor: zoom-in;
  transition: transform .18s ease, border-color .18s ease;
}

.program-modal-hero img:hover {
  transform: translateY(-2px);
  border-color: rgba(255,45,117,.42);
}

.program-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.program-image-modal {
  z-index: 75;
}

.program-image-modal img {
  width: min(760px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: #101014;
  box-shadow: 0 30px 90px rgba(0,0,0,.72);
}

.program-modal-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
  margin-top: 24px;
}

.program-modal-grid section {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}

.program-modal-grid h3 {
  margin-bottom: 14px;
}

.program-schedule,
.program-podcasts {
  display: grid;
  gap: 10px;
}

.program-schedule span,
.program-podcast-item {
  display: block;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #d8d8df;
  line-height: 1.45;
}

.program-podcast-item strong,
.program-podcast-item small {
  display: block;
}

.program-podcast-item small {
  margin-top: 5px;
  color: #aaa;
}

.chart-modal-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.chart-modal-item {
  display: grid;
  grid-template-columns: 52px 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}

.chart-modal-rank {
  color: #ff9bc0;
  font-size: 18px;
  font-weight: 950;
}

.chart-modal-art {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff2d75, #ffbd47);
  font-weight: 950;
}

.chart-modal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chart-modal-item h3,
.chart-modal-item p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-modal-item p {
  margin-top: 5px;
  color: #aaa;
}

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .site-header,
  .section-head,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    min-height: auto;
    padding: 18px 0;
  }

  .brand {
    width: calc(100% - 62px);
  }

  .menu-toggle {
    position: absolute;
    top: 18px;
    right: 0;
    display: flex;
  }

  nav {
    width: 100%;
    display: none;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.055);
  }

  .site-header.nav-open nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
  }

  .footer-content {
    align-items: flex-start;
  }

  .footer-links,
  .footer-socials {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-logo {
    max-width: min(260px, 80vw);
  }

  .program-grid,
  .program-modal-hero,
  .program-modal-grid,
  .programs-list,
  .station-page,
  .station-history-compact,
  .chart-grid,
  .schedule-grid,
  .news-grid,
  .webcam-section,
  .contact-grid,
  .studios-section {
    grid-template-columns: 1fr;
  }

  .studio-gallery .studio-main {
    grid-row: auto;
    min-height: 240px;
  }

  .privacy-modal-box,
  .chart-modal-box,
  .program-modal-box,
  .programs-list-modal-box,
  .install-modal-box {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 22px;
  }

  .program-modal-hero img {
    width: 100%;
    max-height: 220px;
  }

  .station-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .now-playing,
  .history-item,
  .station-page-now {
    grid-template-columns: 1fr;
  }

  .cover {
    width: min(100%, 180px);
  }

  .privacy-banner {
    grid-template-columns: 1fr;
  }

  .privacy-banner button {
    width: 100%;
  }

  .site-header.nav-open nav,
  .chart-grid,
  .schedule-tabs {
    grid-template-columns: 1fr;
  }

  .schedule-tabs {
    display: grid;
  }

  .schedule-tabs button {
    width: 100%;
  }

  .chart-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-tab {
    width: 100%;
  }

  .chart-item {
    grid-template-columns: auto 58px minmax(0, 1fr);
    gap: 10px;
  }

  .chart-art {
    width: 58px;
    height: 58px;
  }

  .player-kicker,
  .player-footer-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-modal-item {
    grid-template-columns: 44px 54px minmax(0, 1fr);
  }

  .chart-modal-art {
    width: 54px;
    height: 54px;
  }

  .program-list-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .program-list-item img {
    width: 64px;
    height: 64px;
  }

  .program-list-item em {
    display: none;
  }

  .hero,
  .stations-section,
  .studios-section,
  .webcam-section,
  .programs-section,
  .chart-section,
  .history-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .hero-actions a,
  .hero-actions button,
  .chart-actions button,
  .program-actions button {
    width: 100%;
  }
}
