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

body {
    font-family: Arial, sans-serif;
    background: url('../img/bg-pc.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Logo 样式 */
.logo {
    margin: 30px auto;
}

.logo img {
    width: 200px;
}

/* 主内容 */
.hero {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;    padding-top: 40px;
}

.hero img {
    width: 480px;
    margin-top: -42px;
}
.hero .h5 {
    display: none;
}
.hero .nhom_h5 {
    display: none;
}

.hero .nhom_pc {
    margin-top: 48px;
    width: 280px;
}

/* 标题样式 */
.title {
    margin: 20px auto;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #0073e6;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 15px;
    display: inline-block;
}

/* 底部导航 */
.fixed-0 {
    position: fixed;
    bottom: 2%;
    left: 0;
    right: 0;
}

.gtt {
    padding: 0 20px;
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    position: relative;
    bottom: -40px;
}

.gtt img {
    height: 200px;
    animation: float 3s ease-in-out infinite; /* 调用上下浮动动画 */
}

.gtt img:nth-of-type(2) {
    height: 80px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: none;
}

.footer {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.footer:before {
    content: '';
    position: absolute;
    top: 30%;
    left: 3%;
    right: 3%;
    height: 69%;
    background: linear-gradient(to bottom, #f1f3fc, #b2c8ff);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.8;
}

.footer .button {
    width: 240px;
    margin: 10px;
    text-align: center;
    position: relative;
}

.footer .button img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
}

.footer .button img ~ img {
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0;
    transition: all .5s;
    /*display: none;*/
}

.footer .button img:hover {
    transform: scale(1.1); /* 放大 1.1 倍 */
}

.footer .button img:hover ~ img {
    opacity: 1;
}

.footer .button span {
    display: block;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer .button {
        width: 180px;
        margin: 10px;
        text-align: center;
    }
}

@media (max-width: 960px) {
    .footer .button {
        width: 120px;
        margin: 10px;
        text-align: center;
    }

    /*.footer {*/
    /*    padding-top: 10px;*/
    /*    padding-bottom: 0;*/
    /*}*/
    .footer:before {
        border-radius: 20px;
    }

    .footer .button img {
        width: 60px;
        height: 60px;
    }

    .footer .button span {
        font-size: 1rem;
        /*white-space: nowrap;*/
    }

    .gtt {
        padding: 0 10px;
        bottom: -60px;
    }

    .gtt img {
        height: 160px;
    }

    .gtt img:nth-of-type(2) {
        height: 60px;
        top: 30px;
    }
}

@media (max-width: 600px) {
    body {
        background-image: url('../img/bg-h5.png');
    }
    .logo {
        margin: 40px auto;
    }
    .logo img {
        width: 240px;
        max-width: 80%;

    }
    .hero {
        padding-top: 20px;
    }
    .hero .pc {
        display: none;
    }
    .hero .nhom_pc {
        display: none;
    }
    .hero img {
        width: 90%;
        max-width: 800px;
        margin-top: -32px;
    }
    .hero .h5 {
        width: 80%;
        display: block;
    }
    .hero .nhom_h5 {
        margin-top: 102px;
        width: 40%;
        display: block;
    }
    .footer:before {
        opacity: 1;
    }

    .footer .button {
        width: 80px;
        margin: 0;
    }

    .footer .button img {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }

    .footer .button span {
        font-size: 0.8rem;
    }

    .gtt {
        padding: 0 0px;
        bottom: -40px;
    }

    .gtt img {
        height: 120px;
    }

    .gtt img:nth-of-type(2) {
        height: 60px;
        top: -8rem;
    }
}

/* 上下浮动的动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0); /* 初始位置 */
    }
    50% {
        transform: translateY(-20px); /* 上浮 20px */
    }
}