/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
/* 隐藏滚动条 */
::-webkit-scrollbar {
  display: none;
}
html {
  scrollbar-width: none; /* Firefox */
}

/* ========== 导航栏样式 ========== */
header {
  background: transparent;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 1vh 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8vh;
  padding: 0 5vw;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1.2vh;
}
.logo-image {
  height: 6vh;
  width: auto;
  object-fit: contain;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 3vw;
}
nav a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 1.8vh !important;
  text-shadow: 0 0.1vh 0.3vh rgba(0,0,0,0.8) !important;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ffd700 !important;
  text-shadow: none !important;
}
.logo-title {
  font-family: "Ma Shan Zheng", "华文行楷", sans-serif;
  font-size: 3.2vh;
  color: #ffffff !important;
  font-weight: bold;
  text-shadow: 0 0.1vh 0.3vh #000, 0 0.2vh 0.6vh rgba(0,0,0,0.8);
  -webkit-text-stroke: 0.5px #000000;
  letter-spacing: 0.3vh;
  line-height: 6vh;
}

/* ========== 核心：首页背景图（替换为指定在线图片） ========== */
.hero-section {
  width: 100vw;
  height: 100vh; /* 全屏高度 */
  position: relative;
  overflow: hidden; /* 隐藏溢出，无黑边 */
}

/* 背景图容器（使用你指定的在线图片） */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* 背景层级最低 */
  /* 核心修改：替换为你指定的在线图片链接 */
  background-image: url("/8bab7a46c0ab2c8f234aed9f872a95de.jpg");
  background-repeat: no-repeat;
  background-position: center center; /* 居中显示 */
  background-size: cover; /* 全屏覆盖，无黑边 */
  /* 可选：轻微缩放，确保完全覆盖极端宽高比屏幕 */
  transform: scale(1.01);
}

/* 首页内容容器（在背景上方显示） */
.hero-content {
  position: absolute;
  z-index: 10;
  left: 80px;
  top: 40%;
  transform: translateY(-50%);
  color: #fff;
}
.hero-content .name {
  font-size: 40px;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.hero-content .des {
  margin: 20px 0;
  font-size: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ========== 其他区块样式 ========== */
.next-section {
  width: 100%;
  min-height: 100vh;
  background: #fff;
  padding: 5vh 0 5vh 5vw;
  position: relative;
  z-index: 1;
}
/* ========== 1920px超宽屏适配（核心解决黑边） ========== */
@media screen and (min-width: 1920px) {
  .hero-section::before {
    background-size: 100vw 100vh !important; /* 强制全屏无黑边 */
  }
  .container {
    padding: 0 1vw !important; /* 超宽屏减少内边距 */
  }
}

/* ========== 所有其他区块通用适配 - 根治轮播图/成员/团体/联系我们 顶部遮挡 ========== */
/* 这个样式是万能的！所有页面区块都能适配，图片完整显示不被导航遮挡 */
#section2, #section3, #section4,
.features-section, .about-section, 
.carousel-section, .swiper-container, .carousel-container {
  width: 100vw !important;
  min-height: 100vh !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  background-position: center top !important;
  background-size: cover !important;
}
/* 轮播图/其他页面图片 全屏无遮挡专用 */
.carousel-item img, .swiper-slide img, .section-img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  object-position: center !important;
  max-width: none !important;
  max-height: none !important;
}

/* ========== 原有其他区块样式 完整保留 ========== */
.features-section {
  background: #f8f9fa;
  display: flex;
  align-items: center;
}
.section-title {
  text-align: center;
	font-size: 4.5vh;
	margin-bottom: 6vh !important;
	color: #333;
}
.features-section .features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
	gap: 4vh !important;
}
.features-section .feature {
	background: white;
	padding: 5vh !important;
	border-radius: 3vh;
	box-shadow: 0 2vh 6vh rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: all 0.3s ease;
	border: 0.2vh solid #e9ecef;
}
.features-section .feature:hover {
	transform: translateY(-2vh);
	box-shadow: 0 4vh 8vh rgba(0, 0, 0, 0.15);
}
.features-section .feature h3 {
	color: #667eea;
	margin-bottom: 2vh !important;
	font-size: 2.8vh;
}
.features-section .feature p {
	color: #666;
	line-height: 1.6;
	font-size: 2.2vh;
}
.about-section {
	background: white;
	display: flex;
	align-items: center;
}
.about-content {
	max-width: 80vw;
	margin: 0 auto !important;
	text-align: center;
}
.about-content p {
	font-size: 2.8vh;
	line-height: 1.8;
	color: #555;
	margin-bottom: 6vh !important;
}
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
	gap: 4vh !important;
	margin-top: 4vh !important;
}
.stat {
	text-align: center;
	padding: 3vh !important;
}
.stat h4 {
	font-size: 4vh;
	color: #667eea;
	margin-bottom: 1vh !important;
	font-weight: bold;
}
.stat p {
	color: #666;
	font-size: 2.2vh;
	margin: 0 !important;
}
/* 第二区块 - 1111轮播图样式 */
/* 轮播图区块 - 修复顶部空白 */
.carousel-section {
  min-height: 100vh;
  padding: 0 !important;         /* 关键：清除所有内边距，包括之前的 padding-top: 8vh */
  margin: 0 !important;          /* 清除所有外边距 */
  background: #eaeaea;
  position: relative;
  overflow: hidden;
  /* 移除这行：padding-top: 8vh !important; 它是导致空白的元凶 */
}

