/* Loading Screen Styles */
#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

#loader-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: 600px;
    height: 400px;
}

/* Windmill */
.windmill {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.windmill-body {
    width: 80px;
    height: 200px;
    background: linear-gradient(to bottom, #e8e8e8 0%, #d0d0d0 100%);
    clip-path: polygon(30% 0%, 70% 0%, 85% 100%, 15% 100%);
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.windmill-door {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 40px;
    background: #5a0000;
    border-radius: 4px 4px 0 0;
}

.windmill-window {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 50%;
}

.windmill-blades {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    animation: rotateBlades 2s linear infinite;
}

.blade {
    position: absolute;
    width: 8px;
    height: 100px;
    background: linear-gradient(to bottom, #e31e24 0%, #dc143c 100%);
    border-radius: 4px;
    transform-origin: center 10px;
}

.blade:nth-child(1) {
    transform: rotate(0deg);
}

.blade:nth-child(2) {
    transform: rotate(90deg);
}

.blade:nth-child(3) {
    transform: rotate(180deg);
}

.blade:nth-child(4) {
    transform: rotate(270deg);
}

.blade-center {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 50%;
    border: 3px solid #e31e24;
    z-index: 10;
}

@keyframes rotateBlades {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bike Animation */
.bike {
    position: absolute;
    bottom: 50px;
    left: -150px;
    animation: bikePassing 4s ease-in-out infinite;
}

.bike svg {
    width: 120px;
    height: auto;
}

@keyframes bikePassing {
    0% {
        left: -150px;
    }
    50% {
        left: calc(50% - 60px);
    }
    100% {
        left: calc(100% + 150px);
    }
}

/* Loading Text */
.loading-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
}

.loading-text::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}

.amsterdam-text {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 4px;
}

.icmr-text {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e31e24 0%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}
