/* 倒计时样式 */

.game-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--shadow-color);
    z-index: 1000;
    font-family: Arial, sans-serif;
    text-align: center;
    width: 100%;
}

/* 倒计时位置变体 */
.game-countdown-center {
    top: 50%;
}

.game-countdown-top {
    top: 25%;
}

.game-countdown-bottom {
    top: 75%;
}

/* 倒计时大小变体 */
.game-countdown-small {
    font-size: 36px;
}

.game-countdown-medium {
    font-size: 56px;
}

.game-countdown-large {
    font-size: 72px;
}

/* 倒计时动画 */
@keyframes countdown-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.game-countdown.pulse {
    animation: countdown-pulse 0.5s ease-in-out;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-countdown-large {
        font-size: 56px;
    }

    .game-countdown-medium {
        font-size: 42px;
    }

    .game-countdown-small {
        font-size: 28px;
    }
}
