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

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

.countdown-display {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff00;
    animation: glow 1s infinite alternate;
    z-index: 10;
    position: relative;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00ff00; }
    to { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
}

.number {
    color: #00ff00;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s;
}

.label {
    color: #00ff88;
    font-size: 1.8rem;
    text-align: center;
    min-width: 100px;
}

/* New Year 2026 Message */
.new-year-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: #ff0000;
    text-shadow: 0 0 30px #ff0000, 0 0 60px #ff0000;
    text-align: center;
    z-index: 100;
    display: none;
    animation: bigGlow 0.5s infinite alternate;
}

@keyframes bigGlow {
    from { 
        text-shadow: 0 0 30px #ff0000, 0 0 60px #ff0000;
        transform: translate(-50%, -50%) scale(1);
    }
    to { 
        text-shadow: 0 0 50px #ff0000, 0 0 100px #ff0000, 0 0 150px #ff0000;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* New Life Message */
.new-life-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 150;
    display: none;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    background: rgba(0, 20, 40, 0.85);
    border-radius: 20px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5),
                inset 0 0 30px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: floatMessage 3s infinite alternate;
}

@keyframes floatMessage {
    from {
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.5),
                    inset 0 0 30px rgba(0, 255, 255, 0.2);
        transform: translate(-50%, -50%) translateY(0px);
    }
    to {
        box-shadow: 0 0 70px rgba(0, 255, 255, 0.8),
                    inset 0 0 40px rgba(0, 255, 255, 0.3);
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

.message-content {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.message-text {
    font-size: 2.5rem;
    margin: 15px 0;
    text-shadow: 0 0 10px #00ffff, 
                 0 0 20px #00ffff,
                 0 0 30px #0088ff;
    animation: textGlow 2s infinite alternate;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px currentColor,
                     0 0 20px currentColor;
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }
    to {
        text-shadow: 0 0 20px currentColor,
                     0 0 40px currentColor,
                     0 0 60px currentColor;
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }
}

.message-text:nth-child(1) { animation-delay: 0.5s; color: #ff5555; }
.message-text:nth-child(2) { animation-delay: 1s; color: #55ff55; }
.message-text:nth-child(3) { animation-delay: 1.5s; color: #5555ff; }
.message-text:nth-child(4) { animation-delay: 2s; color: #ffff55; }

.signature {
    font-size: 2rem;
    margin-top: 30px;
    color: #00ffff;
    font-style: italic;
    text-shadow: 0 0 15px #00ffff;
    animation: signaturePulse 2s infinite;
}

@keyframes signaturePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Fireworks container */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

/* Confetti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    opacity: 0;
    z-index: 40;
}

/* Terminal effect */
.terminal-line {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: #00ff00;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    opacity: 0.7;
}

.terminal-line::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Countdown complete effect */
@keyframes explode {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .countdown-display {
        font-size: 2.5rem;
        grid-template-columns: auto auto auto auto;
        gap: 5px;
    }
    
    .label {
        font-size: 1.2rem;
        min-width: 70px;
    }
    
    .number {
        min-width: 60px;
    }
    
    .new-year-message {
        font-size: 3rem;
    }
    
    .new-life-message {
        width: 95%;
        padding: 20px;
    }
    
    .message-text {
        font-size: 1.8rem;
        margin: 10px 0;
    }
    
    .signature {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .message-text {
        font-size: 1.5rem;
    }
    
    .new-life-message {
        padding: 15px;
    }
    
    .countdown-display {
        font-size: 2rem;
        grid-template-columns: auto auto auto auto;
        gap: 3px;
    }
    
    .label {
        font-size: 1rem;
        min-width: 50px;
    }
    
    .number {
        min-width: 45px;
    }
}