/* =========================================
   EVPC System - Auth Gateway
   Glassboard 3D Theme with Floating Core
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Orbitron:wght@700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --glass-highlight: inset 0 1px 2px rgba(255, 255, 255, 0.9);
    
    --text-main: #1a1e24;
    --text-muted: #4a5568;
    --accent: #2b6cb0;
    --secure-glow: rgba(43, 108, 176, 0.3);
    
    --blur-intensity: blur(16px) saturate(180%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main); line-height: 1.6; min-height: 100vh;
    display: flex; flex-direction: column;
    background: linear-gradient(135deg, #e2e8f0 0%, #edf2f7 50%, #cbd5e1 100%);
    background-size: 400% 400%; animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Navigation --- */
nav {
    position: sticky; top: 20px; z-index: 1000;
    max-width: 800px; margin: 0 auto 2rem auto; display: flex; justify-content: center;
    gap: 2rem; padding: 1rem 2.5rem; border-radius: 50px; background: var(--glass-bg);
    backdrop-filter: var(--blur-intensity); border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

nav a {
    text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem;
    padding: 0.5rem 1rem; border-radius: 20px; transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.9); color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-1px);
}

/* --- Content Wrapper & Header --- */
.content-wrapper {
    flex: 1; max-width: 1200px; margin: 0 auto; padding: 2rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%;
}

header {
    text-align: center; padding: 2rem; margin-bottom: 2rem;
}

header h1 {
    font-family: 'Orbitron', sans-serif; font-weight: 800; color: var(--text-main);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05); font-size: 3.5rem; letter-spacing: 4px; margin-bottom: 0.5rem;
}

header h2 {
    font-weight: 400; color: var(--text-muted); font-size: 1.5rem; letter-spacing: 2px;
}

/* --- The Auth Gateway Core (Personality Styling) --- */
.auth-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    /* Outer shadow for depth, inner glow for system tech vibe */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    position: relative;
    /* The slow, hovering system pulse */
    animation: floatAuth 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), inset 0 0 20px var(--secure-glow);
    transform: scale(1.02);
    border-color: var(--accent);
}

@keyframes floatAuth {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); box-shadow: 0 30px 50px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.8); }
    100% { transform: translateY(0px); }
}

.auth-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.auth-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Target the Google Identity Button Wrapper */
.auth-card .g_id_signin {
    display: flex;
    justify-content: center;
    transform: scale(1.1); /* Slightly enlarges the native Google button */
    transition: opacity 0.3s ease;
}

.auth-card .g_id_signin:hover {
    opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
    text-align: center; padding: 1.5rem; margin-top: auto; color: var(--text-muted); font-size: 0.9rem;
    background: var(--glass-bg); backdrop-filter: var(--blur-intensity); border-top: 1px solid var(--glass-border); width: 100%;
}

@media (max-width: 768px) {
    nav { flex-wrap: wrap; border-radius: 16px; padding: 1rem; width: 90%; gap: 1rem; }
    header h1 { font-size: 2.5rem !important; letter-spacing: 3px !important; }
    .auth-card { padding: 3rem 2rem; }
}