/* DevRuxo_Cronometro/assets/css/embreve.css */

/* --- CONFIGURAÇÕES GERAIS (TRAVAMENTO TOTAL) --- */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* BLOQUEIA ROLAGEM (Scroll) */
    touch-action: none; /* BLOQUEIA GESTOS DE ARRASTAR NO CELULAR */
    background-color: var(--dark-bg);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Container centralizado */
.coming-soon-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 20px; /* Margem de segurança */
}

/* O Box Principal */
.coming-soon-box {
    background-color: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    
    /* --- AQUI ESTÁ O TRUQUE DO "MAIS DISTANTE" --- */
    width: 100%;
    max-width: 600px; /* Limite menor para parecer mais longe no PC */
    position: relative;
}

.coming-soon-box h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--orange);
    margin-bottom: 15px;
    line-height: 1.1;
}

.coming-soon-box p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.5;
    margin-bottom: 25px;
}

.coming-soon-box p strong {
    color: var(--light-text);
    font-weight: 600;
}

/* --- ESTILO DO CONTADOR (COUNTDOWN) --- */
#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 65px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.time-block span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.time-block small {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--orange);
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- CHUVA DE PALAVRAS --- */
#spoilers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.falling-word {
    position: absolute;
    top: -50px;
    color: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    user-select: none;
    animation: fall linear forwards;
    font-family: var(--font-family);
}

.falling-word.urgent {
    color: rgba(251, 35, 0, 0.25);
    text-shadow: 0 0 10px rgba(251, 35, 0, 0.1);
}

@keyframes fall {
    to { transform: translateY(110vh) rotate(10deg); }
}

/* --- TELA DE CARREGAMENTO --- */
.loading-state {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--orange);
    border-radius: 50%;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.refresh-msg {
    color: var(--light-text);
    font-weight: 700;
    font-size: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* --- RESPONSIVIDADE AGRESSIVA (CELULAR) --- */
@media (max-width: 768px) {
    .coming-soon-box {
        /* Força o visual "Pequeno" no meio da tela */
        padding: 25px 15px; 
        max-width: 340px; /* Trava a largura bem pequena */
        width: 90%; /* Garante margem lateral */
    }

    .coming-soon-box h1 {
        font-size: 1.5rem; /* Título bem menor */
        margin-bottom: 10px;
    }

    .coming-soon-box p {
        font-size: 0.8rem; /* Texto pequeno */
        margin-bottom: 20px;
    }

    /* Relógio Miniatura */
    #countdown-timer {
        gap: 8px;
        margin: 20px 0;
    }

    .time-block {
        min-width: auto;
        padding: 8px 4px;
        flex: 1;
    }

    .time-block span {
        font-size: 1.3rem;
    }

    .time-block small {
        font-size: 0.5rem;
    }

    /* Botão menor */
    #social-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
}