:root {
    --ink: #111827;
    --muted: #667085;
    --line: #e5e7eb;
    --paper: #fffdf5;
    --yellow: #ffe762;
    --blue: #2c8cd8;
    --orange: #f47b20;
    --green: #13a87c;
    --pink: #ef3f7a;
    --violet: #6b5cff;
    --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 231, 98, 0.12), transparent 360px),
        #f7f8fb;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(20px, 6vw, 88px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 12px 26px rgba(44, 140, 216, 0.16);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent),
        var(--yellow);
    box-shadow: inset 0 -8px 0 rgba(244, 123, 32, 0.17), 0 12px 26px rgba(44, 140, 216, 0.18);
    font-weight: 900;
    line-height: 1;
}

.brand-mark span {
    color: var(--blue);
    font-size: 12px;
    letter-spacing: 0;
}

.brand-mark small {
    color: var(--orange);
    font-size: 9px;
    font-weight: 900;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a,
.admin-sidebar a {
    padding: 10px 13px;
    border-radius: 8px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.nav a:hover,
.admin-sidebar a:hover,
.admin-sidebar .active {
    background: #eef6ff;
    color: #175cd3;
}

.admin-link {
    background: #101828;
    color: #fff !important;
    border: 1px solid #101828;
}

.hero {
    min-height: 72vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 88px) clamp(76px, 8vw, 118px);
    background:
        linear-gradient(135deg, rgba(255, 231, 98, 0.92) 0%, rgba(244, 251, 255, 0.94) 42%, rgba(255, 255, 255, 0.98) 100%);
    isolation: isolate;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 6vw 32px auto;
    width: 38vw;
    height: 38vw;
    max-width: 520px;
    max-height: 520px;
    border: 1px solid rgba(44, 140, 216, 0.18);
    border-radius: 999px;
    z-index: -1;
}

.hero-copy {
    max-width: 660px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 780px;
}

h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
}

.hero p,
.contact-section > div > p {
    color: #475467;
    font-size: 18px;
    line-height: 1.7;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.primary {
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: #fff;
    box-shadow: 0 14px 28px rgba(19, 168, 124, 0.22);
}

.ghost {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    color: #1d2939;
}

.studio-panel {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 231, 98, 0.95), transparent 27%),
        radial-gradient(circle at 82% 16%, rgba(239, 63, 122, 0.64), transparent 24%),
        radial-gradient(circle at 64% 78%, rgba(44, 140, 216, 0.48), transparent 24%),
        linear-gradient(145deg, #101828 0%, #293c57 55%, #0b1220 100%);
    box-shadow: var(--shadow);
}

.studio-panel::before {
    content: "";
    position: absolute;
    inset: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.mic {
    position: absolute;
    left: 18%;
    top: 20%;
    width: 92px;
    height: 210px;
    border-radius: 46px;
    background: linear-gradient(#d7e3f1, #8797aa);
    transform: rotate(-22deg);
    box-shadow: 150px 56px 0 -32px rgba(255, 255, 255, 0.16);
}

.mic::after {
    content: "";
    position: absolute;
    left: 40px;
    top: 168px;
    width: 220px;
    height: 18px;
    background: #e8eef5;
    transform: rotate(22deg);
    border-radius: 8px;
}

.meter {
    position: absolute;
    right: 44px;
    bottom: 42px;
    display: flex;
    gap: 10px;
    align-items: end;
}

.meter span {
    width: 18px;
    border-radius: 8px 8px 0 0;
    background: var(--yellow);
}

.meter span:nth-child(1) { height: 54px; }
.meter span:nth-child(2) { height: 94px; background: var(--green); }
.meter span:nth-child(3) { height: 136px; background: var(--blue); }
.meter span:nth-child(4) { height: 76px; background: var(--orange); }
.meter span:nth-child(5) { height: 112px; background: #ffffff; }

.frequency {
    position: absolute;
    left: 42px;
    bottom: 42px;
    color: #fff;
    font-size: 38px;
    font-weight: 900;
}

.stream-section {
    margin: -44px clamp(20px, 6vw, 88px) 0;
    position: relative;
    z-index: 3;
}

.stream-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 231, 98, 0.38), transparent 24%),
        linear-gradient(135deg, #ffffff, #f4fbff);
    box-shadow: 0 22px 62px rgba(17, 24, 39, 0.1);
    border: 1px solid rgba(16, 24, 40, 0.08);
}

.stream-art {
    position: relative;
    min-height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, var(--yellow), transparent 25%),
        radial-gradient(circle at 72% 32%, var(--pink), transparent 24%),
        linear-gradient(145deg, #101828, #25344a);
}

.live-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    color: #c01048;
    font-size: 12px;
    font-weight: 900;
}

