/**
 * PULSE NEWS & TV - Master Stylesheet
 * High-performance, modern editorial & video broadcast styling
 */

:root {
    --primary-color: #0f172a;
    --primary-hover: #1e293b;
    --accent-red: #e11d48;
    --accent-red-hover: #be123c;
    --accent-gold: #f59e0b;
    --accent-blue: #2563eb;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark-cinema: #090d16;
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

[data-theme="dark"] {
    --primary-color: #f8fafc;
    --bg-body: #0b0f19;
    --bg-card: #131b2e;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.6);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition: background-color 0.25s ease, color 0.25s ease;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--accent-red);
}

/* TOP BAR */
.top-bar {
    background: #090d16;
    color: #94a3b8;
    font-size: 0.815rem;
    padding: 6px 0;
    border-bottom: 1px solid #1e293b;
}

.top-bar a {
    color: #cbd5e1;
}

.top-bar a:hover {
    color: #ffffff;
}

/* BRAND HEADER */
.brand-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    position: relative;
    z-index: 10;
}

.pulse-brand {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.pulse-brand .brand-badge {
    background: linear-gradient(135deg, var(--accent-red), #ff4757);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 6px;
    vertical-align: middle;
}

.pulse-brand span.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--accent-red);
    border-radius: 50%;
    animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* MAIN NAVIGATION */
.main-navbar {
    background: var(--bg-card);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
}

.main-navbar .nav-link {
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--text-primary);
    padding: 12px 16px;
    position: relative;
    transition: all 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--accent-red);
}

.main-navbar .nav-link.nav-tv-link {
    background: #0f172a;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 6px 14px;
    margin: auto 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-navbar .nav-link.nav-tv-link:hover {
    background: var(--accent-red);
    color: #ffffff !important;
}

/* BREAKING NEWS TICKER */
.ticker-wrapper {
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 0.85rem;
    border-bottom: 1px solid #1f2937;
}

.ticker-badge {
    background: var(--accent-red);
    color: #ffffff;
    font-weight: 800;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0,0,0,0.3);
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 12px;
}

.ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: tickerMove 28s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* CARDS & GRIDS */
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.news-card-img-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    background-color: #0f172a;
}

.news-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}

.news-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-card-title a {
    color: var(--text-primary);
}

.news-card-title a:hover {
    color: var(--accent-red);
}

.news-card-excerpt {
    font-size: 0.885rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
    flex-grow: 1;
}

.news-card-meta {
    font-size: 0.785rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* HERO SPOTLIGHT SECTION */
.hero-spotlight {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-lg);
}

.hero-spotlight-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.6s ease;
}

.hero-spotlight:hover .hero-spotlight-img {
    transform: scale(1.03);
}

.hero-spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,23,42,0.92) 100%);
    z-index: 1;
}

.hero-spotlight-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    color: #ffffff;
}

.hero-spotlight-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 12px 0 14px;
}

.hero-spotlight-title a {
    color: #ffffff;
}

.hero-spotlight-title a:hover {
    color: #fb7185;
}

/* MINI NEWS CARD (SIDEBAR/STACKED) */
.mini-news-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mini-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-news-thumb {
    width: 88px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #0f172a;
}

.mini-news-title {
    font-size: 0.925rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}

.mini-news-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* PULSE TV CINEMA / VIDEO HUB SECTION */
.tv-cinema-section {
    background: radial-gradient(circle at 50% 20%, #172138 0%, #080c14 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    margin: 40px 0;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
    border: 1px solid #1e293b;
    position: relative;
    overflow: hidden;
}

.tv-badge-live {
    background: var(--accent-red);
    color: white;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tv-video-player-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 1px solid #2a374d;
}

.tv-video-player-container iframe,
.tv-video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card-dark {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card-dark:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25);
}

.video-card-thumb-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000000;
    overflow: hidden;
}

.video-card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card-dark:hover .video-card-thumb {
    transform: scale(1.06);
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(225, 29, 72, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 3;
}

.video-card-dark:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--accent-red);
}

.video-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}

.video-card-body {
    padding: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f3f4f6;
    line-height: 1.35;
    margin-bottom: 8px;
}

.video-card-title a {
    color: #f3f4f6;
}

.video-card-title a:hover {
    color: #fb7185;
}

.video-card-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}

/* ARTICLE READING VIEW */
.article-header {
    margin-bottom: 24px;
}

.article-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 16px 0;
}

.article-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 26px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}

.article-featured-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.article-body-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body-content p {
    margin-bottom: 1.6rem;
}

.article-body-content h2,
.article-body-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: var(--accent-red);
    width: 0%;
    transition: width 0.1s linear;
}

/* SECTION TITLES */
.section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--accent-red);
}

/* SIDEBAR WIDGETS */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ranking-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    min-width: 24px;
}

/* FOOTER */
.site-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 60px 0 30px;
    margin-top: 70px;
    border-top: 3px solid var(--accent-red);
}

