/* === LOADER === */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: linear-gradient(135deg, #0f1115, #1a1c22);
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader {
    position: relative;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: loaderPulse 2s ease-in-out infinite;
}

/* Логотип NATURERAGE */
.loader-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(
        135deg,
        #d6940d,
        #faa608
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    animation: logoGlow 2s ease-in-out infinite;
    line-height: 1;
}

.loader-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 6px;
    color: #c1c9d2;
}

/* Вращающееся кольцо */
.loader-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #d6940d;
    animation: ringRotate 2s linear infinite;
}

.loader-ring::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #faa608;
    animation: ringRotate 3s linear infinite reverse;
}

/* Анимации */
@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(214, 148, 13, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(214, 148, 13, 0.8));
    }
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Состояние загруженной страницы */
.loaded #loader-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s;
}

/* === Адаптивность === */
@media (max-width: 768px) {
    .loader-logo {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .loader-subtitle {
        font-size: 0.7rem;
        letter-spacing: 5px;
    }
    
    .loader-ring {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .loader-subtitle {
        font-size: 0.65rem;
        letter-spacing: 3px;
    }
    
    .loader-ring {
        width: 120px;
        height: 120px;
    }
}

