@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-dark: #07080b;
    --bg-card: #0d0e14;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #d4af37;
    --accent-hover: #f3e5ab;
    --glass-bg: rgba(13, 14, 20, 0.75);
    --glass-border: rgba(212, 175, 55, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ambient Studio Lighting (Grid + Lens Flares) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

.lens-flare {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    animation: float-flare 18s infinite ease-in-out alternate;
}

.flare-1 { width: 550px; height: 550px; background: rgba(212, 175, 55, 0.15); top: -180px; left: -180px; }
.flare-2 { width: 600px; height: 600px; background: rgba(59, 130, 246, 0.1); bottom: -200px; right: -150px; animation-delay: -5s; }
.flare-3 { width: 450px; height: 450px; background: rgba(168, 85, 247, 0.08); top: 40%; left: 45%; animation-delay: -10s; }

@keyframes float-flare {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(45px, 25px) scale(1.1); }
}

.login-wrapper {
    width: 100%;
    max-width: 440px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 42px 34px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 25px rgba(212, 175, 55, 0.04);
    position: relative;
    overflow: hidden;
}

/* Viewfinder Corner Accents */
.login-card::before, .login-card::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent-color);
    border-style: solid;
    pointer-events: none;
    opacity: 0.5;
}
.login-card::before { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.login-card::after { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

.login-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
    margin-bottom: 12px;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 4px;
}

.brand-subtitle {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.text-accent {
    color: var(--accent-color) !important;
}

.btn-google-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.btn-google-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
    transform: translateY(-1px);
    color: #ffffff;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.modal-content {
    background: rgba(12, 13, 18, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(212, 175, 55, 0.04);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: rgba(13, 14, 20, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
