/* ==========================================================================
   PUNJABI MANIA - MUSIC HUB & MODERN CATEGORY STYLESHEET (V3)
   High-Contrast Dark Mode, Vibrant Playlist Widget, Bento Grids & Subcategory Layouts
   ========================================================================== */

:root {
    --pm-music-emerald: #10b981;
    --pm-music-emerald-glow: rgba(16, 185, 129, 0.35);
    --pm-music-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --pm-music-violet: #8b5cf6;
    --pm-music-violet-glow: rgba(139, 92, 246, 0.3);
    --pm-spotify-green: #1db954;
    --pm-spotify-glow: rgba(29, 185, 84, 0.35);

    /* Default / Dark Theme Tokens (Solid & High-Contrast) */
    --pm-card-bg: #0f172a;
    --pm-card-border: rgba(255, 255, 255, 0.1);
    --pm-card-hover-border: rgba(237, 30, 36, 0.5);
    --pm-pill-bg: rgba(255, 255, 255, 0.08);
    --pm-pill-border: rgba(255, 255, 255, 0.15);
    --pm-glass: rgba(9, 13, 22, 0.98);
    --pm-glass-border: rgba(255, 255, 255, 0.1);
    --pm-text-heading: #ffffff;
    --pm-text-body: #e2e8f0;
    --pm-text-muted-contrast: #94a3b8;
}

/* Light Theme Overrides */
.light-theme {
    --pm-card-bg: #ffffff;
    --pm-card-border: rgba(0, 0, 0, 0.09);
    --pm-card-hover-border: rgba(237, 30, 36, 0.35);
    --pm-pill-bg: #f1f5f9;
    --pm-pill-border: #e2e8f0;
    --pm-glass: rgba(255, 255, 255, 0.98);
    --pm-glass-border: rgba(0, 0, 0, 0.08);
    --pm-text-heading: #0f172a;
    --pm-text-body: #1e293b;
    --pm-text-muted-contrast: #64748b;
}

/* Base Hub Wrapper */
.pm-music-hub-wrapper {
    width: 100%;
    background: var(--pm-bg);
    color: var(--pm-text-body);
    min-height: 100vh;
    padding-bottom: 80px;
    font-family: var(--pm-font-body);
    position: relative;
    z-index: 1;
}

/* Fallback for Broken Images */
.pm-bento-bg-img,
.pm-track-thumb-wrap img,
.pm-magazine-thumb img,
.pm-video-lead-thumb img,
.pm-video-subthumb img,
.pm-artist-avatar,
.pm-review-thumb img {
    background-color: #1e293b;
    color: transparent;
}

/* ==========================================================================
   1. GLOBAL STICKY HEADER REINFORCEMENT (FIX Z-INDEX & TEXT BLEED)
   ========================================================================== */
.pm-main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #090d16 !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 0 !important;
}

.light-theme .pm-main-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   2. AMBIENT HERO & HEADER SECTION (CLEAN & MINIMALIST)
   ========================================================================== */
.pm-music-hero {
    position: relative;
    padding: 44px 0 28px 0;
    background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.16) 0%, rgba(237, 30, 36, 0.08) 40%, transparent 80%);
    border-bottom: 1px solid var(--pm-card-border);
    overflow: hidden;
    isolation: isolate;
    z-index: 10;
}

.light-theme .pm-music-hero {
    background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.1) 0%, rgba(237, 30, 36, 0.05) 40%, transparent 80%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pm-music-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.pm-music-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.light-theme .pm-music-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

.pm-music-badge .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pmDotPulse 1.8s infinite ease-in-out;
}

@keyframes pmDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.pm-music-hero-title {
    font-family: var(--pm-font-title);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    color: var(--pm-text-heading);
}

.pm-music-hero-title span {
    background: linear-gradient(135deg, #10b981 0%, #38bdf8 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pm-music-hero-sub {
    font-size: 1.02rem;
    color: var(--pm-text-muted-contrast);
    margin: 0 auto 22px auto;
    max-width: 640px;
    line-height: 1.55;
}

/* Filter Navigation Bar */
.pm-music-filter-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pm-music-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    background: var(--pm-pill-bg);
    border: 1px solid var(--pm-pill-border);
    color: var(--pm-text-body);
    transition: var(--pm-transition-smooth);
    cursor: pointer;
}

.pm-music-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.light-theme .pm-music-pill {
    color: #475569;
}

.light-theme .pm-music-pill:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
}

.pm-music-pill.active {
    background: var(--pm-primary-gradient);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 16px var(--pm-primary-glow);
}

.pm-music-pill .material-symbols-outlined {
    font-size: 1.1rem;
}

