/* =========================================== */
/* JANNA AUDIO PLAYER - GOLDEN/WHITE/BLACK THEME - MODIFIED */
/* =========================================== */

/* RESET - Remove all possible spacing */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative !important;
}

/* Player container - FLOATING FOOTER - BACKGROUND COLOR CHANGED TO #000000 */
#janna-audio-player {
    position: fixed !important;
    bottom: 0px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999999 !important;
    transform: none !important;
    box-sizing: border-box !important;
    background: #000000 !important; /* Changed from gradient to solid black */
    border-top: 2px solid #27C7C9 !important; /* Gold replaced with #27C7C9 */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8) !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Advertisement playing state - GOLD COLORS REPLACED */
#janna-audio-player.ad-playing {
    background: linear-gradient(135deg, #1a1a0a 0%, #000000 100%) !important;
    border-top: 2px solid #27C7C9 !important; /* Gold replaced */
    box-shadow: 0 -10px 30px rgba(39, 199, 201, 0.2) !important; /* Gold replaced */
}

/* Make sure it's visible */
#janna-audio-player:not(.janna-player-hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    bottom: 0px !important;
    transform: translateY(0) !important;
}

/* Hidden state */
#janna-audio-player.janna-player-hidden {
    transform: translateY(100%) !important;
    display: none !important;
    opacity: 0 !important;
}

/* Inner container */
.janna-player-inner {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    position: relative;
    box-sizing: border-box;
    height: 100%;
    background: transparent;
}

/* Cover Image - GOLD BORDER REPLACED */
.janna-cover-container {
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(39, 199, 201, 0.3); /* Gold replaced */
}

.janna-cover {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.janna-cover:hover {
    transform: scale(1.05);
}

/* AD Badge - GOLD REPLACED */
.janna-ad-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #27C7C9; /* Gold replaced */
    color: #000000;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 10;
    display: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Track Info */
.janna-track-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.janna-track-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    color: #FFFFFF;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* AD playing title color - GOLD REPLACED */
.ad-playing .janna-track-title {
    color: #27C7C9 !important; /* Gold replaced */
    text-shadow: 0 0 10px rgba(39, 199, 201, 0.3); /* Gold replaced */
}

.janna-track-artist {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-weight: 500;
}

/* Progress Bar - GOLD GRADIENT REPLACED */
.janna-progress-container {
    width: 100%;
    position: relative;
    margin-top: 5px;
}

.janna-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 6px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.janna-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #27C7C9 0%, #2CE8EA 100%); /* Gold gradient replaced */
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    min-width: 0%;
    box-shadow: 0 0 10px rgba(39, 199, 201, 0.5); /* Gold replaced */
}

/* Skip Ad Button - GOLD GRADIENT REPLACED */
.janna-skip-ad {
    position: absolute;
    top: -45px;
    right: 10px;
    background: linear-gradient(135deg, #27C7C9 0%, #2CE8EA 100%); /* Gold gradient replaced */
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    z-index: 1000;
    animation: teal-pulse 1.5s infinite; /* Animation name changed */
    display: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(39, 199, 201, 0.4); /* Gold replaced */
    border: 2px solid #000000;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.janna-skip-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 199, 201, 0.6); /* Gold replaced */
}

.janna-skip-ad:active {
    transform: translateY(0);
}

.janna-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Controls */
.janna-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 10px;
}

.janna-control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Control button hover - GOLD REPLACED */
.janna-control-btn:hover {
    background: rgba(39, 199, 201, 0.2); /* Gold replaced */
    border-color: #27C7C9; /* Gold replaced */
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(39, 199, 201, 0.2); /* Gold replaced */
}

.janna-control-btn:active {
    transform: scale(0.95);
}

.janna-control-btn svg {
    fill: currentColor;
    display: block;
    width: 22px;
    height: 22px;
}