.pulse-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    border: 12px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.stream-bars {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: end;
    gap: 6px;
}

.stream-bars span {
    width: 9px;
    border-radius: 8px 8px 0 0;
    background: var(--yellow);
}

.stream-bars span:nth-child(1) { height: 28px; }
.stream-bars span:nth-child(2) { height: 58px; background: var(--green); }
.stream-bars span:nth-child(3) { height: 82px; background: var(--blue); }
.stream-bars span:nth-child(4) { height: 46px; background: var(--orange); }
.stream-bars span:nth-child(5) { height: 68px; background: #fff; }

.stream-content h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.stream-content p:not(.eyebrow) {
    max-width: 680px;
    color: #475467;
    line-height: 1.7;
}

.stream-meta {
    display: grid;
    gap: 5px;
    justify-items: end;
}

.stream-meta strong {
    font-size: 26px;
}

.stream-meta span {
    color: #667085;
    font-weight: 800;
}

audio {
    width: min(100%, 620px);
    margin-top: 10px;
}

.ads-section {
    padding: clamp(62px, 8vw, 108px) clamp(20px, 6vw, 88px);
    background:
        linear-gradient(135deg, #fffdf5, #f4fbff);
}

.ads-section .section-heading p:not(.eyebrow) {
    color: #475467;
    line-height: 1.7;
}

.ads-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 20px;
    align-items: start;
}

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

.ad-card,
.ad-form {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.08);
}

.ad-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.ad-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 76px;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    opacity: 0.9;
}

.ad-card span,
.ad-card h3,
.ad-card p,
.ad-card strong,
.ad-card a {
    position: relative;
}

.ad-card span {
    align-self: flex-start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #101828;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.ad-card h3 {
    margin: 48px 0 10px;
    font-size: 24px;
}

.ad-card p {
    flex: 1;
    color: #667085;
    line-height: 1.65;
}

.ad-card strong {
    color: #101828;
}

.ad-card a {
    margin-top: 12px;
    color: #175cd3;
    font-weight: 900;
}

.ad-form {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.ad-form h3 {
    margin-bottom: 2px;
    font-size: 26px;
}

.section,
.contact-section {
    padding: clamp(62px, 8vw, 108px) clamp(20px, 6vw, 88px);
}

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

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

.card,
.stat-card,
.admin-panel,
.login-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.07);
}

.card {
    min-height: 230px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--yellow), var(--orange), var(--blue), var(--green));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(16, 24, 40, 0.12);
}

