@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --blue-dark: #052b5d;
  --blue-mid: #0f4fa0;
  --blue-soft: #5ec8f1;
  --blue-bright: #8ee7ff;
  --ink: #061225;
  --text: #10233f;
  --muted: #4c607e;
  --bg: #f3f8ff;
  --card: #ffffff;
  --ring: rgba(94, 200, 241, 0.28);
  --live-ribbon-space: 92px;
  --header-height: 68px;
  --ribbon-height: 64px;
  --mobile-nav-height: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -6%, rgba(142, 231, 255, 0.45), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(94, 200, 241, 0.3), transparent 24%),
    linear-gradient(180deg, #eef7ff 0%, var(--bg) 240px);
  padding-bottom: calc(var(--live-ribbon-space) + var(--mobile-nav-height));
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(6, 18, 37, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 18, 37, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
}

main {
  padding-top: calc(var(--ribbon-height) + 4px);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(110deg, rgba(5, 43, 93, 0.96), rgba(10, 69, 138, 0.92));
  border-bottom: 1px solid rgba(142, 231, 255, 0.35);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: #e0edff;
  text-decoration: none;
  font-weight: 700;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: none;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.nav-label {
  line-height: 1;
}

nav a:hover {
  color: #ffffff;
  background: rgba(142, 231, 255, 0.2);
  transform: translateY(-1px);
}

.hero {
  background:
    radial-gradient(circle at 10% 8%, rgba(142, 231, 255, 0.22), transparent 40%),
    radial-gradient(circle at 78% 25%, rgba(94, 200, 241, 0.16), transparent 42%),
    linear-gradient(130deg, #052b5d, #0f4fa0 48%, #0c3f7f);
  color: #fff;
  padding: 44px 0 72px;
}

.hero .container {
  width: min(1280px, 90%);
}

.live-ribbon {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-height);
  z-index: 30;
  background: rgba(3, 24, 51, 0.92);
  border-bottom: 1px solid rgba(142, 231, 255, 0.24);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.live-ribbon.at-bottom {
  top: auto;
  bottom: 0;
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.live-ribbon-inner {
  min-height: var(--ribbon-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.live-now {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-ribbon-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: none;
}

.live-label {
  margin: 0;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-program {
  margin: 2px 0;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 540px;
}

.live-host {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.live-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.live-status {
  color: #dbeafe;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-content {
  max-width: 840px;
  margin: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  grid-column: 1;
  padding-left: 0;
  padding-right: 0;
  animation: heroFloat 5.2s ease-in-out infinite;
}

.hero-banner {
  --hero-side-col: clamp(250px, 28vw, 320px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, var(--hero-side-col));
  column-gap: 24px;
  align-items: start;
  min-height: auto;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.hero-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) brightness(0.72);
  opacity: 0;
  transition: opacity 0.56s ease;
  pointer-events: none;
}

.hero-banner-video.is-active {
  opacity: 1;
}

.hero-banner-carousel-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.hero-banner-nav,
.hero-banner-dots {
  pointer-events: auto;
}

.hero-banner-nav {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  background: rgba(3, 24, 51, 0.6);
  color: #e5f3ff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.hero-banner-nav:hover,
.hero-banner-nav:focus-visible {
  background: rgba(8, 59, 120, 0.78);
}

.hero-banner-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(3, 24, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(219, 234, 254, 0.55);
  cursor: pointer;
  padding: 0;
}

.hero-banner-dot.is-active {
  background: #8ee7ff;
  box-shadow: 0 0 0 2px rgba(142, 231, 255, 0.3);
}

@media (min-width: 761px) {
  .hero-banner {
    display: block;
    padding: 0;
    min-height: 0;
    aspect-ratio: var(--hero-banner-ratio, 16 / 9);
    max-height: min(78vh, 760px);
    background: #021126;
    touch-action: pan-y;
    cursor: grab;
  }

  .hero-banner:active {
    cursor: grabbing;
  }

  .hero-banner-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
    filter: none;
  }

  .hero-banner-carousel-controls {
    display: flex;
  }

  .hero-content,
  .hero-sidecard,
  .hero-sidecard.hero-radio-card,
  .hero-effects,
  .hero-banner::before {
    display: none !important;
  }
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: -35% -20%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(191, 219, 254, 0.2), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(125, 211, 252, 0.14), transparent 50%);
  animation: heroGlowShift 9s linear infinite;
}

.hero-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-content,
.hero-sidecard {
  position: relative;
  z-index: 3;
}

.drop {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e0f2fe, #38bdf8 65%, rgba(14, 116, 144, 0.9));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.78);
  animation: dropPulse 6.2s ease-out infinite;
}

.drop::before,
.drop::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2.4px solid rgba(186, 230, 253, 0.9);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.6);
}

.drop::before {
  width: 18px;
  height: 18px;
  animation: rippleExpand 6.2s ease-out infinite;
}

.drop::after {
  width: 30px;
  height: 30px;
  animation: rippleExpand 6.2s ease-out infinite;
  animation-delay: 0.55s;
}

.drop-1 { top: 74%; left: 14%; animation-delay: -0.5s; }
.drop-2 { top: 30%; left: 32%; animation-delay: -2.3s; }
.drop-3 { top: 62%; left: 55%; animation-delay: -4.4s; }
.drop-4 { top: 36%; left: 72%; animation-delay: -6s; }
.drop-5 { top: 18%; left: 8%; animation-delay: -1.4s; }
.drop-6 { top: 16%; left: 58%; animation-delay: -5.4s; }
.drop-7 { top: 84%; left: 38%; animation-delay: -3.1s; }
.drop-8 { top: 46%; left: 86%; animation-delay: -7.2s; }
.drop-9 { top: 52%; left: 6%; animation-delay: -2.8s; }
.drop-10 { top: 82%; left: 78%; animation-delay: -6.4s; }

.kicker {
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfdbfe;
  font-weight: 700;
  font-size: 0.8rem;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero p {
  color: #dbeafe;
  line-height: 1.6;
}

.hero-content h1 {
  animation: heroTitleSheen 8.5s ease-in-out infinite;
}

#heroSubline {
  animation: heroTextDrift 9.2s ease-in-out infinite;
}

.hero-sequence {
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: 100%;
  display: grid;
  align-content: center;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding-left: 0;
  padding-top: 20px;
  padding-right: 0;
  gap: 8px;
}

#heroHeadline,
#heroSubline {
  margin: 0;
  width: 100%;
  max-width: min(46ch, 100%);
  transform: translateX(0);
  transition: opacity 0.36s ease, transform 0.36s ease;
  will-change: opacity, transform;
}

#heroHeadline {
  margin-left: auto;
  margin-right: auto;
}

#heroSubline {
  margin-left: auto;
  margin-right: auto;
}

#heroSubline {
  max-width: min(46ch, 100%);
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  font-weight: 700;
}

