@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Light futuristic animated background */
.bg-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    animation: rotateBg 40s linear infinite;
    z-index: 1;
}

/* A subtle grid for tech essence */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    z-index: 2;
    mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1), transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1), transparent);
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Bright Glassmorphism Card */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 36px;
    padding: 5rem 4rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06), 
                inset 0 0 0 2px rgba(255, 255, 255, 0.6);
    
    max-width: 90%;
    width: 650px;
    animation: floating 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo-wrapper {
    margin-bottom: 3.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fading-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.06));
}

.main-container:hover .fading-logo {
    transform: scale(1.03) translateY(-4px);
}

/* Clean text with glowing fade in fade out */
.sparkle-text {
    font-size: 3.2rem;
    font-weight: 300;
    margin: 0;
    color: #1e293b;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    animation: textGlowFadeInOut 3s ease-in-out infinite alternate;
}

@keyframes textGlowFadeInOut {
    0% { 
        text-shadow: 0 0 0px rgba(56, 189, 248, 0), 
                     0 0 0px rgba(56, 189, 248, 0);
        color: #334155;
    }
    100% { 
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.6), 
                     0 0 25px rgba(56, 189, 248, 0.4), 
                     0 0 40px rgba(56, 189, 248, 0.2);
        color: #0f172a;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .main-container {
        padding: 3.5rem 2rem;
        width: 90%;
        border-radius: 28px;
    }
    .sparkle-text {
        font-size: 2rem;
    }
    .fading-logo {
        max-width: 180px;
    }
    .logo-wrapper {
        margin-bottom: 2.5rem;
    }
}
