/*
Theme Name: Player Volt Radio
Theme URI: https://dattavolt.com
Author: DattaVolt
Author URI: https://dattavolt.com
Description: Un tema moderno enfocado en un reproductor de radio horizontal.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: playervoltradio
*/

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --player-height: 80px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    /* Padding removido al eliminar header fijo */
    /* padding-top: var(--player-height); */
}

/* Estilos de header antiguo eliminados */

/* =========================================
   HERO PLAYER SECTION (Radio Tendencias Style)
   ========================================= */

.hero-player-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: #000;
    color: #fff;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    top: 85%;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 1.0));
    pointer-events: none;
    z-index: 0;
}

/* Specific Video Mode Adjustments */
.hero-player-section.hero-video-mode {
    padding-bottom: 80px;
    /* Enlarge section bottom to accommodate footer and overlap */
    min-height: 100vh;
    /* Ensure full height */
    z-index: 5;
    /* Ensure above standard overlaps if needed, or manage relative z-index */
}

.hero-video-mode .hero-video-footer {
    position: relative;
    z-index: 10;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    /* Default: Desktop single row side-by-side */
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-mode .social-row {
    display: flex;
    flex-wrap: wrap;
    /* Allow icons to wrap if needed */
    gap: 10px;
    flex: 1;
    /* Take up available space */
    justify-content: flex-start;
}

.hero-video-mode .hero-video-badges {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    /* Keep buttons in one row */
    justify-content: flex-end;
    flex: 1;
    /* Take up available space */
    width: auto;
}

.hero-video-mode .store-btn {
    width: 32%;
    max-width: 120px;
    flex: 0 1 auto;
}

.hero-video-mode .store-btn svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-video-mode .hero-video-footer {
        flex-wrap: wrap;
        /* Stack rows vertically */
        justify-content: center;
        gap: 0px;
        margin-top: 10px;
    }

    .hero-video-mode .social-row {
        justify-content: center;
        /* Center icons */
        flex: 0 0 100%;
        /* Full width */
        width: 100%;
    }

    .hero-video-mode .hero-video-badges {
        justify-content: center;
        /* Center buttons */
        flex: 0 0 100%;
        /* Full width */
        width: 100%;
        flex-wrap: wrap;
        /* Allow wrapping for 2+1 layout */
        gap: 10px;
        /* Add vertical gap */
    }

    .hero-video-mode .store-btn {
        width: 48%;
        /* Layout: 2 buttons top row */
        min-width: 140px;
        /* Ensure readability */
        max-width: 160px;
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Top Bar */
.hero-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-family: monospace;
    font-weight: bold;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Content Grid */
.hero-content-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 5rem;
}

/* Album Art Area */
.hero-album-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    perspective: 1000px;
    /* Enable 3D space */
}

.art-card {
    width: 320px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.1s ease-out;
    /* Smooth movement tracking */
    transform-style: preserve-3d;
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Equalizer Overlay in Art Card */
.equalizer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
    box-sizing: border-box;
}

.mini-eq {
    display: flex;
    gap: 3px;
    height: 20px;
}

.mini-eq span {
    width: 4px;
    background: #fff;
    border-radius: 2px;
    animation: eqBounce 1s infinite;
}

.mini-eq span:nth-child(1) {
    animation-delay: 0s;
    height: 10px;
}

.mini-eq span:nth-child(2) {
    animation-delay: 0.2s;
    height: 15px;
}

.mini-eq span:nth-child(3) {
    animation-delay: 0.4s;
    height: 8px;
}

@keyframes eqBounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

