:root {
    --bg: #05070b;
    --bg-elevated: rgba(14, 18, 26, 0.78);
    --bg-panel: rgba(12, 15, 21, 0.92);
    --surface: #101520;
    --surface-strong: #171d2b;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f5f7fb;
    --muted: #9aa5ba;
    --soft: #6f7890;
    --accent: #ff6a3d;
    --accent-2: #6cf2ff;
    --accent-3: #e8ff65;
    --danger: #ff5b73;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 106, 61, 0.14), transparent 32%),
        radial-gradient(circle at top right, rgba(108, 242, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #07090d 0%, #05070b 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.page-shell {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 48px;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(8, 10, 15, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: max-content;
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    box-shadow: 0 0 28px rgba(108, 242, 255, 0.45);
}

.brand-text,
.footer-label {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.site-nav a,
.footer-links a,
.player-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.footer-links a:hover,
.player-links a:hover {
    color: var(--text);
}

.header-action,
.button,
.control-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.header-action {
    min-width: max-content;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.header-action:hover,
.button:hover,
.control-button:hover {
    transform: translateY(-2px);
}

.hero,
.player-section,
.shows-section,
.schedule-section,
.about-section {
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(10, 13, 20, 0.92) 0%, rgba(7, 9, 13, 0.94) 100%);
    box-shadow: var(--shadow);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    padding: clamp(28px, 5vw, 56px);
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -10% auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.2), transparent 66%);
    filter: blur(8px);
}

.eyebrow,
.section-kicker,
.meta-label,
.display-kicker,
.show-time,
.schedule-time,
.note-index,
.player-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    font-weight: 800;
}

.eyebrow,
.section-kicker,
.display-kicker,
.show-time,
.note-index,
.player-kicker {
    color: var(--accent-3);
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero h1,
.section-heading h2,
.about-panel h2,
.broadcast-display h2 {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.03em;
    line-height: 0.96;
}

.hero h1 {
    margin-top: 12px;
    font-size: clamp(4rem, 10vw, 7.4rem);
    max-width: 9ch;
}

.hero-text,
.section-heading p,
.about-panel p,
.show-card p,
.schedule-row p,
.note-card p,
.display-copy,
.footer-copy,
.player-description,
#song-artist,
#next-track-artist {
    color: var(--muted);
}

.hero-text {
    max-width: 62ch;
    margin-top: 18px;
    font-size: 1.06rem;
}

.hero-actions,
.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button,
.control-button {
    padding: 14px 22px;
}

.button-primary,
.control-button-primary {
    color: #061017;
    background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent-2) 100%);
}

.button-secondary,
.control-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hero-meta article,
.broadcast-card,
.note-card,
.show-card,
.schedule-list,
.about-panel,
.player-shell {
    border: 1px solid var(--line);
    background: var(--bg-elevated);
}

.hero-meta article {
    padding: 16px 18px;
    border-radius: var(--radius-md);
}

.hero-meta strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
}

.broadcast-card {
    position: relative;
    min-height: 100%;
    padding: 24px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(108, 242, 255, 0.14), transparent 35%),
        linear-gradient(180deg, rgba(17, 22, 32, 0.94) 0%, rgba(9, 11, 17, 0.96) 100%);
}

.broadcast-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -14% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.26), transparent 70%);
}

.broadcast-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-pill,
.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.86rem;
    font-weight: 700;
}

.status-chip {
    color: var(--text);
}

.status-chip.is-live {
    background: rgba(255, 106, 61, 0.14);
    color: #ffd5c9;
}

.status-chip.is-offline {
    background: rgba(255, 91, 115, 0.14);
    color: #ffd7df;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.55);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.45);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 106, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 61, 0);
    }
}

.broadcast-label,
.player-station {
    color: var(--soft);
    font-size: 0.92rem;
}

.broadcast-display {
    margin-top: 72px;
    max-width: 26ch;
}

.broadcast-display h2 {
    margin: 10px 0;
    font-size: clamp(2.6rem, 7vw, 4.5rem);
}

.signal-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 48px;
    height: 92px;
}

.signal-bars span {
    flex: 1;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
    animation: equalizer 1.3s ease-in-out infinite;
    transform-origin: bottom;
}

.signal-bars span:nth-child(1) { height: 26%; animation-delay: 0.05s; }
.signal-bars span:nth-child(2) { height: 92%; animation-delay: 0.2s; }
.signal-bars span:nth-child(3) { height: 58%; animation-delay: 0.1s; }
.signal-bars span:nth-child(4) { height: 74%; animation-delay: 0.35s; }
.signal-bars span:nth-child(5) { height: 40%; animation-delay: 0.18s; }
.signal-bars span:nth-child(6) { height: 84%; animation-delay: 0.28s; }

