/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Animated gradient background */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #667eea, #764ba2, #6dd5ed, #2193b0);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    overflow: hidden;
    color: #fff;
}

/* Background animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating circles */
body::before,
body::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

body::before {
    width: 300px;
    height: 300px;
    background: #ff6ec4;
    top: 10%;
    left: 15%;
}

body::after {
    width: 400px;
    height: 400px;
    background: #7873f5;
    bottom: 10%;
    right: 10%;
}

/* Glass card */
.container {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 500px;
    width: 90%;
    animation: fadeIn 1.5s ease;
}

/* Fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 8px 0;
}

.highlight {
    font-weight: 600;
    margin-top: 10px;
    color: #ffd369;
}

/* Loader with pulse + spin */
.loader {
    margin: 35px auto 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.2);
    border-top: 5px solid #fff;
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255,255,255,0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,255,255,0.9);
    }
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 30px 20px;
    }
}