.hero-center-logo {
  width: clamp(90px, 16vw, 170px);
  height: auto;
  display: block;
  visibility: hidden;
  padding: 3px 5px;
  border-radius: 999px;
  background: #ffffff;
  border: 0.5px solid rgba(15, 23, 42, 0.16);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(2, 6, 23, 0.35));
}

.hero-sequence.is-transitioning #heroHeadline,
.hero-sequence.is-transitioning #heroSubline {
  opacity: 0;
  transform: translateX(-24px);
}

.hero-sequence.is-subline-hidden #heroSubline {
  opacity: 0;
  transform: translateX(-30px);
}

.hero-sequence.is-logo {
  place-content: center;
  justify-items: center;
  text-align: center;
  padding-left: 0;
  padding-top: 0;
}

.hero-sequence.is-logo #heroHeadline,
.hero-sequence.is-logo #heroSubline {
  opacity: 0;
  transform: translateX(-18px);
  pointer-events: none;
}

.hero-sequence.is-logo .hero-center-logo {
  opacity: 1;
  animation: heroLogoZoom 4.8s ease both;
}

.hero-sidecard {
  width: 100%;
  border: 1px solid rgba(191, 219, 254, 0.38);
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at 16% 14%, rgba(125, 211, 252, 0.25), transparent 40%),
    radial-gradient(circle at 84% 82%, rgba(59, 130, 246, 0.22), transparent 45%),
    linear-gradient(165deg, rgba(7, 18, 39, 0.82), rgba(2, 11, 27, 0.78));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(2, 6, 23, 0.32);
  animation: sideCardSway 10s ease-in-out infinite;
}

