/* Loading Page Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #0B192C 50%, #1E3E62 100%);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    text-align: center;
}

.loading-logo {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Red Hat Display', sans-serif;
    display: inline-block;
    letter-spacing: -0.1em;
}

.loading-logo .char {
    display: inline-block;
    opacity: 0;
    animation: charAppear 0.6s ease-out forwards;
    margin: 0;
    padding: 0;
}

.loading-logo .char:nth-child(1),
.loading-logo .char:nth-child(2),
.loading-logo .char:nth-child(3) {
    color: #FF6500; /* Turuncu </> */
}

.loading-logo .char:nth-child(4),
.loading-logo .char:nth-child(5),
.loading-logo .char:nth-child(6) {
    color: #ffffff; /* Beyaz GYT */
}

.loading-logo .char:nth-child(1) { animation-delay: 0.2s; }
.loading-logo .char:nth-child(2) { animation-delay: 0.4s; }
.loading-logo .char:nth-child(3) { animation-delay: 0.6s; }
.loading-logo .char:nth-child(4) { animation-delay: 0.8s; }
.loading-logo .char:nth-child(5) { animation-delay: 1.0s; }
.loading-logo .char:nth-child(6) { animation-delay: 1.2s; }

/* Animations */
@keyframes charAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loading-logo {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        font-size: 2.5rem;
    }
}