/* Social Icons */
.social-row {
    display: flex;
    gap: 0.40rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
    font-size: 1.25rem;
    /* ~20px */
    text-decoration: none;
    border: 1px solid transparent;
    /* Evita saltop/expansión al añadir borde en hover */
    box-sizing: border-box;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Brand Colors on Hover */
.social-wa:hover {
    background-color: #25D366;
}

.social-phone:hover {
    background-color: #0ea5e9;
}

.social-email:hover {
    background-color: #ea4335;
}

.social-fb:hover {
    background-color: #1877F2;
}

.social-yt:hover {
    background-color: #FF0000;
}

.social-ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-tiktok:hover {
    background-color: #FE2C55;
}

.social-x:hover {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Borde sutil por si el fondo es negro */
}

.social-tg:hover {
    background-color: #0088cc;
}

/* Meta Controls (Right Side) */
.hero-meta-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    /* Critical for Grid/Flex child text truncation */
    width: 100%;
    /* Ensure it fills the grid cell */
    /* Changes for layout positioning */
    position: relative;
    justify-content: center;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.badge-on-air {
    background: #f97316;
    /* Orange */
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.hero-song-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    display: inline-block;
}

.hero-title-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

/* Marquee Animation Class */
.mod-scrolling {
    animation: marquee 15s linear infinite;
    padding-left: 100%;
    /* Start from outside right */
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.hero-artist-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cbd5e1;
    margin: 0.5rem 0 2.5rem 0;
    text-transform: uppercase;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-play-hero {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
}

.btn-play-hero:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-play-hero svg {
    width: 24px;
    height: 24px;
}

.btn-circle-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-circle-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-circle-action svg {
    width: 24px;
    height: 24px;
}

.store-badges {
    display: flex;
    gap: 1rem;
    /* Positioning handled via media query/flex */
}

@media (min-width: 901px) {
    .store-badges {
        position: absolute;
        bottom: 0;
        right: 0;
    }
}

.store-btn img,
.store-btn svg {
    height: 55px;
    /* Aumentado de 40px a 55px */
    width: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-top-bar {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        margin-bottom: 1rem;
    }

    .hero-actions {
        width: 100%;
        justify-content: center;
        display: flex;
        gap: 1rem;
    }

    .hero-content-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-album-art,
    .hero-meta-controls {
        display: contents;
        /* Flattens the DOM for styling purposes */
    }

    /* 1. Portada */
    .art-card {
        order: 1;
        margin: 0 auto;
    }

    /* 2. Botones de Acción (Play/Share) */
    .hero-actions-row {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* 3. Redes Sociales */
    .social-row {
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    /* 4. Resto de Metadata */
    .status-badge,
    .hero-title-wrapper,
    .hero-artist-name {
        order: 4;
        margin: -10px;
    }

    .store-badges {
        order: 5;
        position: static;
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
        /* Permite que bajen si no caben */
        gap: 0.5rem;
        /* Ajuste GAP para que entren mejor */
    }

    .hero-song-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 500px) {
    .btn-play-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-actions-row {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions-row .btn-play-hero {
        width: 100%;
    }

    /* Reducir tamaño botones tienda en móvil para que quepan 2 */
    .store-btn img,
    .store-btn svg {
        height: 45px;
    }
}

/* TV & Promo Modal */
.playervoltradio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* More transparent for blur to show */
    backdrop-filter: blur(10px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    z-index: 99999;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playervoltradio-modal-content {
    background: transparent;
    /* Changed from #000 to transparent for promos mostly, but TV might need opaque. Let's keep it clean. */
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 900px;
    width: auto;
    /* Allow auto width based on content */
    display: flex;
    justify-content: center;
}

/* Specific fix for TV Modal to ensure it has width */
#playervoltradio-tv-modal .playervoltradio-modal-content {
    width: 100%;
    max-width: 800px;
    background: #000;
    display: block;
    /* Video container handles ratio */
    border: 5px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.promo-content {
    background: transparent;
    box-shadow: none;
    max-width: 90vw;
    /* Ensure it fits on screen */
    width: auto;
}

.playervoltradio-modal-close {
    position: absolute;
    right: -20px;
    top: -50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    transition: color 0.3s;
    opacity: 0.9;
}

.playervoltradio-modal-close:hover,
.playervoltradio-modal-close:focus {
    color: #fca5a5;
    text-decoration: none;
    cursor: pointer;
    opacity: 1;
    transform: scale(1.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    /* Keep TV background opaque */
    width: 100%;
    max-width: 800px;
    /* Limit TV width */
}

.video-container video,
.video-container .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure VideoJS controls look good */
/* Unmute Overlay Styles */
.unmute-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Slight dark tint */
    display: flex;
    /* Flex is controlled by JS, but good default */
    align-items: center;
    justify-content: center;
    z-index: 20;
    /* Above video controls */
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.unmute-message {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.unmute-message i {
    font-size: 1.4em;
}

.unmute-overlay:hover .unmute-message {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    .unmute-message {
        padding: 8px 16px;
        font-size: 0.9em;
        border-radius: 20px;
    }

    .unmute-message i {
        font-size: 1.1em;
    }
}

/* Video Player Play Button Styles */
.video-js .vjs-big-play-button {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    /* Prevent VideoJS negative margin centering */
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 80px !important;
    height: 80px !important;
    font-size: 3.5em !important;
    color: #000000 !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    /* Centering Fixes */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 80px !important;
}

/* Fix specific to VideoJS icon text centering */
.video-js .vjs-big-play-button .vjs-icon-placeholder:before,
.video-js .vjs-big-play-button:before {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide big play button when playing */
.video-js.vjs-has-started .vjs-big-play-button,
.video-js.vjs-playing .vjs-big-play-button {
    display: none !important;
}



/* Slider */
.playervoltradio-promo-slider {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav Arrows */
.playervoltradio-prev,
.playervoltradio-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    /* Circle buttons look better */
    user-select: none;
    z-index: 100;
    transition: 0.3s ease;
    margin: 0;
    padding: 0;
}

.playervoltradio-next {
    right: -50px;
    /* Move outside image */
    border-radius: 3px 0 0 3px;
}

.playervoltradio-prev {
    left: -50px;
    /* Move outside image */
    border-radius: 3px 0 0 3px;
}

.playervoltradio-prev:hover,
.playervoltradio-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.playervoltradio-slide {
    width: 100%;
    display: none;
    animation: fadeEffect 1s;
    text-align: center;
}

.playervoltradio-slide img {
    max-width: 100%;
    max-height: 80vh;
    width: auto !important;
    height: auto !important;
    border: 5px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Media Queries for Responsive Modal */
@media (max-width: 768px) {
    .playervoltradio-modal {
        padding: 0px;
        /* More safety padding */
    }

    .promo-content {
        max-width: 80vw;
        /* Force it to be smaller than screen width */
    }

    .playervoltradio-modal-close {
        right: -10px;
        top: -40px;
        font-size: 35px;
    }

    .playervoltradio-next {
        right: -20px;
        /* Tighter to image */
        width: 35px;
        height: 35px;
        font-size: 16px;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .playervoltradio-prev {
        left: -20px;
        /* Tighter to image */
        width: 35px;
        height: 35px;
        font-size: 16px;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .playervoltradio-slide img {
        max-height: 50vh;
        /* Shorter to ensure fit */
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        border: 3px solid rgba(255, 255, 255, 0.4);
        box-sizing: border-box;
        /* Include border in width */
        display: block;
        /* Safer centering with margin auto */
        margin: 0 auto;
    }
}

/* Programming Schedule Section */
.programming-section {
    padding: 60px 20px;
    /* Gradient: Transparent top (overlap area), White bottom */
    background: linear-gradient(to bottom, transparent 8rem, #ffffff 8rem);
    color: #1e293b;
    margin-top: -8rem;
    position: relative;
    z-index: 10;
}

.programming-container {
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   PLAYLIST YOUTUBE SECTION
   ========================================= */
.playervoltradio-playlist-section {
    padding: 60px 0;
    color: #333;
}

.playlist-section-header {
    margin-bottom: 30px;
}

.playlist-section-header h2 {
    display: inline-block;
    padding: 10px 30px;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
}

.playlist-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* List Column */
.playlist-list-col {
    flex: 0 0 400px;
    max-width: 400px;
    background: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.playlist-list-inner {
    max-height: 500px;
    overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #e1e1e1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s;
}

.playlist-item:last-child {
    border-bottom: none;
}

.playlist-item:hover {
    background: #fff;
}

.playlist-item.active {
    background: #fff;
    border-left: 4px solid #ff0000;
    /* Youtube Red */
}

.playlist-item-count {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    /* Simulate the black box number from reference */
    background: #000;
    height: 30px;
    line-height: 30px;
    font-family: 'Inter', sans-serif;
}

.playlist-item-thumb {
    width: 80px;
    height: 45px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    background: #000;
}

.playlist-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-item-info {
    flex: 1;
    min-width: 0;
    /* For text truncation if needed */
}

.playlist-item-title {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.playlist-item-artist {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}

/* Player Column */
.playlist-player-col {
    flex: 1;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.playlist-player-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 5px;
}

.playlist-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.playlist-current-info {
    margin-top: 15px;
    padding: 0 10px;
}

.playlist-current-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

/* Responsive */
@media (max-width: 900px) {
    .playlist-content-wrapper {
        flex-direction: column-reverse;
        /* List below player on mobile */
    }

    .playlist-list-col {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .playlist-player-col {
        width: 100%;
        flex: none;
    }

    .playlist-list-inner {
        max-height: 350px;
    }
}

.prog-tabs {
    display: flex;
    padding: 5px;
    /* Slight padding for inner look or 0? Image looks like 0 but with full height pills? actually image shows edge to edge */
    padding: 0;
    gap: 0;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prog-tab-btn {
    flex: 1;
    background: #ffffff;
    border: none;
    color: #1e293b;
    font-size: 13px;
    font-weight: 800;
    padding: 15px 0;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0;
    text-align: center;
}

.d-short {
    display: none;
}

.d-full {
    display: inline;
}

.prog-tab-btn:hover {
    color: #000;
    background: #f8fafc;
}

.prog-tab-btn.active {
    background: #000;
    color: #fff;
    box-shadow: none;
}

.prog-tab-btn:first-child {
    border-radius: 50px 0 0 50px;
}

.prog-tab-btn:last-child {
    border-radius: 0 50px 50px 0;
}

.prog-panes {
    background: transparent;
    padding: 0;
    box-shadow: none;
    min-height: 200px;
    /* Ensure visibility if empty */
}

/* Panes */
.prog-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.prog-pane.active {
    display: block;
}

.prog-empty-state {
    text-align: center;
    padding: 50px;
    color: #64748b;
    font-size: 1.2rem;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-top: 2.5rem;
}

/* Slider Layout */
.prog-pane {
    position: relative;
    /* For arrows */
}

.prog-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    padding-top: 20px;
    /* Space for hover effect */
    /* Space for scrollbar/shadows */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    align-items: stretch;
}

.prog-grid::-webkit-scrollbar {
    display: none;
}

/* Card */
.prog-card {
    flex: 0 0 85%;
    /* Mobile default: almost full width */
    max-width: 320px;
    /* Desktop max width */
    min-width: 260px;
    scroll-snap-align: start;

    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}

@media (min-width: 768px) {
    .prog-card {
        flex: 0 0 300px;
        /* Desktop fixed width */
    }
}

/* Nav Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: auto;
}



.slider-nav-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

@media (max-width: 800px) {
    .slider-nav-btn {
        display: flex !important;
        width: 36px;
        height: 36px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.6);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .prog-grid {
        padding-right: 20px;
        /* Peek effect */
    }
}

.prog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.prog-card-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.prog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1;
}

.prog-card-content {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.prog-time-badge {
    position: absolute;
    top: -25px;
    /* Move slightly higher to clear title */
    right: 20px;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prog-title {
    margin: 0 0 5px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Fallback */
    width: 100%;
    display: block;
}

.prog-desc {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Fallback */
    width: 100%;
    display: block;
}

.scroll-inner {
    display: inline-block;
    will-change: transform;
    /* When not animating, behave like parent dictates (ellipsis comes from parent if this is just text, but if this is block, it might not)
       Actually text-overflow ellipsis only works on block containers with inline content.
       Since scroll-inner is inline-block, the text inside it might wrap if not handled? No, white-space is inherited or set on parent.
       Let's ensure scroll-inner doesn't shrink. */
    max-width: 100%;
    /* For fallback ellipsis to work, inner shouldn't overflow naturally? 
                      Actually for standard behavior: parent has ellipsis. Inner is just text.
                      But we made inner a span.
                      If inner is inline-block, parent ellipsis sees it as one char.
                      So max-width 100% on inner + overflow hidden/ellipsis on inner?
                      No, that defeats the scroll purpose.
                      
                      Solution:
                      Normal state: .scroll-inner { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
                      Hover state (via JS style override): max-width: none; overflow: visible;
                      
                      Wait, JS measures scrollWidth. If we cap max-width: 100%, scrollWidth might be clamped?
                      No, scrollWidth usually reports full content size even with overflow hidden.
                   */
    vertical-align: bottom;
    /* Ensure it behaves for calculation */
}

@keyframes text-scroll {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(0);
    }

    85% {
        transform: translateX(var(--scroll-distance));
    }

    100% {
        transform: translateX(var(--scroll-distance));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .prog-tabs {
        justify-content: space-between;
        overflow-x: hidden;
        white-space: normal;
        padding-bottom: 0;
        gap: 2px;
    }

    .prog-tab-btn {
        flex: 1;
        border-radius: 10px;
        padding: 10px 0;
        font-size: 12px;
    }

    .prog-tab-btn:not(.active) .d-full {
        display: none;
    }

    .prog-tab-btn:not(.active) .d-short {
        display: inline-block;
        font-weight: 800;
        font-size: 14px;
    }

    .prog-tab-btn.active {
        flex: 3;
    }

    .prog-tab-btn.active .d-full {
        display: inline-block;
    }

    .prog-tab-btn.active .d-short {
        display: none;
    }
}

/* Live Program Styling */
.prog-card.is-live {
    border: 2px solid #FF0055;
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.4);
}

.prog-card.is-live .prog-card-image::after {
    /* Make gradient slightly reddish or just keeping it dark is fine, maybe emphasize */
    background: linear-gradient(to top, rgba(255, 0, 85, 0.2) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.3) 100%);
}

/* Adjust live badge position if needed since image is absolute now */
.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF0055;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
    /* Ensure strictly above gradient */
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
    }

    50% {
        opacity: 1;
        /* Keep visible */
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 0, 85, 0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
    }
}

/* Main Programming Section Container */
.programming-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Featured Programming Section */
.featured-prog-section {
    background: #ffffff;
    padding: 30px 20px 60px;
    /* Moderate padding */
    position: relative;
    color: #333;
    margin-top: 0;
    /* Reset margin to separate them */
    z-index: 10;
}

.featured-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header with Lines and Slanted Box */
.featured-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.header-line {
    height: 2px;
    background: #544AF4;
    /* Primary color for lines on white bg */
    flex-grow: 1;
    max-width: 300px;
    opacity: 0.3;
}

.header-title-box {
    background: #544AF4;
    /* Primary background for title */
    padding: 10px 40px;
    transform: skewX(-15deg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.header-title-box h2 {
    margin: 0;
    color: #fff;
    /* White text */
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    transform: skewX(15deg);
    letter-spacing: 1px;
}

/* Slider Wrapper */
.featured-slider-wrapper {
    position: relative;
    padding: 0;
    /* Removing padding so arrows sit on top of cards/content */
}

/* Slider Container (Formerly Grid) */
.featured-slider.featured-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    /* Space for shadow */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    grid-template-columns: none;
    /* Override grid */
}

.featured-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Card in Slider */
.featured-card {
    flex: 0 0 280px;
    /* Fixed width for slider items */
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    /* background: #000; */
    /* Improved Depth */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* Softer shadow */
    border: 4px solid rgba(255, 255, 255, 0.3);
    /* Thicker transparent white border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Navigation Buttons */
.feat-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(84, 74, 244, 0.8);
    /* Semi-transparent background */
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    /* High z-index to sit on top */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s, background 0.2s;
    backdrop-filter: blur(4px);
}

.feat-nav-btn:hover {
    background: #544AF4;
    transform: translateY(-50%) scale(1.1);
}

.feat-prev {
    left: 10px;
    /* Inside the container */
}

.feat-next {
    right: 10px;
    /* Inside the container */
}

@media (max-width: 768px) {
    .featured-slider-wrapper {
        padding: 0;
        /* Arrows overlay or hidden on mobile if touch scroll */
    }

    .feat-nav-btn {
        display: none;
        /* Hide arrows on mobile, use touch */
    }

    .featured-card {
        flex: 0 0 220px;
        /* Smaller cards on mobile */
    }
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-bg {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(84, 74, 244, 0.9) 0%, rgba(84, 74, 244, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Badges */
.featured-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.feat-time-badge {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* Content */
.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    background: linear-gradient(to top, rgba(84, 74, 244, 1) 0%, transparent 100%);
    box-sizing: border-box;
    /* Fix padding overflow */
    text-align: center;
    /* Center content */
}

.feat-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}

.feat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    padding: 0 5px;
    /* Extra safe padding for text */
    box-sizing: border-box;
}

.feat-separator {
    height: 3px;
    width: 50px;
    background: #fff;
    margin: 0 auto 5px;
    /* Center separator */
}

.feat-day-badge {
    background: #544AF4;
    /* Purple for Day */
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-feat-view {
    display: block;
    background: rgba(0, 0, 0, 0.3);
    /* Darker purple on button */
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: none;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.btn-feat-view:hover {
    background: #fff;
    color: #544AF4;
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        /* Smaller cards on mobile */
    }

    .header-line {
        display: none;
        /* Hide lines on small screens if title takes width */
    }

    .header-title-box {
        transform: skewX(-15deg);
        /* Maintain slant */
    }
}

/* --- Banner Section Styles --- */
.playervoltradio-banner-section {
    width: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.banner-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Navigation Arrows */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.banner-nav.prev {
    left: 20px;
}

.banner-nav.next {
    right: 20px;
}

/* Dots */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-slider-container {
        height: 200px;
    }

    .banner-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           H E R O   V I D E O   M O D E           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /     . h e r o - v i d e o - m o d e   . h e r o - v i d e o - f o o t e r    {
                 p a d d i n g - t o p :    1 r e m ;
         
}

         . h e r o - v i d e o - m o d e   . v i d e o - j s   . v j s - b i g - p l a y - b u t t o n    {
                 l e f t :    5 0 %    ! i m p o r t a n t ;
                 t o p :    5 0 %    ! i m p o r t a n t ;
                 t r a n s f o r m :    t r a n s l a t e ( - 5 0 % ,    - 5 0 % ) ;
                 b a c k g r o u n d - c o l o r :    r g b a ( 2 5 5 ,    6 8 ,    6 8 ,    0 . 9 )    ! i m p o r t a n t ;
                 b o r d e r :    2 p x   s o l i d   # f f f    ! i m p o r t a n t ;
                 b o r d e r - r a d i u s :    5 0 %    ! i m p o r t a n t ;
                 w i d t h :    3 e m    ! i m p o r t a n t ;
                 h e i g h t :    3 e m    ! i m p o r t a n t ;
                 m a r g i n - l e f t :    0    ! i m p o r t a n t ;
                 m a r g i n - t o p :    0    ! i m p o r t a n t ;
         
}

         @ m e d i a   ( m a x - w i d t h :   9 0 0 p x )    {
                 . h e r o - v i d e o - m o d e   . h e r o - v i d e o - f o o t e r    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             a l i g n - i t e m s :    c e n t e r ;
                             g a p :    1 . 5 r e m ;
                     
    }

                     . h e r o - v i d e o - m o d e   . s o c i a l - r o w    {
                             j u s t i f y - c o n t e n t :    c e n t e r    ! i m p o r t a n t ;
                     
    }

                     . h e r o - v i d e o - m o d e   . s t o r e - b a d g e s    {
                             j u s t i f y - c o n t e n t :    c e n t e r    ! i m p o r t a n t ;
                     
    }

                     . h e r o - v i d e o - m o d e    {
                             m i n - h e i g h t :    a u t o    ! i m p o r t a n t ;
                             p a d d i n g - b o t t o m :    4 r e m ;
                     
    }

         
}

     