* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: Arial, Tahoma, sans-serif;
    background: transparent;
    color: white;
    overflow-x: hidden;
}

/* Background */
.background {
    position: fixed;
    display: block;
    visibility: visible;
    opacity: 1;
    inset: 0;
    width: 100vw;
    height: 100vh;

    background-image: url("/background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: none;
    z-index: 0;
}

/* Overlay disabled */
.overlay {
    display: none;
}

/* Main content */
.player-container {
    position: relative;
    z-index: 2;

    min-height: 100vh;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 30px 15px;
}

/* Player card */
.player-card {
    width: min(430px, 94vw);

    padding: 32px 28px;

    border-radius: 28px;

    background: rgba(20, 20, 20, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    text-align: center;
}

/* Music icon */
.music-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 15px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35);
}

.brand {
    font-size: 12px;
    letter-spacing: 5px;
    opacity: 0.65;
    margin-bottom: 10px;
}

h1 {
    margin: 0;
    font-size: 25px;
}

.subtitle {
    margin: 8px 0 24px;
    opacity: 0.65;
    font-size: 14px;
}

/* Song info */
.song-info {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-bottom: 20px;
}

#songName {
    font-size: 16px;
    font-weight: bold;
}

#songNumber {
    display: block;

    margin-top: 5px;

    opacity: 0.55;

    font-size: 12px;
}

/* Equalizer */
.equalizer {
    height: 28px;

    display: flex;
    align-items: center;

    gap: 3px;
}

.equalizer span {
    display: block;

    width: 4px;
    height: 12px;

    border-radius: 5px;

    background: white;

    opacity: 0.8;

    animation:
        equalizer 0.8s ease-in-out infinite alternate;
}

.equalizer span:nth-child(2) {
    animation-delay: 0.15s;
}

.equalizer span:nth-child(3) {
    animation-delay: 0.3s;
}

.equalizer span:nth-child(4) {
    animation-delay: 0.45s;
}

.equalizer span:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes equalizer {

    from {
        height: 7px;
    }

    to {
        height: 26px;
    }

}

/* Progress */
.progress-area {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 15px 0;
}

.progress-area span {
    min-width: 35px;

    font-size: 11px;

    opacity: 0.65;
}

#progress {
    flex: 1;
}

input[type="range"] {
    appearance: none;
    -webkit-appearance: none;

    height: 5px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.22);

    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: white;

    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;

    border: 0;

    border-radius: 50%;

    background: white;

    cursor: pointer;
}

/* Controls */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    margin: 22px 0;
}

.control,
.play-button {
    border: 0;

    cursor: pointer;

    color: #111;

    transition:
        transform 0.2s ease;
}

.control:hover,
.play-button:hover {
    transform: scale(1.08);
}

.control {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.88);

    font-size: 20px;
}

.play-button {
    width: 68px;
    height: 68px;

    border-radius: 50%;

    background: white;

    font-size: 25px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35);
}

/* Volume */
.volume-area {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 10px auto 22px;

    max-width: 220px;
}

#volume {
    flex: 1;
}

/* Download */
.download-button {
    width: 100%;

    padding: 13px 20px;

    border: 0;

    border-radius: 14px;

    background: white;

    color: #111;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.status {
    margin-top: 14px;

    font-size: 12px;

    opacity: 0.6;
}

footer {
    margin-top: 20px;

    font-size: 11px;

    opacity: 0.45;
}

/* Mobile */
@media (max-width: 480px) {

    .player-card {
        padding: 27px 20px;
        border-radius: 24px;
    }

    h1 {
        font-size: 22px;
    }

    .music-icon {
        width: 68px;
        height: 68px;

        font-size: 38px;
    }

}
