:root {
    color-scheme: dark;
    --bg: #030613;
    --panel: rgba(18, 20, 38, .78);
    --panel-2: rgba(21, 24, 44, .9);
    --line: rgba(255, 255, 255, .13);
    --text: #ffffff;
    --muted: #c4c6d3;
    --pink: #ff3fa8;
    --pink-2: #ec1c91;
    --violet: #932be6;
    --blue: #3d9df4;
    --shadow: 0 26px 80px rgba(0, 0, 0, .46);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, rgba(3, 6, 19, .12), #030613 86%),
        url("/assets/img/background.png") top center / cover no-repeat fixed,
        var(--bg);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 63, 168, .15), transparent 22rem),
        radial-gradient(circle at 82% 20%, rgba(147, 43, 230, .12), transparent 26rem),
        linear-gradient(180deg, transparent 0%, rgba(3, 6, 19, .68) 72%, #030613 100%);
}

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

button {
    font: inherit;
}

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

.site-header {
    background: #030714;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 34px rgba(0, 0, 0, .18);
}

.header-inner {
    width: min(1760px, calc(100% - 72px));
    margin: 0 auto;
    min-height: 128px;
    display: grid;
    grid-template-columns: 360px 1fr auto auto;
    align-items: center;
    gap: 32px;
}

.logo-link img {
    display: block;
    width: 300px;
    max-width: 100%;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(22px, 3vw, 58px);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    padding: 12px 0;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--pink);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 3px;
    border-radius: 99px;
    background: var(--pink);
}

.nav-listen,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 64px;
    border-radius: 8px;
    padding: 0 34px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.nav-listen,
.primary-btn {
    border: 0;
    background: linear-gradient(135deg, #ff4b98, #b12ee5);
    box-shadow: 0 18px 42px rgba(255, 63, 168, .28);
    cursor: pointer;
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(10, 12, 26, .52);
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid currentColor;
}

.calendar-icon {
    width: 18px;
    height: 18px;
    border: 2px solid var(--pink);
    border-radius: 4px;
    position: relative;
}

.calendar-icon::before,
.calendar-icon::after {
    content: "";
    position: absolute;
    top: 3px;
    width: 3px;
    height: 3px;
    background: var(--pink);
}

.calendar-icon::before {
    left: 4px;
}

.calendar-icon::after {
    right: 4px;
}

.socials,
.footer-socials {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 1.35rem;
    font-weight: 900;
}

.socials a {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #f5f5f8;
}

.socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.socials a:hover {
    color: var(--pink);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(620px, 1fr);
    align-items: center;
    gap: 64px;
    min-height: 540px;
    padding: 24px 56px 18px;
}

.hero-copy h1 {
    margin: 0 0 26px;
    max-width: 780px;
    font-size: clamp(4rem, 5.7vw, 7.4rem);
    line-height: .98;
    letter-spacing: 0;
}

.hero-copy h1 span {
    color: var(--pink);
}

.hero-copy p {
    max-width: 640px;
    margin: 0 0 32px;
    color: var(--muted);
    font-size: clamp(1.25rem, 1.5vw, 1.55rem);
    line-height: 1.5;
}

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

.status {
    min-height: 24px;
    margin-top: 18px;
    color: #d8dae7;
}

.player-console,
.feature-grid article,
.schedule-grid article,
.site-footer {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(21, 24, 44, .92), rgba(12, 14, 29, .72));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.player-console {
    padding: 28px 30px 16px;
}

.console-top,
.console-main,
.control-row,
.console-stats,
.schedule-head,
.site-footer,
.feature-grid article {
    display: flex;
    align-items: center;
}

.console-top,
.console-stats,
.schedule-head,
.site-footer {
    justify-content: space-between;
}

.section-kicker {
    margin: 0;
    color: var(--pink);
    font-size: 1.28rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.console-live {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--pink);
    font-size: .85rem;
    text-transform: uppercase;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2f6d;
    box-shadow: 0 0 12px rgba(255, 47, 109, .76);
}

.console-main {
    gap: 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    margin-top: 14px;
}

.cover-frame {
    width: 306px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, .38);
}

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

.track-panel {
    min-width: 0;
    flex: 1;
}

.onair-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 6px;
    background: var(--pink);
    font-size: .72rem;
    font-weight: 900;
}

.track-panel h2 {
    margin: 12px 0 4px;
    font-size: clamp(2rem, 2.3vw, 3rem);
    line-height: 1.05;
}

.track-panel p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 1.15rem;
}