/* ==========================================================================
   3. BENTO SPOTLIGHT GRID (HIGH CONTRAST)
   ========================================================================== */
.pm-music-section {
    padding: 36px 0 16px 0;
    position: relative;
    z-index: 2;
}

.pm-section-head-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.pm-section-title-wrap h2 {
    font-family: var(--pm-font-title);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 900;
    margin: 0 0 4px 0;
    color: var(--pm-text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-section-title-wrap p {
    margin: 0;
    color: var(--pm-text-muted-contrast);
    font-size: 0.9rem;
}

.pm-bento-music-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
    min-height: 480px;
}

/* Lead Bento Card */
.pm-bento-card-lead {
    position: relative;
    border-radius: var(--pm-card-radius);
    overflow: hidden;
    background: #090d16;
    border: 1px solid var(--pm-card-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transition: var(--pm-transition-smooth);
    min-height: 380px;
}

.pm-bento-card-lead:hover {
    transform: translateY(-4px);
    border-color: var(--pm-card-hover-border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.pm-bento-card-lead .pm-bento-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.pm-bento-card-lead:hover .pm-bento-bg-img {
    transform: scale(1.04);
}

.pm-bento-card-lead .pm-bento-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.15) 0%, rgba(9, 13, 22, 0.6) 40%, rgba(9, 13, 22, 0.98) 100%);
    z-index: 2;
}

.pm-bento-lead-content {
    position: relative;
    z-index: 3;
    padding: 32px 28px;
}

.pm-bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--pm-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.pm-bento-tag.emerald {
    background: #059669;
    color: #ffffff;
}

.pm-bento-lead-title {
    font-family: var(--pm-font-title);
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.pm-bento-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #e2e8f0;
    font-size: 0.82rem;
}

.pm-bento-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pm-bento-meta .icon {
    font-size: 1rem;
    color: #38bdf8;
}

/* Secondary Bento 2x2 Subgrid */
.pm-bento-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: 100%;
}

.pm-bento-card-sub {
    position: relative;
    border-radius: var(--pm-card-radius-sm);
    overflow: hidden;
    background: #090d16;
    border: 1px solid var(--pm-card-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: var(--pm-transition-smooth);
    min-height: 160px;
}

.pm-bento-card-sub:hover {
    transform: translateY(-3px);
    border-color: var(--pm-card-hover-border);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.pm-bento-card-sub .pm-bento-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.pm-bento-card-sub:hover .pm-bento-bg-img {
    transform: scale(1.05);
}

.pm-bento-card-sub .pm-bento-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.1) 0%, rgba(9, 13, 22, 0.55) 35%, rgba(9, 13, 22, 0.98) 100%);
    z-index: 2;
}

.pm-bento-sub-content {
    position: relative;
    z-index: 3;
    padding: 16px 14px;
}

.pm-bento-sub-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.pm-bento-sub-title {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.32;
    margin: 0 0 6px 0;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.pm-bento-sub-date {
    font-size: 0.75rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   4. ARTIST SPOTLIGHT CAROUSEL (HIGH CONTRAST)
   ========================================================================== */
.pm-artists-wrap {
    padding: 26px 0 20px 0;
    border-top: 1px solid var(--pm-card-border);
    border-bottom: 1px solid var(--pm-card-border);
    background: rgba(255, 255, 255, 0.02);
}

.light-theme .pm-artists-wrap {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
}

.pm-artists-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 14px 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.pm-artist-card {
    flex: 0 0 115px;
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    transition: var(--pm-transition-smooth);
}

.pm-artist-card:hover {
    transform: translateY(-3px);
}

.pm-artist-avatar-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 8px auto;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5) 0%, rgba(237, 30, 36, 0.5) 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: var(--pm-transition-smooth);
}

.pm-artist-card:hover .pm-artist-avatar-wrap {
    background: linear-gradient(135deg, #10b981 0%, #ed1e24 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: scale(1.06);
}

.pm-artist-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #1e293b;
    display: block;
}

