body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #b22222 0%, #228b22 50%, #ffd700 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/background.png') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: white;
    font-size: 2em;
    animation: snowfall linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 50%; animation-duration: 12s; animation-delay: 2s; }
.snowflake:nth-child(3) { left: 80%; animation-duration: 14s; animation-delay: 4s; }

@keyframes snowfall {
    0% { transform: translateY(-20vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.play-button {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd700 0%, #ff6347 50%, #32cd32 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 5px solid #ffffff;
    box-shadow: 0 0 20px rgba(255,255,255,0.8), inset 0 0 20px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 10px;
}

.play-button:hover, .play-button:active {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.9), inset 0 0 30px rgba(0,0,0,0.3);
}

#logoImg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.status {
    font-size: 1.2em;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-weight: bold;
    margin-bottom: 5px;
}

.now-playing {
    font-size: 1.8em;
    margin-top:50px;
    color: white;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);

}

.now-playing .title {
    font-size: 2.2rem;
    font-family: 'Mountains of Christmas', cursive;
}

.now-playing .artist {
    font-size:1.2rem;
}

.now-playing .label {
    font-size:.9rem;
}

.now-playing .time {
    font-size:.9rem;
}

.progress-meter {
    position: relative;
    width: 80%;
    max-width: 400px;
    height: 20px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar {
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #b22222 0%, #228b22 50%, #ffd700 100%);
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.8);
    position: relative;
}

.progress-decorations {
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 36px;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.decoration {
    font-size: 1.5em;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.decoration.start {
    margin-left: -10px;
    animation: twinkle 2s ease-in-out infinite;
}

.decoration.middle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: twinkle 2.5s ease-in-out infinite reverse;
}

.decoration.end {
    margin-right: -10px;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Responsive design */
@media (max-width: 600px) {
    .play-button {
        width: 150px;
        height: 150px;
    }
    #logoImg {
        width: 90px;
        height: 90px;
    }
    .status {
        font-size: 1em;
    }
    .progress-meter {
        width: 90%;
        max-width: 300px;
        height: 16px;
        margin-top: 15px;
    }
    .progress-decorations {
        height: 32px;
    }
    .decoration {
        font-size: 1.2em;
    }
}
