.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s ease-out;
}

.loading-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.clock-icon {
    width: 80px;
    height: 80px;
    border: 4px solid var(--loading-text-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.clock-hand {
    position: absolute;
    background: var(--loading-text-color);
    transform-origin: bottom center;
    left: 50%;
    bottom: 50%;
    transform: translateX(-50%);
}

.clock-hand.hour {
    width: 4px;
    height: 25px;
    animation: spin 4s linear infinite;
}

.clock-hand.minute {
    width: 3px;
    height: 35px;
    animation: spin 1s linear infinite;
}

.handwritten-text {
    font-family: var(--header-font);
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--loading-text-color);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.no-animation .loading-container {
    transition: none;
}
