/* LOGIN PAGE */
body {
    display: grid;
    place-items: center;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

/* Animated grid background */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, var(--accent) 4%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--accent) 4%, transparent) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

/* Glow blob */
body::before {
    content: '';
    position: fixed;
    width: 600px; height: 600px;
    left: 50%; top: 50%;
    translate: -50% -50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 20px;
    animation: loginReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes loginReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.login-eyebrow::before,
.login-eyebrow::after {
    content: '';
    width: 30px; height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    position: relative;
}
h1 a {
    color: inherit;
    background: none;
    text-decoration: none;
    transition: color 0.2s;
}
h1 a:hover { color: var(--accent); }
h1 span { color: var(--accent); }

h2 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 4px;
}
h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 40px;
}

.main-btn {
    font-size: 16px;
    padding: 14px 40px;
    gap: 12px;
}
.main-btn svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
    h1 { font-size: 52px; }
}
