/*
Theme Name: Guavva Music Theme
Theme URI: https://afromziki.com
Author: King David +255 792 744 041
Author URI: https://afromziki.com
Description: Premium music WordPress theme using normal WordPress post type. No need to change your posts. Includes full Adsense integration via admin panel.
Version: 2.0
*/

/* ===== RESET & VARIABLES ===== */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --golden: #FFD700;
    --golden-light: #FFE55C;
    --golden-dark: #B8860B;
    --text-primary: #ffffff;
    --text-secondary: #f5f0f0;
    --text-muted: #FFD700;
    --border-color: #2a2a2a;
    --sidebar-width: 300px;
    --spacing: 1rem;
    --border-radius: 12px;
    --gradient-golden: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.5;
    padding-bottom: 80px;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--golden);
}

/* ===== HEADER STYLES ===== */
.site-header {
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo a {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.main-navigation {
    display: none;
}

@media (min-width: 769px) {
    .main-navigation {
        display: block;
    }
    
    .main-navigation .primary-menu {
        display: flex;
        list-style: none;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }
    
    .main-navigation .primary-menu li a {
        color: var(--text-primary);
        font-weight: 500;
        font-size: 0.9rem;
        padding: 0.4rem 0;
        position: relative;
    }
    
    .main-navigation .primary-menu li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--golden);
        transition: width 0.3s;
    }
    
    .main-navigation .primary-menu li a:hover::after,
    .main-navigation .primary-menu li.current-menu-item a::after {
        width: 100%;
    }
    
    .main-navigation .primary-menu li a:hover,
    .main-navigation .primary-menu li.current-menu-item a {
        color: var(--golden);
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle {
    font-size: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--golden);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
    z-index: 2000;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.5);
    border-right: 2px solid var(--golden);
}

.mobile-menu-panel.open {
    left: 0;
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--golden);
    background: rgba(255,215,0,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-panel ul {
    list-style: none;
    margin-top: 3rem;
}

.mobile-menu-panel li {
    margin-bottom: 1rem;
}

.mobile-menu-panel a {
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    color: var(--text-primary);
}

.mobile-menu-panel a:hover {
    color: var(--golden);
}

.search-toggle {
    background: #FFD700;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
}

.search-toggle:hover {
    background: var(--golden);
    color: #000;
}

/* ===== STYLISH COUNTRY FLAGS MENU ===== */
.country-flags-menu {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 99;
    margin-top: 58px;
    padding: 0.8rem 0;
}

.flags-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 3rem;
}

.flags-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.flags-wrapper::-webkit-scrollbar {
    height: 4px;
}

.flags-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

.flags-wrapper::-webkit-scrollbar-thumb {
    background: var(--golden);
    border-radius: 10px;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 85px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    cursor: pointer;
}

