/* ================================================================
   ELEGANT LOGO INTRO ANIMATION (LIGHT LUXURY THEME)
   ================================================================ */

#siteIntro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background: radial-gradient(circle at center, #ffffff 0%, #fdfaf4 45%, #f6ede0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

#siteIntro.hide-intro {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    pointer-events: none;
}

.intro-logo-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px;
}

/* Warm Golden Glow Behind Logo */
.intro-logo-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(247, 206, 104, 0.5) 0%, rgba(194, 130, 19, 0.18) 50%, transparent 75%);
    border-radius: 50%;
    filter: blur(28px);
    animation: pulseGlow 2.5s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Logo Box & Image Animation */
.intro-logo-box {
    position: relative;
    width: 155px;
    height: 155px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(194, 130, 19, 0.32));
    animation: logoFloat 3s ease-in-out infinite;
}

/* Brand Name & Tagline (Light Theme) */
.intro-brand-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a0b04;
    letter-spacing: 2px;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 8px rgba(194, 130, 19, 0.15);
    animation: textFadeIn 0.8s ease-out 0.2s both;
}

.intro-tagline {
    font-size: 0.92rem;
    font-weight: 800;
    color: #a46b0a;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: textFadeIn 0.8s ease-out 0.35s both;
}

.intro-tagline i {
    color: #c28213;
    font-size: 0.82rem;
}

/* Slim Gold Progress Bar (Light Theme) */
.intro-loader-line {
    width: 140px;
    height: 4px;
    background: #ebdacf;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    animation: textFadeIn 0.8s ease-out 0.45s both;
}

.intro-loader-progress {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #c28213, #f7ce68, #c28213, transparent);
    animation: progressFill 1.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    border-radius: 10px;
}

/* Keyframe Animations */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.65) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .intro-logo-box {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }
    .intro-brand-name {
        font-size: 1.75rem;
    }
    .intro-tagline {
        font-size: 0.8rem;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }
    .intro-loader-line {
        width: 110px;
    }
}

@media (max-width: 480px) {
    .intro-logo-box {
        width: 95px;
        height: 95px;
        margin-bottom: 12px;
    }
    .intro-brand-name {
        font-size: 1.45rem;
    }
    .intro-tagline {
        font-size: 0.72rem;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }
    .intro-loader-line {
        width: 90px;
    }
}
