/*
 * © 2026 SpitfireTN Entertainment™
 * FINAL Live365 Radio Page Styles
 */

/* ==============================
 *  BASE
 *  ============================== */
.radio-page {
    color: #ffe8d2;
}

/* ==============================
 *  HERO
 *  ============================== */
.radio-hero {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    border-radius: 24px;
    padding: 34px 28px;
    background:
    radial-gradient(circle at top right, rgba(255, 120, 0, 0.20), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 70, 0, 0.16), transparent 26%),
    linear-gradient(180deg, #12141c, #0a0b11);
    border: 1px solid rgba(255, 145, 70, 0.22);
    box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 30px rgba(255, 120, 40, 0.05);
    text-align: center;
}

.radio-hero-inner {
    position: relative;
    z-index: 2;
}

.radio-hero-bg-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.06;
    z-index: 1;
}

.radio-hero-bg-logo img {
    width: min(520px, 80%);
    height: auto;
    filter: drop-shadow(0 0 25px rgba(255, 120, 40, 0.14));
}

.radio-badge {
    display: inline-flex;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 110, 35, 0.12);
    border: 1px solid rgba(255, 145, 70, 0.28);
    font-weight: bold;
}

.radio-hero h1 {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 0 0 15px #ff4500;
    margin-top: 18px;
    margin-bottom: 10px;
}

.radio-lead {
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.8;
}

.radio-live365-brand {
    margin: 18px 0 10px;
    text-align: center;
}

.radio-live365-brand img {
    max-width: 240px;
    width: 100%;
    height: auto;
    opacity: 0.96;
    filter: drop-shadow(0 0 14px rgba(255, 120, 0, 0.18));
}

/* ==============================
 *  STATUS BAR
 *  ============================== */
.radio-status-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.radio-live-pill {
    background: rgba(255, 40, 0, 0.2);
    animation: pulseLive 1.6s infinite;
}

.radio-fm-pill {
    background: rgba(255, 140, 0, 0.2);
}

.radio-listener-pill {
    background: rgba(255, 255, 255, 0.07);
}

.radio-peak-pill {
    background: rgba(255, 120, 0, 0.12);
}

@keyframes pulseLive {
    0% {
        box-shadow: 0 0 0 rgba(255, 60, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 60, 0, 0.9);
    }
    100% {
        box-shadow: 0 0 0 rgba(255, 60, 0, 0.4);
    }
}

/* ==============================
 *  INFO STRIP / CHIPS
 *  ============================== */
.radio-info-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.radio-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 145, 70, 0.18);
    box-shadow: inset 0 0 14px rgba(255, 120, 40, 0.03);
}

/* ==============================
 *  FM + LIVE365 COMBO
 *  ============================== */
.radio-dual-brand {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.radio-dual-brand-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 145, 70, 0.22);
    box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 20px rgba(255, 120, 40, 0.04);
}

.radio-dual-brand-fm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffd9b2;
    text-shadow: 0 0 12px rgba(255, 120, 40, 0.22);
}

.radio-dual-brand-live365 img {
    display: block;
    max-width: 230px;
    width: 100%;
    height: auto;
    opacity: 0.98;
}

.radio-dual-brand-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent, rgba(255, 145, 70, 0.45), transparent);
}

/* ==============================
 *  BUTTONS
 *  ============================== */
.radio-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.manual-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.flame-btn {
    background: linear-gradient(135deg, #ff5a1f, #ff8a2a);
    color: white;
    box-shadow: 0 10px 24px rgba(255, 90, 31, 0.26);
}

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

/* ==============================
 *  GRID
 *  ============================== */
.radio-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 25px;
}

/* ==============================
 *  PLAYER CARD
 *  ============================== */
.radio-player-card {
    min-width: 0;
}

.card-head h2 {
    margin-bottom: 14px;
}

.radio-station-brand {
    text-align: center;
    margin-bottom: 10px;
}

.radio-station-brand img {
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(255, 120, 0, 0.22));
}

