/* ========================================
   VINYL RECORD PLAYER STYLES
   ======================================== */

/* Container */
.vinyl-player-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 1.5rem;
    text-align: center;
}

/* Vinyl Disc */
.vinyl-disc {
    width: 320px;
    height: 320px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a2a 0%, #0a0a0a 60%, #000 100%);
    border: 4px solid var(--black-deep);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(255, 255, 255, 0.05),
        inset 0 0 80px rgba(0, 0, 0, 0.8);
    position: relative;
    transition: transform 0.3s ease;
}

.vinyl-disc:hover {
    transform: scale(1.02);
}

.vinyl-disc.spinning {
    animation: vinyl-spin 3s linear infinite;
}

@keyframes vinyl-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Vinyl Label (Center Circle) */
.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-main);
    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.vinyl-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grooves Effect */
.vinyl-grooves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-radial-gradient(circle,
            transparent 0px,
            transparent 3px,
            rgba(255, 255, 255, 0.02) 3px,
            rgba(255, 255, 255, 0.02) 6px);
    pointer-events: none;
}

/* Now Playing */
.now-playing {
    margin-bottom: 1.2rem;
    min-height: 40px;
}

#current-song-title {
    font-family: var(--font-handwritten);
    color: var(--red-intense);
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 0 var(--orange-vibrant);
}

/* Player Controls */
.player-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.control-btn {
    background: var(--black-deep);
    border: 3px solid var(--red-intense);
    color: var(--white-cream);
    font-size: 1.4rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
    background: var(--red-intense);
    transform: rotate(0deg) scale(1.1);
    box-shadow: 4px 4px 0 var(--orange-vibrant);
}

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

#loop-btn.active {
    background: var(--orange-vibrant);
    border-color: var(--yellow-bright);
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.time-current,
.time-total {
    font-family: 'Courier New', monospace;
    color: var(--black-deep);
    font-size: 0.85rem;
    font-weight: bold;
    min-width: 35px;
}

#progress-bar {
    flex: 1;
    height: 10px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--white-cream);
    border: 2px solid var(--black-deep);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--red-intense);
    border: 2px solid var(--black-deep);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#progress-bar::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--red-intense);
    border: 2px solid var(--black-deep);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.volume-control span {
    font-size: 1.2rem;
}

#volume-slider {
    width: 140px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--white-cream);
    border: 2px solid var(--black-deep);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--orange-vibrant);
    border: 1px solid var(--black-deep);
    border-radius: 50%;
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--orange-vibrant);
    border: 1px solid var(--black-deep);
    border-radius: 50%;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vinyl-disc {
        width: 260px;
        height: 260px;
    }

    .vinyl-label {
        width: 105px;
        height: 105px;
    }

    .control-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    #current-song-title {
        font-size: 1.1rem;
    }

    .player-controls {
        gap: 0.7rem;
    }
}

@media (max-width: 480px) {
    .vinyl-disc {
        width: 220px;
        height: 220px;
    }

    .vinyl-label {
        width: 90px;
        height: 90px;
    }

    .control-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .volume-control {
        flex-direction: column;
        gap: 0.4rem;
    }
}