/* 整体广告容器样式 */
.ad-container {
    margin: 0 auto;
    overflow: hidden;
    max-width: 1000px;
    font-size: 100px;
    font-weight: bold;
    border: dashed 2px #999;
    color: red;
    vertical-align: middle;
    line-height: 120px;
    background: url('https://img.y7zg.com/LightPicture/2023/12/40c0c806cb2ee6a9.png') no-repeat center center;
    background-size: cover; /* 让背景图片自适应铺满容器 */
}

/* 滚动文字样式 */
.scroll-text {
    white-space: nowrap; /* 让文字不换行 */
    overflow: hidden; /* 超出部分隐藏 */
    animation: marquee 10s linear infinite; /* 动画名称，持续时间，线性运动，无限循环 */
    display: inline-block;
    padding: 0 10px; /* 给文字左右添加一点内边距，更美观 */
}

/* 定义滚动动画关键帧 */
@keyframes marquee {
    0% {
        transform: translateX(0); /* 初始位置 */
    }
    100% {
        transform: translateX(-100%); /* 移动到左边，实现滚动效果 */
    }
}

/* 打赏图片样式 */
.reward-img {
    width: 900px;
    height: 900px;
    display: block;
    margin: 18px auto; /* 上下外边距20px，左右自动居中 */
}


button {
    position: relative; /* 这里相对定位，方便后续做一些相对自身的定位调整等，可根据实际需求修改 */
    background-color: #fff;
    padding: 12px 36px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin: 0 3px;
    margin-bottom: 8px; /* 添加底部外边距 */
    font-size: 30px; /* 原先是32px，可能对于多个按钮来说太大了，先改成16px，可按需调整 */
    color: #0056b3;
    font-family: 'Arial', sans-serif;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s ease; /* 平滑过渡效果 */
}

/* 鼠标悬停时按钮的通用样式，整合了之前的悬停效果 */
button:hover {
    background-color: #0056b3;
    color: white;
    transform: scale(1.1);
}