#trackArtist {
    color: var(--pink);
    font-weight: 800;
}

.mix-label {
    color: #b7b9c9 !important;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 62px;
    margin-top: 18px;
    width: min(100%, 520px);
}

.waveform span {
    flex: 1 0 4px;
    max-width: 6px;
    height: 18px;
    border-radius: 99px;
    background: linear-gradient(180deg, #8e4cff, var(--pink));
    opacity: .96;
}

.waveform span:nth-child(3n) { height: 36px; }
.waveform span:nth-child(4n) { height: 48px; }
.waveform span:nth-child(5n) { height: 28px; }
.waveform span:nth-child(7n) { height: 12px; }

.is-playing .waveform span {
    animation: pulseBar .7s ease-in-out infinite alternate;
}

.is-playing .waveform span:nth-child(2n) { animation-delay: .12s; }
.is-playing .waveform span:nth-child(3n) { animation-delay: .2s; }
.is-playing .waveform span:nth-child(5n) { animation-delay: .34s; }

@keyframes pulseBar {
    to { transform: scaleY(.55); opacity: .7; }
}

.control-row {
    justify-content: center;
    gap: 34px;
    padding: 22px 0 12px;
}

.player-console > .control-row + .control-row {
    display: none;
}

.control-row button {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), rgba(255,255,255,.04));
    color: #fff;
    font-size: 1rem;
}

.control-row .main-control {
    width: 78px;
    height: 78px;
    border: 0;
    background: linear-gradient(135deg, #ff4b98, #8c35e8);
    box-shadow: 0 16px 38px rgba(255, 63, 168, .26);
    font-size: 2rem;
}

.icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
}

.icon-volume::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 8px;
    height: 10px;
    background: #fff;
    clip-path: polygon(0 25%, 45% 25%, 100% 0, 100% 100%, 45% 75%, 0 75%);
}

.icon-volume::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 5px;
    width: 9px;
    height: 14px;
    border: 2px solid #fff;
    border-left: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.icon-prev::before,
.icon-next::before {
    content: "";
    position: absolute;
    top: 5px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.icon-prev::before {
    left: 5px;
    border-right: 10px solid #fff;
}

.icon-prev::after,
.icon-next::after {
    content: "";
    position: absolute;
    top: 5px;
    width: 3px;
    height: 14px;
    background: #fff;
}

.icon-prev::after {
    left: 16px;
}

.icon-next::before {
    right: 5px;
    border-left: 10px solid #fff;
}

.icon-next::after {
    right: 16px;
}

.icon-play::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
}

.icon-stop::before,
.icon-stop::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 6px;
    height: 16px;
    border-radius: 2px;
    background: #fff;
}

.icon-stop::before {
    left: 5px;
}

.icon-stop::after {
    right: 5px;
}

.icon-menu::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 5px;
    width: 16px;
    height: 3px;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
}

