:root {
  --bg: #050505;
  --ink: #ffffff;
  --muted: #b7bcc8;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(12, 14, 18, 0.82);
  --panel-solid: #101217;
  --red: #f3131c;
  --red-deep: #9d070d;
  --cyan: #29d7ff;
  --gold: #f5bf43;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 178px;
}

.brand img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: 228px clamp(18px, 5vw, 72px) 46px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.88) 100%),
    url("assets/logo-d1-conecta-transparente.png") center right 6vw / min(720px, 62vw) auto no-repeat,
    radial-gradient(circle at 18% 28%, rgba(243, 19, 28, 0.24), transparent 32%),
    #050505;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: minmax(390px, 0.8fr) minmax(620px, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}

.eyebrow,
.label {
  display: block;
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.lead {
  max-width: 560px;
  margin-bottom: 0;
  color: #f0f2f6;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.42;
}

.hero-schedule {
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 12, 16, 0.9);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
}

.hero-schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.hero-schedule-head .eyebrow {
  margin-bottom: 8px;
}

.hero-schedule-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
}

.schedule-live-label {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(243, 19, 28, 0.16);
  color: #ff7b80;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-panel,
.studio-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
}

.player-panel {
  padding: clamp(20px, 2.5vw, 30px);
}

.live-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(243, 19, 28, 0.18);
}

.now-playing {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  padding-bottom: 24px;
}

.album-art-wrap {
  position: relative;
  align-self: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080a0f;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.album-art {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.album-art-live {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(243, 19, 28, 0.92);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.song-timeline {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.timeline-song {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.timeline-label {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-song strong,
.timeline-song span:last-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-song strong {
  margin-bottom: 3px;
  font-size: 0.98rem;
}

.timeline-song span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
}

.current-song {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 2px;
}

.current-song strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.current-song > span:last-child {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
}

.streamcast-player {
  width: 100%;
  height: 164px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: white;
}

.button.ghost {
  border: 1px solid var(--line);
  color: #f4f6fb;
  background: rgba(255, 255, 255, 0.05);
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0f14;
}

.status-band div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.status-band div:last-child {
  border-right: 0;
}

.metric {
  display: block;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1;
}

.section,
.feature-strip,
.studio-section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.studio-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: #07080b;
}

.studio-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.studio-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(243, 19, 28, 0.18), transparent),
    #101217;
}

.studio-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.85) contrast(1.08);
}

.studio-placeholder {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.studio-placeholder span {
  color: var(--gold);
  font-weight: 900;
}

.studio-placeholder strong {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.studio-placeholder p {
  max-width: 520px;
  color: var(--muted);
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.schedule {
  max-height: 618px;
  overflow-y: auto;
  background: transparent;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  scrollbar-width: thin;
}

.schedule-item {
  position: relative;
  min-height: auto;
  padding: 16px 20px 16px 106px;
  border-bottom: 1px solid var(--line);
}

.schedule-item:last-child {
  border-bottom: 0;
}

.schedule-item.now {
  background: linear-gradient(135deg, rgba(243, 19, 28, 0.34), rgba(41, 215, 255, 0.08));
}

.time {
  position: absolute;
  top: 19px;
  left: 20px;
  display: block;
  width: 72px;
  margin-bottom: 0;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
}

.schedule-item h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.schedule-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.38;
}

.feature-strip {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 60px);
  background: #f2f4f8;
  color: #11151d;
}

.feature-strip p {
  color: #4d5666;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #cfd5df;
  border: 1px solid #cfd5df;
  border-radius: 8px;
  overflow: hidden;
}

.feature-grid article {
  min-height: 230px;
  padding: 20px;
  background: white;
}

.feature-grid span {
  color: var(--red);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #07080b;
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .hero-inner,
  .feature-strip,
  .studio-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .now-playing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    width: 138px;
  }

  .nav {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: auto;
    gap: 4px;
    font-size: 0.68rem;
    text-align: center;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-bg {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58)),
      url("assets/logo-d1-conecta-transparente.png") center 40px / 92vw auto no-repeat,
      #050505;
  }

  .hero-schedule {
    margin-top: 310px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 4.6rem);
    letter-spacing: -0.04em;
  }

  .quick-actions,
  .now-playing,
  .status-band {
    grid-template-columns: 1fr;
  }

  .current-song {
    min-height: 220px;
  }

  .hero-schedule-head {
    padding: 18px;
  }

  .schedule {
    max-height: 520px;
  }

  .schedule-item {
    padding-right: 16px;
  }

  .status-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
