/*
  Rádio Boreal FM — Landing page institucional
  Estrutura visual: dark premium, aurora boreal, alto contraste e UI responsiva.
*/

:root {
  --color-black: #050505;
  --color-graphite: #111111;
  --color-graphite-2: #1A1A1A;
  --color-red: #FF3838;
  --color-orange: #FF7A1A;
  --color-gold: #FFD84D;
  --color-green: #9EE66E;
  --color-white: #FFFFFF;
  --color-text: #B8B8B8;
  --color-muted: #787878;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-card: rgba(17, 17, 17, 0.78);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.44);
  --shadow-glow: 0 0 44px rgba(255, 122, 26, 0.24);
  --gradient-aurora: linear-gradient(135deg, var(--color-red), var(--color-orange) 34%, var(--color-gold) 62%, var(--color-green));
  --gradient-dark: radial-gradient(circle at 20% 20%, rgba(255, 56, 56, 0.22), transparent 28%),
                   radial-gradient(circle at 78% 18%, rgba(158, 230, 110, 0.15), transparent 24%),
                   linear-gradient(180deg, #0b0b0d 0%, #050505 72%);
  --font-heading: "Montserrat", "Poppins", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 82px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 56, 56, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(158, 230, 110, 0.10), transparent 28%),
    var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
  position: relative;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--color-gold);
  color: #171100;
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(255, 122, 26, 0.22));
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--color-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  color: var(--color-white);
  font-weight: 850;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.btn:hover,
.store-btn:hover,
.play-button:hover,
.icon-btn:hover,
.news-card:hover,
.benefit-card:hover,
.schedule-card:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gradient-aurora);
  box-shadow: 0 12px 34px rgba(255, 56, 56, 0.28), 0 8px 22px rgba(158, 230, 110, 0.14);
}

.btn-primary:hover {
  box-shadow: 0 18px 52px rgba(255, 122, 26, 0.28), 0 12px 28px rgba(158, 230, 110, 0.20);
}

.btn-secondary {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
}

.btn-secondary:hover {
  border-color: rgba(255, 216, 77, 0.55);
  background: rgba(255, 216, 77, 0.08);
}

.btn-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.92rem;
}

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
}

.hero {
  min-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 90px);
  background: var(--gradient-dark);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--color-black));
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.aurora {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 1000px;
  height: 360px;
  filter: blur(20px);
  opacity: 0.58;
  transform-origin: center;
  pointer-events: none;
}

.aurora-one {
  transform: translateX(-52%) rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(255, 56, 56, 0.92), rgba(255, 122, 26, 0.76), rgba(255, 216, 77, 0.58), rgba(158, 230, 110, 0.86), transparent);
  clip-path: polygon(0 40%, 12% 22%, 27% 50%, 44% 24%, 58% 48%, 75% 20%, 100% 45%, 100% 72%, 78% 56%, 62% 78%, 46% 55%, 31% 78%, 15% 52%, 0 78%);
  animation: auroraDrift 10s ease-in-out infinite alternate;
}

.aurora-two {
  top: 15%;
  transform: translateX(-47%) rotate(10deg);
  opacity: 0.38;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.62), rgba(255, 216, 77, 0.45), rgba(158, 230, 110, 0.72), transparent);
  clip-path: polygon(0 55%, 20% 35%, 38% 62%, 58% 32%, 80% 58%, 100% 34%, 100% 72%, 78% 66%, 55% 84%, 36% 68%, 16% 82%, 0 65%);
  animation: auroraDrift 12s ease-in-out infinite alternate-reverse;
}

@keyframes auroraDrift {
  from {
    filter: blur(22px);
    opacity: 0.42;
  }
  to {
    filter: blur(30px);
    opacity: 0.72;
  }
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(255, 216, 77, 0.6) 0 1px, transparent 1.2px);
  background-size: 110px 110px, 170px 170px;
  background-position: 12px 24px, 90px 80px;
  opacity: 0.28;
}