/* 轮播图容器 - 紧贴顶部 */
.carousel-container-1111 {
  height: 100vh !important;
  width: 100vw !important;
  background-size: cover !important;
  background-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  /* 关键：让轮播图从屏幕最顶部开始，覆盖导航栏下方的区域 */
  position: relative;
  top: 0;
}

/* 轮播图项目 - 确保全屏无间距 */
.item {
  width: 100vw;
  height: 100vh;
  margin: 0 !important;  /* 清除项目的外边距 */
  padding: 0 !important; /* 清除项目的内边距 */
  border-radius: 0;
  background-size: cover;
  background-position: center;
  position: relative;    /* 确保项目定位正确 */
}

/* 修复轮播图项目的定位，避免顶部留白 */
.item:nth-child(1),
.item:nth-child(2) {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.item:nth-child(3) {
  left: 70%;
}
.item:nth-child(4) {
  left: calc(70% + 220px);
}
.item:nth-child(5) {
  left: calc(70% + 440px);
}
.item:nth-child(n + 6) {
  left: calc(70% + 660px);
  opacity: 0;
}

.item .content {
  width: 300px;
  position: absolute;
  left: 80px;
  top: 40%; /* 从50%调整为40%，使内容整体上移 */
  transform: translateY(-50%);
  font-family: system-ui;
  color: #eee;
  display: none;
}

.item:nth-child(2) .content {
  display: block;
}

.item .name {
  font-size: 40px;
  font-weight: bold;
  opacity: 0;
  animation: showcontent 1s ease-in-out 1 forwards;
}

.item .des {
  margin: 20px 0;
  opacity: 0;
  animation: showcontent 1s ease-in-out 0.3s 1 forwards;
}

.item button {
  padding: 10px 20px;
  border: none;
  background: #fff;
  color: #333;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  animation: showcontent 1s ease-in-out 0.6s 1 forwards;
}

@keyframes showcontent {
  from {
    opacity: 0;
    transform: translateY(100px);
    filter: blur(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.buttons {
  position: absolute;
  bottom: 100px; /* 从50px调整为100px，使按钮位置上移 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 100;
}

.s_button {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: gray;
  background-color: #ffffff;
  font-size: 25px;
  border-radius: 50%;
  font-weight: bold;
  border: 1px solid #555;
  margin: 0 25px;
  transition: 0.5s;
}

.s_button:hover {
  cursor: pointer;
  background-color: #ccc;
}

/* 第三区块 - 个人区块样式 */
.section-tertiary {
  background-color: transparent;
  width: 100%;
  position: relative;
  overflow: visible;
  min-height: 100vh;
    padding-top: 8vh !important;
}

/* 鼠标检测区域 */
.mouse-detection-area {
  position: absolute;
  left: 0;
  top: 0;
  width: 10%; /* 左侧10%区域用于检测鼠标靠近 */
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

/* 左侧弹窗样式 */
.left-popup {
  position: absolute;
  left: -30%; /* 初始隐藏在左侧 */
  top: 50%;
  transform: translateY(-50%);
  width: 25%; /* 占据25%显示区域 */
  height: 70%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 0 2vh 2vh 0;
  border-right: 0.3vh solid rgba(255, 255, 255, 0.4);
  transition: left 0.5s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.6);
}

.left-popup.active {
  left: 0; /* 弹出时显示在左侧 */
}

.popup-header {
  padding: 2vh;
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 0.1vh solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.popup-header h3 {
  color: white;
  margin: 0 0 1vh 0;
  font-size: 2.2vh;
  font-weight: bold;
  text-shadow: 0 0.2vh 0.5vh rgba(0, 0, 0, 0.8);
}



.scroll-arrow-img {
  width: 2vh;
  height: 2vh;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.popup-scroll-indicator:hover .scroll-arrow-img {
  opacity: 1;
}

.players-container {
  flex: 1;
  overflow-y: auto;
  padding: 1vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.players-container::-webkit-scrollbar {
  width: 0.6vh;
}

.players-container::-webkit-scrollbar-track {
  background: transparent;
}

.players-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1vh;
}

.players-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.player-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5vh;
  padding: 1.5vh;
  text-align: center;
  transition: all 0.3s ease;
  border: 0.1vh solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.player-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-0.3vh);
  box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.player-avatar {
  width: 8vh;
  height: 8vh;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1vh;
  border: 0.2vh solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.4);
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-name {
  color: white;
  font-size: 2.4vh;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 0.2vh 0.5vh rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  min-width: 8vh;
}

/* 移动端箭头提示样式 */
.mobile-arrow-indicator {
  position: absolute;
  left: 1vh;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5vh;
  background: rgba(0, 0, 0, 0.7);
  padding: 1.5vh 1vh;
  border-radius: 2vh;
  color: white;
  font-size: 1.6vh;
  z-index: 5;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 0.1vh solid rgba(255, 255, 255, 0.3);
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

.mobile-arrow-indicator:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.mobile-arrow {
  width: 2.5vh;
  height: 2.5vh;
  animation: bounceRight 2s infinite;
  order: 1; /* 箭头放在文字右边 */
}

@keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(0.5vh);
  }
  60% {
    transform: translateX(0.3vh);
  }
}

/* 玩家信息覆盖层样式 */
.player-info-overlay {
  position: absolute;
  top: 10%;
  right: 5%;
  background: transparent;
  padding: 2vh 3vh;
  text-align: right;
  z-index: 5;
}

.player-info-name {
  font-size: 9vh;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 1.5vh;
  text-shadow: 0.2vh 0.2vh 0.8vh rgba(0, 0, 0, 0.9);
  font-family: "STXingkai", "STKaiti", "KaiTi", "楷体", "仿宋", "FangSong",
    "华文楷体", "STXinwei", serif;
}

.player-info-guild {
  font-size: 5vh;
  color: #ffffff;
  margin-bottom: 1vh;
  font-weight: 600;
  text-shadow: 0.2vh 0.2vh 0.6vh rgba(0, 0, 0, 0.8);
  font-family: "STXingkai", "STKaiti", "KaiTi", "楷体", "仿宋", "FangSong",
    "华文楷体", "STXinwei", serif;
}

.player-info-expertise {
  font-size: 4.5vh;
  color: #ffffff;
  margin-bottom: 1vh;
  font-style: italic;
  text-shadow: 0.2vh 0.2vh 0.6vh rgba(0, 0, 0, 0.8);
  font-family: "STXingkai", "STKaiti", "KaiTi", "楷体", "仿宋", "FangSong",
    "华文楷体", "STXinwei", serif;
}

.player-info-style {
  font-size: 2.5vh;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0.2vh 0.2vh 0.6vh rgba(0, 0, 0, 0.8);
  font-family: "STXingkai", "STKaiti", "KaiTi", "楷体", "仿宋", "FangSong",
    "华文楷体", "STXinwei", serif;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
  .mobile-arrow-indicator {
    display: flex;
  }

  .player-info-overlay {
    padding: 2vh 3vh;
  }

  .player-info-name {
    font-size: 3vh;
  }

  .player-info-guild {
    font-size: 2.5vh;
  }

  .player-info-expertise {
    font-size: 2.2vh;
  }

  .player-info-style {
    font-size: 2vh;
  }
}

/* 桌面端隐藏移动端箭头提示 */
@media (min-width: 769px) {
  .mobile-arrow-indicator {
    display: none;
  }
}

/* 第四区块 - 书页翻页效果样式 */
/* ========== 百业视频核心容器 ========== */
.video-section {
  width: 100vw;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 100px 0;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

/* 背景层（兼容原有背景逻辑） */
.video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 内容容器（层级置顶，避免被遮挡） */
.video-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* 标题样式（保留艺术字体） */
.video-title {
  font-family: "Ma Shan Zheng", sans-serif;
  font-size: 42px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  text-align: center;
}

/* ========== 上传区域 ========== */
.upload-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.upload-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  border: none;
  font-size: 16px;
  transition: all 0.3s ease;
}
.upload-btn:hover {
  background: rgba(255,255,255,0.3);
}

.tip {
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}

/* ========== 视频播放器区域 ========== */
.player-box {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

#mainVideo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: none;
  max-height: 450px;
  object-fit: contain;
}

.no-video {
  color: #fff;
  font-size: 18px;
  opacity: 0.6;
  text-align: center;
  padding: 20px;
}

/* ========== 视频列表区域 ========== */
.video-list-container {
  width: 100%;
  margin-top: 20px;
}

.video-list-container h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 20px;
  text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

/* 列表滚动条美化 */
.video-list::-webkit-scrollbar {
  width: 6px;
}
.video-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}
.video-list::-webkit-scrollbar-track {
  background: transparent;
}

.video-item {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.video-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(5px);
}

.video-item-name {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.video-item-time {
  color: #ccc;
  font-size: 12px;
}

/* ========== 抖音链接解析区域（保留原有样式） ========== */
.video-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5vh;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.btn-upload, .btn-play {
  padding: 1.2vh 2.5vh;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6vh;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-upload:hover, .btn-play:hover {
  background: rgba(255, 255, 255, 0.4);
}

.link-input {
  padding: 1.2vh 2vh;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6vh;
  width: 300px;
  max-width: 100%;
  outline: none;
}
.link-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* ========== 分页控制区（保留原有样式） ========== */
.pagination {
  margin-top: 3vh;
  display: flex;
  gap: 2vh;
  align-items: center; /* 分页按钮和文字垂直居中 */
  justify-content: center; /* 分页区内容水平居中 */
  width: 100%;
}

.btn-page {
  padding: 1vh 2vh;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-page:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.4);
}

.page-info {
  color: #fff;
  font-size: 1.6vh;
  opacity: 0.8;
  text-align: center; /* 分页信息文字水平居中 */
}



/* ========== 响应式适配（手机端友好） ========== */
@media (max-width: 768px) {
  .video-title {
    font-size: 32px;
  }
  .player-box {
    min-height: 300px;
    padding: 10px;
  }
  .link-input {
    width: 100%;
  }
  .upload-box {
    gap: 10px;
  }
  .upload-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* 第四区块 - 联系我们样式 */
.contact-section {
  min-height: 100vh;
  padding: 4vh 0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vh;
  align-items: start;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3vh;
}

.contact-item {
  background: white;
  padding: 3vh;
  border-radius: 2vh;
  box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1);
  border-left: 0.8vh solid #667eea;
}

.contact-item h3 {
  color: #667eea;
  margin-bottom: 1vh;
  font-size: 2.5vh;
}

.contact-item p {
  color: #666;
  font-size: 2.2vh;
  margin: 0;
}

.contact-form {
  background: white;
  padding: 4vh;
  border-radius: 2vh;
  box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 2.5vh;
}

.contact-form label {
  display: block;
  margin-bottom: 1vh;
  font-weight: 500;
  font-size: 2.2vh;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.5vh;
  border: 0.4vh solid #e1e5e9;
  border-radius: 1vh;
  font-size: 2.2vh;
  transition: border-color 0.3s ease;
  font-family: "Arial", "Microsoft YaHei", sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
}

.contact-form textarea {
  resize: vertical;
  min-height: 15vh;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh; /* 保证背景铺满整个页面 */
}

/* 页脚适配渐变背景 */
footer {
  background: inherit; /* 继承页面的渐变背景 */
  color: rgba(255, 255, 255, 0.9); /* 半透明白色文字，适配紫色渐变 */
  text-align: center;
  padding: 4vh 0;
  margin-top: 0;
}

/* 备案链接样式（适配渐变背景） */
footer a {
  color: rgba(255, 255, 255, 0.9); /* 链接文字和页脚文字同色 */
  text-decoration: none; /* 去掉默认下划线 */
  transition: color 0.3s; /* 悬浮过渡效果，更丝滑 */
}

footer a:hover {
  color: #ffffff; /* 悬浮时文字变纯白，更醒目 */
  text-decoration: underline; /* 悬浮加下划线 */
}

/* 版权文字样式优化 */
footer p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7); /* 版权文字稍淡，层级更清晰 */
}

/* 右下角背景音乐控制按钮样式 - 简约白月光款 + 绝美内置图标 */
.bgm-control-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.bgm-control-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(102, 126, 234, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.25), 0 0 10px rgba(102, 126, 234, 0.15);
  backdrop-filter: blur(12px);
  user-select: none;
  position: relative;
}
.bgm-control-btn:hover {
  background: #ffffff;
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 6px 22px rgba(102, 126, 234, 0.35), 0 0 15px rgba(102, 126, 234, 0.2);
  border-color: rgb(102, 126, 234);
}
.bgm-control-btn:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

/* ========== 纯CSS绘制3种精美图标 - 适配白色按钮 ========== */
.bgm-control-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #667eea;
  transition: all 0.2s ease;
}
.bgm-control-btn.playing::before {
  border: none;
  width: 16px;
  height: 20px;
  display: flex;
  justify-content: space-between;
}
.bgm-control-btn.playing::before span {
  width: 4px;
  height: 100%;
  background: #667eea;
  display: block;
}
.bgm-control-btn.muted::before {
  border: none;
  content: '';
	position: absolute;
	width: 18px;
	height: 12px;
	border: 2px solid #667eea;
	border-radius: 0 2px 2px 0;
	background: transparent;
}
.bgm-control-btn.muted::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #667eea;
  transform: rotate(-45deg);
  right: 12px;
  top: 29px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 0 3vw;
  }

  header .container {
    flex-direction: column;
    gap: 2vh;
    padding: 2vh 0;
  }

  .logo-image {
    height: 5vh;
  }

  nav ul {
    gap: 3vw;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 1.6vh;
  }

  .hero-section {
    min-height: 80vh;
  }

  .hero-section h2 {
    font-size: 3.5vh;
    margin-bottom: 2vh;
  }

  .hero-section p {
    font-size: 2.2vh;
    margin-bottom: 3vh;
  }

  .hero-content {
    padding: 2vh;
  }

  .scroll-indicator {
    bottom: 3vh;
  }

  .scroll-indicator span {
    font-size: 1.6vh;
  }

  .arrow {
    font-size: 2.5vh;
  }

  .features-section,
  .about-section {
    min-height: auto;
    padding: 6vh 0;
  }

  .section-title {
    font-size: 3.5vh;
    margin-bottom: 4vh;
  }

  .features-section .features,
  .features {
    grid-template-columns: 1fr;
    gap: 3vh;
  }

  .features-section .feature,
  .feature {
    padding: 3vh;
    margin: 0 1vw;
  }

  .features-section .feature:hover,
  .feature:hover {
    transform: translateY(-0.5vh);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2vh;
  }

  .stat {
    padding: 2vh;
  }

  .stat h4 {
    font-size: 3vh;
  }

  .stat p {
    font-size: 1.8vh;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 4vh;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 2vh;
  }

  .contact-item {
    padding: 2vh;
  }

  .contact-form {
    padding: 3vh;
  }

  footer {
    padding: 3vh 0;
  }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 85vw;
  }

  .hero-section h2 {
    font-size: 4.5vh;
  }

  .hero-section p {
    font-size: 2.5vh;
  }

  .features-section .features,
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vh;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 3vh;
  }
}

