.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
}

.page-loader.loaded {
    opacity: 0;
    transform: scale(1.1);
}

.page-loader.hidden {
    display: none;
}

.loader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.loader-particles span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #c9a96e;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.loader-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.loader-particles span:nth-child(2) { left: 30%; top: 60%; animation-delay: 0.4s; }
.loader-particles span:nth-child(3) { left: 50%; top: 30%; animation-delay: 0.8s; }
.loader-particles span:nth-child(4) { left: 70%; top: 70%; animation-delay: 1.2s; }
.loader-particles span:nth-child(5) { left: 85%; top: 40%; animation-delay: 1.6s; }
.loader-particles span:nth-child(6) { left: 20%; top: 80%; animation-delay: 0.6s; }
.loader-particles span:nth-child(7) { left: 60%; top: 15%; animation-delay: 1s; }
.loader-particles span:nth-child(8) { left: 90%; top: 85%; animation-delay: 1.4s; }

.loader-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.loader-logo {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #ffffff;
    opacity: 0;
    animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
    position: relative;
}

.loader-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
    animation: lineExpand 1.5s ease forwards 1s;
}

.loader-en {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    letter-spacing: 10px;
    text-transform: uppercase;
    opacity: 0;
    animation: sloganReveal 0.8s ease forwards 1.2s;
    font-weight: 300;
}

.loader-slogan {
    font-size: 1rem;
    color: #c9a96e;
    margin-top: 20px;
    letter-spacing: 8px;
    opacity: 0;
    animation: sloganReveal 1s ease forwards 2s;
    font-weight: 300;
}

.loader-keywords {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.loader-keywords span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #555;
    opacity: 0;
    transform: translateY(10px);
}

.loader-keywords span:nth-child(1) { animation: keywordIn 0.6s ease forwards 3s; }
.loader-keywords span:nth-child(2) { animation: keywordIn 0.6s ease forwards 3.3s; }
.loader-keywords span:nth-child(3) { animation: keywordIn 0.6s ease forwards 3.6s; }

.loader-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.loader-ring:nth-child(2) {
    width: 400px;
    height: 400px;
    animation-delay: 0.5s;
}

@keyframes logoReveal {
    from { opacity: 0; transform: translateY(20px) scale(0.95); letter-spacing: 20px; }
    to { opacity: 1; transform: translateY(0) scale(1); letter-spacing: 6px; }
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes sloganReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes keywordIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-30px) scale(2); }
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}