.hero-side-title {
  margin: 14px 0 8px;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.02rem;
  text-align: center;
}


.hero-radio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-radio-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.45);
  background: #ffffff;
}

.hero-radio-wave {
  margin-top: 12px;
  height: 56px;
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.22), rgba(2, 6, 23, 0.36));
  position: relative;
  overflow: hidden;
}

.radio-wave-bar {
  width: clamp(7px, 1.35vw, 11px);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  animation: wavePulse 1.12s ease-in-out infinite;
  transform-origin: bottom;
  will-change: transform, opacity, filter;
}

.radio-wave-bar:nth-child(1) {
  background: linear-gradient(180deg, #93c5fd, #3b82f6);
  animation-duration: 1.06s;
  animation-delay: -0.9s;
}

.radio-wave-bar:nth-child(2) {
  background: linear-gradient(180deg, #67e8f9, #06b6d4);
  animation-duration: 1.2s;
  animation-delay: -0.45s;
}

.radio-wave-bar:nth-child(3) {
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  animation-duration: 0.98s;
  animation-delay: -0.72s;
}

.radio-wave-bar:nth-child(4) {
  background: linear-gradient(180deg, #f0abfc, #a855f7);
  animation-duration: 1.14s;
  animation-delay: -0.18s;
}

.radio-wave-bar:nth-child(5) {
  background: linear-gradient(180deg, #f9a8d4, #ec4899);
  animation-duration: 1.24s;
  animation-delay: -0.83s;
}

.radio-wave-bar:nth-child(6) {
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  animation-duration: 1.01s;
  animation-delay: -0.32s;
}

.radio-wave-bar:nth-child(7) {
  background: linear-gradient(180deg, #86efac, #22c55e);
  animation-duration: 1.16s;
  animation-delay: -0.61s;
}

.hero-radio-wave::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  animation: waveSweep 2.8s linear infinite;
}

.hero-side-text {
  margin: 0;
  color: #bfdbfe;
  line-height: 1.45;
  font-size: 0.92rem;
  text-align: center;
}

.hero-radio-controls {
  margin-top: 12px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  gap: 8px;
}

.hero-control-btn {
  border: 1px solid rgba(191, 219, 254, 0.6);
  background: rgba(7, 18, 39, 0.52);
  color: #f8fafc;
  border-radius: 10px;
  height: 42px;
  font-weight: 700;
  cursor: pointer;
}

.hero-control-btn:hover {
  background: rgba(15, 35, 72, 0.82);
}

.hero-control-btn-main {
  background: #ffffff;
  color: #0f4fa0;
  border-color: #ffffff;
  font-size: 1.1rem;
}

.hero-btn-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.hero-btn-live.is-active .hero-live-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero-highlights {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  animation: chipBreath 3.2s ease-in-out infinite;
}

.hero-highlights span:nth-child(2) {
  animation-delay: -1.6s;
}

.hero-highlights span:nth-child(3) {
  animation-delay: -3.2s;
}

.hero-note {
  margin-top: 14px;
  color: #dbeafe;
  font-size: 0.94rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.22);
  animation: liveBlink 1.2s infinite ease-in-out;
}

@keyframes liveBlink {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.92);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes wavePulse {
  0% {
    transform: scaleY(0.3);
    opacity: 0.55;
  }
  18% {
    transform: scaleY(2.2);
    opacity: 0.9;
  }
  36% {
    transform: scaleY(4.1);
    opacity: 1;
  }
  58% {
    transform: scaleY(1.15);
    opacity: 0.82;
  }
  78% {
    transform: scaleY(2.7);
    opacity: 0.94;
  }
  100% {
    transform: scaleY(0.34);
    opacity: 0.62;
  }
}

@keyframes waveSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  12% {
    opacity: 0.45;
  }
  52% {
    opacity: 0.2;
  }
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes heroGlowShift {
  0% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(2%, 1%, 0) rotate(6deg);
  }
  100% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
}

@keyframes chipBreath {
  0% {
    transform: translateY(0px);
    background: rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
  }
  100% {
    transform: translateY(0px);
    background: rgba(255, 255, 255, 0.1);
  }
}

@keyframes heroTitleSheen {
  0%,
  74%,
  100% {
    text-shadow: 0 0 0 rgba(191, 219, 254, 0);
    letter-spacing: 0;
  }
  80% {
    text-shadow: 0 0 18px rgba(191, 219, 254, 0.45);
    letter-spacing: 0.015em;
  }
  88% {
    text-shadow: 0 0 9px rgba(147, 197, 253, 0.28);
    letter-spacing: 0.008em;
  }
}

@keyframes heroTextDrift {
  0%,
  75%,
  100% {
    transform: translateX(0);
    opacity: 0.95;
  }
  83% {
    transform: translateX(8px);
    opacity: 1;
  }
  90% {
    transform: translateX(3px);
    opacity: 0.98;
  }
}

@keyframes sideCardSway {
  0%,
  72%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  80% {
    transform: rotate(0.9deg) translateY(-3px);
  }
  88% {
    transform: rotate(-0.6deg) translateY(-1px);
  }
}

@keyframes badgePulseSoft {
  0%,
  70%,
  100% {
    box-shadow: 0 0 0 rgba(125, 211, 252, 0);
    transform: scale(1);
  }
  80% {
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.34);
    transform: scale(1.06);
  }
  88% {
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.2);
    transform: scale(1.02);
  }
}

