/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.loader-name {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.first-name,
.last-name {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.first-name {
    color: rgba(255, 255, 255, 0.75);
    animation-delay: 0.2s;
}

.last-name {
    color: #b3a271;
    animation-delay: 0.4s;
}

.loader-bar {
    width: 300px;
    height: 3px;
    background: rgba(179, 162, 113, 0.2);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.6s;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, #b3a271, #d4c291);
    border-radius: 10px;
    animation: loadProgress 1.5s ease forwards;
    box-shadow: 0 0 10px rgba(179, 162, 113, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes loadProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
