body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #282c34, #527a98);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 50px;
    border-radius: 15px;
}

.title {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.image-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 220px;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
}

.image-container img:hover {
    transform: scale(1.1);
}

.timer {
    font-size: 40px;
    font-weight: bold;
    color: #ffeb3b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        color: #ffeb3b;
    }
    50% {
        transform: scale(1.1);
        color: #fff176;
    }
    100% {
        transform: scale(1);
        color: #ffeb3b;
    }
}

.logo-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo {
    width: 120px;
    height: auto;
}

.audio-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #333;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 300px;
    height: 30px;
    z-index: 1000;
}

.audio-player .play-button {
    background: #ffeb3b;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.audio-player .play-button:hover {
    background: #fff176;
}

.audio-player .play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin-right: -5px;
    border-left: 15px solid #333;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: translateX(-50%);
}

.audio-player .play-button.playing::after {
    margin-right: -2px;
    border-left: 7px solid #333;
    border-right: 7px solid #333;
    border-top: none;
    border-bottom: none;
    height: 15px;
    transform: translateX(-50%);
}

.audio-player .progress-bar {
    flex: 1;
    height: 5px;
    background: #555;
    border-radius: 5px;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
}

.audio-player .progress-bar .progress {
    height: 100%;
    background: #ffeb3b;
    border-radius: 5px;
    width: 0;
}

.audio-player .time {
    font-size: 12px;
    color: #ccc;
    margin: 0 10px;
}

.volume-control {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.volume-button {
    width: 24px;
    height: 24px;
    border: none;
    cursor: pointer;
    background: none;
    position: relative;
}

.volume-button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ffeb3b;
    clip-path: polygon(0 40%, 35% 40%, 35% 20%, 65% 0, 65% 100%, 35% 80%, 35% 60%, 0 60%);
}

.volume-button.muted::before {
    background: #ff5252;
}

.volume-bar {
    width: 60px;
    height: 5px;
    background: #555;
    border-radius: 5px;
    margin-left: 5px;
    position: relative;
    cursor: pointer;
}

.volume-level {
    height: 100%;
    background: #ffeb3b;
    border-radius: 5px;
    width: 100%;
}

.volume-bar:hover .volume-level {
    background: #fff176;
}

#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}
