:root {
    --bg-color: #f4f6fc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-1: #6366f1;
    /* Indigo */
    --accent-2: #d946ef;
    /* Fuchsia */
    --accent-3: #14b8a6;
    /* Teal */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

::selection {
    background: rgba(192, 38, 211, 0.3);
}

/* Ambient Background Animations */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    filter: blur(120px);
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite linear;
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    top: -200px;
    left: -150px;
    animation-duration: 25s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    bottom: -150px;
    right: -100px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(50px, -50px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 640px;
    padding: 24px;
    perspective: 1200px;
    /* For 3D tilt effect */
}

/* Glassmorphism Card styling */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(50px);
    will-change: transform;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    color: var(--text-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right, #4f46e5, #c026d3, #2dd4bf, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% auto;
    animation: shine 6s linear infinite;
}

@keyframes shine {
    to {
        background-position: 300% center;
    }
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 90%;
    margin-inline: auto;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 48px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #c026d3, #2dd4bf);
    border-radius: 8px;
    animation: loadProgress 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
    position: relative;
}

/* Glow on progress bar tip */
.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #2dd4bf;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.8;
}

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

@media (max-width: 640px) {
    .glass-card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .title {
        font-size: 2.5rem;
    }
}

/* Footer Styling */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 24px;
    text-align: center;
    z-index: 10;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer a {
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-2);
}