/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #1c1c1c, #000);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    text-align: center;
}

.title {
    font-size: 4rem;
    font-weight: bold;
    color: crimson;
    text-shadow: 0 0 15px crimson, 0 0 30px crimson;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

/* Player Styles */
.player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.play-pause-btn {
    background: crimson;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 0 15px crimson;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.icon {
    display: inline-block;
}

/* Volume Slider */
.volume-slider {
    -webkit-appearance: none;
    width: 150px;
    height: 8px;
    background: #333;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: crimson;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px crimson;
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: crimson;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px crimson;
}

.volume-slider:hover {
    background: crimson;
}

/* Visualizer */
.visualizer {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 2rem;
}

.bar {
    width: 10px;
    height: 50px;
    background: crimson;
    animation: bounce 1.5s infinite ease-in-out;
}

.bar:nth-child(2) {
    animation-delay: 0.2s;
}

.bar:nth-child(3) {
    animation-delay: 0.4s;
}

.bar:nth-child(4) {
    animation-delay: 0.6s;
}

.bar:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes bounce {
    0%, 100% {
        height: 50px;
    }
    50% {
        height: 150px;
    }
}
