*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top, #1f3b73, #0a10);
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.clock {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border: 10px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(255,255,255,0.05), 0 0 25px rgba(0, 153, 255,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

/*clock numbers*/
.clock span {
    position: absolute;
    transform: rotate(calc(30deg * var(--n)));
    inset: 18px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.clock span {
    transform: rotate(calc(-30deg * var(--n)));
    display: inline-block;
}

.clock span::before {
    content: attr(style);
    display: none;
}

/*Hands*/
.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    border-radius: 50px;
}
/*Hour Hand*/
.hour {
    width: 8px;
    height: 90px;
    background: white;
    z-index: 2;
}
/*Minute Hand*/
.minute {
    width: 6px;
    height: 120px;
    background: #60a5fa;
    z-index: 3;
}
/*Second Hand*/
.second {
    width: 3px;
    height: 140px;
    background: #ff3b3b;
    z-index: 4;
    box-shadow: 0 0 15px #ff3b3b;
}
/*center dot*/
.center-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px #fff;
}
/*Digital Time*/
.digital-time {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 3px;
    background: rgba(255,255,255,0.08);
    padding: 15px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 153, 255,0.3);
}
