/* CSS for the Explore (Home) Page - Fixed Boundaries & Visibility */

#explore-feed {
    padding-top: 20px;
    padding-bottom: 60px;
    max-width: 1400px;
    /* SYNC WITH NAVBAR */
    margin: 0 auto;
    /* CENTER CONTENT */
}

/* Hero Carousel Container */
#explore-hero-container {
    margin: 0 1.5rem 60px 1.5rem;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.explore-hero {
    height: 420px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 80px;
    overflow: hidden;
}

/* Background elements removed in JS for speed and zero-color look */

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 550px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.explore-hero.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-tag {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-hero-play {
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-play i {
    font-size: 1.4rem;
}

.btn-hero-play:hover {
    background: #fff;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-image-container {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    width: 320px;
    height: 320px;
    z-index: 5;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.explore-hero.active .hero-image-container {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 80px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    width: 30px;
    border-radius: 4px;
    background: #fff;
}

/* Hero Responsive */
@media (max-width: 1000px) {
    .explore-hero {
        padding: 0 40px;
        height: 380px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-image-container {
        width: 260px;
        height: 260px;
        right: 40px;
    }
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    #explore-feed {
        padding-top: 15px;
        /* Minimal padding since navbar is in flow */
    }

    #explore-hero-container {
        margin: 0 1rem 30px 1rem;
        overflow: visible;
        border-radius: 0;
    }

    .explore-hero {
        padding: 0;
        height: 160px;
        justify-content: flex-start;
        align-items: flex-end;
        text-align: left;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
    }

    .mobile-only {
        display: flex !important;
    }

    div.hero-mobile-bg.mobile-only,
    div.hero-mobile-gradient.mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .hero-mobile-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 1;
    }

    .hero-mobile-gradient {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 85%;
        background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0) 100%);
        z-index: 2;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px;
        z-index: 5;
        width: calc(100% - 60px);
        /* Space for play button */
        transform: translateY(0) !important;
        /* Override JS animation */
        opacity: 1 !important;
    }

    .hero-title {
        font-size: 1.4rem;
        letter-spacing: -0.5px;
        margin-bottom: 4px;
        line-height: 1.1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-mobile-info {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.8rem;
        color: #ccc;
        width: 100%;
    }

    .hero-mobile-avatar {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .hero-mobile-artist {
        font-weight: 600;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-mobile-dot {
        font-size: 0.8rem;
        color: #888;
    }

    .hero-mobile-type {
        color: #888;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-mobile-play-btn {
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        background-color: #8b5cf6;
        /* Brand purple */
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 1.4rem;
        border: none;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        cursor: pointer;
        padding: 0;
        transition: transform 0.2s;
    }

    .hero-mobile-play-btn:active {
        transform: scale(0.95);
    }

    .hero-indicators {
        position: absolute;
        top: 8px;
        /* Inside the image at the top like IG */
        left: 50%;
        transform: translateX(-50%);
        gap: 4px;
        display: flex;
        width: calc(100% - 24px);
        /* Full width minus padding */
        z-index: 20;
    }

    .hero-dot {
        flex: 1;
        /* evenly distribute */
        height: 3px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .hero-dot.active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: #fff;
        transform-origin: left;
        animation: heroFill 10s linear forwards;
    }

    @keyframes heroFill {
        from {
            transform: scaleX(0);
        }

        to {
            transform: scaleX(1);
        }
    }

    /* Mobile Compact List Items (Like Tendencias reference) */
    .list-item-smart .list-item-waveform,
    .list-item-smart .list-item-index,
    .list-item-smart.skeleton-item .skeleton-list-idx,
    .list-item-smart.skeleton-item .skeleton-list-wave,
    .list-item-smart .list-play-btn {
        display: none !important;
    }

    .list-item-smart {
        padding: 8px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
        gap: 12px;
    }

    .list-item-smart:last-child {
        border-bottom: none;
    }

    .list-item-img {
        width: 44px;
        height: 44px;
        border-radius: 4px;
    }

    .list-item-name {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .list-item-sub {
        font-size: 0.75rem;
    }

    .list-play-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        box-shadow: none;
        width: 32px;
        height: 32px;
    }

    .list-play-btn:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Ver Más Button */
    .btn-ver-mas {
        width: 100%;
        margin-top: 8px;
        padding: 12px 4px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 500;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        opacity: 0.9;
    }

    .btn-ver-mas:active {
        opacity: 0.5;
    }
}

/* Shelf Row & Shelf Carousel */
.explore-row {
    margin-bottom: 0px;
    padding: 0 1.5rem;
    /* Align with navbar-container */
    position: relative;
}

.row-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.row-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.view-all {
    color: #8B5CF6;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.view-all:hover {
    opacity: 0.8;
}

.shelf-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Navigation Arrows - ALWAYS VISIBLE */
.btn-nav {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    /* ALWAYS VISIBLE */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.btn-nav:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-nav.prev {
    left: -24px;
}

.btn-nav.next {
    right: -24px;
}

.shelf-container {
    display: flex;
    justify-content: center;
    /* Center items when they don't overflow */
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 25px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
}

.shelf-container::-webkit-scrollbar {
    display: none;
}

/* Universal Product Card */
.product-card-smart {
    flex: 0 0 200px;
    /* Slightly larger for 1400px width */
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.3s;
    scroll-snap-align: start;
}

.card-cover-wrapper {
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-smart:hover {
    transform: translateY(-8px);
}

.product-card-smart:hover .card-cover-wrapper img {
    transform: scale(1.02);
}

/* Floating Play Button on Hover */
.quick-play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    background: #8B5CF6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 5;
    border: none;
}

.quick-play-btn i {
    margin-left: 2px;
}

.product-card-smart:hover .quick-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-play-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.card-like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
    z-index: 5;
}

.product-card-smart:hover .card-like-btn {
    opacity: 1;
}

.card-like-btn.liked {
    color: #ef4444;
    opacity: 1;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-producer {
    color: #777;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-smart:hover .card-producer {
    color: #8B5CF6;
}

/* --- FORMAT 2: Preset Highlight (Different Format) --- */
/* This format uses a wider rectangle with glassmorphic overlay for a more "software/standalone" kit feel */
.preset-card-premium {
    flex: 0 0 320px;
    width: 320px;
    height: 180px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #111;
}

.preset-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.preset-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%, transparent);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s;
}

.preset-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.preset-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.preset-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preset-sub {
    color: #999;
    font-size: 0.85rem;
    font-weight: 600;
}

.preset-price {
    color: #8B5CF6;
    font-weight: 700;
    font-size: 1rem;
}

.preset-card-premium:hover {
    transform: scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
}

.preset-card-premium:hover img {
    transform: scale(1.1);
}

.preset-card-premium:hover .preset-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.4) 60%, transparent);
}

