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

:root {
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.5);
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
}

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

body {
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Blobs */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
    animation: float 20s infinite alternate;
}

.blob-1 { top: -100px; left: -100px; }
.blob-2 { bottom: -100px; right: -100px; background: #3b82f6; }

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    transform: translateY(20px);
    opacity: 0;
    animation: entrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

#particleCanvas {
    width: 100%;
    height: 180px;
    margin-bottom: 1.5rem;
    display: block;
}

p {
    color: var(--text-dim);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--primary-glow);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--primary-glow);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(0);
}

/* Micro-interaction for the card */
.container:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

/* Responsive */
@media (max-width: 640px) {
    .container { padding: 2.5rem 1.5rem; }
}

#status-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    z-index: 100;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.status-item .icon {
    font-size: 1rem;
}

/* Responsive Status Bar */
@media (max-width: 640px) {
    #status-bar {
        bottom: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
        border-radius: 1.5rem;
        width: 90%;
        align-items: center;
    }
}
