:root {
    --header-height: 68px;
    --bg: #100f0d;
    --bg-soft: #1d1916;
    --panel: #fff8ec;
    --panel-muted: #f3eadc;
    --text: #181411;
    --text-soft: #695d51;
    --white: #ffffff;
    --gold: #f7b718;
    --red: #e01d25;
    --red-dark: #981016;
    --line: rgba(24, 20, 17, 0.13);
    --shadow: 0 14px 42px rgba(24, 12, 8, 0.18);
    --font-body: "Inter", Arial, sans-serif;
    --font-display: "Anton", Impact, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--panel);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.section {
    padding: clamp(36px, 5vw, 64px) 0;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    color: var(--white);
    background: linear-gradient(180deg, rgba(12, 10, 9, 0.9), rgba(12, 10, 9, 0.28));
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header.scroll-header {
    background: rgba(16, 15, 13, 0.94);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__logo img {
    width: 126px;
    height: 52px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.42));
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav__link {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 800;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--white);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 6px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav__cta,
.btn--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 16px 34px rgba(152, 16, 22, 0.34);
}

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

.nav__cta:hover,
.btn:hover {
    transform: translateY(-2px);
}

.nav__toggle,
.nav__close {
    display: none;
    color: var(--white);
    background: transparent;
    font-size: 24px;
}

.hero {
    position: relative;
    min-height: 76vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero__bg,
.hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__bg {
    object-fit: cover;
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(12, 10, 9, 0.88), rgba(12, 10, 9, 0.44), rgba(12, 10, 9, 0.14)),
        linear-gradient(0deg, rgba(12, 10, 9, 0.86), rgba(12, 10, 9, 0.05) 55%);
}

.hero__container {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
}

.hero__content {
    max-width: 650px;
}

.hero__logo {
    width: min(320px, 72vw);
    margin-bottom: 16px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.48));
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 620px;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: clamp(56px, 9vw, 104px);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 22px;
}

.hero__copy {
    max-width: 540px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 1.6vw, 20px);
}

.hero__frequencies {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero__frequencies span {
    padding: 9px 16px;
    border: 1px solid rgba(247, 183, 24, 0.65);
    border-radius: 6px;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.28);
    font-weight: 900;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.live {
    color: var(--white);
    background: var(--bg);
}

.live__container {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
    align-items: center;
    gap: 22px;
}

.live__heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live__dot {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 0 0 9px rgba(224, 29, 37, 0.17);
}

.live__player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.cover-art {
    position: relative;
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(247, 183, 24, 0.24), rgba(224, 29, 37, 0.22));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.cover-art img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cover-art__glow {
    position: absolute;
    inset: auto -20px -28px;
    height: 56px;
    background: radial-gradient(circle, rgba(247, 183, 24, 0.6), transparent 68%);
}

.player__station,
.player__controls,
.volume {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player__station strong,
.player__station span {
    display: block;
}

.player__station span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.now-playing small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.35;
}

.now-playing {
    min-width: 160px;
    max-width: 230px;
}

.now-playing span {
    display: block;
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.now-playing strong {
    display: block;
    color: var(--white);
    font-size: 19px;
    line-height: 1.18;
}

.player__button {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    color: var(--white);
    background: var(--red);
    font-size: 18px;
}

.volume {
    color: rgba(255, 255, 255, 0.72);
}

.volume input {
    width: 110px;
    accent-color: var(--gold);
}

.native-audio {
    display: none;
}

.advertise p,
.footer p {
    color: var(--text-soft);
}

.weather {
    background: var(--panel-muted);
}

.advertise {
    color: var(--white);
    background:
        linear-gradient(100deg, rgba(16, 15, 13, 0.96), rgba(152, 16, 22, 0.88)),
        url("../assets/images/hero-bg.png") center/cover;
}

.advertise__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}

.advertise h2 {
    max-width: 860px;
}

.advertise p {
    max-width: 640px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.weather__container {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
    gap: 28px;
    align-items: center;
}

.weather__copy p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 17px;
}

.weather-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.weather-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.weather-card__top i {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), var(--red));
    font-size: 30px;
}

.weather-card__top span,
.weather-card__top strong {
    display: block;
}

.weather-card__top span {
    color: var(--text-soft);
    font-weight: 800;
}

.weather-card__top strong {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: clamp(46px, 6vw, 66px);
    line-height: 0.95;
}

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

.weather-card__details span {
    display: grid;
    gap: 4px;
    padding: 13px;
    border-radius: 6px;
    color: var(--text-soft);
    background: var(--panel);
    font-size: 13px;
    font-weight: 700;
}

.weather-card__details strong {
    color: var(--text);
    font-size: 16px;
}

.footer {
    color: var(--white);
    background: #0d0b0a;
}

.footer__container {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
}

.footer__container img {
    width: 128px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer__social a:hover {
    background: var(--red);
}

.footer__bottom {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.scrollup {
    position: fixed;
    right: 22px;
    bottom: -70px;
    z-index: 80;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--red);
    box-shadow: 0 16px 28px rgba(152, 16, 22, 0.3);
    transition: bottom 0.25s ease, transform 0.2s ease;
}

.scrollup:hover {
    transform: translateY(-2px);
}

.scrollup.show-scroll {
    bottom: 22px;
}

@media (max-width: 980px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(330px, 82vw);
        height: 100vh;
        padding: 92px 28px 28px;
        background: rgba(16, 15, 13, 0.98);
        transition: right 0.25s ease;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .nav__close,
    .nav__toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav__close {
        position: absolute;
        top: 24px;
        right: 24px;
    }

    .nav__cta {
        margin-left: auto;
    }

    .live__container,
    .advertise__content,
    .weather__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    :root {
        --header-height: 68px;
    }

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

    .nav__logo img {
        width: 104px;
        height: 48px;
    }

    .nav__cta {
        min-height: 40px;
        padding: 0 13px;
        font-size: 13px;
    }

    .hero {
        min-height: 72vh;
    }

    .hero__content {
        padding: 34px 0 28px;
    }

    .hero__actions,
    .btn {
        width: 100%;
    }

    .live__player,
    .player__controls {
        align-items: stretch;
        flex-direction: column;
    }

    .cover-art {
        width: min(220px, 100%);
        height: auto;
        flex: none;
        aspect-ratio: 1;
        margin-inline: auto;
    }

    .now-playing {
        max-width: none;
        text-align: center;
    }

    .weather-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .weather-card__details {
        grid-template-columns: 1fr;
    }

    .volume input {
        width: 100%;
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__container img,
    .footer__social {
        margin-inline: auto;
    }
}
