* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.telegram-icon {
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.timer-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.timer-display {
    background: linear-gradient(135deg, #0088cc, #00d4aa);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(0, 136, 204, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: timerPulse 1s infinite ease-in-out;
}

.timer-display::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.timer-display span {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
    font-family: 'Arial', monospace;
}

@keyframes timerPulse {
    0% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(0, 136, 204, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 40px rgba(0, 136, 204, 0.6),
            inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(0, 136, 204, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
}

.message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.message span {
    font-weight: bold;
    color: #00d4aa;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: loading 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.hidden {
    display: none;
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .countdown-circle {
        width: 100px;
        height: 100px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    button {
        width: 100%;
    }
}