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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 10;
    position: relative;
}

.content {
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo e engrenagens */
.logo-container {
    margin-bottom: 2rem;
}

.gear-container {
    position: relative;
    height: 80px;
    width: 80px;
    margin: 0 auto;
}

.gear {
    position: absolute;
    font-size: 3rem;
    color: #fff;
}

.gear-1 {
    top: 0;
    left: 10px;
    animation: spin 8s linear infinite;
}

.gear-2 {
    top: 20px;
    left: 40px;
    font-size: 2.5rem;
    animation: spin-reverse 6s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    100% { transform: rotate(-360deg); }
}

/* Título e texto */
h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.highlight {
    color: #fdbb2d;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #fdbb2d;
    border-radius: 10px;
}

.message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Barra de progresso */
.progress-container {
    margin: 2rem 0;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    width: 65%; /* Valor inicial, será atualizado pelo JavaScript */
    background: linear-gradient(90deg, #fdbb2d, #b21f1f);
    border-radius: 10px;
    transition: width 1s ease;
    animation: pulse 2s infinite;
}

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

.progress-text {
    font-size: 0.9rem;
    text-align: right;
}

/* Contador regressivo */
.countdown {
    margin: 2rem 0;
}

.countdown p {
    margin-bottom: 1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-block span:first-child {
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 70px;
}

.time-label {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Formulário de notificação */
.notification {
    margin: 2rem 0;
}

.notification p {
    margin-bottom: 1rem;
}

form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 60%;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    background: rgba(255, 255, 255, 0.3);
}

button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: #fdbb2d;
    color: #1a2a6c;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#form-message {
    margin-top: 1rem;
    color: #fdbb2d;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* Links sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fdbb2d;
    color: #1a2a6c;
    transform: translateY(-3px);
}

/* Botão do WhatsApp */
.whatsapp-button-container {
    margin-top: 2rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
    font-size: 1.2rem;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Partículas de fundo */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .content {
        width: 90%;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .time-block {
        min-width: 60px;
    }
    
    .time-block span:first-child {
        font-size: 1.5rem;
        min-width: 60px;
    }
    
    form {
        flex-direction: column;
        align-items: center;
    }
    
    input, button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .whatsapp-button {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .gear-1 {
        font-size: 2.5rem;
    }
    
    .gear-2 {
        font-size: 2rem;
    }
}