/* Modern CSS Variables & Design Tokens */
:root {
    --bg-color: #05060d;
    --text-color: #f3f4f6;
    --primary-glow: #7c3aed; /* Violet */
    --secondary-glow: #06b6d4; /* Cyan */
    --accent-glow: #ec4899; /* Pink */
    --font-family: 'Outfit', sans-serif;
    
    /* Animation Reduced-Motion fallback setup */
    --animation-duration-normal: 1s;
    --animation-duration-slow: 20s;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --animation-duration-normal: 0s;
        --animation-duration-slow: 0s;
    }
}

/* Base resets & layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glow Background Orbs */
.glow-container {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 15%;
    left: 10%;
    animation: floatOrb1 var(--animation-duration-slow) infinite ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    bottom: 10%;
    right: 15%;
    animation: floatOrb2 var(--animation-duration-slow) infinite ease-in-out;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb3 var(--animation-duration-slow) infinite ease-in-out;
}

/* Mouse spotlight glow style */
.mouse-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Container for main content */
.container {
    position: relative;
    z-index: 3;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

/* Glassmorphism Card styling */
.glass-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(124, 58, 237, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Typography & Animated Title */
h1.text-gradient {
    font-size: clamp(2rem, 1rem + 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(
        135deg, 
        #ffffff 10%, 
        #a78bfa 50%, 
        #22d3ee 90%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Pulse/Status indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981; /* Green */
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
}

/* KEYFRAMES FOR ANIMATIONS */

/* floating animations for ambient background orbs */
@keyframes floatOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, 80px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 120px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatOrb2 {
    0% {
        transform: translate(0, 0) scale(1.05);
    }
    33% {
        transform: translate(-120px, -70px) scale(0.9);
    }
    66% {
        transform: translate(60px, -150px) scale(1.15);
    }
    100% {
        transform: translate(0, 0) scale(1.05);
    }
}

@keyframes floatOrb3 {
    0% {
        transform: translate(-50%, -50%) scale(0.95) rotate(0deg);
    }
    50% {
        transform: translate(-45%, -55%) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95) rotate(360deg);
    }
}

/* text gradient moving shine */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* status dot pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}