.flag-item:hover {
    transform: translateY(-4px);
    border-color: var(--golden);
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.flag-emoji {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.flag-item:hover .flag-emoji {
    transform: scale(1.1);
}

.flag-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.flag-item:hover .flag-name {
    color: var(--golden);
}

.flags-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--golden);
    color: var(--golden);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.flags-scroll-btn:hover {
    background: var(--golden);
    color: #000;
    transform: translateY(-50%) scale(1.05);
}

.flags-prev {
    left: 0;
}

.flags-next {
    right: 0;
}

@media (max-width: 768px) {
    .country-flags-menu {
        margin-top: 52px;
        padding: 0.5rem 0;
    }
    .flags-container {
        padding: 0 2rem;
    }
    .flag-item {
        min-width: 65px;
        padding: 0.4rem 0.6rem;
        border-radius: 10px;
    }
    .flag-emoji {
        font-size: 1.5rem;
    }
    .flag-name {
        font-size: 0.6rem;
    }
    .flags-scroll-btn {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .country-flags-menu {
        margin-top: 48px;
    }
    .flags-container {
        padding: 0 1.5rem;
    }
    .flag-item {
        min-width: 55px;
        padding: 0.3rem 0.5rem;
        border-radius: 8px;
    }
    .flag-emoji {
        font-size: 1.2rem;
    }
    .flag-name {
        font-size: 0.55rem;
    }
    .flags-scroll-btn {
        width: 28px;
        height: 28px;
        border-radius: 5px;
    }
}

/* ===== SEARCH SECTION ===== */
.boomplay-search-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 1rem 1rem;
    position: relative;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    background: var(--card-bg);
    border-radius: 50px;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.search-input {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1.5rem;
    border: none;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 1.2rem;
    background: var(--gradient-golden);
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.search-button:hover {
    transform: scale(1.02);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 20px;
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    max-height: 450px;
    overflow-y: auto;
    display: none;
    z-index: 10000;
    border: 1px solid var(--golden-dark);
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.search-result-item:hover {
    background: var(--secondary-bg);
}

.search-result-thumb {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--golden-dark);
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.search-result-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trending-tags {
    margin-top: 0.6rem;
    text-align: center;
    font-size: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.trending-tags strong {
    color: var(--golden);
}

.trending-tags a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.trending-tags a:hover {
    color: var(--golden);
}

/* ===== HOMEPAGE LAYOUT - FIXED MOBILE OVERFLOW ===== */
.home-container {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .home-container {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 768px) {
    .home-container {
        padding: 0 0.75rem !important;
        margin: 1rem 0 !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 0 0.5rem !important;
    }
}

.main-content {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.6rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-golden);
    border-radius: 3px;
}

/* ===== TRACK CARDS ===== */
.tracks-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    width: 100%;
    margin: 0 !important;
    padding: 0.25rem;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    .tracks-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .tracks-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .tracks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .tracks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0.5rem 0.25rem !important;
        margin: 0 !important;
    }
    .track-card {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 480px) {
    .tracks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.25rem !important;
        margin: 0 !important;
    }
    .track-card {
        width: 100% !important;
    }
}

.track-card {
    background: var(--card-bg);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.15);
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.track-card:hover {
    transform: translateY(-5px);
    border-color: var(--golden);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.track-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

.track-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.track-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay svg {
    width: 50px;
    height: 50px;
    fill: var(--golden);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s;
}

.play-overlay svg:hover {
    transform: scale(1.1);
}

.track-info {
    padding: 0.75rem 0.6rem;
    min-width: 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.track-title {
    font-size: 1.00rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    word-break: break-word !important;
    hyphens: auto;
    max-height: 2.6em;
}

.track-artist {
    font-size: 1.00rem;
	font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.track-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.25rem;
}

.track-type {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    background: #856009;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.60rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .track-info {
        padding: 0.5rem 0.45rem !important;
    }
    .track-title {
        font-size: 0.73rem !important;
        line-height: 1.25 !important;
        -webkit-line-clamp: 2 !important;
        max-height: 2.5em !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }
    .track-artist {
        font-size: 0.63rem;
		font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .track-type {
        font-size: 0.48rem;
        padding: 0.1rem 0.4rem;
    }
    .play-overlay svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .track-info {
        padding: 0.45rem 0.4rem !important;
    }
    .track-title {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 2 !important;
    }
    .track-artist {
        font-size: 0.58rem;
    }
    .track-type {
        font-size: 0.42rem;
        padding: 0.08rem 0.35rem;
    }
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
    width: 100%;
    overflow-x: hidden;
}

.widget {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    overflow-x: hidden;
}

.widget-title {
    color: white;
    margin-bottom: 0.8rem;
	font-weight: 700;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--golden-dark);
}

.trending-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.trending-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 20px;
}

.trending-tab:hover {
    color: var(--golden);
}

.trending-tab.active {
    background: #805c09;
    color: white;
}

.trending-list {
    display: none;
}

.trending-list.active {
    display: block;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.trending-item:hover {
    background: var(--secondary-bg);
}

.trending-number {
    width: 28px;
    height: 28px;
    background: transparent;
    color: var(--golden);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trending-item .sidebar-post-thumb {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--golden-dark);
    flex-shrink: 0;
}

.trending-item .sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.trending-item .sidebar-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.trending-item .sidebar-post-artist {
    font-size: 0.7rem;
	font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-post, .related-track {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
    overflow: hidden;
    min-width: 0;
}

.sidebar-post:hover {
    background: var(--secondary-bg);
}

.sidebar-post-thumb {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--golden-dark);
    flex-shrink: 0;
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sidebar-post-artist {
    font-size: 0.7rem;
	font-weight: 700;
    color: var(--text-muted);
}

.related-tracks-widget {
    max-height: 400px;
    overflow-y: auto;
}

@media (min-width: 769px) {
    .related-tracks-widget {
        columns: 2;
        column-gap: 1rem;
    }
    .related-tracks-widget .sidebar-post {
        break-inside: avoid;
        display: flex !important;
    }
}

/* ===== SINGLE POST PAGE - REDESIGNED (BOOMPLAY STYLE) ===== */
.single-post-wrapper-full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2rem 0;
    background: var(--primary-bg);
}

.single-post-content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .single-post-content-area {
        padding: 0 1rem;
    }
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 992px) {
    .single-post-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Main Music Card */
.single-music-card {
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

.single-music-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Row: Image Left + Details Right */
.music-hero-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--card-bg) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

@media (max-width: 768px) {
    .music-hero-row {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* Left Column - Featured Image */
.music-image-col {
    flex: 0 0 280px;
}

@media (max-width: 768px) {
    .music-image-col {
        flex: 0 0 auto;
        max-width: 280px;
        margin: 0 auto;
    }
}

.music-featured-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--golden-dark);
    background: var(--secondary-bg);
}

.music-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-featured-image:hover img {
    transform: scale(1.03);
}

/* Right Column - Song Details */
.music-details-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.music-title-artist {
    margin-bottom: 0.25rem;
}

.music-song-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.25rem 0;
}

@media (max-width: 768px) {
    .music-song-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .music-song-title {
        font-size: 1.4rem;
    }
}

.music-artist-name {
    font-size: 1.2rem;
    color: var(--golden-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 480px) {
    .music-artist-name {
        font-size: 1rem;
    }
}

/* Meta Info */
.music-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.5rem 0;
}

.meta-date,
.meta-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.meta-date svg,
.meta-category svg {
    width: 14px;
    height: 14px;
    fill: var(--golden);
}

.meta-category a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.meta-category a:hover {
    color: var(--golden);
}

/* Action Buttons - LEFT TO RIGHT (Download then Play) on ALL DEVICES */
.music-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-direction: row;
    align-items: center;
}

/* Force left-to-right order: Download button first, Play button second */
.download-btn-main {
    order: 1;
}

.play-btn-main {
    order: 2;
}

/* Responsive button sizing - always horizontal left to right */
@media (max-width: 768px) {
    .music-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 0.8rem;
    }
    
    .action-btn {
        flex: 1;
        min-width: calc(50% - 0.4rem);
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .music-action-buttons {
        gap: 0.6rem;
    }
    
    .action-btn {
        min-width: calc(50% - 0.3rem);
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .action-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* For very small phones, ensure buttons don't wrap poorly */
@media (max-width: 380px) {
    .action-btn span {
        font-size: 0.7rem;
    }
    
    .action-btn {
        padding: 0.6rem 0.5rem;
    }
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    background: transparent;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex-shrink: 0;
}

.play-btn-main {
    background: var(--gradient-golden);
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    border: 1px solid var(--golden);
}

.play-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.4);
    background: #ffea4a;
}

.download-btn-main {
    background: rgba(255, 215, 0, 0.1);
    color: var(--golden);
    border: 1px solid var(--golden);
    backdrop-filter: blur(4px);
}

.download-btn-main:hover {
    background: var(--golden);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Description Section */
.music-description-section {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    background: var(--card-bg);
}

.description-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.description-content p {
    margin-bottom: 1.2rem;
}

.description-content h2,
.description-content h3,
.description-content h4 {
    color: var(--golden);
    margin: 1.5rem 0 0.8rem;
}

.description-content ul,
.description-content ol {
    margin: 1rem 0 1rem 2rem;
}

.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Ad Spaces */
.ad-space {
    margin: 2rem 0;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

/* Share Section */
.share-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    background: var(--secondary-bg);
}

.share-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem; 
    letter-spacing: 1px;
}

.share-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.x { background: #000000; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy { background: #333333; }
.share-btn.linkedin { background: #0077b5; }

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .share-section {
        padding: 1rem;
    }
    .share-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .share-btn {
        justify-content: center;
        padding: 0.5rem;
    }
    .share-btn span {
        font-size: 0.7rem;
    }
}

/* Premium Tags Section */
.premium-tags-section {
    margin: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    background: var(--card-bg);
}

.premium-tags-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.premium-tags-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.premium-tags-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--golden);
}

.premium-tags-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--golden);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
}

