/* 全局样式 */
:root {
    --primary-color: #2962ff;
    --secondary-color: #0039cb;
    --success-color: #00c853;
    --danger-color: #ff1744;
    --warning-color: #ffd600;
    --info-color: #00b0ff;
    --dark-color: #263238;
    --light-color: #f5f5f5;
    --gray-color: #757575;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark-color);
    padding-top: 72px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-shrink {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    position: relative;
    margin: 0 0.25rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem !important;
    color: var(--dark-color) !important;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(41, 98, 255, 0.05);
}

.nav-item:last-child .nav-link {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px;
    margin-left: 0.5rem;
    box-shadow: 0 4px 12px rgba(41, 98, 255, 0.15);
}

.nav-item:last-child .nav-link:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(41, 98, 255, 0.2);
}

.navbar-toggler {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    background: rgba(41, 98, 255, 0.05);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.3em;
    height: 1.3em;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.25rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .nav-item:last-child .nav-link {
        margin: 0.5rem 0 0 0;
        text-align: center;
    }
}

/* 首页横幅 */
.bg-gradient {
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.4) 0%, rgba(0, 57, 203, 0.4) 100%);
}

.hero-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('../images/banner.png') center center/cover fixed no-repeat;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* 卡片样式 */
.payment-method-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
    background: #fff;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.feature-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

/* 标题样式 */
.section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* 流程步骤 */
.process-step {
    position: relative;
    z-index: 1;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color) 50%, #e9ecef 50%);
    background-size: 10px 2px;
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
}

.process-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(41, 98, 255, 0.3);
}

.process-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.process-step:hover .process-icon::before {
    transform: scale(1.1);
    opacity: 0.15;
}

.process-step h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.process-step p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }

    .process-step {
        margin-bottom: 2rem;
    }

    .process-step:last-child {
        margin-bottom: 0;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .process-step::after {
        display: none;
    }

    .navbar-brand img {
        height: 30px;
    }
}

/* 动画效果 */
.animate__animated {
    animation-duration: 1s;
}

/* 合作伙伴logo */
.partners {
    background-color: #f8f9fa;
    overflow: hidden;
}

.partner-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partner-scroll::before,
.partner-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partner-scroll::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 30%, rgba(248, 249, 250, 0));
}

.partner-scroll::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 30%, rgba(248, 249, 250, 0));
}

.partner-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
    padding: 0 60px;
}

.partner-item {
    flex: 0 0 180px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.8s ease;
    max-height: 45px;
    width: auto;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.partner-item.active img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    .partner-scroll::before,
    .partner-scroll::after {
        width: 60px;
    }

    .partner-track {
        padding: 0 30px;
    }

    .partner-item {
        flex: 0 0 140px;
        padding: 0 15px;
    }
}

/* 数据统计 */
.statistics {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stat-item {
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 15px 0;
}

/* 应用场景 */
.scenario-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, .05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.scenario-card::before,
.scenario-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.05;
    z-index: -1;
    transition: all 0.3s ease;
}

.scenario-card::before {
    width: 120px;
    height: 120px;
    right: -30px;
    bottom: -30px;
}

.scenario-card::after {
    width: 80px;
    height: 80px;
    right: 30px;
    bottom: 40px;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.scenario-card:hover::before {
    transform: scale(1.2);
    opacity: 0.08;
}

.scenario-card:hover::after {
    transform: scale(1.3);
    opacity: 0.06;
}

.scenario-icon {
    display: inline-flex;
    position: relative;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
}

.scenario-icon i {
    transition: all 0.3s ease;
    position: relative;
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
}

.scenario-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    transform: scale(1.2);
}

.scenario-card:hover .scenario-icon i {
    transform: scale(1.1);
}

.scenario-card h4 {
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.scenario-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.scenario-card ul li i {
    margin-right: 0.5rem;
    font-size: 14px;
}

/* 新闻动态 */
.news-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.news-card img {
    transition: all 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

/* 常见问题 */
.faq .card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.faq .card-header {
    padding: 1rem;
}

.faq .btn-link {
    text-decoration: none;
    padding: 0;
}

.faq .btn-link:hover,
.faq .btn-link:focus {
    text-decoration: none;
    box-shadow: none;
}

.faq .card-body {
    padding: 1.5rem;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .stat-item h2 {
        font-size: 2rem;
    }

    .scenario-card {
        margin-bottom: 1rem;
    }

    .news-card {
        margin-bottom: 2rem;
    }
}

/* 登录框样式 */
.login-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.login-switch {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    overflow: visible;
    cursor: pointer;
    z-index: 999;
}

.login-switch::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150%;
    height: 150%;
    background: var(--primary-color);
    transform: rotate(45deg) translate(0, -70%);
    z-index: 1;
    transition: all 0.3s ease;
}

.login-switch .switch-type {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 24px;
}

.login-switch .switch-type:hover {
    transform: scale(1.1);
}

.login-switch:hover::before {
    background: var(--secondary-color);
}

.login-header {
    padding-right: 70px;
}

.login-form .form-control {
    height: 48px;
}

.login-form .input-group-text {
    min-width: 46px;
    justify-content: center;
}

.login-form .btn-lg {
    height: 48px;
}

/* 登录切换提示 */
.login-switch-tip {
    position: absolute;
    top: 12px;
    right: 60px;
    background: var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    color: #fff;
    z-index: 1000;
    animation: tipPulse 2s infinite;
    transform-origin: center;
    white-space: nowrap;
    font-weight: 500;
}

.login-switch-tip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}