@keyframes equalizer {
    0%, 100% { transform: scaleY(0.72); opacity: 0.75; }
    50% { transform: scaleY(1.08); opacity: 1; }
}

.ticker {
    overflow: hidden;
    margin-bottom: 28px;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: ticker-move 28s linear infinite;
}

.ticker-track span {
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.86rem;
    white-space: nowrap;
}

@keyframes ticker-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.player-section,
.shows-section,
.schedule-section,
.about-section {
    padding: clamp(24px, 4vw, 40px);
}

.section-heading {
    max-width: 62ch;
    margin-bottom: 28px;
}

.section-heading h2,
.about-panel h2 {
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    margin: 8px 0 14px;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 18px;
    align-items: start;
}

.player-shell {
    padding: 16px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.player-surface {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.player-artwork-wrap {
    position: relative;
    min-height: 100%;
}

.player-artwork {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(108, 242, 255, 0.14), rgba(255, 106, 61, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-artwork-glow {
    position: absolute;
    inset: auto 8% -8% 8%;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.28), transparent 70%);
    filter: blur(16px);
    z-index: -1;
}

.player-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.player-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.player-copy h3 {
    margin: 10px 0 6px;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.02;
}

#song-artist {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.player-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.control-button {
    min-width: 112px;
    cursor: pointer;
}

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.volume-wrap span {
    color: var(--muted);
    font-size: 0.92rem;
}

.volume-wrap input {
    width: 140px;
}

.progress-panel {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

#progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

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

.player-stats div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.player-stats dt {
    color: var(--soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.player-stats dd {
    font-size: 1.08rem;
    font-weight: 700;
}

.player-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.player-notes {
    display: grid;
    gap: 14px;
}

.note-card,
.show-card {
    padding: 22px;
    border-radius: 22px;
}

.note-card-highlight {
    background:
        radial-gradient(circle at top right, rgba(108, 242, 255, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(17, 22, 32, 0.94) 0%, rgba(9, 11, 17, 0.96) 100%);
}

.note-card h3,
.show-card h3,
.schedule-row h3 {
    margin: 10px 0 8px;
    font-size: 1.18rem;
}

.history-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin-top: 14px;
}

.history-list li {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.history-title {
    display: block;
    color: var(--text);
    font-weight: 700;
}

.history-artist {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

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

.show-card-accent {
    background:
        radial-gradient(circle at top right, rgba(255, 106, 61, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(20, 18, 19, 0.96), rgba(16, 17, 24, 0.92));
}

.schedule-list {
    border-radius: 24px;
    overflow: hidden;
}

.schedule-day-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent-3);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.schedule-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.schedule-row.is-current {
    background: rgba(108, 242, 255, 0.07);
}

.schedule-time {
    color: var(--accent-2);
}

.about-panel {
    padding: clamp(24px, 4vw, 40px);
    border-radius: 28px;
    background:
        radial-gradient(circle at right top, rgba(108, 242, 255, 0.12), transparent 28%),
        radial-gradient(circle at left bottom, rgba(255, 106, 61, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(14, 19, 28, 0.95), rgba(9, 11, 16, 0.98));
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 10px 12px;
}

.footer-copy {
    margin-top: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

audio {
    display: none;
}

@media (max-width: 1120px) {
    .hero,
    .player-layout,
    .shows-grid,
    .player-surface {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 20px;
    }

    .broadcast-display {
        margin-top: 36px;
    }
}

@media (max-width: 820px) {
    .page-shell {
        width: min(100% - 18px, 1320px);
        padding-top: 10px;
    }

    .site-header {
        position: static;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .brand,
    .site-nav,
    .header-action {
        justify-content: center;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-meta,
    .player-stats {
        grid-template-columns: 1fr;
    }

    .schedule-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .brand-text,
    .footer-label {
        font-size: 1.7rem;
    }

    .site-nav {
        gap: 12px;
    }

    .site-nav a,
    .footer-links a,
    .player-links a {
        font-size: 0.9rem;
    }

    .hero,
    .player-section,
    .shows-section,
    .schedule-section,
    .about-section {
        border-radius: 24px;
    }

    .button,
    .header-action {
        width: 100%;
    }

    .hero-actions,
    .about-actions,
    .player-controls {
        flex-direction: column;
    }

    .control-button,
    .volume-wrap {
        width: 100%;
    }

    .volume-wrap {
        justify-content: space-between;
    }

    .volume-wrap input {
        width: 100%;
        max-width: 170px;
    }

    .ticker-track {
        gap: 12px;
    }
}