.premium-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    flex: 1;
}

.premium-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.premium-tag:hover {
    background: var(--golden);
    border-color: var(--golden);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.premium-tag svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    opacity: 0.7;
}

.premium-tag:hover svg {
    opacity: 1;
}

@media (max-width: 768px) {
    .premium-tags-section {
        padding: 1rem;
    }
    .premium-tags-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .premium-tags-list {
        width: 100%;
    }
    .premium-tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Related Tracks Container */
.related-tracks-container {
    padding: 1.5rem 2rem;
    background: var(--card-bg);
}

.related-title {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: inline-block;
}

.related-tracks-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-height: none;
    overflow-y: visible;
}

.related-track {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-track:hover {
    background: var(--secondary-bg);
    border-color: var(--golden);
    transform: translateX(5px);
}

.related-track .sidebar-post-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.related-track .sidebar-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .related-tracks-container {
        padding: 1rem;
    }
    .related-tracks-widget {
        grid-template-columns: 1fr;
    }
}

/* Single Post Sidebar */
.single-post-sidebar {
    width: 300px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .single-post-sidebar {
        width: 100% !important;
        margin-top: 1.5rem !important;
    }
}

/* ===== FOOTER ===== */
.site-footer-full {
    background: var(--secondary-bg);
    border-top: 2px solid var(--golden);
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin-bottom: 0.8rem;
}

