/* 
 * ==========================================
 * ARQUIVO DE ESTILOS - SUPORTESISTEMA.COM
 * Tema: Futurista / Cyberpunk
 * ==========================================
 */

:root {
    --primary-color: #00f3ff;   /* Ciano Neon */
    --secondary-color: #bc13fe; /* Roxo Neon */
    --bg-color: #050510;        /* Fundo Profundo */
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    position: relative;
}

/* Background Grid */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: 0;
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* --- Container Principal --- */
.container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    margin-top: 5rem; /* Mantendo margem superior para espaçamento */
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

header {
    margin-bottom: 2rem; /* Reduzido levemente já que removemos o subtítulo daqui */
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-color);
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.glitch::before {
    left: 2px; text-shadow: -1px 0 #ff00c1;
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px; text-shadow: -1px 0 #00fff9;
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

h2 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

/* --- Relógio --- */
.clock-container {
    margin-bottom: 3rem;
}

.neon-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    color: #fff;
    /* Contorno sólido preto */
    -webkit-text-stroke: 2px rgba(0,0,0,0.8);
    text-shadow: 
        2px 2px 0px #000,
        0 0 10px rgba(0, 243, 255, 0.5);
}

/* --- Área Central (Antiga Contagem) --- */
.countdown-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Espaço entre o título Carregando e a Barra */
}

/* Novo estilo para "CARREGANDO..." centralizado */
.subtitle-central {
    font-size: 2.5rem; /* Aumentado para preencher melhor o espaço */
    color: var(--primary-color);
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 700;
    animation: pulse 2s infinite;
    
    /* Contorno para consistência visual com os números */
    -webkit-text-stroke: 1px rgba(0,0,0,0.5);
    text-shadow: 2px 2px 0px #000;
}

/* --- Barra de Progresso --- */
.progress-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.progress-container {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 3px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%; 
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    position: relative;
    transition: width 0.5s ease-out; 
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0) 25%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 75%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Orbitron', sans-serif;
}

/* --- Footer --- */
footer {
    position: relative;
    margin-top: 4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.loader-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    position: absolute;
    top: -20px;
    left: 0;
    animation: loading 3s infinite linear;
}

/* --- Animações --- */
@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}
@keyframes glitch-anim {
    0% { clip: rect(18px, 9999px, 81px, 0); }
    50% { clip: rect(57px, 9999px, 3px, 0); }
    100% { clip: rect(52px, 9999px, 83px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    50% { clip: rect(9px, 9999px, 38px, 0); }
    100% { clip: rect(88px, 9999px, 29px, 0); }
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .neon-text { font-size: 3.5rem; }
    .subtitle-central { font-size: 1.8rem; letter-spacing: 4px; }
    .container { padding: 1.5rem; margin-top: 2rem; }
}
