* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #fcfcfc, #fdbb2d);
    min-block-size: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.container {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    max-inline-size: 90%;
    inline-size: 500px;
}

h1 {
    font-size: 2.8rem;
    margin-block-end: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.clock-container {
    position: relative;
    margin: 2rem auto;
    inline-size: 300px;
    block-size: 300px;
}

.clock-face {
    position: relative;
    inline-size: 100%;
    block-size: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.center-dot {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    inline-size: 15px;
    block-size: 15px;
    background: #fdbb2d;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 10px #fdbb2d;
}

.hand {
    position: absolute;
    inset-block-end: 50%;
    inset-inline-start: 50%;
    transform-origin: bottom;
    border-radius: 10px;
    transform: translateX(-50%);
}

.hour-hand {
    inline-size: 8px;
    block-size: 30%;
    background: #ffffff;
    z-index: 3;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

.minute-hand {
    inline-size: 6px;
    block-size: 40%;
    background: #ffffff;
    z-index: 2;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

.second-hand {
    inline-size: 2px;
    block-size: 45%;
    background: #fdbb2d;
    z-index: 1;
    box-shadow: 0 0 5px #fdbb2d;
}

.marking {
    position: absolute;
    inline-size: 3px;
    block-size: 12px;
    background: rgba(255, 255, 255, 0.7);
    inset-inline-start: 50%;
    transform: translateX(-50%);
}

.marking-12 {
    inset-block-start: 10px;
}

.marking-3 {
    inset-block-start: 50%;
    inset-inline-end: 10px;
    inset-inline-start: auto;
    transform: translateY(-50%) rotate(90deg);
}

.marking-6 {
    inset-block-end: 10px;
}

.marking-9 {
    inset-block-start: 50%;
    inset-inline-start: 10px;
    transform: translateY(-50%) rotate(90deg);
}

.digital-clock {
    font-size: 2.5rem;
    margin: 1.5rem 0;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.date-display {
    font-size: 1.2rem;
    margin-block-end: 1.5rem;
    opacity: 0.9;
}

.timezone {
    font-size: 1rem;
    opacity: 0.8;
    margin-block-start: 1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 187, 45, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(253, 187, 45, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(253, 187, 45, 0);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .clock-container {
        inline-size: 250px;
        block-size: 250px;
    }

    .digital-clock {
        font-size: 2rem;
    }

    .features {
        flex-direction: column;
    }

    .feature {
        margin: 0.5rem 0;
    }
}