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

body {
    background-color: #000000;
    color: #0044ff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    width: 100vw;
    height: 100vh;
    padding: 3vh 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* --- SEÇÃO PRINCIPAL (BRASÍLIA -> RELÓGIO -> DATA) --- */
.header-main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

h1 {
    font-size: clamp(1.8rem, 3.2vw, 4.2rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clock-main {
    font-size: clamp(6rem, 18vw, 24rem);
    font-weight: bold;
    line-height: 0.95;
    margin: 1vh 0;
}

.date-display {
    font-size: clamp(1.8rem, 3.8vw, 5rem);
    font-weight: normal;
    margin-top: 0.5rem;
}

/* --- GRID DOS FUSOS HORÁRIOS SECUNDÁRIOS --- */
.clocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 3600px;
    gap: 2vw;
    text-align: center;
    margin-top: 2vh;
}

.clock-card h2 {
    font-size: clamp(1rem, 1.6vw, 2.2rem);
    margin-bottom: 0.3rem;
}

.clock-sub {
    font-size: clamp(2.5rem, 5.5vw, 8rem);
    font-weight: bold;
}

/* --- RODAPÉ --- */
.footer {
    text-align: center;
    padding-bottom: 1vh;
}

.footer p, .footer a {
    font-size: clamp(0.9rem, 1.2vw, 1.8rem);
    color: #0044ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
