body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f0f0f0;
}

video {
    max-width: 100%;
    margin: 20px auto;
}

/* 统一的按钮基础样式，整合了之前两个项目中按钮的共有样式以及特效相关样式 */
button {
    position: relative; /* 这里相对定位，方便后续做一些相对自身的定位调整等，可根据实际需求修改 */
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin: 0;
    margin-bottom: 8px; /* 添加底部外边距 */
    font-size: 16px; /* 原先是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);
}

/* 以下是针对不同屏幕尺寸的响应式样式，保持不变 */
@media screen and (max-width: 600px) {
    video {
        width: 100%;
        height: auto;
    }
    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}


.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
}


.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box; /* 确保内边距等不会撑大元素尺寸，影响布局 */
}

.popup-content {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 60px 80px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    position: relative; /* 让内部元素能相对它定位 */
}

.popup-close-button {
    position: absolute
    top: calc(120% + 60px); /* 通过计算将按钮定位在.popup 元素下方 8px 处，使用 calc 函数进行位置计算 */
   /* left: 50%; /* 水平方向居中，可根据实际需求调整左右位置，transform: translateX(-50%);利用 transform 属性水平居中，基于自身宽度的一半进行偏移 */
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 12px 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10000; /* 提高层级，确保显示在内容之上 */
    margin-top: 150px; /* 添加这行代码，设置一个合适的距离值，这里设置为 20px，可根据实际效果调整 */
}

.popup-close-button:hover {
    background-color: #45a049;
}