* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BACKGROUND */
body {
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
}

/* CENTER TEXT */
header {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-text {
    font-size: 64px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 25px rgba(0,0,0,0.6);
}


.player-wrap {
    position: fixed;
    bottom: 40px;
    left: 56%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
}

/* PLAYER */
.player {
    width: 560px;
    min-height: 96px;

    display: flex;
    align-items: center;
    gap: 16px;

    background: black;
    padding: 18px 22px;

    border-radius: 18px;
    border: 2px solid #0b1f4a;

    box-shadow:
        0 0 22px rgba(15,55,180,0.65),
        0 12px 35px rgba(0,0,0,0.85);
}


.cover {
    width: 56px;
    height: 56px;
    border-radius: 8px;
}


.info {
    flex: 1;
}

.title {
    color: #f0f0f0;
    font-size: 16px;       
    font-weight: 600;
    margin-bottom: 10px;
}

/* CONTROLS */
.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PLAY BUTTON */
.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #0b1f4a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-btn span {
    color: white;
    font-size: 20px;
}

/* PROGRESS */
.progress-container {
    flex: 1;
    height: 12px;
    background: #061a3a;
    border-radius: 6px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #020c24, #0b1f4a);
}

/* TIME */
.time {
    color: #0b1f4a;
    font-size: 12px;
    min-width: 42px;
    text-align: center;
}

/* VOLUME */
.volume-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-text {
    color: #0b1f4a;
    font-size: 12px;
}


input[type="range"] {
    width: 90px;
    accent-color: #0b1f4a;   
}


#visualizer {
    width: 260px;   /* change width here */
    height: 100px;   /* change height here */
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(90,60,200,0.6));
}


@media (max-width: 700px) {
    #visualizer {
        display: none;
    }
}
