:root {
    /* Cores da Logomarca (Primária e Secundária) */
    --primary-color: #F28C28;
    /* Laranja Escavadeira/Construction */
    --secondary-color: #1A1A1D;
    /* Escuro/Azul Petróleo */
    --text-color: #FFFFFF;
    --glass-bg: rgba(26, 26, 29, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Container para tsParticles - Ficará entre o fundo e o card */
#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Para ficar acima do background original... */
}

/* Camada escura por cima do background para realçar o texto */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
    /* Colocando para trás, para o tsParticles brilhar por cima, ou vice-versa */
}

.maintenance-container {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 650px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
    animation: pulse 3s infinite alternate ease-in-out;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.03);
    }
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(242, 140, 40, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #E2E8F0;
}

.subtitle strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contador */
.countdown-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to bottom, #ffffff, #a0aec0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

.time-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CBD5E1;
}

/* Responsividade */
@media (max-width: 768px) {
    .maintenance-container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .countdown {
        gap: 1rem;
    }

    .time-value {
        font-size: 2.2rem;
    }

    .time-box {
        min-width: 60px;
    }
}