/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Deep dark teal/blue gradient background */
    background: radial-gradient(circle at center, #021a20 0%, #010105 100%);
    color: #fff;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
}

.splash-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(28, 185, 188, 0.4));
}

/* Enhanced Loader */
.loader {
    width: 240px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 10px rgba(28, 185, 188, 0.1);
}

.loader-bar {
    width: 100%;
    height: 100%;
    /* Bright teal gradient for the bar */
    background: linear-gradient(90deg, #1CB9BC, #2ce0e3);
    border-radius: 100px;
    animation: loading-enhanced 1.8s infinite ease-in-out;
    transform-origin: left;
}

@keyframes loading-enhanced {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

.status-text {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.fallback-link {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #8899a6;
    opacity: 0;
    animation: fade-in 0.5s ease-out 3s forwards;
}

.fallback-link a {
    color: #1CB9BC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.fallback-link a:hover {
    color: #2ce0e3;
    text-decoration: underline;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}