.pm-artist-name {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--pm-text-heading);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-artist-role {
    font-size: 0.74rem;
    color: var(--pm-text-muted-contrast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   5. SINGLE TRACKS & MUSIC RELEASES GRID (HIGH CONTRAST)
   ========================================================================== */
.pm-tracks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 1100px) {
    .pm-tracks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .pm-tracks-grid {
        grid-template-columns: 1fr;
    }
}

.pm-track-card {
    background: var(--pm-card-bg);
    border: 1px solid var(--pm-card-border);
    border-radius: var(--pm-card-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: var(--pm-transition-smooth);
}

.light-theme .pm-track-card {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.pm-track-card:hover {
    transform: translateY(-4px);
    border-color: var(--pm-card-hover-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.pm-track-thumb-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0f172a;
}

.pm-track-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pm-track-card:hover .pm-track-thumb-wrap img {
    transform: scale(1.05);
}

.pm-track-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.95);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--pm-transition-smooth);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

.pm-track-play-badge .material-symbols-outlined {
    font-size: 26px;
}

.pm-track-card:hover .pm-track-play-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.pm-track-type-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #34d399;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.pm-track-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.pm-track-title {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: var(--pm-text-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-track-card:hover .pm-track-title {
    color: var(--pm-primary);
}

.pm-track-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--pm-text-muted-contrast);
    border-top: 1px solid var(--pm-card-border);
    padding-top: 10px;
    margin-top: auto;
}

/* ==========================================================================
   6. VIDEO & EXCLUSIVE INTERVIEWS SHOWCASE (CINEMA DARK)
   ========================================================================== */
.pm-music-videos-section {
    background: linear-gradient(180deg, #090d16 0%, #030712 100%);
    color: #ffffff;
    border-radius: var(--pm-card-radius);
    padding: 32px 26px;
    margin: 32px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.pm-music-videos-section .pm-section-title-wrap h2 {
    color: #ffffff;
}

.pm-music-videos-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

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

.pm-video-lead-card {
    position: relative;
    border-radius: var(--pm-card-radius-sm);
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
    text-decoration: none !important;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pm-video-lead-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.pm-video-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pm-video-lead-card:hover .pm-video-lead-thumb img {
    transform: scale(1.04);
}

.pm-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(237, 30, 36, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(237, 30, 36, 0.7);
    transition: var(--pm-transition-smooth);
}

.pm-video-play-btn .material-symbols-outlined {
    font-size: 30px;
    margin-left: 2px;
}

.pm-video-lead-card:hover .pm-video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ff2a30;
}

.pm-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.pm-video-lead-info {
    padding: 18px;
}

.pm-video-lead-title {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px 0;
    color: #ffffff;
}

/* Video Sub-List */
.pm-video-sublist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pm-video-subitem {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px;
    text-decoration: none !important;
    color: #ffffff;
    transition: var(--pm-transition-smooth);
}

.pm-video-subitem:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(237, 30, 36, 0.4);
    transform: translateX(4px);
}

.pm-video-subthumb {
    position: relative;
    width: 115px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1e293b;
}

.pm-video-subthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-video-subinfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.pm-video-subtitle {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #f1f5f9;
}

.pm-video-submeta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   7. 2-COLUMN MAGAZINE EDITORIAL FEED & SIDEBAR (HIGH CONTRAST)
   ========================================================================== */
.pm-music-feed-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 992px) {
    .pm-music-feed-layout {
        grid-template-columns: 1fr;
    }
}

/* Main Magazine Feed */
.pm-magazine-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pm-magazine-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    background: var(--pm-card-bg);
    border: 1px solid var(--pm-card-border);
    border-radius: var(--pm-card-radius-sm);
    padding: 16px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: var(--pm-transition-smooth);
}