.hero-banner.hero-burst {
  animation: bannerBurst 1.6s ease;
}

.hero-banner.hero-burst::before {
  animation: heroGlowShift 9s linear infinite, burstGlow 1.6s ease;
}

.hero-banner.hero-burst #heroHeadline {
  animation: heroTitleSheen 8.5s ease-in-out infinite, burstTitle 1.6s ease;
}

.hero-banner.hero-burst #heroSubline {
  animation: heroTextDrift 9.2s ease-in-out infinite, burstText 1.6s ease;
}

.hero-banner.hero-burst .hero-sidecard {
  animation: sideCardSway 10s ease-in-out infinite, burstSideCard 1.6s ease;
}

.hero-banner.hero-burst .hero-radio-controls {
  animation: burstWave 1.6s ease;
}

.hero-banner.hero-burst .hero-highlights span {
  animation: chipBreath 3.2s ease-in-out infinite, burstChip 1.6s ease;
}

@keyframes bannerBurst {
  0% { transform: scale(1); }
  30% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

@keyframes burstGlow {
  0% { opacity: 0.55; }
  45% { opacity: 1; }
  100% { opacity: 0.8; }
}

@keyframes burstTitle {
  0% { transform: translateY(0); }
  35% { transform: translateY(-6px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes burstText {
  0% { transform: translateX(0); }
  40% { transform: translateX(12px); }
  100% { transform: translateX(0); }
}

@keyframes burstSideCard {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(1.1deg) translateY(-5px); }
  65% { transform: rotate(-0.7deg) translateY(-2px); }
  100% { transform: rotate(0deg) translateY(0); }
}

@keyframes burstBadge {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes burstWave {
  0% { filter: brightness(1); }
  35% { filter: brightness(1.35) saturate(1.2); }
  100% { filter: brightness(1); }
}

@keyframes burstChip {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes heroLogoZoom {
  0% {
    opacity: 0;
    transform: scale(0.74);
  }
  20% {
    opacity: 1;
    transform: scale(0.95);
  }
  68% {
    opacity: 1;
    transform: scale(1.16);
  }
  100% {
    opacity: 0.98;
    transform: scale(1.24);
  }
}

@keyframes dropPulse {
  0%,
  34%,
  100% {
    opacity: 0.22;
    transform: translateY(0) scale(0.92);
  }
  45% {
    opacity: 1;
    transform: translateY(-1px) scale(1.1);
  }
  58% {
    opacity: 0.48;
    transform: translateY(0) scale(0.98);
  }
}

@keyframes rippleExpand {
  0%,
  36% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1);
  }
  46% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.2);
  }
  66% {
    opacity: 0.32;
    transform: translate(-50%, -50%) scale(2.8);
  }
  82% {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(3.6);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-banner::before,
  .hero-highlights span,
  .hero-content h1,
  #heroSubline,
  .hero-sidecard,
  .hero-radio-controls,
  .hero-btn-live,
  .hero-radio-wave,
  .radio-wave-bar,
  .drop,
  .drop::before,
  .drop::after,
  .hero-center-logo,
  .hero-banner.hero-burst {
    animation: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(140deg, var(--blue-bright), var(--blue-soft));
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(6, 18, 37, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost-dark {
  border: 1px solid rgba(94, 200, 241, 0.45);
  background: #f7fcff;
  color: var(--blue-dark);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(6, 18, 37, 0.28);
}

.app-download-ribbon {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.app-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.app-download-later {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.app-download-text {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.app-download-arrows {
  display: inline-flex;
  gap: 2px;
  font-size: 1.05rem;
  line-height: 1;
}

.app-download-arrows span {
  display: inline-block;
  animation: appArrowPulse 1.1s ease-in-out infinite;
}

.app-download-arrows span:nth-child(2) {
  animation-delay: 0.14s;
}

.app-download-arrows span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes appArrowPulse {
  0% {
    transform: translateX(0);
    opacity: 0.5;
  }
  45% {
    transform: translateX(4px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }
}

@media (max-width: 760px) {
  .app-download-ribbon {
    top: 8px;
    right: 8px;
    padding: 8px 11px;
    max-width: min(72vw, 300px);
  }

  .app-download-later {
    font-size: 0.64rem;
    padding: 3px 7px;
  }

  .app-download-text {
    font-size: 0.74rem;
  }
}

.app-promo {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: none;
  pointer-events: none;
}

.app-promo.is-open {
  display: block;
}

.app-promo-backdrop {
  display: none;
}

.app-promo-card {
  position: relative;
  width: min(860px, 96vw);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(165deg, #ffffff, #dbeafe);
  border: 1px solid rgba(15, 79, 160, 0.18);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.24);
  text-align: left;
  pointer-events: auto;
  animation: appPromoSlideIn 0.28s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-promo-close {
  position: absolute;
  right: 7px;
  top: 4px;
  border: 0;
  background: transparent;
  color: #1e3a8a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.app-promo-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  border: 2px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.2);
  flex-shrink: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.app-promo-kicker {
  margin: 0 0 2px;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #2563eb;
}

.app-promo-card h2 {
  margin: 0 0 1px;
  color: #0f172a;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.app-promo-text {
  margin: 0;
  color: #1e293b;
  line-height: 1.35;
  font-size: 0.9rem;
}

.app-promo-actions {
  display: flex;
  margin-left: auto;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.app-promo-actions .btn {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
}

@keyframes appPromoSlideIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .app-promo {
    top: 8px;
    left: 8px;
    right: 8px;
    transform: none;
  }

  .app-promo-card {
    width: 100%;
    border-radius: 14px;
    display: block;
    padding: 14px 12px 12px;
  }

  .app-promo-logo {
    width: 54px;
    height: 54px;
    float: left;
    margin-right: 10px;
    margin-bottom: 6px;
  }

  .app-promo-actions {
    margin-left: 0;
    margin-top: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  letter-spacing: 0.01em;
  color: #092e64;
  text-wrap: balance;
}

.section h2::after {
  content: '';
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-soft));
}

.program-subtitle {
  margin-top: -6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 600;
}

.alt {
  background:
    radial-gradient(circle at 86% 12%, rgba(142, 231, 255, 0.32), transparent 34%),
    linear-gradient(180deg, #e8f3ff, #edf6ff);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.about-card {
  background: #ffffff;
  border: 1px solid #d0e5fb;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(7, 59, 122, 0.1);
}

.about-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
}

.about-card p {
  margin: 0;
  color: #1e293b;
  line-height: 1.62;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.contact-grid.compact .contact-card {
  padding: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.contact-map-card,
.contact-form-card,
.community-form-card,
.community-feed-card {
  background: #ffffff;
  border: 1px solid #d0e3f9;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(7, 59, 122, 0.09);
}

.contact-map-card h3,
.contact-form-card h3,
.community-form-card h3,
.community-feed-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
}

.contact-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 12px;
}

.contact-map-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid #b9d7f8;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: #37aede;
  box-shadow: 0 0 0 4px var(--ring);
}

.form-grid input[aria-invalid='true'],
.form-grid textarea[aria-invalid='true'] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.form-status {
  margin: 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.ok {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}

.community-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  margin-top: 14px;
}

.community-list {
  display: grid;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.community-item {
  border: 1px solid #d0e4fb;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f4faff);
}

.community-item h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--blue-dark);
}

.community-item p {
  margin: 8px 0 0;
  color: #1e293b;
}

.community-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.muted-line {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid #d9e7fb;
  border-radius: 14px;
  padding: 16px;
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.contact-card p {
  margin: 0 0 6px;
  font-weight: 700;
}

.contact-card a {
  color: var(--blue-mid);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card small {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

#volumeRange {
  width: 130px;
  accent-color: var(--blue-mid);
}

.card {
  background: var(--card);
  border: 1px solid #cfe3f9;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(7, 59, 122, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 79, 160, 0.4);
  box-shadow: 0 18px 34px rgba(7, 59, 122, 0.14);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.card p {
  margin: 0 0 4px;
  font-weight: 700;
}

.card small {
  color: var(--muted);
}

.card.tone-1 {
  background: #f8fbff;
  border-color: #d6e6fb;
}

.card.tone-2 {
  background: #f3f8ff;
  border-color: #cddff7;
}

.card.tone-3 {
  background: #eef6ff;
  border-color: #c7daf3;
}

.card.tone-4 {
  background: #eaf3ff;
  border-color: #bfd4f0;
}

.footer {
  background:
    radial-gradient(circle at 15% -20%, rgba(142, 231, 255, 0.22), transparent 35%),
    linear-gradient(180deg, #073b7a, #052b5d);
  color: #dbeafe;
  padding: 34px 0;
}

.footer-modern {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.footer-brand {
  margin: 0 0 4px;
  color: #ffffff;
  font-weight: 700;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: #fff;
}

.footer-tag {
  margin: 0;
  color: #93c5fd;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 12px 0 0;
  color: #dbeafe;
  font-size: 0.92rem;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  white-space: nowrap;
  gap: 0;
  transition: width 0.24s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: max-width 0.24s ease, opacity 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

.social-btn:hover,
.social-btn:focus-visible {
  width: 148px;
  padding: 8px 10px;
  gap: 10px;
  justify-content: flex-start;
}

.social-btn:hover .social-label,
.social-btn:focus-visible .social-label {
  max-width: 92px;
  opacity: 1;
  transform: translateX(0);
}

.social-btn-facebook {
  background: linear-gradient(135deg, #1877f2, #0d5fd0);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.28);
}

.social-btn-facebook:hover {
  box-shadow: 0 12px 24px rgba(24, 119, 242, 0.4);
}

.social-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #12ad4f);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.social-btn-whatsapp:hover {
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}

.social-btn-tunein {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.social-btn-tunein:hover {
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.38);
}

.footer-title {
  margin: 0 0 10px;
  color: #e2e8f0;
  font-size: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  text-decoration: none;
  margin: 8px 0;
}

.contact-item:hover {
  color: #ffffff;
}

.icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  flex-shrink: 0;
}

.icon-badge-facebook {
  color: #1877f2;
}

.icon-badge-whatsapp {
  color: #25d366;
}

.icon-badge-tunein {
  width: 48px;
  height: 26px;
  border-radius: 5px;
  padding: 0;
  background: #ffffff;
  color: inherit;
  overflow: hidden;
}

.icon-img-social {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.icon-img-tunein {
  width: 48px;
  height: 26px;
}

.social-btn-tunein .social-label {
  color: #ffffff;
}

.icon-svg {
  width: 17px;
  height: 17px;
  display: block;
}

@media (max-width: 980px) {
  .nav {
    gap: 10px;
  }

  nav {
    gap: 10px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero {
    padding: 28px 0 54px;
  }

  .section {
    padding: 58px 0;
  }

  .footer-modern {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (hover: none) {
  .social-btn {
    width: 148px;
  }

  .social-label {
    max-width: 92px;
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  :root {
    --live-ribbon-space: 140px;
    --header-height: 116px;
    --ribbon-height: 74px;
    --mobile-nav-height: 78px;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    align-items: stretch;
  }

  .live-ribbon {
    top: 8px;
    left: 8px;
    right: 8px;
    border: 1px solid rgba(191, 219, 254, 0.34);
    border-radius: 14px;
    background: rgba(5, 28, 61, 0.95);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .live-ribbon.is-mobile-scrolled {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 90;
    width: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(7, 26, 56, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(8px);
  }

  nav a {
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    border-radius: 12px;
    color: #dbeafe;
    padding: 4px 2px;
  }

  nav a:hover,
  nav a:focus-visible {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.28);
    outline: none;
  }

  .nav-icon {
    display: block;
    width: 20px;
    height: 20px;
  }

  .hero {
    padding: 0;
    min-height: calc(100dvh - var(--mobile-nav-height) - 8px);
    display: flex;
    align-items: stretch;
  }

  .hero .container {
    width: min(1100px, 94%);
    display: flex;
    align-items: stretch;
    min-height: 100%;
  }

  .hero-banner {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: block;
    flex: 1;
    min-height: 100%;
  }

  .hero-content,
  .hero-effects,
  .hero-banner::before,
  .hero-banner-video {
    display: none;
  }

  .hero-banner-carousel-controls {
    display: none;
  }

  .hero-sidecard {
    width: 100%;
    min-height: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 18px;
    justify-self: stretch;
    justify-content: center;
    gap: 12px;
  }

  .hero-radio-logo {
    width: clamp(182px, 62vw, 280px);
    height: auto;
    border-radius: 20px;
    border-width: 2px;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.38);
  }

  .hero-content,
  .hero-sidecard {
    grid-column: auto;
  }

  .live-ribbon-inner {
    min-height: 56px;
    padding: 8px 10px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .live-now {
    flex: 0 0 auto;
  }

  .live-ribbon-logo {
    display: block;
    width: 38px;
    height: 38px;
  }

  .live-now-content {
    display: none;
  }

  .live-controls {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .live-controls .btn {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  .live-status,
  #volumeRange {
    display: none;
  }

  main {
    padding-top: 0;
  }

  .hero-sidecard {
    width: 100%;
    justify-self: center;
  }

  .live-ribbon.at-bottom {
    top: 8px;
    bottom: auto;
    border-top: 1px solid rgba(191, 219, 254, 0.34);
    border-bottom: 1px solid rgba(191, 219, 254, 0.34);
  }

  .hero-radio-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-sequence {
    place-content: center;
    justify-items: center;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    padding-top: 8px;
  }

  .hero-content {
    padding-right: 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-modern {
    grid-template-columns: 1fr;
  }

  .contact-layout,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 280px;
  }

  .live-program {
    max-width: 100%;
  }

  #volumeRange {
    width: 100%;
  }
}

@media (min-width: 600px) and (max-width: 760px) {
  .hero-banner {
    padding: 0;
    min-height: 0;
    aspect-ratio: var(--hero-banner-ratio, 16 / 9);
    max-height: 62vh;
    background: #021126;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.34);
    touch-action: pan-y;
  }

  .hero-banner-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
    filter: none;
  }

  .hero-banner-carousel-controls {
    display: flex;
  }

  .hero-sidecard {
    display: none;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 132px;
    --ribbon-height: 84px;
    --live-ribbon-space: 156px;
  }

  .container {
    width: min(1100px, 94%);
  }

  .live-ribbon {
    top: 8px;
  }

  .hero {
    padding: 0;
    min-height: calc(100dvh - var(--mobile-nav-height) - 8px);
  }

  .hero-banner {
    min-height: 100%;
  }

  .hero-banner-carousel-controls {
    display: none;
  }

  .section {
    padding: 46px 0;
  }

  .contact-map-card,
  .contact-form-card,
  .community-form-card,
  .community-feed-card,
  .about-card,
  .card,
  .contact-card {
    padding: 12px;
  }

  .community-list {
    max-height: 380px;
  }

  .hero-control-btn {
    height: 38px;
    font-size: 0.86rem;
  }

}

@media (max-width: 390px) {
  :root {
    --mobile-nav-height: 84px;
  }

  nav {
    gap: 4px;
    padding: 6px;
  }

  nav a {
    min-height: 56px;
    font-size: 0.62rem;
    padding: 4px 1px;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
  }

  .live-controls .btn {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .hero-radio-controls {
    gap: 6px;
  }

  .footer-socials {
    gap: 8px;
  }
}