/* Play button - GOLD GRADIENT REPLACED */
.janna-play-btn {
    background: linear-gradient(135deg, #27C7C9 0%, #2CE8EA 100%); /* Gold gradient replaced */
    border: none;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(39, 199, 201, 0.3); /* Gold replaced */
}

.janna-play-btn:hover {
    background: linear-gradient(135deg, #2CE8EA 0%, #27C7C9 100%); /* Gold gradient replaced */
    box-shadow: 0 6px 20px rgba(39, 199, 201, 0.5); /* Gold replaced */
    transform: scale(1.1);
}

/* Playlist button */
.janna-playlist-btn {
    color: rgba(255, 255, 255, 0.9);
}

/* Repeat and Shuffle buttons - GOLD REPLACED */
.janna-repeat-btn,
.janna-shuffle-btn {
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
}

.janna-repeat-btn.active,
.janna-shuffle-btn.active {
    color: #27C7C9; /* Gold replaced */
    background: rgba(39, 199, 201, 0.15); /* Gold replaced */
    border-color: rgba(39, 199, 201, 0.3); /* Gold replaced */
}

.janna-repeat-btn.one {
    color: #27C7C9; /* Gold replaced */
    background: rgba(39, 199, 201, 0.2); /* Gold replaced */
    border-color: rgba(39, 199, 201, 0.5); /* Gold replaced */
}

.janna-shuffle-btn.active svg {
    filter: drop-shadow(0 0 4px rgba(39, 199, 201, 0.5)); /* Gold replaced */
}

/* Extra Controls */
.janna-extra-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: 10px;
}

.janna-volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.janna-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #27C7C9; /* Gold replaced */
    cursor: pointer;
    border: 2px solid #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.janna-volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #27C7C9; /* Gold replaced */
    cursor: pointer;
    border: 2px solid #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile Volume Buttons - HIDDEN ON MOBILE */
.janna-volume-buttons {
    display: none;
    gap: 8px;
}

.janna-volume-up,
.janna-volume-down {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: all 0.2s ease;
}

.janna-volume-up:hover,
.janna-volume-down:hover {
    background: rgba(39, 199, 201, 0.2); /* Gold replaced */
    border-color: #27C7C9; /* Gold replaced */
}

/* Post Buttons - GOLD GRADIENT REPLACED */
.janna-post-buttons {
    margin: 50px 0 30px 0;
    width: 100%;
    clear: both;
}

.janna-buttons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.janna-post-play-btn,
.janna-post-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 19px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 60px;
    flex: 1;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    min-width: 250px;
}

.janna-post-play-btn {
    background: linear-gradient(135deg, #27C7C9 0%, #2CE8EA 100%); /* Gold gradient replaced */
    color: #000000;
    border: 2px solid #000000;
}

.janna-post-play-btn:hover {
    background: linear-gradient(135deg, #2CE8EA 0%, #27C7C9 100%); /* Gold gradient replaced */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 199, 201, 0.4); /* Gold replaced */
}

.janna-post-play-btn:active {
    transform: translateY(-1px);
}

.janna-post-download-btn {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
    color: #000000;
    border: 2px solid #000000;
}

.janna-post-download-btn:hover {
    background: linear-gradient(135deg, #F0F0F0 0%, #FFFFFF 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.janna-post-play-btn svg,
.janna-post-download-btn svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Playlist Modal - GOLD COLORS REPLACED */
.janna-playlist-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999999;
    display: none;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.janna-playlist-modal.active {
    display: flex;
}

.janna-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #27C7C9; /* Gold replaced */
    background: rgba(10, 10, 10, 0.98);
}

.janna-playlist-title {
    font-size: 24px;
    font-weight: 700;
    color: #27C7C9; /* Gold replaced */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.janna-playlist-close {
    background: rgba(39, 199, 201, 0.1); /* Gold replaced */
    border: 2px solid #27C7C9; /* Gold replaced */
    color: #27C7C9; /* Gold replaced */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    padding: 0;
    transition: all 0.3s ease;
}

.janna-playlist-close:hover {
    background: #27C7C9; /* Gold replaced */
    color: #000000;
    transform: rotate(90deg);
}

.janna-playlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: #27C7C9 rgba(255, 255, 255, 0.1); /* Gold replaced */
}

.janna-playlist-items::-webkit-scrollbar {
    width: 8px;
}

.janna-playlist-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.janna-playlist-items::-webkit-scrollbar-thumb {
    background: #27C7C9; /* Gold replaced */
    border-radius: 4px;
}

.janna-playlist-item {
    display: flex;
    align-items: center;
    padding: 18px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.janna-playlist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(39, 199, 201, 0) 0%, rgba(39, 199, 201, 0.05) 100%); /* Gold replaced */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.janna-playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(39, 199, 201, 0.3); /* Gold replaced */
}

.janna-playlist-item:hover::before {
    opacity: 1;
}

.janna-playlist-item.active {
    background: rgba(39, 199, 201, 0.15); /* Gold replaced */
    border-color: #27C7C9; /* Gold replaced */
    transform: translateX(5px);
}

.janna-playlist-item.active::before {
    opacity: 1;
}

.janna-playlist-item-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid rgba(39, 199, 201, 0.3); /* Gold replaced */
}