.light-theme .pm-magazine-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
    .pm-magazine-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.pm-magazine-card:hover {
    transform: translateY(-3px);
    border-color: var(--pm-card-hover-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.pm-magazine-thumb {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    width: 100%;
}

.pm-magazine-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pm-magazine-card:hover .pm-magazine-thumb img {
    transform: scale(1.04);
}

.pm-magazine-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pm-magazine-top-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pm-magazine-cat-pill {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #f87171;
    letter-spacing: 0.5px;
}

.light-theme .pm-magazine-cat-pill {
    color: var(--pm-primary);
}

.pm-magazine-dot {
    color: var(--pm-text-muted-contrast);
    font-size: 0.75rem;
}

.pm-magazine-date {
    font-size: 0.78rem;
    color: var(--pm-text-muted-contrast);
}

.pm-magazine-title {
    font-family: var(--pm-font-title);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px 0;
    color: var(--pm-text-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-magazine-card:hover .pm-magazine-title {
    color: var(--pm-primary);
}

.pm-magazine-excerpt {
    font-size: 0.88rem;
    color: var(--pm-text-body);
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.85;
}

.pm-magazine-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--pm-text-muted-contrast);
    margin-top: auto;
}

/* Reviews Scorecard Layout */
.pm-reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 768px) {
    .pm-reviews-grid {
        grid-template-columns: 1fr;
    }
}

.pm-review-card {
    background: var(--pm-card-bg);
    border: 1px solid var(--pm-card-border);
    border-radius: var(--pm-card-radius-sm);
    padding: 18px;
    display: flex;
    gap: 16px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: var(--pm-transition-smooth);
}

.light-theme .pm-review-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.pm-review-card:hover {
    transform: translateY(-3px);
    border-color: var(--pm-card-hover-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.pm-review-thumb {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1e293b;
}

.pm-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-review-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.pm-review-title {
    font-family: var(--pm-font-title);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px 0;
    color: var(--pm-text-heading);
}

.pm-review-stars {
    color: #fbbf24;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}

/* Sidebar Widgets */
.pm-music-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}

.pm-sidebar-widget {
    background: var(--pm-card-bg);
    border: 1px solid var(--pm-card-border);
    border-radius: var(--pm-card-radius-sm);
    padding: 22px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.light-theme .pm-sidebar-widget {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.pm-sidebar-widget-title {
    font-family: var(--pm-font-title);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--pm-text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pm-card-border);
}

.pm-sidebar-widget-title .icon-fire {
    color: #f97316;
}

.pm-sidebar-widget-title .icon-star {
    color: #fbbf24;
}

/* Ranked Trending List */
.pm-ranked-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pm-ranked-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
    transition: var(--pm-transition-smooth);
}

.pm-ranked-item:hover {
    transform: translateX(4px);
}

.pm-ranked-num {
    font-family: var(--pm-font-title);
    font-size: 1.35rem;
    font-weight: 900;
    color: #64748b;
    width: 24px;
    flex-shrink: 0;
    text-align: center;
}

.pm-ranked-item:nth-child(1) .pm-ranked-num {
    color: #f87171;
}

.pm-ranked-item:nth-child(2) .pm-ranked-num {
    color: #fb923c;
}

.pm-ranked-item:nth-child(3) .pm-ranked-num {
    color: #facc15;
}

.pm-ranked-info {
    flex-grow: 1;
}

.pm-ranked-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 3px 0;
    color: var(--pm-text-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-ranked-item:hover .pm-ranked-title {
    color: var(--pm-primary);
}

.pm-ranked-date {
    font-size: 0.74rem;
    color: var(--pm-text-muted-contrast);
}

/* ==========================================================================
   8. PUNJABI MANIA PLAYLISTS & STREAMING WIDGET (ULTRA HIGH-CONTRAST VIBRANT)
   ========================================================================== */
.pm-community-box {
    position: relative;
    border-radius: var(--pm-card-radius-sm);
    padding: 24px 20px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(145deg, #0b1329 0%, #030712 100%);
    border: 1px solid rgba(29, 185, 84, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 25px rgba(29, 185, 84, 0.15);
}

.light-theme .pm-community-box {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-color: rgba(29, 185, 84, 0.5);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
}

.pm-community-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.35) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
}

.pm-playlist-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    background: rgba(29, 185, 84, 0.18);
    border: 1px solid rgba(29, 185, 84, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1db954;
    box-shadow: 0 0 18px rgba(29, 185, 84, 0.35);
}

.pm-community-box h4 {
    font-family: var(--pm-font-title);
    font-size: 1.18rem;
    font-weight: 900;
    margin: 0 0 6px 0;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.pm-community-box p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0 0 18px 0;
    line-height: 1.5;
}

.pm-streaming-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pm-stream-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: var(--pm-transition-smooth);
    box-sizing: border-box;
}

.pm-stream-btn.spotify {
    background: #1db954;
    color: #000000 !important;
    box-shadow: 0 4px 14px rgba(29, 185, 84, 0.4);
}

.pm-stream-btn.spotify:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 185, 84, 0.6);
}

.pm-stream-btn.youtube {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.pm-stream-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
}

.pm-social-links-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-social-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none !important;
    transition: var(--pm-transition-smooth);
}

.pm-social-link-btn:hover {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #ffffff;
    transform: scale(1.08);
}

/* ==========================================================================
   9. PAGINATION (HIGH CONTRAST)
   ========================================================================== */
.pm-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.pm-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--pm-card-bg);
    border: 1px solid var(--pm-card-border);
    color: var(--pm-text-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: var(--pm-transition-smooth);
}

.pm-page-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.light-theme .pm-page-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.pm-page-btn.active {
    background: var(--pm-primary-gradient);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--pm-primary-glow);
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
    .pm-bento-music-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .pm-bento-card-lead {
        min-height: 320px;
    }
    
    .pm-bento-subgrid {
        grid-template-columns: 1fr 1fr;
        height: auto;
        min-height: 240px;
    }
}

@media (max-width: 600px) {
    .pm-bento-subgrid {
        grid-template-columns: 1fr;
    }
    
    .pm-music-hero-title {
        font-size: 1.85rem;
    }
}
