/* --- RESET E VARIÁVEIS GLOBAIS --- */
:root {
    --fundo-profundo: #070709;
    --fundo-container: #0f1115;
    --borda-sutil: rgba(197, 160, 89, 0.2);
    --ouro: #c5a059;
    --ouro-claro: #f3e5ab;
    --texto-principal: #e1e1e6;
    --texto-suave: #94949f;
    --brilho: rgba(197, 160, 89, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--fundo-profundo);
    color: var(--texto-principal);
    font-family: 'Georgia', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Fundo com efeito estelar/atmosférico sutil */
body::before {
    content: '';
    position: absolute;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at center, var(--brilho) 0%, transparent 60%);
    opacity: 0.5;
    z-index: -1;
    animation: pulsar 10s ease-in-out infinite alternate;
}

@keyframes pulsar {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.6; }
}

/* --- CONTAINER PRINCIPAL --- */
.container {
    background: var(--fundo-container);
    border: 1px solid var(--borda-sutil);
    padding: 50px 60px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 160, 89, 0.05);
    text-align: center;
    max-width: 540px;
    width: 90%;
    position: relative;
}

/* Detalhes de borda ornamentais minimalistas */
.container::after {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid rgba(197, 160, 89, 0.07);
    pointer-events: none;
}

/* --- CABEÇALHO --- */
.header-teoria h1 {
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--ouro);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.divine-line {
    width: 40px;
    height: 1px;
    background-color: var(--ouro);
    margin: 0 auto 35px auto;
    opacity: 0.6;
}

/* --- CORPO / CRONÓGRAFO --- */
.cronografo-box {
    margin: 30px 0;
}

.label-ciclo {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--texto-suave);
    margin-bottom: 15px;
}

#sol-display {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--ouro-claro);
    letter-spacing: 2px;
    margin: 10px 0 20px 0;
    text-shadow: 0 0 20px rgba(243, 229, 171, 0.15);
    font-variant-numeric: tabular-nums;
}

.sub {
    font-size: 0.9rem;
    color: var(--texto-suave);
    font-style: italic;
    opacity: 0.7;
}

/* --- RODAPÉ --- */
.footer-teoria {
    margin-top: 40px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--texto-suave);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.6;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--ouro);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--ouro);
    animation: piscar 3s infinite;
}

@keyframes piscar {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}