.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1B4332 0%, #2d5a45 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-content {
    text-align: center;
    animation: fadeInScale 0.8s ease;
}

.loader-logo {
    margin-bottom: 40px;
}

.logo-animation {
    position: relative;
    display: inline-block;
}

.stone-pattern {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.stone {
    width: 20px;
    height: 20px;
    background: #D4AF37;
    border-radius: 4px;
    animation: stoneFloat 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.stone-1 { animation-delay: 0s; }
.stone-2 { animation-delay: 0.2s; }
.stone-3 { animation-delay: 0.4s; }
.stone-4 { animation-delay: 0.6s; }
.stone-5 { animation-delay: 0.8s; }

@keyframes stoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.loader-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: #F7F3F0;
    margin: 0;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.loader-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #D4AF37;
    margin: 10px 0 0 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loader-progress {
    width: 200px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(247, 243, 240, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #D4AF37 0%, #f4d03f 100%);
    border-radius: 10px;
    animation: progressAnimation 2s ease forwards;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@keyframes progressAnimation {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #F7F3F0;
    opacity: 0.8;
    letter-spacing: 1px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}