/* ==========================================================================
   COMPUZEE TECHNOLOGIES - 2-SECOND AI SPLASH LOADER SYSTEM
   ========================================================================== */

#compuzee-ai-loader.ai-splash-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999999 !important;
    background: #02040a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    overflow: hidden !important;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease !important;
    pointer-events: auto;
}

#compuzee-ai-loader.ai-splash-overlay.loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(1.05) !important;
}

/* Ambient Cyber Aura Holographic Backdrop */
.ai-splash-backdrop-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.16) 0%, rgba(168, 85, 247, 0.12) 40%, rgba(255, 0, 127, 0.08) 70%, transparent 85%);
    filter: blur(70px);
    pointer-events: none;
    animation: aiBackdropPulse 3s ease-in-out infinite alternate;
}

/* Center Content Container */
.ai-splash-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90vw;
}

/* Circular Emblem Hologram Wrapper */
.ai-emblem-wrapper {
    position: relative;
    width: 230px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .ai-emblem-wrapper {
        width: 185px;
        height: 185px;
        margin-bottom: 18px;
    }
}

/* Orbital Rotating AI Energy Rings */
.ai-energy-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ring-outer {
    inset: -14px;
    border: 2.5px solid transparent;
    border-top-color: #00f2fe;
    border-bottom-color: #ff007f;
    border-left-color: rgba(0, 242, 254, 0.35);
    border-right-color: rgba(255, 0, 127, 0.35);
    filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.85)) drop-shadow(0 0 25px rgba(255, 0, 127, 0.6));
    animation: aiRingSpin 3.5s linear infinite;
}

.ring-middle {
    inset: -6px;
    border: 2px solid transparent;
    border-left-color: #a855f7;
    border-right-color: #008cff;
    border-top-color: rgba(168, 85, 247, 0.4);
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.85));
    animation: aiRingSpinRev 2.4s linear infinite;
}

.ring-inner {
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 242, 254, 0.45);
    box-shadow: inset 0 0 25px rgba(0, 242, 254, 0.35), 0 0 25px rgba(168, 85, 247, 0.3);
    animation: aiInnerPulse 2s ease-in-out infinite alternate;
}

/* Central Emblem Frame */
.ai-logo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.9);
}

.ai-splash-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    animation: aiLogoBreath 2s ease-in-out infinite alternate;
}

/* AI Laser Hologram Scanning Beam */
.ai-laser-scanner {
    position: absolute;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.3) 15%, #00f2fe 50%, rgba(255, 0, 127, 0.8) 85%, transparent 100%);
    box-shadow: 0 0 12px #00f2fe, 0 0 25px rgba(0, 242, 254, 0.8), 0 0 35px rgba(255, 0, 127, 0.5);
    filter: brightness(1.35);
    z-index: 5;
    pointer-events: none;
    animation: aiLaserScan 1.6s ease-in-out infinite alternate;
}

/* Tagline directly matching user artwork */
.ai-splash-tagline {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 22px !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    animation: aiTaglineFadeIn 0.8s ease forwards !important;
}

@media (max-width: 600px) {
    .ai-splash-tagline {
        font-size: 0.95rem !important;
    }
}

.ai-splash-tagline .tag-orange {
    color: #ff9d3b !important;
    text-shadow: 0 0 14px rgba(255, 157, 59, 0.5) !important;
    font-weight: 600 !important;
}

.ai-splash-tagline .tag-white {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
    font-weight: 500 !important;
}

.ai-splash-tagline .tag-cyan {
    color: #00d2ff !important;
    text-shadow: 0 0 16px rgba(0, 210, 255, 0.65) !important;
    font-weight: 600 !important;
}

/* AI Progress Indicator Track */
.ai-loader-track {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ai-loader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00f2fe 0%, #a855f7 50%, #ff007f 100%);
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.9);
    animation: aiProgressFill 2s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

/* Keyframe Animations */
@keyframes aiRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes aiRingSpinRev {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes aiInnerPulse {
    0% { box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.25), 0 0 15px rgba(168, 85, 247, 0.2); }
    100% { box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.55), 0 0 30px rgba(168, 85, 247, 0.45); }
}

@keyframes aiLogoBreath {
    0% { transform: scale(0.98); filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.3)); }
    100% { transform: scale(1.02); filter: drop-shadow(0 0 34px rgba(168, 85, 247, 0.6)); }
}

@keyframes aiLaserScan {
    0% { top: 0%; opacity: 0.3; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0.3; }
}

@keyframes aiProgressFill {
    0% { width: 0%; }
    40% { width: 55%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

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

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