/* Custom Spotlight Styles */

/* 1. Bright Frosted Glass Background */
#spotlight {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Very light background */
    backdrop-filter: blur(30px) !important; /* Strong blur */
    -webkit-backdrop-filter: blur(30px) !important;
}

/* 2. Hide Default UI Elements */
/* Hide title and description (Album name) */
#spotlight .spl-title,
#spotlight .spl-description,
#spotlight .spl-footer,
#spotlight .spl-header,
#spotlight .spl-page {
    display: none !important;
}

/* Hide default arrows since we are adding custom ones */
#spotlight .spl-prev,
#spotlight .spl-next {
    display: none !important;
}

/* 3. Custom Control Bar */
#spotlight-control-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    height: 60px;
    background: rgba(50, 50, 50, 0.4); /* Slightly darker for better visibility on light bg */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    z-index: 100001;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: auto;
}

/* Counter (Left) */
.control-counter {
    font-size: 16px;
    color: #fff;
    font-family: 'Noto Serif SC', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Center Buttons (Prev/Next) */
.control-center {
    display: flex;
    gap: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.control-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; /* Circular buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.control-btn i {
    font-size: 16px;
}

/* Right Button (Close) */
.control-right {
    display: flex;
    align-items: center;
}

.close-btn-custom {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; /* Circular button */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.close-btn-custom:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.close-btn-custom i {
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #spotlight-control-bar {
        width: 92%;
        bottom: 25px;
        padding: 0 15px;
        height: 55px;
    }
    
    .control-counter {
        font-size: 14px;
    }
    
    .control-btn, .close-btn-custom {
        width: 36px;
        height: 36px;
    }
}