/* ==============================
 *  CUSTOM PLAYER
 *  ============================== */
.radio-custom-player {
    position: relative;
    overflow: hidden;
    padding: 26px 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 120, 40, 0.25);
    background: linear-gradient(180deg, rgba(15, 18, 24, 0.94), rgba(9, 11, 16, 0.98));
    box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 120, 40, 0.05),
    0 0 12px rgba(255, 80, 20, 0.15);
}

.radio-custom-player::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 120, 40, 0.15), transparent 60%);
    opacity: 0.4;
    z-index: 1;
}

.radio-player-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.07;
}

.radio-player-bg img {
    max-width: 280px;
    width: 78%;
    height: auto;
    filter: drop-shadow(0 0 22px rgba(255, 120, 40, 0.14));
}

.radio-player-inner {
    position: relative;
    z-index: 2;
}

.radio-now-playing-art {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

#np-artwork {
width: 140px;
height: 140px;
object-fit: cover;
border-radius: 16px;
border: 1px solid rgba(255, 145, 70, 0.22);
box-shadow:
0 10px 24px rgba(0, 0, 0, 0.35),
0 0 18px rgba(255, 120, 40, 0.12);
}

.radio-now-playing {
    text-align: center;
    margin-bottom: 20px;
}

.np-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #ffb57d;
    text-transform: uppercase;
}

#np-title {
font-size: 1.45rem;
font-weight: 800;
color: #fff7ef;
line-height: 1.3;
text-shadow: 0 0 10px rgba(255, 90, 30, 0.12);
}

#np-artist {
margin-top: 6px;
font-size: 1rem;
color: #ffd2af;
min-height: 1.5em;
}

.radio-controls {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.radio-control-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff5a1f, #ff8a2a);
    box-shadow:
    0 10px 24px rgba(255, 90, 31, 0.3),
    inset 0 0 8px rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.radio-control-btn:hover {
    transform: translateY(-2px);
    box-shadow:
    0 14px 28px rgba(255, 90, 31, 0.34),
    inset 0 0 8px rgba(255, 255, 255, 0.08);
}

.radio-control-btn:focus-visible {
    outline: 2px solid rgba(255, 180, 120, 0.7);
    outline-offset: 3px;
}

.radio-volume-wrap {
    width: min(340px, 100%);
    display: grid;
    gap: 8px;
}

.radio-volume-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd2af;
    font-weight: 700;
    font-size: 0.92rem;
}

#volumeSlider {
width: 100%;
accent-color: #ff7a2a;
cursor: pointer;
}

/* ==============================
 *  PLAYER TOOLS
 *  ============================== */
.radio-player-tools {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.radio-volume-status,
.radio-mobile-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 145, 70, 0.12);
}

/* ==============================
 *  META
 *  ============================== */
.radio-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.radio-meta-card {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 145, 70, 0.1);
}

.meta-label {
    display: block;
    font-size: 0.82rem;
    color: #ffbf8e;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.meta-value {
    display: block;
    color: #fff7ef;
    font-weight: 700;
}

/* ==============================
 *  SIDE PANEL
 *  ============================== */
.radio-side-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.radio-info-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 20px;
    background: #11141c;
    border: 1px solid rgba(255, 145, 70, 0.12);
    box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 0 20px rgba(255, 120, 40, 0.02);
}

.radio-info-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #fff2e7;
}

.quick-links a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 145, 70, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-links a:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.08);
}

.radio-live365-square-badge {
    text-align: center;
    padding: 8px 0 4px;
}

.radio-live365-square-badge img {
    max-width: 140px;
    width: 100%;
    height: auto;
    opacity: 0.97;
    filter: drop-shadow(0 0 14px rgba(255, 120, 40, 0.16));
}

.radio-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.radio-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.radio-feature-list li:last-child {
    border-bottom: none;
}

/* ==============================
 *  CUSTOM HISTORY PANEL
 *  ============================== */
