.landing {
    min-height: calc(100svh - 76px);
}

.landing::before {
    display: none;
}

.auth-container {
    width: min(100%, 440px);
    max-width: 440px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--glow-sm);
    position: relative;
    z-index: 1;
    animation: card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.75rem;
    position: relative;
    letter-spacing: -0.02em;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
}

.auth-form input {
    width: 100%;
    min-width: 0;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--border-glass-bright);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.auth-form .btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--text-primary);
    color: var(--bg-void);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.16);
}

.auth-form .btn-submit:hover {
    background: var(--accent-dim);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.auth-form .btn-submit:disabled,
.auth-form .btn-submit.is-loading {
    cursor: progress;
    opacity: 0.85;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-glass-bright);
    transition: all 0.2s ease;
}

.auth-switch a:hover {
    border-color: var(--text-primary);
}

.oauth-login {
    display: grid;
    gap: 1rem;
    margin-top: 1.35rem;
}

.oauth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-glass);
}

.google-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.google-login-button:hover {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 14px 34px rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
    text-decoration: none;
}

.google-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.error-message {
    color: #ffb3ab;
    font-size: 0.86rem;
    margin-top: 0.5rem;
    display: none;
}

@media (max-width: 480px) {
    .auth-container {
        width: auto;
        margin: 1.5rem 1rem;
        padding: 1.75rem;
        border-radius: var(--radius-md);
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-form .form-group {
        margin-bottom: 1.25rem;
    }

    .auth-form input,
    .auth-form .btn-submit {
        padding: 13px 16px;
    }
}
