body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #6a5acd, #dcdcdc);
    color: #333;
}

/* 顶部导航栏 */
nav {
    background: #6a5acd;
    /* 紫色背景 */
    padding: 10px 20px;
    /* 调整内边距 */
    position: relative;
    z-index: 10;
    /* 提高层叠顺序 */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button-group {
    display: flex;
    align-items: center;
}

.home-button,
.nav-button {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px; /* 内边距 */
    font-size: 16px;
    margin-right: 4px; /* 更小的右侧外边距 */
}

.join-group {
    margin-left: 4px; /* 调整左侧外边距 */
}

.join-group {
    background-color: rgba(255, 255, 255, 0.5);
    color: #6a5acd;
    border: 1px solid #6a5acd;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.join-group:hover {
    background-color: #6a5acd;
    color: white;
}


/* 主体区域 */
header {
    text-align: center;
    padding: 80px 20px;
    color: white;
    line-height: 1.7;
}

header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

header p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* 信息卡片 */
.info-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    max-width: 300px;
    text-align: center;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #6a5acd;
    /* 紫色标题 */
}

.card p {
    font-size: 16px;
    color: #666;
}

/* 特点模块，三列布局 */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 视频展示区域 */
.video-gallery {
    padding: 50px 20px;
    text-align: center;
}

.video-gallery h2 {
    color: #6a5acd;
    /* 紫色标题 */
}

.video-gallery video {
    width: 80%;
    /* 使视频宽度适应容器 */
    max-width: 800px;
    /* 最大宽度 */
    margin: 20px;
    border-radius: 10px;
}

/* 图片展示区域 */
.image-gallery {
    padding: 50px 20px;
    text-align: center;
}

.image-gallery img {
    width: 500px;
    height: auto;
    margin: 20px;
    border-radius: 10px;
    transition: transform 0.2s;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000; /* 确保模态框在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 半透明背景 */
    justify-content: center; /* 垂直和水平居中 */
    align-items: center;
}

.modal-content {
    max-width: 90%; /* 最大宽度 */
    max-height: 90%; /* 最大高度 */
    transition: transform 0.2s; /* 放大缩小时的过渡效果 */
}


/* 价格模块 */
.price-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    max-width: 800px;
    text-align: center;
}

.price-card h2 {
    color: #6a5acd;
    /* 紫色标题 */
    margin-bottom: 20px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal img {
    max-width: 80%;
    margin: auto;
    display: block;
}

.music-player {
    text-align: center;
    margin: 20px 0;
    /* 添加上下边距 */
}

.music-player {
    position: fixed; /* 固定定位 */
    bottom: 20px; /* 距离底部20px */
    left: 20px; /* 距离左边20px */
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-radius: 10px; /* 圆角 */
    padding: 10px; /* 内边距 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 阴影 */
    z-index: 100; /* 提高层叠顺序 */
}

/* 视频展示区域 */
.video-gallery {
    padding: 50px 20px;
    text-align: center;
}

.video-gallery h2 {
    color: #000000; 
    margin-bottom: 20px;
}

/* 使用网格布局 */
.video-gallery-container {
    display: flex; /* 使用 flexbox */
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 居中对齐 */
    gap: 20px; /* 列间距 */
}

/* 视频 iframe 保持 16:9 比例 */
.video-gallery iframe {
    width: 100%; /* 宽度自适应 */
    max-width: 600px; /* 设置最大宽度 */
    height: auto; /* 高度自动 */
    aspect-ratio: 16 / 9; /* 保持 16:9 比例 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影 */
    border: none; /* 去掉边框 */
}

.more-videos {
    text-align: center;
    padding: 40px 20px;
}

.more-videos h2 {
    color: #000000; 
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* 按钮间距 */
}

.video-button {
    background-color: #6a5acd; /* 紫色背景 */
    color: white; /* 字体颜色 */
    padding: 10px 20px; /* 内边距 */
    border-radius: 5px; /* 圆角 */
    text-decoration: none; /* 去掉下划线 */
    font-size: 16px; /* 字体大小 */
    transition: background-color 0.3s; /* 悬停效果 */
}

.video-button:hover {
    background-color: #5a4bbd; /* 悬停时变暗 */
}

.contact-button {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 10px;
    font-size: 16px;
    margin-left: 10px; /* 左侧间距 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

.faq {
    padding: 50px 20px;
    text-align: center;
}

.faq h2 {
    color: #000000; /* 紫色标题 */
    margin-bottom: 20px;
}

.faq-item {
    background-color: #f0f0f0; /* 背景色 */
    border-radius: 10px; /* 圆角 */
    padding: 10px; /* 调整内边距 */
    margin: 10px 0; /* 上下间距 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 调整阴影 */
    max-width: 600px; /* 最大宽度 */
    margin-left: auto; /* 居中对齐 */
    margin-right: auto; /* 居中对齐 */
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #333; /* 字体颜色 */
}

.faq-item p {
    color: #666; /* 描述文字颜色 */
}