/* 大屏幕适配 */
@media (min-width: 1200px) {
  .container {
    max-width: 80vw;
  }

  .hero-section h2 {
    font-size: 6vh;
  }

  .hero-section p {
    font-size: 3.2vh;
  }

  .features-section .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 表单样式 */
.form-group {
  margin-bottom: 3vh;
}

.form-group label {
  display: block;
  margin-bottom: 1vh;
  font-weight: 500;
  font-size: 2.2vh;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.5vh;
  border: 0.4vh solid #e1e5e9;
  border-radius: 1vh;
  font-size: 2.2vh;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
}

.btn {
  display: inline-block;
  padding: 1.5vh 4vh;
  background: #667eea;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 1vh;
  font-size: 2.2vh;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #5a6fd8;
}

.btn-success {
  background: #28a745;
}

.btn-success:hover {
  background: #218838;
}

.btn-danger {
  background: #dc3545;
}

.btn-danger:hover {
  background: #c82333;
}

/* 消息提示 */
.alert {
  padding: 2vh;
  border-radius: 1vh;
  margin-bottom: 2vh;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 0.2vh solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 0.2vh solid #f5c6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 0.2vh solid #ffeaa7;
}
.swiper-container, .carousel-container {
  transform: translateZ(0);
  will-change: transform;
}

