/* Simple Working Loading Screen */

/* Reset loader styles */
.loader * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main loader container */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Center container */
.loader-content {
    text-align: center;
}

.refined-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Logo */
.loader-logo-refined {
    width: 100px;
    height: 100px;
    position: relative;
}

.loader-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.logo-backdrop,
.logo-border {
    display: none;
}

/* Text */
.loader-text-refined {
    margin-top: 20px;
}

.text-line-1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.text-line-2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #4ecdc4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Progress bar */
.loading-indicator-refined {
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 20px auto;
}

.indicator-line {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #8b5cf6);
    width: 0;
    animation: loadProgress 2.5s ease-out forwards;
}

@keyframes loadProgress {
    to { width: 100%; }
}

.indicator-dot {
    display: none;
}

/* Percentage */
.loading-percentage {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: #8b5cf6;
    margin-top: 10px;
}

/* Simple fade in animation */
.refined-loader > * {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.loader-logo-refined {
    animation-delay: 0s;
}

.loader-text-refined {
    animation-delay: 0.2s;
}

.loading-indicator-refined {
    animation-delay: 0.4s;
}

.loading-percentage {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}