/* Producer Card refinement */
.producer-card-circle {
    flex: 0 0 160px;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    scroll-snap-align: start;
}

.producer-avatar {
    width: 130px;
    height: 130px;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B5CF6;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.producer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producer-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.producer-stats {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.follow-btn-sm {
    margin-top: 12px;
    background: #fff;
    border: none;
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
}

.follow-btn-sm:hover {
    transform: scale(1.05);
}

.follow-btn-sm.following {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Category Filter Layout */
.category-filters {
    margin: 20px 1.5rem;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    white-space: nowrap;
    background: #111;
    color: #888;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.filter-pill.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer & Global UI Fixes */
#explore-footer {
    width: 100%;
    margin-top: 50px;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 1.5rem 40px 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Two Column List Section (Trending / Fresh) */
.explore-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px auto 80px auto;
    max-width: 1400px;
    padding: 0 1.5rem;
}

@media (max-width: 1100px) {
    .explore-list-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .explore-list-grid {
        grid-template-columns: 1fr;
        padding-bottom: -50px;
    }
}

.list-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.list-col-header {
    margin-bottom: 12px;
}

.list-col-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 4px;
}

.list-col-subtitle {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.list-item-smart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.list-item-smart:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 2. List Item Smart */
.list-item-smart .list-item-waveform {
    flex: 1;
    height: 20px;
    margin: 0 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
    min-width: 80px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.list-item-smart:hover .list-item-waveform {
    opacity: 1;
}

/* FAKE WAVEFORM (Visual Placeholder) */
.fake-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
    opacity: 0.3 !important;
    /* Always dim */
}

.fake-bar {
    width: 2px;
    background: #555;
    border-radius: 1px;
    animation: none;
}

/* Play Button Disabled State */
.list-play-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(100%);
}

/* ==========================================================
   PREMIUM SKELETON LOADERS (Sync with skeleton.css)
   ========================================================== */

/* 1. Hero Skeleton */
.skeleton-hero {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    margin-bottom: 40px;
}

/* 2. List Grid Skeleton (Trends / Fresh) */
#explore-list-skeleton {
    margin-top: 40px;
    margin-bottom: 80px;
}

.skeleton-title-left {
    width: 180px;
    height: 24px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.skeleton-list-item-smart {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    min-height: 68px;
}

.skeleton-list-idx {
    width: 25px;
    height: 14px;
    border-radius: 2px;
}

.skeleton-list-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
}

.skeleton-list-info {
    flex: 0 0 150px;
    /* Match real content info width approx */
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-list-name {
    width: 120px;
    height: 14px;
    border-radius: 3px;
}

.skeleton-list-artist {
    width: 80px;
    height: 10px;
    border-radius: 2px;
}

.skeleton-list-wave {
    flex: 1;
    height: 24px;
    border-radius: 4px;
    margin: 0 15px;
}

.skeleton-list-play {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* SHELF CARD SKELETON */
.skeleton-card-smart {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-card-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
}

.skeleton-card-name {
    width: 140px;
    height: 14px;
    border-radius: 4px;
}

.skeleton-card-sub {
    width: 80px;
    height: 10px;
    border-radius: 2px;
}

.skeleton-row-title-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: -20px;
}

.skeleton-row-title {
    width: 240px;
    height: 28px;
    border-radius: 6px;
}

/* ==========================================================
   PREMIUM SKELETON LOADERS (Sync with real components)
   ========================================================== */

/* Hero Skeleton */
.skeleton-hero {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    margin-bottom: 40px;
    background: #111;
}

/* Skeleton Container Fixes */
.skeleton-item {
    pointer-events: none !important;
    user-select: none !important;
}

.skeleton-item:hover {
    background: transparent !important;
    transform: none !important;
}

.skeleton-item .skeleton {
    background-color: #1a1a1a;
}

/* Specific alignments for list skeletons to match real rows */
.list-item-smart.skeleton-item .list-item-index {
    background: #1a1a1a;
    border-radius: 2px;
}

.list-item-smart.skeleton-item .list-item-img {
    background: #1a1a1a;
}

.list-item-smart.skeleton-item .list-play-btn.skeleton {
    background: #1a1a1a;
    box-shadow: none;
}

/* Card Skeleton specific overrides */
.product-card-smart.skeleton-item {
    cursor: default;
}

.product-card-smart.skeleton-item .card-cover-wrapper {
    background: #1a1a1a;
}

.product-card-smart.skeleton-item:hover {
    transform: none;
}

.list-item-index {
    width: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #444;
    flex-shrink: 0;
}

.list-item-smart:hover .list-item-index {
    color: #8B5CF6;
}

.list-item-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    background: #111;
    flex-shrink: 0;
}

.list-item-img.circle {
    border-radius: 50%;
}

.list-item-info {
    flex: 1;
    min-width: 0;
    /* CRITICAL */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
}

.list-item-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.list-item-sub {
    color: #666;
    font-size: 0.7rem;
    font-weight: 500;
}

.list-item-value {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.list-item-smart:hover .list-item-value {
    opacity: 1;
}

.list-play-btn {
    width: 28px;
    height: 28px;
    background: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.list-play-btn i {
    margin-left: 1px;
    /* Center play icon optically */
}


/* LEADERBOARD STYLES */
.leaderboard-section {
    padding: 0 1.5rem;
    /* Align with other rows */
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Columns */
    gap: 40px;
    /* Space between columns */
}

@media (max-width: 900px) {
    .leaderboard-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 20px;
    }
}

.lb-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #111;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    cursor: pointer;
}

.leaderboard-item:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.lb-rank {
    font-size: 1.1rem;
    font-weight: 800;
    color: #444;
    width: 24px;
    text-align: center;
}

.lb-rank.top-rank {
    color: #ffd700;
    /* Gold */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.lb-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #222;
}

.lb-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lb-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.lb-nickname-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-verified {
    color: #8b5cf6;
    font-size: 0.8rem;
}

.lb-score {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
}

.lb-follow-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.lb-follow-btn:hover {
    background: #fff;
    color: #000;
}

.lb-follow-btn.following {
    background: #8b5cf6;
    color: #fff;
}


@media (max-width: 900px) {

    /* === HERO & CONTENT ADJUSTMENTS === */
    .explore-hero {
        min-height: 320px !important;
        margin-top: 0 !important;
    }

    #explore-feed {
        padding-top: 0 !important;
    }

}