@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

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

html,
body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    color: white;
    background: #000;
}

#magic {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
}

.content {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 15px;
    text-align: center;
    animation: glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.2);
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                     0 0 20px rgba(255, 255, 255, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.6),
                     0 0 40px rgba(255, 255, 255, 0.4),
                     0 0 50px rgba(100, 200, 255, 0.3);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 3px;
    font-weight: 300;
}

.countdown {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-value {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    opacity: 0.7;
}

.hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0.6;
    letter-spacing: 2px;
    z-index: 3;
    animation: pulse 2s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .countdown {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90%;
    }

    .countdown-item {
        padding: 12px 18px;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .hint {
        font-size: 0.65rem;
        bottom: 20px;
    }
}