/* 胜利提示样式 */
.victory-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.victory-modal.show {
    opacity: 1;
}

.victory-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.5s ease;
    max-width: 90%;
    width: 400px;
}

.victory-modal.show .victory-content {
    transform: scale(1);
}

.victory-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #e4b400;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.victory-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.victory-buttons button {
    padding: 10px 20px;
    font-size: 16px;
}

/* 烟花效果 */
.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 10px 5px rgba(255, 200, 0, 0.8);
    animation: explode 1s ease-out forwards;
    opacity: 0;
}

@keyframes explode {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* 深色主题样式 */
body.dark-theme .victory-content {
    background-color: #333;
    color: #eee;
}

body.dark-theme .victory-title {
    color: #ffd700;
}