* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #121212 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 120px;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    filter: drop-shadow(0 0 30px rgba(30, 215, 96, 0.3));
    z-index: 2;
    position: relative;
}

.glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 215, 96, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: 
        glowFadeIn 1.5s ease-out 0.3s forwards,
        pulse 2.5s ease-in-out 1s infinite;
    z-index: 1;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

/* Fade out animation before redirect */
.fade-out .logo {
    animation: fadeOutScale 0.6s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.fade-out .glow {
    animation: glowFadeOut 0.6s ease-in forwards;
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes glowFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Responsive sizing */
@media (min-width: 768px) {
    .logo {
        width: 160px;
    }
    
    .glow {
        width: 280px;
        height: 280px;
    }
}

@media (min-width: 1024px) {
    .logo {
        width: 180px;
    }
    
    .glow {
        width: 320px;
        height: 320px;
    }
}
