* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.floor {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top,
        rgba(10, 30, 50, 0.6) 0%,
        rgba(10, 30, 50, 0.3) 50%,
        transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.timer-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 30px 20px 60px 20px;
    text-align: center;
}

.timer-display {
    font-size: 48px;
    font-weight: bold;
    color: #ff4500;
    text-shadow:
        0 0 20px #ff6b35,
        0 0 40px #ff4500,
        0 0 60px #ff2200;
    letter-spacing: 8px;
    animation: timer-pulse 1s ease-in-out infinite;
}

.timer-warning {
    font-size: 12px;
    color: #ff6b35;
    margin-top: 10px;
    opacity: 0.8;
    letter-spacing: 2px;
}

.critical {
    animation: critical-flash 0.5s ease-in-out infinite;
}

@keyframes timer-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes critical-flash {
    0%, 100% {
        color: #ff0000;
        text-shadow:
            0 0 20px #ff0000,
            0 0 40px #ff0000,
            0 0 60px #ff0000;
    }
    50% {
        color: #ff4500;
        text-shadow:
            0 0 30px #ff4500,
            0 0 60px #ff0000,
            0 0 90px #ff0000;
    }
}