.radio-history-panel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 145, 70, 0.2);
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.92), rgba(9, 11, 16, 0.98));
    padding: 14px;
    min-height: 260px;
}

.live365-widget-bg-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06;
}

.live365-widget-bg-logo img {
    width: min(220px, 75%);
    height: auto;
}

.radio-history-inner {
    position: relative;
    z-index: 2;
}

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

.radio-history-item {
    display: grid;
    grid-template-columns: 34px 56px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 145, 70, 0.1);
}

.radio-history-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 120, 40, 0.14);
    border: 1px solid rgba(255, 145, 70, 0.22);
    color: #ffcfab;
    font-weight: 800;
    font-size: 0.9rem;
}

.radio-history-art img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 145, 70, 0.18);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.radio-history-copy {
    min-width: 0;
}

.radio-history-title {
    color: #fff6ec;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.radio-history-artist {
    margin-top: 4px;
    color: #ffc99b;
    font-size: 0.92rem;
    line-height: 1.4;
    word-break: break-word;
}

.radio-history-time {
    margin-top: 4px;
    font-size: 0.78rem;
    color: #d7a77e;
    opacity: 0.88;
}

.radio-history-empty {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 145, 70, 0.1);
    color: #ffd2af;
    text-align: center;
}

/* ==============================
 *  LEGAL
 *  ============================== */
.radio-legal-card {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 120, 0, 0.08);
    border: 1px solid rgba(255, 120, 0, 0.3);
}

.radio-powered-by-live365 {
    text-align: center;
    margin: 8px 0 16px;
}

.radio-powered-by-live365 img {
    max-width: 280px;
    width: 100%;
    height: auto;
    opacity: 0.98;
}

.radio-legal-text,
.radio-legal-sub,
.radio-widget-note {
    line-height: 1.75;
}

.radio-legal-footer {
    margin-top: 16px;
    color: #ffcb9f;
    font-weight: 700;
    text-align: center;
}

/* ==============================
 *  FOOTER CALLOUT
 *  ============================== */
.radio-bottom-callout {
    margin-top: 30px;
}

.radio-highlight-box {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 28px 24px;
    border-radius: 20px;
    background:
    radial-gradient(circle at top right, rgba(255, 120, 0, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255, 120, 0, 0.08), rgba(255, 80, 0, 0.04));
    border: 1px solid rgba(255, 145, 70, 0.18);
    text-align: center;
}

.radio-footer-bg-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.06;
}

.radio-footer-bg-logo img {
    width: min(360px, 78%);
    height: auto;
}

.radio-highlight-box h3,
.radio-highlight-box p {
    position: relative;
    z-index: 2;
}

/* ==============================
 *  RESPONSIVE
 *  ============================== */
@media (max-width: 900px) {
    .radio-main-grid {
        grid-template-columns: 1fr;
    }

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

    .radio-dual-brand-inner {
        flex-direction: column;
        gap: 12px;
    }

    .radio-dual-brand-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 145, 70, 0.45), transparent);
    }
}

@media (max-width: 640px) {
    .radio-hero {
        padding: 26px 18px;
    }

    .radio-hero h1 {
        font-size: 2rem;
    }

    .radio-actions {
        flex-direction: column;
    }

    .manual-btn {
        width: 100%;
    }

    .radio-status-bar,
    .radio-info-strip {
        gap: 10px;
    }

    .radio-pill,
    .radio-info-chip {
        width: 100%;
        justify-content: center;
    }

    .radio-custom-player {
        padding: 22px 16px;
    }

    #np-artwork {
    width: 120px;
    height: 120px;
    }

    #np-title {
    font-size: 1.2rem;
    }

    .radio-control-btn {
        width: 100%;
        justify-content: center;
    }

    .radio-volume-wrap {
        width: 100%;
    }

    .radio-history-item {
        grid-template-columns: 30px 48px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .radio-history-number {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }

    .radio-history-art img {
        width: 48px;
        height: 48px;
    }
}