.progress-row {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.progress {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #7f56ff, var(--pink));
}

.console-stats {
    margin-top: 16px;
}

.console-stats div {
    flex: 1;
    padding: 0 30px;
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.console-stats div:first-child {
    border-left: 0;
    padding-left: 0;
}

.console-stats small {
    display: block;
    margin-bottom: 6px;
    color: #a7aabc;
    font-size: .9rem;
    text-transform: uppercase;
}

.console-stats strong {
    color: #fff;
    font-size: 1.22rem;
}

.console-stats div:first-child strong,
.console-stats div:last-child strong {
    color: var(--pink);
}

.listener-value {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.listener-icon {
    position: relative;
    width: 22px;
    height: 18px;
}

.listener-icon::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 11px 0 0 var(--pink);
}

.listener-icon::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 10px;
    height: 8px;
    border-radius: 8px 8px 2px 2px;
    background: var(--pink);
    box-shadow: 11px 0 0 var(--pink);
}

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

.feature-grid article {
    gap: 26px;
    min-height: 140px;
    padding: 26px 34px;
}

.feature-grid h3,
.schedule-grid h3 {
    margin: 0 0 7px;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.feature-grid p,
.schedule-grid span {
    margin: 0;
    color: var(--muted);
    line-height: 1.35;
}

.feature-icon {
    position: relative;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
}

.feature-icon::before,
.feature-icon::after {
    content: "";
    position: absolute;
}

.tower::before {
    left: 26px;
    top: 8px;
    width: 18px;
    height: 52px;
    border: 5px solid var(--pink);
    border-top: 0;
    transform: perspective(70px) rotateX(22deg);
}

.tower::after {
    left: 9px;
    top: 7px;
    width: 52px;
    height: 52px;
    border: 5px solid var(--pink);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
}

.headphones::before {
    inset: 8px;
    border: 7px solid #a84cf4;
    border-bottom: 0;
    border-radius: 40px 40px 0 0;
}

.headphones::after {
    left: 9px;
    right: 9px;
    bottom: 8px;
    height: 24px;
    border-left: 14px solid #a84cf4;
    border-right: 14px solid #a84cf4;
}

.community::before {
    left: 9px;
    top: 17px;
    width: 52px;
    height: 18px;
    background: radial-gradient(circle, var(--pink) 0 8px, transparent 9px) left center / 18px 18px repeat-x;
}

.community::after {
    left: 0;
    right: 0;
    bottom: 12px;
    height: 24px;
    background: radial-gradient(ellipse at center bottom, var(--pink) 0 16px, transparent 17px) left bottom / 24px 24px repeat-x;
}

.request::before {
    inset: 9px 6px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4cc4ff, #3787e7);
}

.request::after {
    left: 21px;
    bottom: 11px;
    width: 25px;
    height: 20px;
    background: #3787e7;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.schedule-section {
    padding: 0 28px 26px;
}

.schedule-head {
    margin-bottom: 20px;
}

.schedule-head h2 {
    position: relative;
    margin: 0;
    font-size: 1.55rem;
    text-transform: uppercase;
}

.schedule-head h2::after {
    content: "";
    display: inline-block;
    width: 280px;
    height: 1px;
    margin-left: 24px;
    vertical-align: middle;
    background: rgba(255, 255, 255, .1);
}

.schedule-head a {
    color: var(--pink);
    font-weight: 900;
    text-transform: uppercase;
}

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

.schedule-grid article {
    min-height: 160px;
    overflow: hidden;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(16, 18, 35, .92), rgba(16, 18, 35, .38)),
        var(--card-image) center / cover no-repeat;
}

.schedule-grid p {
    margin: 0 0 18px;
    color: var(--pink);
    font-weight: 900;
}

.schedule-grid h3 {
    text-transform: none;
    font-size: 1.55rem;
}

.site-footer {
    min-height: 118px;
    margin: 0 28px 30px;
    padding: 0 34px;
    background: linear-gradient(90deg, rgba(52, 12, 70, .9), rgba(82, 14, 63, .75), rgba(28, 18, 48, .88));
}

.site-footer img {
    width: 270px;
    max-width: 35%;
}

.footer-socials {
    font-size: 1.15rem;
    text-transform: uppercase;
}

.footer-socials span {
    font-size: .9rem;
    font-weight: 800;
}

.footer-socials a {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #f5f5f8;
}

.footer-socials svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.footer-socials a:hover {
    color: var(--pink);
}

.legal-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 380px;
    padding-left: 48px;
    border-left: 1px solid rgba(255, 255, 255, .16);
    color: var(--muted);
}

.legal-callout p {
    margin: 0 0 8px;
}

.legal-callout nav {
    display: flex;
    gap: 18px;
}

.legal-callout a {
    color: #fff;
    font-weight: 800;
}

.legal-callout a:hover {
    color: var(--pink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1320px) {
    .header-inner {
        grid-template-columns: 260px 1fr auto;
    }

    .socials {
        display: none;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding-inline: 28px;
    }

    .player-console {
        max-width: 940px;
    }

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

@media (max-width: 920px) {
    main,
    .header-inner {
        width: min(100% - 28px, 1760px);
    }

    .header-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 0;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
    }

    .nav-listen {
        width: fit-content;
    }

    .hero-section,
    .feature-grid,
    .schedule-section {
        padding-inline: 0;
    }

    .console-main,
    .site-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .cover-frame {
        width: min(100%, 320px);
    }

    .console-stats {
        gap: 12px;
        align-items: stretch;
        flex-direction: column;
    }

    .console-stats div {
        padding: 0;
        border-left: 0;
    }

    .site-footer {
        margin-inline: 0;
        padding: 24px;
    }

    .site-footer img {
        max-width: 100%;
    }

    .legal-callout {
        min-width: 0;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        font-size: clamp(3rem, 17vw, 4.8rem);
    }

    .hero-actions,
    .control-row {
        gap: 14px;
    }

    .primary-btn,
    .secondary-btn,
    .nav-listen {
        width: 100%;
    }

    .player-console {
        padding: 18px;
    }

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

    .feature-grid {
        padding-inline: 0;
    }

    .schedule-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .schedule-head h2::after {
        display: none;
    }
}
