/*
Theme Name: Guavva Music Theme
Theme URI: https://guavvamusic.com
Author: King David +255 792 744 041
Author URI: https://guavvamusic.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: #ffffff;
--secondary-bg: #f8f9fa;
--card-bg: #f8f9fa;
--golden: #369AB3;
--golden-light: #5AA8C5;
--golden-dark: #2a7a8f;
--text-primary: #000000;
--text-secondary: #6c757d;
--text-muted: #369AB3;
--border-color: #dee2e6;
    --sidebar-width: 300px;
    --spacing: 1rem;
    --border-radius: 12px;
--gradient-golden: linear-gradient(135deg, #369AB3 0%, #5AA8C5 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: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid var(--golden);
    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, #369AB3 0%, #5AA8C5 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: #e9ecef;
    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: #ffffff;
    z-index: 2000;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    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: #e9ecef;
    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 #dee2e6;
    color: var(--text-primary);
}

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

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

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

/* ===== STYLISH COUNTRY FLAGS MENU ===== */
.country-flags-menu {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    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: #e9ecef;
    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: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 85px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.flag-item:hover {
    transform: translateY(-4px);
    border-color: var(--golden);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.flag-emoji {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    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: #ffffff;
    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;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.flags-scroll-btn:hover {
    background: var(--golden);
    color: #fff;
    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: #f8f9fa;
    padding: 1rem 1rem;
    position: relative;
}

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

.search-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 50px;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #dee2e6;
}

.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: #fff;
    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: #ffffff;
    border-radius: 20px;
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-height: 450px;
    overflow-y: auto;
    display: none;
    z-index: 10000;
    border: 1px solid var(--golden);
}

.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);
}

.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;
    }
}

/* Mobile: Reduce padding to prevent overflow */
@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 - FIXED FOR LONG TITLES AND MOBILE ===== */
.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;
}

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

/* Desktop Medium: 4 cards */
@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;
    }
}

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

/* Mobile: 2 cards with proper text wrapping */
@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;
    }
}

/* Small mobile: 2 cards */
@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 #dee2e6;
    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.1);
}

.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.5);
    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.3));
    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: 0.85rem;
    font-weight: 600;
    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: 0.7rem;
    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: var(--golden);
    font-weight: 600;
    text-transform: uppercase;
    background: #e9ecef;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

/* Mobile specific adjustments for long titles */
@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;
        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: var(--golden);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--golden);
}

/* Trending Tabs */
.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: var(--golden);
    color: #fff;
}

.trending-list {
    display: none;
}

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

/* Trending Item - Matches Recent Tracks with Number */
.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);
    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;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar Posts - Recent Tracks */
.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);
    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;
    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 ===== */
.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;
    }
}

.single-post {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    overflow: hidden;
    min-width: 0;
}

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

.post-title, .single-post h1[style*="clamp"], .single-post h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    word-break: break-word;
}

@media (max-width: 768px) {
    .post-title, .single-post h1[style*="clamp"], .single-post h1 {
        font-size: 1.5rem;
        white-space: normal;
    }
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.post-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}

.post-audio-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.play-button-action, .download-button-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button-action {
    background: var(--gradient-golden);
    color: #fff;
    border: 2px solid var(--golden);
}

.download-button-action {
    background: transparent;
    color: var(--golden);
    border: 2px solid var(--golden);
}

.play-button-action:hover, .download-button-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(54, 154, 179, 0.3);
}

/* Share Section */
.share-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.share-title {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--golden);
    text-align: center;
}

.share-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

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

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

.share-btn.facebook { background: #1877f2; }
.share-btn.x { background: #000; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy { background: #333; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.linkedin:hover { background: #005582; }
.share-btn:hover { transform: translateY(-2px); }

/* Related Tracks Text Only */
.related-tracks-textonly {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.related-tracks-textonly h3 {
    color: var(--golden);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-grid-textonly {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related-track-textonly {
    background: var(--secondary-bg);
    border-radius: 10px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    text-align: center;
}

.related-track-textonly:hover {
    border-color: var(--golden);
    transform: translateY(-2px);
}

.related-track-song {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-track-artist {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .related-grid-textonly {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .share-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 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: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-menu li a:hover {
    color: var(--golden);
}

.footer-bottom {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.load-more-btn {
    background: var(--gradient-golden);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

@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.5);
    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;
}

/* ===== PREMIUM TAGS SECTION ===== */
.premium-tags-section {
    margin: 2rem 0 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.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: #e9ecef;
    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: #e9ecef;
    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: #f8f9fa;
    border: 1px solid #dee2e6;
    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: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 154, 179, 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-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .premium-tags-list {
        width: 100%;
    }
    .premium-tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
}

@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: #ffffff;
    border-top: 2px solid var(--golden);
    padding: 10px 15px;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

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

/* Track Info */
.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);
    background: #f8f9fa;
}

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

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

.player-artist-name {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls */
.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: var(--text-primary);
}

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

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

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

/* Progress Area - Desktop only */
.player-progress-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 2;
    min-width: 200px;
}

.time-current, .time-total {
    font-size: 11px;
    color: var(--text-muted);
    min-width: 35px;
    text-align: center;
}

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

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

/* Volume Area - Desktop only */
.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: var(--text-primary);
}

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

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

.volume-fill {
    height: 100%;
    background: var(--golden);
    border-radius: 4px;
    width: 70%;
}

/* ===== MOBILE OPTIMIZED - REMOVE VOLUME & PROGRESS ===== */
@media (max-width: 768px) {
    .fixed-player {
        padding: 8px 12px;
    }
    
    .player-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    /* Track info - smaller */
    .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;
    }
    
    /* Controls - centered */
    .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;
    }
    
    /* HIDE PROGRESS BAR ON MOBILE */
    .player-progress-area {
        display: none !important;
    }
    
    /* HIDE VOLUME CONTROL ON MOBILE */
    .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;
    }
}