.tower {
  position: absolute;
  right: clamp(28px, 9vw, 150px);
  bottom: 125px;
  width: 104px;
  height: 280px;
  opacity: 0.42;
}

.tower::before,
.tower::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.64), rgba(255,255,255,0.08));
}

.tower::before {
  left: 25px;
  transform: skewX(-12deg);
}

.tower::after {
  right: 25px;
  transform: skewX(12deg);
}

.tower span {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(-18deg);
}

.tower span:nth-child(1) { top: 38px; }
.tower span:nth-child(2) { top: 112px; transform: rotate(18deg); }
.tower span:nth-child(3) { top: 188px; }

.forest {
  position: absolute;
  bottom: 84px;
  width: min(44vw, 520px);
  height: 190px;
  background:
    linear-gradient(135deg, transparent 50%, #080808 51%) 0 0 / 54px 120px,
    linear-gradient(225deg, transparent 50%, #0a0a0a 51%) 0 0 / 54px 120px;
  opacity: 0.88;
}

.forest-left {
  left: -18px;
}

.forest-right {
  right: -18px;
  transform: scaleX(-1);
}

.road {
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: min(70vw, 760px);
  height: 310px;
  transform: translateX(-50%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 216, 77, 0.72) 49%, rgba(255, 216, 77, 0.72) 51%, transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.82));
  opacity: 0.68;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 54px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.05;
  margin: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  letter-spacing: -0.075em;
}

.hero-text {
  max-width: 740px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-card {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(17, 17, 17, 0.58);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 122, 26, 0.26), transparent 44%),
              radial-gradient(circle at 80% 18%, rgba(158, 230, 110, 0.20), transparent 34%);
  pointer-events: none;
}

.signal-ring {
  position: absolute;
  inset: 42px 42px auto auto;
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow:
    0 0 0 34px rgba(255, 216, 77, 0.05),
    0 0 0 72px rgba(158, 230, 110, 0.04);
}

.hero-card-label {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-gold);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card strong {
  position: relative;
  z-index: 1;
  max-width: 320px;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.hero-card span:not(.signal-ring) {
  position: relative;
  z-index: 1;
  color: var(--color-text);
}

.player-section {
  position: relative;
  z-index: 5;
  margin-top: -76px;
}

.radio-player {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) minmax(210px, 0.7fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.92);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  backdrop-filter: blur(16px);
}

.radio-player.is-playing {
  border-color: rgba(255, 216, 77, 0.34);
}

.radio-player.has-embedded-player {
  grid-template-columns: auto minmax(210px, 1fr) minmax(210px, 0.7fr) auto;
}

