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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 60%);
    animation: pulse 5s ease-in-out infinite;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(255, 166, 0, 0.1) 0%, transparent 50%);
    opacity: 0.7;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.boxes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.box {
    position: absolute;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa600 100%);
    opacity: 0.9;
    animation: fall ease-in-out infinite, glow-box 2s ease-in-out infinite alternate;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4),
                0 0 60px rgba(255, 140, 66, 0.3),
                inset 0 0 20px rgba(255, 183, 0, 0.2);
    border-radius: 8px;
    transform-style: preserve-3d;
    will-change: transform;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 8px;
    opacity: 0.6;
}

@keyframes fall {
    0% {
        transform: translateY(-150px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(calc(100vh + 150px)) rotate(180deg) scale(1.1);
        opacity: 0;
    }
}

@keyframes glow-box {
    0% {
        filter: brightness(1) blur(0px);
    }
    100% {
        filter: brightness(1.3) blur(0.5px);
    }
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.title {
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: 0.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff3d00 0%, #ff6b35 25%, #ff8c42 50%, #ffa600 75%, #ffb700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate, textShine 3s linear infinite;
    background-size: 200% auto;
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 30px rgba(255, 61, 0, 0.8)) drop-shadow(0 0 60px rgba(255, 107, 53, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 50px rgba(255, 107, 53, 1)) drop-shadow(0 0 90px rgba(255, 140, 66, 0.7));
    }
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #ff8c42;
    letter-spacing: 0.3rem;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.6);
    font-weight: 600;
}

.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.time-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(0, 0, 0, 0.9) 100%);
    border: 3px solid transparent;
    border-radius: 25px;
    padding: 2.5rem 3.5rem;
    min-width: 180px;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 10px 50px rgba(255, 107, 53, 0.4),
                0 0 80px rgba(255, 140, 66, 0.2),
                inset 0 0 40px rgba(255, 140, 66, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
}

.time-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42, #ffa600);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlow 3s ease-in-out infinite;
}

.time-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.15), transparent);
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

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

.time-box:hover {
    transform: translateY(-20px) scale(1.08);
    box-shadow: 0 20px 70px rgba(255, 107, 53, 0.6),
                0 0 100px rgba(255, 140, 66, 0.4),
                inset 0 0 60px rgba(255, 140, 66, 0.15);
}

.time {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff3d00 0%, #ff8c42 50%, #ffa600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8));
}

.label {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    margin-top: 0.5rem;
    color: #ff8c42;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
        letter-spacing: 0.3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .time-box {
        padding: 1.5rem 2rem;
        min-width: 100px;
    }

    .time {
        font-size: 2.5rem;
    }

    .countdown {
        gap: 1rem;
    }
}
