			.logo-wrap {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-wrap:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    position: relative;
    text-align: center;
    z-index: 10;
}

/* Avatar Animation */
.loading-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
    animation: float 3s ease-in-out infinite;
}

.loading-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f73f3;
    box-shadow: 0 0 30px rgba(15, 115, 243, 0.6),
                0 0 60px rgba(15, 115, 243, 0.4),
                inset 0 0 20px rgba(15, 115, 243, 0.3);
}

.avatar-ring, .avatar-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(15, 115, 243, 0.5);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

.avatar-ring {
    width: 170px;
    height: 170px;
    border-top-color: #0f73f3;
    border-right-color: transparent;
}

.avatar-ring-2 {
    width: 190px;
    height: 190px;
    border-bottom-color: #0ea5e9;
    border-left-color: transparent;
    animation-delay: 0.5s;
    animation-direction: reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
}

/* Loading Text */
.loading-text {
    margin-bottom: 50px;
}

.text-line {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
    animation: textGlow 2s ease-in-out infinite;
}

.bracket {
    color: #0f73f3;
    font-weight: bold;
    animation: bracketBlink 1s ease-in-out infinite;
}

.tag {
    color: #fff;
    text-shadow: 0 0 10px rgba(15, 115, 243, 0.8);
}

.loading-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(15, 115, 243, 0.5); }
    50% { text-shadow: 0 0 20px rgba(15, 115, 243, 0.9); }
}

@keyframes bracketBlink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

/* Progress Bar */
.progress-container {
    width: 400px;
    max-width: 90vw;
    margin: 0 auto;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0f73f3, #0ea5e9, #06b6d4);
    border-radius: 10px;
    width: 0%;
    animation: progressFill 3s ease-out forwards;
    box-shadow: 0 0 15px rgba(15, 115, 243, 0.8);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes progressGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 18px;
    font-weight: 600;
    color: #0f73f3;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(15, 115, 243, 0.6);
}

/* Code Rain Effect */
.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    opacity: 0.3;
    pointer-events: none;
}

.code-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: codefall 4s linear infinite;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.code-column span {
    color: #0f73f3;
    text-shadow: 0 0 5px rgba(15, 115, 243, 0.8);
}

@keyframes codefall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #0f73f3;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(15, 115, 243, 0.8);
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 0.5s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 1s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 0.3s; }
.particle:nth-child(6) { top: 70%; left: 40%; animation-delay: 0.8s; }
.particle:nth-child(7) { top: 50%; left: 90%; animation-delay: 1.2s; }
.particle:nth-child(8) { top: 10%; left: 60%; animation-delay: 0.6s; }

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

/* Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 115, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 115, 243, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Responsive */
@media (max-width: 768px) {
    .loading-avatar {
        width: 120px;
        height: 120px;
    }
    
    .avatar-ring {
        width: 140px;
        height: 140px;
    }
    
    .avatar-ring-2 {
        width: 160px;
        height: 160px;
    }
    
    .text-line {
        font-size: 24px;
    }
    
    .loading-subtitle {
        font-size: 12px;
    }
    
    .progress-container {
        width: 300px;
    }
}

.logo-wrap {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-wrap:hover {
    transform: scale(1.05);
    opacity: 0.8;
}