.site-footer h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: #94a3b8;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #1e293b;
    font-size: 0.815rem;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 991.98px) {
    .pulse-brand {
        font-size: 1.6rem;
    }
    .hero-spotlight {
        min-height: 380px;
    }
    .hero-spotlight-title {
        font-size: 1.4rem;
    }
    .article-headline {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   9-GRID MEDIA NETWORK HUB (MATCHING USER REFERENCE DESIGN)
   ========================================================================== */
.network-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991.98px) {
    .network-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .network-hub-grid {
        grid-template-columns: 1fr;
    }
}

.network-hub-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.network-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.12);
    border-color: #f43f5e;
}

.network-hub-img-wrap {
    position: relative;
    height: 165px;
    overflow: hidden;
    background: #0f172a;
}

.network-hub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.network-hub-card:hover .network-hub-img {
    transform: scale(1.06);
    filter: brightness(0.95);
}

.network-hub-img-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    pointer-events: none;
    white-space: nowrap;
}

.network-hub-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.network-hub-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #e11d48;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.network-hub-card:hover .network-hub-title {
    color: #be123c;
}

.network-hub-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==========================================================================
   RADIO AUDIO PLAYER & EQUALIZER VISUALIZER
   ========================================================================== */
.radio-stage {
    background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #09090b 100%);
    border-radius: var(--radius-xl);
    border: 1px solid #27272a;
    padding: 36px 30px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.equalizer-wrap {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.equalizer-bar {
    width: 4px;
    background: #e11d48;
    border-radius: 2px;
    height: 6px;
    transition: height 0.15s ease;
}

.equalizer-active .equalizer-bar:nth-child(1) { animation: eqBounce 0.8s infinite ease-in-out; }
.equalizer-active .equalizer-bar:nth-child(2) { animation: eqBounce 1.1s infinite 0.2s ease-in-out; }
.equalizer-active .equalizer-bar:nth-child(3) { animation: eqBounce 0.7s infinite 0.4s ease-in-out; }
.equalizer-active .equalizer-bar:nth-child(4) { animation: eqBounce 1.3s infinite 0.1s ease-in-out; }
.equalizer-active .equalizer-bar:nth-child(5) { animation: eqBounce 0.9s infinite 0.3s ease-in-out; }

@keyframes eqBounce {
    0%, 100% { height: 4px; }
    50% { height: 22px; }
}

.radio-track-item {
    background: rgba(24, 24, 27, 0.7);
    border: 1px solid #3f3f46;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.radio-track-item:hover,
.radio-track-item.active-playing {
    background: rgba(225, 29, 72, 0.2);
    border-color: #e11d48;
}

/* ==========================================================================
   AWARDS & VOTING UI
   ========================================================================== */
.nominee-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nominee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #f59e0b;
}

.nominee-img-wrap {
    position: relative;
    padding-top: 100%; /* Square avatar */
    overflow: hidden;
    background: #0f172a;
}

.nominee-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vote-counter-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.85);
    color: #f59e0b;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #f59e0b;
}

/* ==========================================================================
   ONLINE SHOP & MERCHANDISE
   ========================================================================== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #e11d48;
}

.product-card-img-wrap {
    position: relative;
    padding-top: 85%;
    overflow: hidden;
    background: #f8fafc;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.05);
}

/* ==========================================================================
   DYNAMIC LOGO SWITCHER (LIGHT / DARK)
   ========================================================================== */
[data-theme="dark"] .light-logo {
    display: none !important;
}
[data-theme="dark"] .dark-logo {
    display: inline-block !important;
}

/* ==========================================================================
   PERSISTENT STICKY RADIO MINI-PLAYER BAR
   ========================================================================== */
.sticky-radio-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 0;
    box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.sticky-radio-bar.minimized {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.sticky-radio-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1045;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.sticky-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff1744, #d50000);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.5);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sticky-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(225, 29, 72, 0.7);
}

.equalizer-bars {
    height: 22px;
}

.equalizer-bars span {
    width: 3.5px;
    height: 5px;
    background: #ff1744;
    border-radius: 3px;
    transition: height 0.15s ease;
}

.equalizer-bars.playing span:nth-child(1) { animation: eqBar 0.7s infinite alternate ease-in-out; }
.equalizer-bars.playing span:nth-child(2) { animation: eqBar 1.0s infinite 0.2s alternate ease-in-out; }
.equalizer-bars.playing span:nth-child(3) { animation: eqBar 0.6s infinite 0.4s alternate ease-in-out; }
.equalizer-bars.playing span:nth-child(4) { animation: eqBar 1.2s infinite 0.1s alternate ease-in-out; }

@keyframes eqBar {
    0% { height: 4px; background: #fbbf24; }
    100% { height: 22px; background: #ff1744; }
}

.sticky-volume-slider {
    accent-color: #e11d48;
    height: 4px;
}

/* Ensure footer and page content isn't covered by sticky player */
body {
    padding-bottom: 70px;
}

/* Micro-interaction & Elevate on hover */
.card-hover-lift {
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease;
}
.card-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
