/*--------------------------------------------------------------
# Theme Information
--------------------------------------------------------------*/
/*!
 * Theme Name     : Vraj's Lab Theme
 * Description    : A modern, responsive, and professional theme designed and developed by Vraj Surani.
 * Author         : Vraj Surani
 * Contact        : +91 97240 85965
 * Email          : Vrajsurani606@gmail.com
 * LinkedIn       : https://in.linkedin.com/in/vraj-surani-1506vraj
 * Created On     : October 2025
 * Version        : 1.0.0
 * 
 * --------------------------------------------------------------
 * © 2025 Vraj Surani. All Rights Reserved.
 * This theme and its files are the intellectual property of Vraj Surani.
 * Unauthorized reproduction, distribution, or modification of this code 
 * in any form is strictly prohibited without written permission.
 * --------------------------------------------------------------
 */

 
/* Ultra 3D Earth Loader Animation */
.loader-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, #0a0a23 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%),
        linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, transparent 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
    overflow: hidden;
}

.earth-loader {
    position: relative;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: loaderFloat 4s ease-in-out infinite;
}

.earth {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 40px auto;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.6) 0%, transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(0,0,0,0.3) 0%, transparent 40%),
        linear-gradient(135deg, #4a90e2 0%, #357abd 25%, #2d5aa0 50%, #1e5f99 75%, #0f3460 100%);
    box-shadow: 
        inset -20px -20px 40px rgba(0,0,0,0.7),
        inset 15px 15px 30px rgba(255,255,255,0.2),
        0 0 60px rgba(74, 144, 226, 0.8),
        0 0 120px rgba(74, 144, 226, 0.4),
        0 0 180px rgba(74, 144, 226, 0.2);
    animation: earthRotate3D 8s linear infinite;
    overflow: hidden;
    transform-style: preserve-3d;
    filter: drop-shadow(0 20px 40px rgba(74, 144, 226, 0.3));
}

.earth::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: 
        conic-gradient(from 0deg, 
            rgba(74, 144, 226, 0.3) 0deg,
            transparent 60deg,
            rgba(74, 144, 226, 0.2) 120deg,
            transparent 180deg,
            rgba(74, 144, 226, 0.3) 240deg,
            transparent 300deg,
            rgba(74, 144, 226, 0.2) 360deg
        );
    animation: atmosphereRotate 6s linear infinite reverse;
    filter: blur(3px);
}

.earth-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.5) 0%, transparent 50%),
        conic-gradient(from 45deg, 
            #2d5aa0 0deg, 
            #4a90e2 45deg, 
            #357abd 90deg, 
            #2d5aa0 135deg, 
            #1e5f99 180deg,
            #4a90e2 225deg,
            #357abd 270deg,
            #2d5aa0 315deg,
            #2d5aa0 360deg
        );
    animation: earthSurface3D 12s linear infinite;
    transform-style: preserve-3d;
    opacity: 0.9;
}

.earth-inner::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 8%;
    width: 30%;
    height: 20%;
    background: 
        radial-gradient(ellipse, #1e5f99 0%, #2d5aa0 50%, transparent 100%);
    border-radius: 60% 40% 70% 30%;
    opacity: 0.8;
    animation: continentMove3D 10s linear infinite;
    transform-style: preserve-3d;
}

.earth-inner::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 12%;
    width: 25%;
    height: 25%;
    background: 
        radial-gradient(ellipse, #0f3460 0%, #1e5f99 60%, transparent 100%);
    border-radius: 50% 70% 30% 50%;
    opacity: 0.7;
    animation: continentMove3D 10s linear infinite reverse;
    transform-style: preserve-3d;
}

.earth-glow {
    position: absolute;
    top: -25px;
    left: -25px;
    width: calc(100% + 50px);
    height: calc(100% + 50px);
    border-radius: 50%;
    background: 
        radial-gradient(circle at 35% 35%, rgba(74, 144, 226, 0.6) 0%, transparent 40%),
        radial-gradient(circle, rgba(74, 144, 226, 0.3) 0%, transparent 70%);
    animation: glow3D 4s ease-in-out infinite alternate;
    filter: blur(4px);
    transform-style: preserve-3d;
}

.orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border: 3px solid transparent;
    border-top: 3px solid rgba(74, 144, 226, 0.8);
    border-right: 3px solid rgba(74, 144, 226, 0.4);
    border-radius: 50%;
    animation: orbitRotate3D 5s linear infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.5));
}

.orbit::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
    border-left: 2px solid rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    animation: orbitRotate3D 7s linear infinite reverse;
}

.satellite {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: 
        radial-gradient(circle, #ffffff 0%, #4a90e2 70%, #1e5f99 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 1),
        0 0 40px rgba(74, 144, 226, 0.9),
        0 0 60px rgba(74, 144, 226, 0.5);
    transform: translateX(-50%);
    animation: satellitePulse3D 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* Ultra 3D Animations */
@keyframes loaderFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(5deg); }
}