.embedded-radio-player {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 96px;
  border: 1px solid rgba(255, 216, 77, 0.22);
  border-radius: 20px;
  background: rgba(5, 5, 5, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.embedded-radio-player[hidden] {
  display: none;
}

.cover {
  width: 88px;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(255, 56, 56, 0.22);
}

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

.track-info {
  min-width: 0;
}

.track-info h2 {
  margin-top: 2px;
  font-size: clamp(1.28rem, 2vw, 1.9rem);
  letter-spacing: -0.03em;
}

.track-info p {
  margin: 0;
  color: var(--color-text);
}

.player-status {
  color: var(--color-gold) !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stream-note {
  display: inline-flex;
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.provider-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--color-muted);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.provider-badge[data-state="success"] {
  border-color: rgba(158, 230, 110, 0.24);
  color: rgba(255, 255, 255, 0.9);
}

.provider-badge[data-state="success"]::before {
  background: var(--color-green);
  box-shadow: 0 0 16px rgba(158, 230, 110, 0.46);
}

.provider-badge[data-state="warning"] {
  border-color: rgba(255, 216, 77, 0.26);
  color: rgba(255, 255, 255, 0.9);
}

.provider-badge[data-state="warning"]::before {
  background: var(--color-gold);
  box-shadow: 0 0 16px rgba(255, 216, 77, 0.46);
}

.provider-badge[data-state="error"] {
  border-color: rgba(255, 56, 56, 0.32);
  color: rgba(255, 255, 255, 0.92);
}

.provider-badge[data-state="error"]::before {
  background: var(--color-red);
  box-shadow: 0 0 16px rgba(255, 56, 56, 0.5);
}

.equalizer {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
}

.equalizer span {
  width: 7px;
  height: 16px;
  border-radius: 999px;
  background: var(--gradient-aurora);
  opacity: 0.78;
  transform-origin: bottom;
  animation: equalizerIdle 1.4s ease-in-out infinite;
  animation-play-state: paused;
}

.radio-player.is-playing .equalizer span {
  animation-play-state: running;
}

.equalizer span:nth-child(2) { animation-delay: -0.3s; height: 24px; }
.equalizer span:nth-child(3) { animation-delay: -0.7s; height: 40px; }
.equalizer span:nth-child(4) { animation-delay: -0.1s; height: 30px; }
.equalizer span:nth-child(5) { animation-delay: -0.5s; height: 48px; }
.equalizer span:nth-child(6) { animation-delay: -0.9s; height: 28px; }
.equalizer span:nth-child(7) { animation-delay: -0.2s; height: 42px; }
.equalizer span:nth-child(8) { animation-delay: -0.6s; height: 22px; }
.equalizer span:nth-child(9) { animation-delay: -0.8s; height: 36px; }
.equalizer span:nth-child(10) { animation-delay: -0.4s; height: 18px; }

@keyframes equalizerIdle {
  0%, 100% { transform: scaleY(0.42); }
  50% { transform: scaleY(1.08); }
}

.player-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.icon-btn,
.play-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: var(--color-white);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  border-color: rgba(255, 216, 77, 0.52);
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--gradient-aurora);
  box-shadow: 0 16px 42px rgba(255, 122, 26, 0.28);
  font-size: 1.3rem;
  font-weight: 900;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.request-card h2,
.app-content h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow),
.request-card p,
.app-content p {
  color: var(--color-text);
  font-size: 1.06rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.schedule-card,
.news-card,
.request-card,
.app-grid {
  border: 1px solid var(--color-border);
  background: var(--color-card);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover,
.schedule-card:hover,
.news-card:hover {
  border-color: rgba(255, 216, 77, 0.36);
  background: rgba(26, 26, 26, 0.88);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.benefit-card {
  min-height: 254px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.linear-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 15px;
  background: rgba(255, 216, 77, 0.08);
  color: var(--color-gold);
}

.linear-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 h3,
.schedule-card h3,
.news-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.benefit-card p p,
.schedule-card p,
.news-card p {
  margin: 10px 0 0;
  color: var(--color-text);
}

.schedule {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.schedule-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.schedule-card time {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.10);
  color: var(--color-gold);
  font-size: 0.84rem;
  font-weight: 900;
}

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

.news-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--color-graphite);
}

.news-card div {
  padding: 22px;
}

.news-card time {
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-card h3 {
  margin-top: 10px;
}

.news-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-green);
  font-weight: 850;
}

.news-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 18%, rgba(158, 230, 110, 0.13), transparent 28%),
    radial-gradient(circle at 10% 82%, rgba(255, 56, 56, 0.16), transparent 30%),
    var(--color-card);
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 7px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.request-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.request-form input:focus {
  border-color: rgba(255, 216, 77, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--color-green) !important;
  font-weight: 750;
}

.app-call {
  padding-top: 48px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 56, 56, 0.16), transparent 30%),
    radial-gradient(circle at 68% 8%, rgba(158, 230, 110, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.92);
}

.phone-mockup {
  width: 190px;
  height: 380px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: linear-gradient(145deg, #1c1c1c, #060606);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(-4deg);
}

.phone-screen {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 216, 77, 0.16), transparent 38%),
    var(--color-black);
}

.phone-screen > img {
  width: 112px;
  height: auto;
  max-height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(255, 122, 26, 0.22));
}

