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

body {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(to bottom, #1e5799, #207cca, #2989d8, #1e5799);
    font-family: Arial, Helvetica, sans-serif;
}

/* Relógio */
h1 {
    color: #FFF;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.relogio {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.riscos {
    width: 100%;
    height: 100%;
    padding-left: 50%;
    padding-top: 50%;
    margin-top: -3px;
}

.risco {
    width: 145px;
    height: 5px;
    position: absolute;
    transform-origin: left;
    display: flex;
    justify-content: flex-end;
}

.risco .ponto {
    width: 15px;
    height: 100%;
    background-color: #FFF;
}

.ponteiros {
    width: 100%;
    height: 100%;
    padding-left: 50%;
    padding-top: 50%;
    margin-top: -100%;
}

.p {
    transform-origin: left;
    transform: rotate(0deg);
    border-radius: 50%;
    position: absolute;
}

.p_s {
    width: 100px;
    height: 3px;
    background-color: #F00;
}

.p_m {
    width: 120px;
    height: 7px;
    background-color: #FFF;
}

.p_h {
    width: 70px;
    height: 10px;
    background-color: #FFF;
}

.encaixe {
    width: 20px;
    height: 20px;
    background-color: #FFF;
    border-radius: 50%;
    position: absolute;
    margin-top: -5px;
    margin-left: -5px;
}

.digital {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFF;
    font-size: 32px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

footer:hover {
    color: rgba(255, 255, 255, 0.9);
}