﻿/*body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff6f61, #de4d4d, #2a5298);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.container {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 70px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(to right, #fff, #ffd700);
    -webkit-background-clip: text;
    color: transparent;
    animation: bounceIn 2s ease-out;
}

p {
    font-size: 26px;
    margin: 15px 0;
    opacity: 0.9;
    animation: fadeIn 3s ease-in-out;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.time-block {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s, box-shadow 0.4s;
    animation: popUp 1.5s ease-in-out forwards;
}

    .time-block:hover {
        transform: scale(1.15) rotate(5deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .time-block span {
        display: block;
        font-size: 50px;
        font-weight: bold;
    }

    .time-block small {
        font-size: 18px;
        text-transform: uppercase;
    }

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-item {
    position: absolute;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes popUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 40px;
    }

    p {
        font-size: 20px;
    }

    .time-block {
        padding: 15px;
    }

        .time-block span {
            font-size: 36px;
        }

        .time-block small {
            font-size: 14px;
        }
}
*/

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.container {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 1.5s ease-out;
}

h1 {
    font-size: 80px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 6px;
    background: linear-gradient(to right, #ffd700, #ffffff);
    -webkit-background-clip: text;
    color: transparent;
    animation: bounceIn 2s ease-out;
}

p {
    font-size: 28px;
    margin: 20px 0;
    opacity: 0.9;
    animation: fadeIn 2.5s ease-in-out;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.time-block {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 25px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s, box-shadow 0.4s;
    animation: popUp 1.5s ease-in-out forwards;
}

    .time-block:hover {
        transform: scale(1.2) rotate(8deg);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    }

    .time-block span {
        display: block;
        font-size: 60px;
        font-weight: bold;
    }

    .time-block small {
        font-size: 20px;
        text-transform: uppercase;
    }

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-item {
    position: absolute;
    animation: float 10s infinite ease-in-out, spin 15s infinite linear;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-40px) translateX(20px);
    }

    50% {
        transform: translateY(-20px) translateX(-30px);
    }

    75% {
        transform: translateY(30px) translateX(10px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes popUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 50px;
    }

    p {
        font-size: 22px;
    }

    .time-block {
        padding: 20px;
    }

        .time-block span {
            font-size: 40px;
        }

        .time-block small {
            font-size: 16px;
        }

    .container {
        padding: 20px;
    }
}