.footer-menu li a {
    color: #faf7f7;
    font-size: 0.85rem;
	font-weight: 600;
    transition: color 0.3s;
}

.footer-menu li a:hover {
    color: #c28f17;
}

.footer-bottom {
    font-size: 0.75rem;
	font-weight: 600;
    color: #faf7f7;
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

.load-more-btn {
    background: white;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem !important;
    }
    .site-logo a {
        font-size: 1.2rem;
    }
    .boomplay-search-section {
        padding: 0.8rem 1rem;
    }
    .search-input {
        padding: 0.7rem 2.5rem 0.7rem 1rem;
        font-size: 0.85rem;
    }
    .search-button .search-text {
        display: none;
    }
}

/* ===== HIDE DEFAULT AUDIO PLAYERS ===== */
.wp-block-audio,
.wp-audio-shortcode,
.mejs-container,
.audio-player,
audio {
    display: none !important;
}

/* ===== OVERLAY ===== */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1500;
}

.overlay.active {
    display: block;
}

/* ===== FULL WIDTH FIXES ===== */
.single-post-wrapper-full {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

body.single .container,
body.single .site,
body.single .content,
body.single .wrapper {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@keyframes tagPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.premium-tag:active {
    animation: tagPulse 0.2s ease;
}

/* ===== MOBILE MENU ===== */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu-panel {
        display: none !important;
    }
    .overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* ===== SIMPLE FIXED PLAYER ===== */
.fixed-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top: 2px solid var(--golden, #FFD700);
    padding: 10px 15px;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.player-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.player-track {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    flex: 1;
}

.player-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--golden, #FFD700);
    background: #1a1a1a;
}

.player-details {
    flex: 1;
    min-width: 0;
}

.player-track-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.player-artist-name {
    font-size: 12px;
    color: #FFD700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 0.8;
}

.player-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.player-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.play-btn {
    width: 44px;
    height: 44px;
    background: var(--golden, #FFD700);
    border-radius: 50%;
    opacity: 1;
}

.play-btn svg {
    width: 22px;
    height: 22px;
    fill: #000;
}

.play-btn:hover {
    transform: scale(1.05);
    background: #ffed4a;
}

.player-progress-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 2;
    min-width: 200px;
}

.time-current, .time-total {
    font-size: 11px;
    color: #aaa;
    min-width: 35px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--golden, #FFD700);
    border-radius: 4px;
    width: 0%;
}

.player-volume-area {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.player-volume-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.player-volume-btn:hover {
    opacity: 1;
}

.player-volume-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.volume-slider-wrap {
    width: 80px;
}

.volume-slider {
    height: 4px;
    background: #333;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    height: 100%;
    background: #fff;
    border-radius: 4px;
    width: 70%;
}

@media (max-width: 768px) {
    .fixed-player {
        padding: 8px 12px;
    }
    .player-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .player-track {
        min-width: auto;
        flex: 2;
        gap: 8px;
    }
    .player-thumb {
        width: 40px;
        height: 40px;
    }
    .player-track-name {
        font-size: 12px;
    }
    .player-artist-name {
        font-size: 10px;
    }
    .player-controls {
        gap: 15px;
        flex-shrink: 0;
    }
    .play-btn {
        width: 40px;
        height: 40px;
    }
    .play-btn svg {
        width: 18px;
        height: 18px;
    }
    .player-btn svg {
        width: 20px;
        height: 20px;
    }
    .player-progress-area {
        display: none !important;
    }
    .player-volume-area {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .fixed-player {
        padding: 6px 10px;
    }
    .player-track {
        flex: 3;
    }
    .player-thumb {
        width: 36px;
        height: 36px;
    }
    .player-track-name {
        font-size: 11px;
    }
    .player-artist-name {
        font-size: 9px;
    }
    .player-controls {
        gap: 12px;
    }
    .play-btn {
        width: 36px;
        height: 36px;
    }
    .play-btn svg {
        width: 16px;
        height: 16px;
    }
    .player-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== MOVIE THEME ADDITIONS ===== */

/* Movie Card Styles */
.movie-card .track-views {
    background: rgba(255, 215, 0, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.6rem;
    margin-left: 0.5rem;
}

/* Movie Djs Menu */
.movie-djs-menu .dj-item .flag-emoji {
    font-size: 1.8rem;
}
.movie-djs-menu .dj-item .flag-name {
    font-size: 0.7rem;
}

/* Category Card */
.category-card .featured-image {
    position: relative;
}
.category-card .play-overlay-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}
.category-badge {
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--golden);
}
.category-badge span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--golden);
}
.category-badge .movie-count {
    font-size: 0.7rem;
    color: white;
    margin-top: 5px;
    font-weight: normal;
}

/* Episode Grid */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.episode-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}
.episode-card:hover {
    border-color: var(--golden);
    transform: translateY(-3px);
}
.episode-number {
    font-size: 0.7rem;
    color: var(--golden);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.episode-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.episode-views {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}
.episode-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.15);
    color: var(--golden);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.episode-watch-btn:hover {
    background: var(--golden);
    color: #000;
}

/* Add Episode Plus Button */
.add-episode-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}
.add-episode-plus:hover {
    border-color: var(--golden);
    background: rgba(255, 215, 0, 0.1);
}
.plus-icon {
    font-size: 2rem;
    color: var(--golden);
    font-weight: 300;
}
.plus-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Description Read More */
.description-title {
    font-size: 1.1rem;
    color: var(--golden);
    margin-bottom: 1rem;
}
.read-more-btn, .read-less-btn {
    color: var(--golden);
    cursor: pointer;
    font-weight: 600;
    margin-left: 0.3rem;
}
.read-more-btn:hover, .read-less-btn:hover {
    text-decoration: underline;
}

/* Meta Views */
.meta-views {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.meta-views svg {
    fill: var(--golden);
}

/* Responsive */
@media (max-width: 768px) {
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    .episode-card {
        padding: 0.8rem;
    }
    .episode-title {
        font-size: 0.85rem;
    }
    .category-badge span {
        font-size: 0.8rem;
    }
    .category-badge .movie-count {
        font-size: 0.6rem;
    }
}

/* Movie Featured Card */
.movie-featured-card .featured-info {
    min-height: 80px;
}
.movie-featured-card .featured-song {
    font-size: 0.85rem;
    -webkit-line-clamp: 1;
}
.movie-featured-card .featured-artist {
    font-size: 0.7rem;
}

/* Default Movie Image Fallback */
img[src*="default-movie.jpg"] {
    object-fit: cover;
}
/* Add to style.css */
img[src*="default-movie.jpg"] {
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}