.mini-player {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 60px;
}

.mini-player span {
  width: 9px;
  border-radius: 999px;
  background: var(--gradient-aurora);
}

.mini-player span:nth-child(1) { height: 28px; }
.mini-player span:nth-child(2) { height: 48px; }
.mini-player span:nth-child(3) { height: 35px; }
.mini-player span:nth-child(4) { height: 54px; }

.phone-screen p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.app-content {
  max-width: 620px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.store-btn {
  min-width: 172px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
  border-color: rgba(255, 216, 77, 0.48);
  background: rgba(255, 255, 255, 0.09);
}

.store-btn span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--gradient-aurora);
  color: #080808;
  font-weight: 900;
}

.store-btn small {
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 700;
}

.qr-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.qr-box img {
  width: 132px;
  height: 132px;
  border-radius: 12px;
}

.qr-box p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 750;
}

.site-footer {
  padding: 72px 0 26px;
  border-top: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 56, 56, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.3));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(160px, 0.6fr)) minmax(260px, 0.9fr);
  gap: 36px;
}

.footer-brand > img {
  width: 116px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(255, 122, 26, 0.2));
}

.footer-brand h2 {
  max-width: 360px;
  margin-top: 20px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
}

.footer-brand p,
.contact-box p {
  color: var(--color-text);
}

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

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 216, 77, 0.5);
}

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

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-gold);
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-text);
}

.footer-links a:hover,
.contact-box a:hover {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-box {
  font-style: normal;
}

.contact-box p {
  margin: 0 0 10px;
}

.copyright {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-panel {
    gap: 14px;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 0.88rem;
  }

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

  .hero-card {
    max-width: 520px;
  }

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

  .schedule-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radio-player {
    grid-template-columns: auto 1fr auto;
  }

  .equalizer {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 110px;
  }

  .app-grid {
    grid-template-columns: minmax(170px, 0.4fr) 1fr;
  }

  .qr-box {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-soft);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .nav-panel .btn {
    width: 100%;
  }

  .hero {
    min-height: 820px;
    padding-top: calc(var(--header-height) + 66px);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 5.2rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
    margin-bottom: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .player-section {
    margin-top: -52px;
  }

  .radio-player,
  .radio-player.has-embedded-player {
    grid-template-columns: auto 1fr;
    padding: 16px;
  }

  .embedded-radio-player {
    min-height: 112px;
  }

  .player-actions {
    grid-column: 1 / -1;
    justify-content: center;
    justify-self: stretch;
    gap: 12px;
  }

  .equalizer {
    grid-column: 1 / -1;
    padding: 0;
    justify-content: center;
  }

  .benefits-grid,
  .schedule-grid,
  .news-grid,
  .request-card,
  .app-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: unset;
  }

  .phone-mockup {
    justify-self: center;
  }

  .qr-box {
    justify-self: stretch;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .navbar {
    min-height: var(--header-height);
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 820px;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 118px;
  }

  .hero-grid {
    gap: 28px;
  }

  h1 {
    font-size: clamp(3rem, 13.5vw, 4.25rem);
    letter-spacing: -0.065em;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    margin-bottom: 26px;
  }

  .hero-actions .btn {
    min-height: 62px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .cover {
    width: 74px;
  }

  .track-info h2 {
    font-size: 1.15rem;
  }

  .track-info p {
    font-size: 0.92rem;
  }

  .stream-note {
    font-size: 0.75rem;
  }

  .play-button {
    width: 58px;
    height: 58px;
  }

  .player-actions {
    justify-content: center;
    gap: 8px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .equalizer {
    gap: 5px;
  }

  .equalizer span {
    width: 6px;
  }

  .embedded-radio-player {
    min-height: 126px;
  }

  .request-card,
  .app-grid {
    padding: 22px;
  }

  .store-btn {
    width: 100%;
  }

  .phone-mockup {
    width: 170px;
    height: 340px;
  }
}
