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

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.contenedor {
    position: relative;
}

.contenedor .circulo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: 2s ease-in infinite alternate;
}

.contenedor .circulo:nth-child(1) {
    width: 180px;
    height: 180px;
    top: -60px;
    left: -60px;
    background: linear-gradient(#e524c3, #8626b2);
    animation-name: mover-arriba;
}

@keyframes mover-arriba {
    to {
        transform: translateY(-10px);
    }
}

.contenedor .circulo:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(#d64612, #e48307);
    animation-name: mover-abajo;
}

@keyframes mover-abajo {
    to {
        transform: translateY(10px);
    }
}

.reloj {
    width: 350px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.reloj .reloj-fondo img {
    width: 100%;
    height: 100%;
}

.reloj::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px; 
    background: #fff;
    border-radius: 50%;
    z-index: 15;
}

.reloj .hora,
.reloj .minuto,
.reloj .segundo {
    position: absolute;
}

.reloj .hora,
.reloj .hora .hr {
    width: 160px;
    height: 160px;
}

.reloj .minuto,
.reloj .minuto .min {
    width: 190px;
    height: 190px;
}

.reloj .segundo,
.reloj .segundo .seg {
    width: 230px;
    height: 230px;
}

.reloj .hora .hr,
.reloj .minuto .min,
.reloj .segundo .seg {
    display: flex;
    justify-content: center;
    position: absolute;
    border-radius: 50%;
}

.reloj .hora .hr::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 80px;
    background: #ff3d68;
    z-index: 10;
    border-radius: 10px;
}

.reloj .minuto .min::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 90px;
    background: #39a2db;
    z-index: 11;
    border-radius: 8px;
}

.reloj .segundo .seg::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 140px;
    background: #fff;
    z-index: 12;
    border-radius: 2px;
}