body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    padding: 0 2vw;
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #fff;
    font-family: 'Orbitron', Arial, sans-serif;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.background-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #61dafb44 0%, #23252600 80%);
    filter: blur(40px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.clock {
    display: flex;
    align-items: center;
    border: 0.3rem solid #61dafb;
    border-radius: 2rem;
    padding: 2.5rem 3.5rem;
    box-shadow: 0 0 40px #61dafb55, 0 0 10px #000a;
    background: rgba(40,44,52,0.45);
    font-size: 4rem;
    letter-spacing: 0.1em;
    transition: transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(10px) saturate(120%);
    position: relative;
    z-index: 1;
}

.clock:hover {
    transform: scale(1.03);
    box-shadow: 0 0 80px #61dafb99, 0 0 20px #000a;
}

.clock span {
    display: inline-block;
    min-width: 2ch;
    text-align: center;
    text-shadow: 0 0 20px #61dafb, 0 0 40px #61dafb55;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #61dafb, 0 0 20px #61dafb55; }
    to { text-shadow: 0 0 30px #61dafb, 0 0 60px #61dafb99; }
}

.colon {
    animation: blink 1s steps(1) infinite;
    color: #61dafb;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.date-container {
    margin-top: 2rem;
    font-size: 1.5rem;
    padding: 0.7rem 2rem;
    border-radius: 1rem;
    color: #61dafb;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px #61dafb55;
    background: rgba(40,44,52,0.45);
    box-shadow: 0 0 20px #61dafb22;
    backdrop-filter: blur(6px) saturate(120%);
    z-index: 1;
}

#toggleFormat {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    padding: 0.5rem 2rem;
    border-radius: 1rem;
    border: none;
    background: #61dafb;
    color: #232526;
    font-family: 'Orbitron', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 0 10px #61dafb55;
    transition: background 0.2s, color 0.2s;
}

#toggleFormat:hover {
    background: #4fa8c9;
}

:root {
    --bg-color: #232526;
    --text-color: #fff;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(40,44,52,0.45);
    padding: 1rem;
    border-radius: 1rem;
    backdrop-filter: blur(6px);
}

button, select, input {
    background: #61dafb;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: #232526;
    font-family: 'Orbitron', Arial, sans-serif;
    cursor: pointer;
    margin: 0.5rem;
}

button:hover {
    background: #4fa8c9;
}

@media (max-width: 600px) {
    .clock {
        font-size: 2.2rem;
        padding: 1.2rem 0.7rem;
    }
    .date-container {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
    }
    #toggleFormat {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
}