.login-switch-tip i {
    animation: pointUp 1s ease-in-out infinite;
    display: inline-block;
    margin-left: 6px;
}

@keyframes tipPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pointUp {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

.login-switch-tip.hide {
    animation: tipFadeOut 0.5s forwards;
}

@keyframes tipFadeOut {
    to {
        opacity: 0;
        transform: translateX(20px);
        visibility: hidden;
    }
}

/* 底部滚动提示简化 */
.scroll-hint {
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.scroll-hint i {
    font-size: 24px;
    animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes floatUpDown {
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .login-card {
        margin-top: 2rem;
    }

    .scroll-hint {
        display: none;
    }
}

/* 页脚样式 */
.footer {
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.02;
    transform: skewY(-5deg) translateY(-100px);
}

.footer h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

.footer .list-unstyled a {
    color: var(--gray-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer .list-unstyled a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer .text-muted {
    color: #6c757d !important;
}

.footer .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer .contact-item i {
    width: 30px;
    height: 30px;
    background: rgba(41, 98, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer .contact-item:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.footer .qrcode-wrapper {
    position: relative;
    display: inline-block;
    padding: 15px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.footer .qrcode-wrapper img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.footer .qrcode-wrapper p {
    position: relative;
    font-size: 0.9rem;
    color: var(--dark-color);
    margin: 0;
    padding: 8px 0;
    text-align: center;
    font-weight: 500;
}

.footer .qrcode-wrapper p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.5;
}

.footer .qrcode-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.footer .qrcode-wrapper:hover p::before {
    width: 50px;
    opacity: 1;
}

.footer hr {
    border-color: rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.footer .copyright {
    font-size: 0.9rem;
}

.footer .payment-methods {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer .payment-methods img {
    height: 30px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer .payment-methods img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .list-unstyled a:hover {
        transform: translateY(-2px);
    }

    .footer .contact-item {
        justify-content: center;
    }

    .footer .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer .qrcode-wrapper {
        padding: 12px;
    }

    .footer .qrcode-wrapper img {
        width: 120px;
        height: 120px;
    }
}

/* 社交链接样式 */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(41, 98, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 98, 255, 0.2);
}

.social-links a i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

/* 登录切换按钮样式 */
.login-tabs {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.login-tab-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.login-tab-btn:hover {
    color: #2196F3;
}

.login-tab-btn.active {
    background: #fff;
    color: #2196F3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.login-tab-btn i {
    font-size: 16px;
    vertical-align: middle;
    margin-top: -2px;
}

/* 添加动画效果 */
.login-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2196F3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.login-tab-btn:hover::after {
    width: 80%;
}

.login-tab-btn.active::after {
    width: 80%;
}

/* 扫码登录区域样式 */
#qrcodeLogin {
    padding: 30px 0;
}

#qrcodeLogin .qrcode-box {
    margin-bottom: 20px;
}

#qrcodeLogin p {
    color: #666;
    margin: 0;
}

#qrcodeLogin p b {
    color: #07C160;
}

/* 二维码容器样式 */
.qr-wrapper {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 二维码遮罩层 */
.qr-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

/* 刷新按钮样式 */
.qr-refresh-icon {
    color: #fff;
    font-size: 36px;
    margin-bottom: 12px;
    animation: spin 2s infinite linear;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.qr-refresh-text {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 二维码失效样式 */
.qr-invalid img {
    filter: grayscale(100%) blur(1px);
    opacity: 0.8;
}

.qr-invalid .qr-mask {
    display: flex;
}

/* 二维码图片样式 */
.qr-wrapper img,
.qr-wrapper canvas {
    display: block;
    width: 180px;
    height: 180px;
}

/* 快捷登录样式 */
.quick-login {
    position: relative;
    margin-top: 20px;
    padding-top: 20px;
}

.quick-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.btn-quick-login {
    padding: 8px;
    transition: transform 0.3s ease;
}

.btn-quick-login:hover {
    transform: translateY(-2px);
}

.btn-quick-login svg {
    transition: all 0.3s ease;
}

.btn-quick-login:hover svg {
    filter: brightness(1.1);
}

/* 登录方式切换动画 */
.login-form {
    transition: all 0.3s ease;
}

.login-form.d-none {
    opacity: 0;
    transform: translateX(20px);
}

.login-form:not(.d-none) {
    opacity: 1;
    transform: translateX(0);
}