@keyframes earthRotate3D {
    0% { transform: rotateY(0deg) rotateX(15deg) rotateZ(0deg); }
    25% { transform: rotateY(90deg) rotateX(10deg) rotateZ(5deg); }
    50% { transform: rotateY(180deg) rotateX(15deg) rotateZ(0deg); }
    75% { transform: rotateY(270deg) rotateX(20deg) rotateZ(-5deg); }
    100% { transform: rotateY(360deg) rotateX(15deg) rotateZ(0deg); }
}

@keyframes earthSurface3D {
    0% { transform: rotateZ(0deg) scale(1); }
    25% { transform: rotateZ(-90deg) scale(1.02); }
    50% { transform: rotateZ(-180deg) scale(1); }
    75% { transform: rotateZ(-270deg) scale(0.98); }
    100% { transform: rotateZ(-360deg) scale(1); }
}

@keyframes atmosphereRotate {
    0% { transform: rotateZ(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotateZ(180deg) scale(1.1); opacity: 0.6; }
    100% { transform: rotateZ(360deg) scale(1); opacity: 0.3; }
}

@keyframes continentMove3D {
    0% { transform: translateX(0) rotate(0deg) scale(1) rotateY(0deg); }
    25% { transform: translateX(-3px) rotate(90deg) scale(1.1) rotateY(15deg); }
    50% { transform: translateX(-6px) rotate(180deg) scale(1) rotateY(0deg); }
    75% { transform: translateX(-3px) rotate(270deg) scale(0.9) rotateY(-15deg); }
    100% { transform: translateX(0) rotate(360deg) scale(1) rotateY(0deg); }
}

@keyframes orbitRotate3D {
    0% { transform: rotateZ(0deg) rotateX(80deg) rotateY(0deg); }
    25% { transform: rotateZ(90deg) rotateX(75deg) rotateY(10deg); }
    50% { transform: rotateZ(180deg) rotateX(80deg) rotateY(0deg); }
    75% { transform: rotateZ(270deg) rotateX(85deg) rotateY(-10deg); }
    100% { transform: rotateZ(360deg) rotateX(80deg) rotateY(0deg); }
}

@keyframes glow3D {
    0% { 
        opacity: 0.7; 
        transform: scale(1) rotateZ(0deg); 
        filter: blur(4px) hue-rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2) rotateZ(180deg); 
        filter: blur(6px) hue-rotate(90deg); 
    }
    100% { 
        opacity: 0.7; 
        transform: scale(1) rotateZ(360deg); 
        filter: blur(4px) hue-rotate(180deg); 
    }
}

@keyframes satellitePulse3D {
    0% { 
        transform: translateX(-50%) scale(1) rotateY(0deg); 
        opacity: 1; 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); 
    }
    50% { 
        transform: translateX(-50%) scale(1.5) rotateY(180deg); 
        opacity: 0.8; 
        filter: drop-shadow(0 0 20px rgba(74, 144, 226, 1)); 
    }
    100% { 
        transform: translateX(-50%) scale(1) rotateY(360deg); 
        opacity: 1; 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); 
    }
}

/* Enhanced Loading Text with 3D Effect */
.earth-loader .loader-text {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) perspective(500px) rotateX(15deg);
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 
        0 0 15px rgba(74, 144, 226, 1),
        0 0 30px rgba(74, 144, 226, 0.6),
        0 5px 10px rgba(0, 0, 0, 0.5);
    animation: textPulse3D 3s ease-in-out infinite;
    text-transform: uppercase;
}

.earth-loader .loader-subtext {
    position: absolute;
    bottom: -85px;
    left: 50%;
    transform: translateX(-50%) perspective(500px) rotateX(10deg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(74, 144, 226, 0.8),
        0 2px 5px rgba(0, 0, 0, 0.3);
    animation: textPulse3D 3s ease-in-out infinite 1s;
}

@keyframes textPulse3D {
    0%, 100% { 
        opacity: 0.5; 
        transform: translateX(-50%) perspective(500px) rotateX(15deg) translateY(0); 
        filter: blur(0px);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) perspective(500px) rotateX(10deg) translateY(-3px); 
        filter: blur(0.5px);
    }
}

/* Enhanced Stars Background with 3D Depth */
.loader-mask::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(74,144,226,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(74,144,226,0.6), transparent),
        radial-gradient(3px 3px at 160px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 200px 90px, rgba(74,144,226,0.5), transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: stars3D 25s linear infinite;
    opacity: 0.4;
}

@keyframes stars3D {
    0% { transform: translateY(0) translateX(0) rotateZ(0deg); }
    25% { transform: translateY(-30px) translateX(10px) rotateZ(90deg); }
    50% { transform: translateY(-60px) translateX(0) rotateZ(180deg); }
    75% { transform: translateY(-90px) translateX(-10px) rotateZ(270deg); }
    100% { transform: translateY(-120px) translateX(0) rotateZ(360deg); }
}