/* 引入 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: 388px;
    top: 28px;
}

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

/* Slogan 居中定位 */
.slogan-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1060px; /* Slogan.svg 的原始宽度 */
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.slogan-img {
    width: 100%;
    height: auto;
    max-width: 1060px;
    display: block;
}

/* 底部黑色矩形栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; /* 在各种分辨率下铺满，保证 1920px 显示时也是全宽 */
    height: 80px;
    background-color: rgba(0, 0, 0, 0.8); /* 纯黑色，80% 透明度 */
    display: flex;
    align-items: center; /* 垂直居中 */
    z-index: 10;
}

.copyright-text {
    position: relative;
    left: 388px;
    color: rgba(255, 255, 255, 0.8); /* 白色字体，80% 透明度 */
    font-size: 14px;
    white-space: pre; /* 保持文本中的多个空格 */
}

/* 手机版专用页脚内容（默认隐藏） */
.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/Slogan 重新覆盖在背景图上 */
    .content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1;
    }

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

    .logo-container {
        left: 36px;
        top: 28px;
        right: 170px;
        transform: none;
    }

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

    .slogan-container {
        position: absolute;
        top: 413px; /* 保持距离顶部 413px */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        /* 去掉 bottom 约束，防止高度被挤压 */
    }

    .slogan-img {
        width: 90%; /* 优先根据宽度缩放 */
        height: auto; /* 高度自动 */
        min-width: 366px;
        display: block;
    }

    /* 重新设计手机版底部栏 */
    .bottom-bar {
        position: relative; /* 紧跟在 100vh 的背景图之后 */
        height: 70px;
        background-color: #000000;
        display: block;
        padding-top: 5px;
        z-index: 2;
    }

    .copyright-text {
        display: none;
    }

    .mobile-footer-content {
        display: block;
        color: rgba(255, 255, 255, 0.8); /* 白色字体，80% 透明度 */
        text-align: left; /* 左对齐 */
        padding-left: 36px; /* 与 Logo 对齐 */
        font-size: 11px;
        line-height: 1.5;
    }
}

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