/* 1. CONFIG & VARIABLES */
:root {
    --bg-deep: #050505;
    --glass-bg: rgba(20, 20, 25, 0.4); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    /* Gradient Colors */
    --grad-start-1: #4338ca; --grad-mid-1: #c026d3; --grad-end-1: #4f46e5;
    --grad-start-2: #0891b2; --grad-mid-2: #2563eb; --grad-end-2: #7c3aed;
    
    /* 🌿 True Green (Cyber Green) */
    --core-green: #00e676; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    height: 100vh; width: 100%;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden; position: relative;
}

/* 2. BACKGROUND */
.bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }

.bg-grid {
    position: absolute; width: 200%; height: 200%; top: -50%; left: -50%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    transform: perspective(500px) rotateX(20deg) translateY(-50px) translateZ(-100px);
    opacity: 0.5;
}

/* --- 🔥 BLOBS & ANIMATION 🔥 --- */
.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.blob-1 {
    width: 700px; height: 700px;
    background: linear-gradient(135deg, var(--grad-start-1), var(--grad-mid-1), var(--grad-end-1));
    top: -100px; left: -100px;
    animation: move-wild-1 18s infinite ease-in-out;
}

.blob-2 {
    width: 650px; height: 650px;
    background: linear-gradient(225deg, var(--grad-start-2), var(--grad-mid-2), var(--grad-end-2));
    bottom: -100px; right: -100px;
    animation: move-wild-2 20s infinite ease-in-out;
}

.blob-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--core-green) 0%, transparent 60%);
    top: 50%; left: 50%;
    opacity: 0.35;
    filter: blur(90px);
    z-index: 1; border-radius: 50%;
    animation: move-wild-3 15s infinite ease-in-out;
}

/* 3. GLASS CARD UI */
.glass-panel {
    position: relative; z-index: 10;
    width: 100%; max-width: 460px; padding: 3rem 2.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); border-top: 1px solid var(--glass-highlight);
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
    text-align: center;
    animation: scaleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- ✨ LOGO SHIMMER EFFECT ✨ --- */
.logo-area {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2rem;
    background: rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.logo-area::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shimmer-continuous 3s infinite linear;
    pointer-events: none;
}

.logo-icon {
    position: relative; z-index: 2;
    width: 20px; height: 20px; margin-right: 10px; background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E") no-repeat center;
}
.logo-text { 
    position: relative; z-index: 2;
    font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; 
}

h1 {
    font-size: 2.5rem; font-weight: 600; margin-bottom: 0.75rem; color: white; letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, #cbd5e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
p.subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 2.5rem; }

.status-container { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.status-pill {
    display: flex; align-items: center; gap: 8px; padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px; color: #4ade80; font-size: 0.8rem; font-weight: 600;
}
.pulse {
    width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.4); animation: pulse-dot 2s infinite;
}

.btn {
    display: block; width: 100%; padding: 16px; border-radius: 14px;
    font-size: 1rem; font-weight: 600; text-decoration: none;
    transition: all 0.25s ease; text-align: center;
}
.btn-primary { background: #ffffff; color: #000000; margin-bottom: 12px; border: 1px solid transparent; }
.btn-primary:hover { background: #e2e8f0; transform: translateY(-2px); box-shadow: 0 10px 25px -10px rgba(255, 255, 255, 0.3); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); color: white; }
.footer { margin-top: 2.5rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); }

/* --- ANIMATIONS --- */
@keyframes move-wild-1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(250px, 150px) scale(1.2) rotate(45deg); }
    66% { transform: translate(100px, 400px) scale(0.8) rotate(90deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes move-wild-2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-300px, -100px) scale(0.9); }
    66% { transform: translate(-100px, -350px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes move-wild-3 {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(-20%, -70%) scale(1.3) rotate(20deg); }
    50% { transform: translate(-80%, -30%) scale(0.9) rotate(-20deg); }
    75% { transform: translate(-30%, -60%) scale(1.2) rotate(10deg); }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

@keyframes shimmer-continuous {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}