.janna-playlist-item-info {
    flex: 1;
    min-width: 0;
}

.janna-playlist-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.janna-playlist-item-artist {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.janna-playlist-item-duration {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 20px;
    flex-shrink: 0;
    font-weight: 500;
}

.janna-playlist-item-playing {
    color: #27C7C9; /* Gold replaced */
    font-size: 14px;
    margin-left: 20px;
    flex-shrink: 0;
    font-weight: 700;
    display: none;
    animation: pulse 1.5s infinite;
}

.janna-playlist-item.active .janna-playlist-item-playing {
    display: block;
}

/* Repeat indicator - GOLD REPLACED */
.janna-repeat-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #27C7C9; /* Gold replaced */
    color: #000000;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    border: 2px solid #000000;
}

.janna-repeat-btn.one .janna-repeat-indicator {
    display: flex;
}

/* Loading Animation - GOLD REPLACED */
.janna-loading {
    position: relative;
}

.janna-loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #27C7C9; /* Gold replaced */
    border-radius: 50%;
    animation: janna-spin 0.8s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes janna-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Current time tooltip - GOLD REPLACED */
.janna-time-tooltip {
    position: absolute;
    top: -40px;
    background: rgba(0, 0, 0, 0.9);
    color: #27C7C9; /* Gold replaced */
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    border: 1px solid #27C7C9; /* Gold replaced */
    font-weight: 600;
    z-index: 1000;
}

.janna-progress-bar:hover .janna-time-tooltip {
    opacity: 1;
}

