:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary: #3b82f6; /* Blue 500 */
    --primary-hover: #2563eb;
    --surface: rgba(30, 41, 59, 0.7); /* Slate 800 with opacity for glass */
    --surface-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    --radius: 16px;
    --font-main: 'Outfit', sans-serif;
    --success: #10b981;
    --danger: #ef4444;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Utilities */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }

/* Components */
.card {
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-danger { background: var(--danger); }
.btn-success { background: var(--success); }

input, textarea, select {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--surface-border);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
    font-family: inherit;
}
input:focus, textarea:focus {
    outline: 2px solid var(--primary);
    border-color: transparent;
}

/* Loading */
.loading-screen {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--surface-border);
}
.nav-brand { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.nav-links a { color: var(--text-color); text-decoration: none; margin-left: 1.5rem; opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