.card span,
.news-card time,
.stat-card span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.card h3 {
    margin: 14px 0 10px;
    font-size: 24px;
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

.schedule-section {
    background:
        linear-gradient(135deg, rgba(16, 24, 40, 0.92), rgba(16, 24, 40, 0.98)),
        #101828;
    color: #fff;
}

.schedule-section .eyebrow {
    color: var(--yellow);
}

.schedule-list {
    display: grid;
    gap: 12px;
}

.schedule-row {
    display: grid;
    grid-template-columns: 140px 170px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.schedule-row p {
    margin: 0;
    color: #d0d5dd;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
    gap: 34px;
    background: var(--paper);
}

.contact-list {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
    color: #344054;
    font-weight: 800;
}

.contact-form,
.admin-form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    resize: vertical;
}

.contact-form {
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    background: #e8fff6;
    color: #067647;
    font-weight: 800;
}

.alert.error {
    background: #fff1f3;
    color: #c01048;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 26px clamp(20px, 6vw, 88px);
    background: #0b1220;
    color: #fff;
}

footer div {
    display: grid;
    gap: 4px;
}

footer span {
    color: #d0d5dd;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 231, 98, 0.56), transparent 26%),
        radial-gradient(circle at 84% 16%, rgba(44, 140, 216, 0.3), transparent 28%),
        linear-gradient(135deg, #f4fbff, #fffdf5 58%, #ffffff);
}

.login-shell {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.login-visual {
    position: relative;
    min-height: 560px;
    padding: 38px;
    color: #fff;
    background:
        radial-gradient(circle at 24% 28%, rgba(255, 231, 98, 0.96), transparent 24%),
        radial-gradient(circle at 78% 24%, rgba(244, 123, 32, 0.7), transparent 22%),
        radial-gradient(circle at 62% 78%, rgba(19, 168, 124, 0.55), transparent 27%),
        linear-gradient(145deg, #0b1220, #1f3555 62%, #111827);
}

.login-logo {
    width: 96px;
    height: 96px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.login-visual h1 {
    max-width: 520px;
    margin-top: 90px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
}

.login-visual .eyebrow {
    margin-top: 34px;
    color: var(--yellow);
}

.mini-player {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 38px;
    display: flex;
    align-items: end;
    gap: 12px;
    height: 120px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.mini-player span {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: var(--yellow);
}

.mini-player span:nth-child(1) { height: 38%; }
.mini-player span:nth-child(2) { height: 76%; background: var(--blue); }
.mini-player span:nth-child(3) { height: 54%; background: var(--orange); }
.mini-player span:nth-child(4) { height: 92%; background: var(--green); }

.login-card {
    display: grid;
    gap: 16px;
    align-content: center;
    width: 100%;
    border: 0;
    border-left: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 0;
    padding: clamp(28px, 5vw, 44px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

.login-card h2 {
    margin-bottom: 0;
    font-size: 34px;
}

.back-home {
    justify-self: center;
    color: #175cd3;
    font-size: 14px;
    font-weight: 900;
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border-right: 1px solid var(--line);
    background: #fff;
}

.admin-main {
    padding: 28px;
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-top h1 {
    margin: 0;
    font-size: 34px;
}

.stat-card,
.admin-panel {
    padding: 22px;
}

.stat-card strong {
    display: block;
    margin-top: 12px;
    font-size: 42px;
}

.admin-panel {
    display: grid;
    gap: 18px;
}

.admin-form.inline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.admin-form.inline textarea,
.admin-form.inline button {
    grid-column: span 2;
}

.checkbox {
    display: flex;
    align-items: center;
    min-height: 46px;
}

.checkbox input {
    width: auto;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: #667085;
    font-size: 13px;
    text-transform: uppercase;
}

td a {
    color: #c01048;
    font-weight: 900;
}

@media (max-width: 920px) {
    .hero,
    .contact-section,
    .ads-layout,
    .stream-card,
    .admin-body,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .news-grid,
    .ads-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .login-visual {
        min-height: 360px;
    }
}

@media (max-width: 680px) {
    .site-header,
    footer,
    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: auto;
    }

    .studio-panel {
        min-height: 330px;
    }

    .stream-meta {
        justify-items: start;
    }

    .schedule-row,
    .admin-form.inline {
        grid-template-columns: 1fr;
    }

    .admin-form.inline textarea,
    .admin-form.inline button {
        grid-column: auto;
    }
}