/* Animations - GOLD ANIMATION REPLACED */
@keyframes teal-pulse { /* Renamed from golden-pulse */
    0% { 
        box-shadow: 0 0 0 0 rgba(39, 199, 201, 0.7); /* Gold replaced */
        transform: scale(1);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(39, 199, 201, 0); /* Gold replaced */
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(39, 199, 201, 0); /* Gold replaced */
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* =========================================== */
/* RESPONSIVE STYLES */
/* =========================================== */

@media (max-width: 1024px) {
    .janna-player-inner {
        padding: 10px 15px;
        gap: 15px;
    }
    
    .janna-cover {
        width: 50px;
        height: 50px;
    }
    
    .janna-control-btn {
        width: 40px;
        height: 40px;
    }
    
    .janna-play-btn {
        width: 45px;
        height: 45px;
    }
    
    .janna-control-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .janna-volume-slider {
        width: 70px;
    }
    
    .janna-buttons-container {
        max-width: 90%;
    }
    
    .janna-repeat-btn,
    .janna-shuffle-btn {
        width: 36px;
        height: 36px;
    }
    
    .janna-skip-ad {
        top: -40px;
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* Tablet and Mobile */
@media (max-width: 768px) {
    #janna-audio-player {
        min-height: 70px;
    }
    
    body.janna-player-active {
        padding-bottom: 70px !important;
    }
    
    .janna-player-inner {
        padding: 8px 12px;
        gap: 10px;
        flex-wrap: wrap;
        min-height: 70px;
    }
    
    .janna-cover {
        width: 45px;
        height: 45px;
    }
    
    .janna-track-info {
        max-width: calc(100% - 230px);
    }
    
    .janna-track-title {
        font-size: 14px;
    }
    
    .janna-track-artist {
        font-size: 12px;
    }
    
    .janna-controls {
        gap: 5px;
    }
    
    .janna-control-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .janna-play-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .janna-control-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .janna-repeat-btn,
    .janna-shuffle-btn {
        width: 32px;
        height: 32px;
    }
    
    .janna-repeat-btn svg,
    .janna-shuffle-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .janna-progress-container {
        margin-top: 2px;
    }
    
    .janna-progress-bar {
        height: 3px;
    }
    
    .janna-time {
        font-size: 11px;
    }
    
    /* HIDE VOLUME CONTROLS ON MOBILE */
    .janna-extra-controls {
        display: none !important; /* Hide entire extra controls section on mobile */
    }
    
    /* HIDE VOLUME SLIDER ON MOBILE */
    .janna-volume-slider {
        display: none !important;
    }
    
    /* HIDE VOLUME BUTTONS ON MOBILE */
    .janna-volume-buttons {
        display: none !important;
    }
    
    .janna-skip-ad {
        top: -35px;
        right: 8px;
        font-size: 10px;
        padding: 5px 12px;
        min-width: 100px;
    }
    
    /* FIX: Make post buttons vertical on mobile */
    .janna-post-buttons {
        margin: 30px 0 20px 0;
    }
    
    .janna-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .janna-post-play-btn,
    .janna-post-download-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 16px 20px;
        font-size: 15px;
        min-height: 56px;
    }
    
    .janna-playlist-header {
        padding: 20px;
    }
    
    .janna-playlist-items {
        padding: 20px;
    }
    
    .janna-playlist-item {
        padding: 15px;
    }
    
    .janna-playlist-item-cover {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    #janna-audio-player {
        min-height: 65px;
    }
    
    body.janna-player-active {
        padding-bottom: 65px !important;
    }
    
    .janna-player-inner {
        padding: 6px 10px;
        gap: 8px;
        min-height: 65px;
    }
    
    .janna-cover {
        width: 40px;
        height: 40px;
    }
    
    .janna-track-info {
        max-width: calc(100% - 200px);
    }
    
    .janna-track-title {
        font-size: 13px;
    }
    
    .janna-track-artist {
        font-size: 11px;
    }
    
    .janna-controls {
        gap: 3px;
    }
    
    .janna-control-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }
    
    .janna-play-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }
    
    .janna-control-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .janna-repeat-btn,
    .janna-shuffle-btn {
        width: 30px;
        height: 30px;
    }
    
    .janna-repeat-btn svg,
    .janna-shuffle-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .janna-skip-ad {
        top: -30px;
        font-size: 9px;
        padding: 4px 10px;
        min-width: 90px;
    }
    
    /* FIX: Make post buttons vertical on small mobile */
    .janna-post-buttons {
        margin: 25px 0 15px 0;
    }
    
    .janna-buttons-container {
        gap: 12px;
        padding: 0 10px;
    }
    
    .janna-post-play-btn,
    .janna-post-download-btn {
        padding: 14px 18px;
        font-size: 14px;
        min-height: 52px;
        gap: 10px;
    }
    
    .janna-post-play-btn svg,
    .janna-post-download-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    #janna-audio-player {
        min-height: 60px;
    }
    
    body.janna-player-active {
        padding-bottom: 60px !important;
    }
    
    .janna-player-inner {
        padding: 5px 8px;
        gap: 6px;
        min-height: 60px;
    }
    
    .janna-cover {
        width: 36px;
        height: 36px;
    }
    
    .janna-track-info {
        max-width: calc(100% - 170px);
    }
    
    .janna-track-title {
        font-size: 12px;
    }
    
    .janna-track-artist {
        font-size: 10px;
    }
    
    .janna-controls {
        gap: 2px;
    }
    
    .janna-control-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .janna-play-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .janna-control-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .janna-repeat-btn,
    .janna-shuffle-btn {
        width: 28px;
        height: 28px;
    }
    
    .janna-repeat-btn svg,
    .janna-shuffle-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .janna-skip-ad {
        top: -28px;
        font-size: 8px;
        padding: 3px 8px;
        min-width: 80px;
    }
    
    /* FIX: Make post buttons vertical on very small mobile */
    .janna-post-buttons {
        margin: 20px 0 10px 0;
    }
    
    .janna-buttons-container {
        gap: 10px;
        padding: 0 8px;
    }
    
    .janna-post-play-btn,
    .janna-post-download-btn {
        padding: 12px 16px;
        font-size: 13px;
        min-height: 48px;
        gap: 8px;
    }
    
    .janna-post-play-btn svg,
    .janna-post-download-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* =========================================== */
/* FIX FOR ADMIN BAR */
/* =========================================== */

.admin-bar #janna-audio-player {
    top: auto !important;
}

@media (min-width: 783px) {
    .admin-bar #janna-audio-player {
        top: auto !important;
        bottom: 0px !important;
    }
}

