﻿footer .footer {
    padding: 40px 0;
}

    footer .footer p, footer .footer a {
        color: #506690 !important;
    }

.footer-logo {
    margin: 17px 0 20px;
    width: 320px;
}

footer .footer h2 {
    color: #eee;
    font-size: 18px;
}

/*Terms Menu*/
footer .terms-menu {
    margin: 10px 0 0;
}

    footer .terms-menu li {
        color: #9c9c9c;
        font-size: 14px;
        line-height: 10px;
        margin-right: 2px;
        border-color: #777;
        padding-left: 10px;
        padding-left: 10px;
        border-left: 1px solid #bbb;
    }

        footer .terms-menu li:first-child {
            border-left: none;
            padding: 0 7px 0 0;
        }

        footer .terms-menu li a {
            color: #9c9c9c;
        }

            footer .terms-menu li a:hover {
                color: #bbb;
            }

/*Copyright*/
footer .copyright {
    font-size: 0.875rem;
    background: #1a1a1a;
    border-top: none;
    padding: 10px 0 5px;
}

    footer .copyright p {
        color: #9c9c9c;
        margin-top: 14px;
    }

    footer .copyright a {
        margin: 0 2px;
        color: #9c9c9c;
    }

.un-pr-0 {
    padding-right: 0px;
}
.un-w-480 {
    width: 480px !important;
}
.un-mw-450 {
    max-width: 450px;
}
.un-img-code {
    width: 450px;
    height: 200px;
    margin-top: 0px;
    margin-left: 10px;
}
.un-input-400 {
    margin: 5px;
    width: 400px;
}
.un-btn-go {
    font-weight: normal;
    padding-left: 20px;
    padding-right: 20px
}
.un-btn-fwn {
    font-weight: normal;
}
.un-sec-bg {
    background-image: url(../images/illustration-1-cropped.png), url(../images/illustration-3-cropped.png);
}

@media (max-width: 767px) {
    /* 导航栏调整 */
    .navbar-brand img {
        max-height: 40px; /* 缩小Logo */
    }

    /* 卡片布局调整 */
    #modulebox .col-12 {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 卡片尺寸优化 */
    .card {
        margin-bottom: 20px !important;
    }

    .card-img-top {
        height: 120px; /* 统一图片高度 */
        object-fit: cover; /* 保持图片比例 */
    }

    /* 背景图片调整 */
    .un-sec-bg {
        background-image: none !important; /* 移动端移除背景图 */
        padding: 30px 0 !important;
    }

    /* 页脚布局优化 */
    .footer .row > div {
        margin-bottom: 20px;
    }

    .footer-logo {
        width: 100% !important; /* 全宽显示 */
        max-width: 280px; /* 限制最大宽度 */
    }

    /* 模态框输入优化 */
    .un-w-480 {
        width: 100% !important; /* 全宽显示 */
    }

    .un-input-400 {
        width: calc(100% - 20px) !important; /* 响应式宽度 */
        margin: 10px !important;
    }

    #validmodal .modal-dialog {
        max-width: 100% !important;
        margin: 0.5rem;
    }

    #validmodal .modal-content {
        border-radius: 0;
    }

    #validmodal .un-mw-450 {
        max-width: 100% !important;
    }

    #validmodal .un-img-code {
        width: 100% !important;
        height: auto;
        margin-left: 0;
        margin-top: 0;
    }

    #validmodal .un-input-400 {
        width: calc(100% - 20px) !important;
        margin: 10px !important;
    }

    #validmodal .modal-footer {
        justify-content: center;
    }
}
/* 新增：导航栏汉堡菜单 */
.navbar-toggler {
    border: none;
    padding: 0.25rem;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 修改：页脚链接优化 */
footer .terms-menu li {
    line-height: 1.5 !important; /* 增加行高 */
    margin-bottom: 8px; /* 增加间距 */
}

.un-img-code-container {
    position: relative;
    padding-top: 50%; /* 2:1比例 */
}

.un-img-code {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: 100%;
    object-fit: contain;
    margin-left:20px;
}