#clock-container {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #ff4500; /* Fire-like glow */
    background: #fff; /* White background */
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

#clock-time-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#clock-time {
    font-size: 36px;
    transition: none; /* No animation for hours/minutes */
    text-shadow: none;
}

#clock-small {
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.8;
    color: #ff8c00;
}

#clock-date {
    font-size: 18px;
    margin-top: 5px;
    color: #222;
}

#toggle-24hr {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    background: #ff4500;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

#toggle-24hr:hover {
    background: #ff8c00;
}

/* Animation for changing seconds only */
#clock-seconds {
    font-size: 36px;
    transition: transform 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
    color: #ff4500;
}

/* Fire-like supernatural effect every 15 seconds */
.special-effect {
    text-shadow: 0 0 15px #ff4500, 0 0 25px #ff6347, 0 0 35px #ff8c00;
    animation: fireGlow 1s infinite alternate;
}

@keyframes fireGlow {
    0% { opacity: 1; text-shadow: 0 0 10px #ff4500; }
    50% { opacity: 0.8; text-shadow: 0 0 20px #ff6347; }
    100% { opacity: 1; text-shadow: 0 0 30px #ff8c00; }
}
