﻿@charset "utf-8";

.guide {
    margin-top: 20px;
    position: relative;
}
.g-img {
    margin-bottom: -19px;
    position: relative;
    z-index: 9;
}
.g-b {
    position: relative;
    background: rgba(218, 165, 42, 1);
    width: 80%;
    height: 38px;
    border-radius: 11px;
    justify-content: center;
    justify-self: center;
    align-items: center;
    z-index: 99;
    display: flex;
    ‌flex-direction: row;
}
.g-b:hover {
    transform: scale(1.1); /* 悬停时放大 10% */
}
.g-b-img {
    width: 20px;
    height: 22px;
}
.g-b-txt {
    margin-left:6px;
    font-size: 18px;
}
.marquee-container {
    overflow: hidden; /* 隐藏溢出内容 */
    height: 200px;
    position: relative; /* 提供定位参考 */
    background-color: #000; /* 匹配图中黑色背景 */
    color: #fff; /* 文字颜色，匹配图中白色 */
    width: 100%;
    margin: auto;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.marquee-content {
    position: absolute; /* 绝对定位以便滚动 */
    top: 0;
    left: 0;
    width: 100%;
    /*    animation: scroll 10s linear infinite;  滚动动画，10秒一圈，可调整 */
}

.marquee-content div {
    display: flex; /* 使用 Flexbox 实现水平排列 */
    justify-content: space-between; /* 元素均匀分布，留有间距 */
    height: 25px;
}
.marquee-content div span {
    display: flex;
    flex: 1; /* 让每个列平均分配宽度 */
    text-align: center; /* 文字居中 */
    padding: 0 5px; /* 列内小间距 */
    justify-content: center;
}

/* 定义动画 */
@keyframes scroll {
    0% {
        transform: translateY(-550px); /* 从顶部开始 */
    }

    100% {
        transform: translateY(-130px); /* 滚动到顶部消失后回到底部 */
    }
}
.m-header {
    background-color: #000; /* 黑色背景 */
    color: #fff; /* 白色文字 */
    display: flex; /* 使用 Flexbox 实现水平排列 */
    justify-content: space-between; /* 元素均匀分布，留有间距 */
    padding: 10px 20px; /* 上下 10px，左右 20px 的内边距 */
    font-size: 16px; /* 调整文字大小，根据图片适配 */
    font-weight: bold; /* 文字加粗，增强视觉效果 */
    border-radius: 5px 5px 0 0; /* 顶部圆角，底部无圆角 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 轻微阴影效果 */
}

    /* 每个列的样式 */
    .m-header div {
        flex: 1; /* 让每个列平均分配宽度 */
        text-align: center; /* 文字居中 */
        padding: 0 5px; /* 列内小间距 */
        margin: 10px auto;
    }
.m-cp {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    max-width: 100%; /* 不超过父容器宽度 */
}

.m-pay {
    margin: 0 auto;
    display: flex; /* 使用 Flexbox 实现水平排列 */
    justify-content: space-between; /* 元素均匀分布，留有间距 */
    flex: 1;
    padding: 10px 20px; /* 上下 10px，左右 20px 的内边距 */
    border-top: 0.8px solid rgba(87, 87, 87, 1);
}

    /* 每个列的样式 */
    .m-pay .img-fr {
        flex: 1; /* 让每个列平均分配宽度 */
        text-align: center; /* 文字居中 */
        padding: 0 5px; /* 列内小间距 */
        height: 18px;
        object-fit: contain; /* 保持比例缩放，完整显示 */
        align-self: center;
    }

    .m-pay .img-fr1 {
        flex: 1; /* 让每个列平均分配宽度 */
        text-align: center; /* 文字居中 */
        padding: 0 5px; /* 列内小间距 */
        object-fit: contain; /* 保持比例缩放，完整显示 */
        height: 25px;
        align-self: center;
    }


.modal {
    position: fixed;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .modal h2 {
        margin: 0 0 10px 0;
        font-size: 24px;
    }

    .modal p {
        margin: 0 0 20px 0;
        font-size: 16px;
        color: #ccc;
    }

.go-button {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

    .go-button:hover {
        background-color: #e0e0e0;
    }

.no-thanks {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

    .no-thanks:hover {
        color: #ccc;
    }

.g-bstep1 {
    background: url("/Content/Mega/g-h-b.png") no-repeat;
    background-size: 100% 300px;
    margin: 0 auto;
    background-color: #1a1a1a;
    z-index: 1; /* 遮罩层级 */
}
