/* 引入 MiSans 字体 */
@font-face {
    font-family: 'MiSans-Medium';
    src: url('../fonts/MiSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* 样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'MiSans-Medium', 'Microsoft YaHei', Arial, sans-serif;
}

/* 全屏背景图片 */
.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.fullscreen-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证在各种分辨率下全屏显示且不拉伸变形 */
    display: block;
}

/* 电脑版 PC 版网页内容容器样式 */
.content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
}

/* Logo 定位 */
.logo-container {
    position: absolute;
    left: 380px;
    top: 0px;
}

.main-logo {
    width: 230px; /* 根据 SVG 原始宽度 */
    height: auto;
    display: block;
}

/* 底部黑色矩形栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; /* 在各种分辨率下铺满，保证 1920px 显示时也是全宽 */
    height: 360px;
    background-image: url("../images/imgn2.svg");
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center; /* 垂直居中 */
    z-index: 10;
}

.copyright-text {
    position: relative;
    bottom: -270px;
    text-align: center;
    color: #ffffff; /* 白色字体 */
    font-size: 16px;
}

/* 手机版专用页脚内容（默认隐藏） */
.mobile-footer-content {
    display: none;
}

/* 基础媒体查询 - 判断设备类型 */

/* 手机版 (宽度小于 768px) */
@media screen and (max-width: 767px) {
    /* 手机版背景在图片外底部，需要允许滚动 */
    body, html {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
        position: relative;
    }

    .fullscreen-bg {
        position: relative; /* 背景占用 100vh 空间 */
        height: 100vh;
        width: 100%;
        z-index: 0;
    }

    /* 将 Logo 重新覆盖在背景图上 */
    .content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1;
    }

    /* 手机版切换背景图片 */
    #bg-img {
        content: url("../images/img2.svg");
    }

    .logo-container {
        left: 232px;
        top: 0px;
        right: 40px;
        transform: none;
    }

    .main-logo {
        width: 100%;
        min-width: 120px; /* 设置最低 186.8px 的宽度 */
        max-width: 120px;
    }

    /* 重新设计手机版底部栏 */
    .bottom-bar {
        position: relative; /* 紧跟在 100vh 的背景图之后 */
        height: 116px;
        background-image: url("../images/imgn2.svg");
        background-color: #bec7ff;
        background-size: cover;
        background-repeat: no-repeat;
        display: block;
        padding-top: 5px;
        z-index: 2;
    }

    .copyright-text {
        display: none;
    }

    .mobile-footer-content {
        position: relative;
        top: 50px;
        display: block;
        color: #ffffff; /* 白色字体 */
        text-align: center; /* 居中对齐 */
        font-size: 16px;
        line-height: 1.5;
    }
}

/* 电脑/平板版 (宽度大于等于 768px) */
@media screen and (min-width: 768px) {
}