@media (max-width: 782px) {
    .admin-bar #janna-audio-player {
        top: auto !important;
        bottom: 0px !important;
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

#janna-audio-player:not(.janna-player-hidden):not(.ad-playing) {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Waveform Styles */
.waveform-container {
    width: 100%;
    height: 80px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.waveform-canvas {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    width: 0%;
    pointer-events: none;
    border-radius: 8px 0 0 8px;
}

/* Mobile-specific hiding */
@media (max-width: 768px) {
    /* Hide volume controls on mobile only */
    .volume-controls {
        display: none !important;
    }
    
    /* Mobile footer protection */
    .floating-audio-player {
        bottom: 80px !important;
        z-index: 99997 !important;
    }
    
    .floating-audio-player.minimized {
        bottom: 20px !important;
    }
}

/* Mobile Footer Menu Protection */
@media (max-width: 768px) {
    body {
        padding-bottom: 120px !important;
    }
    
    #mobile-footer,
    .mobile-footer,
    footer.mobile {
        z-index: 99999 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
        height: 60px !important;
    }
}

/* ADDED: Hide close function on mobile */
@media (max-width: 768px) {
    /* Hide any close buttons in the player */
    .janna-playlist-close,
    .close-btn,
    .player-close,
    [class*="close"] {
        display: none !important;
    }
}

/* =========================================== */
/* WP MOBILE BOTTOM MENU FIX - CLEAN VERSION */
/* =========================================== */

/* CHANGE THIS VALUE TO MATCH YOUR MENU HEIGHT */
:root {
    --menu-height: 70px; /* ← CHANGE THIS NUMBER */
}

/* DESKTOP - No changes */
@media (min-width: 769px) {
    #janna-audio-player {
        position: fixed !important;
        bottom: 0px !important;
        z-index: 1000 !important; /* Higher than menu's 999 */
    }
}

/* MOBILE - Player sits ABOVE the .bnav_bottom_nav_wrapper */
@media (max-width: 768px) {
    /* 1. Ensure the mobile menu stays at the very bottom */
    .bnav_bottom_nav_wrapper {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: inherit !important;
        transform: none !important;
        height: var(--menu-height) !important;
    }
    
    /* 2. Player sits ABOVE the mobile menu */
    #janna-audio-player {
        position: fixed !important;
        bottom: var(--menu-height) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important; /* Higher than menu's 999 */
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5) !important;
        background: #000000 !important;
    }
    
    /* 3. When player is hidden */
    #janna-audio-player.janna-player-hidden {
        bottom: var(--menu-height) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
    }
    
    /* 4. Body padding for both player and menu */
    body.janna-player-active {
        padding-bottom: calc(var(--menu-height) + 70px) !important;
    }
    
    /* 5. Adjust for admin bar if needed */
    .admin-bar #janna-audio-player {
        bottom: var(--menu-height) !important;
    }
    
    .admin-bar body.janna-player-active {
        padding-bottom: calc(var(--menu-height) + 70px) !important;
    }
}

/* Adjust for different screen sizes */
@media (max-width: 500px) { /* Your menu's breakpoint */
    .bnav_bottom_nav_wrapper {
        height: var(--menu-height) !important;
    }
    
    #janna-audio-player {
        bottom: var(--menu-height) !important;
    }
    
    body.janna-player-active {
        padding-bottom: calc(var(--menu-height) + 70px) !important;
    }
}

/* Smaller screens adjustments */
@media (max-width: 400px) {
    #janna-audio-player {
        min-height: 65px;
        bottom: var(--menu-height) !important;
    }
    
    body.janna-player-active {
        padding-bottom: calc(var(--menu-height) + 65px) !important;
    }
}

@media (max-width: 360px) {
    #janna-audio-player {
        min-height: 60px;
        bottom: var(--menu-height) !important;
    }
    
    body.janna-player-active {
        padding-bottom: calc(var(--menu-height) + 60px) !important;
    }
}

/* =========================================== */
/* SAFE OVERRIDE FOR CONFLICTS */
/* =========================================== */

@media (max-width: 768px) {
    /* Ensure player stays above menu */
    #janna-audio-player:not(.janna-player-hidden) {
        position: fixed !important;
        bottom: var(--menu-height) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Ensure menu stays at bottom */
    .bnav_bottom_nav_wrapper {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}