/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: "Arial", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  html {
    scrollbar-width: thin;
  }
  
  ::-webkit-scrollbar {
    display: block;
    width: 4px;
    height: 4px;
  }
  
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
  }
}

/* 桌面端隐藏滚动条 */
@media (min-width: 769px) {
  ::-webkit-scrollbar {
    display: none;
  }
  
  html {
    scrollbar-width: none;
  }
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 5vw;
}

/* 头部样式 */
header {
  background: rgba(44, 44, 44, 0.9); /* 半透明黑灰色背景 */
  color: white;
  padding: 1vh 0; /* 使用vh单位 */
  box-shadow: 0 0.2vh 1vh rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(10px); /* 毛玻璃效果 */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: -10vw; /* logo靠左侧屏幕距离 */
}

nav {
  margin-right: -10vw; /* 导航靠右侧屏幕距离 */
}

.logo-image {
  height: 6vh; /* 使用vh单位 */
  width: auto;
  object-fit: contain;
  filter: invert(1); /* 颜色反转 - 黑色变白色，白色变黑色 */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3vw; /* 使用vw单位 */
}

nav > ul > li {
  position: relative;
}

nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(102, 126, 234, 0.95);
  min-width: 180px;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
}

nav .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

nav .dropdown-menu a:hover {
  background: rgba(255,255,255,0.2);
}

nav > ul > li:hover > .dropdown-menu {
  display: block;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8vh; /* 使用vh单位 */
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffd700;
}

/* 主要内容区域 */
main {
  min-height: calc(100vh - 15vh);
  padding: 4vh 0;
}

/* 旧版样式 - 保留但注释掉，避免冲突 */
/*
.hero {
  text-align: center;
  padding: 8vh 0;
  background: white;
  border-radius: 2vh;
  box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1);
  margin-bottom: 6vh;
}

.hero h2 {
  font-size: 4vh;
  margin-bottom: 2vh;
  color: #333;
}

.hero p {
  font-size: 2.2vh;
  color: #666;
  margin-bottom: 4vh;
}

.status {
  background: #f8f9fa;
  padding: 2vh;
  border-radius: 1vh;
  border-left: 0.8vh solid #28a745;
}

.status p {
  margin: 0;
  font-weight: 500;
  font-size: 2.2vh;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
  gap: 4vh;
  margin-top: 6vh;
}

.feature {
  background: white;
  padding: 4vh;
  border-radius: 2vh;
  box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-1vh);
}

.feature h3 {
  color: #667eea;
  margin-bottom: 2vh;
  font-size: 2.8vh;
}

.feature p {
  color: #666;
  font-size: 2.2vh;
}
*/

/* 新区块样式 */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../../picture/background1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 80vw;
  padding: 4vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 靠左侧对齐 */
  width: 100%;
}

.hero-image-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-left: -40vw; /* 向左移动40vw */
  margin-top: -10vh; /* 向上移动10vh */
}

.hero-image {
  max-width: 70vw; /* 增大图片宽度 */
  max-height: 80vh; /* 增大图片高度 */
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero-section h2 {
  font-size: 5vh;
  margin-bottom: 3vh;
  font-weight: bold;
  text-shadow: 0.4vh 0.4vh 0.8vh rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: 2.8vh;
  margin-bottom: 4vh;
  text-shadow: 0.2vh 0.2vh 0.4vh rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  display: block;
  margin-bottom: 1vh;
  font-size: 1.8vh;
}

.arrow {
  font-size: 3vh;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-2vh);
  }
  60% {
    transform: translateY(-1vh);
  }
}

.features-section {
  min-height: 100vh;
  padding: 4vh 0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
}

.section-title {
  text-align: center;
  font-size: 4.5vh;
  margin-bottom: 6vh;
  color: #333;
}

.features-section .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
  gap: 4vh;
}

.features-section .feature {
  background: white;
  padding: 5vh;
  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;
  font-size: 2.8vh;
}

.features-section .feature p {
  color: #666;
  line-height: 1.6;
  font-size: 2.2vh;
}

.about-section {
  min-height: 100vh;
  padding: 4vh 0;
  background: white;
  display: flex;
  align-items: center;
}

.about-content {
  max-width: 80vw;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 2.8vh;
  line-height: 1.8;
  color: #555;
  margin-bottom: 6vh;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
  gap: 4vh;
  margin-top: 4vh;
}

.stat {
  text-align: center;
  padding: 3vh;
}

.stat h4 {
  font-size: 4vh;
  color: #667eea;
  margin-bottom: 1vh;
  font-weight: bold;
}

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

/* 第二区块 - 1111轮播图样式 */
.carousel-section {
  min-height: 100vh;
  padding: 0;
  background: #eaeaea;
  position: relative;
  overflow: hidden;
}

.carousel-container-1111 {
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #f5f5f5;
  overflow: hidden;
}

#slide {
  width: max-content;
  margin-top: 50px;
}

.item {
  width: 200px;
  height: 300px;
  background-position: 50% 50%;
  display: inline-block;
  background-size: cover;
  position: absolute;
  top: 50%;
  margin-top: -150px;
  border-radius: 20px;
  box-shadow: 0 30px 50px #505050;
  transition: 0.5s;
}

.item:nth-child(1),
.item:nth-child(2) {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
  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;
}

/* 鼠标检测区域 */
.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);
}

.popup-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vh;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4vh;
}

.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;
  }
}

/* 第四区块 - 书页翻页效果样式 */
.book-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5vh 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.book-viewer {
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-container {
  position: relative;
  min-height: 500px;
  margin-bottom: 30px;
}

.page {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 40px;
  min-height: 500px;
  transition: all 0.5s ease;
}

.current-page {
  position: relative;
  z-index: 2;
}

.next-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  opacity: 0;
  transform: translateX(100px);
}

.page-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px; /* 减少标题和内容的间距 */
  font-family: "STXingkai", "STKaiti", "KaiTi", "楷体", "仿宋", "FangSong",
    "华文楷体", "STXinwei", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-image {
  max-width: 100%;
  max-height: 400px;
}

.page-image img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-text {
  font-size: 2rem;
  line-height: 1.8;
  color: #333;
  max-width: 100%;
  word-wrap: break-word;
  white-space: pre-wrap;
  text-align: center;
  max-height: 9rem; /* 限制为5行，每行1.8行高 */
  overflow: visible; /* 改为visible避免内容被裁剪 */
  display: block; /* 改回block布局 */
  padding: 10px 0; /* 添加内边距确保内容可见 */
  margin: 0 auto; /* 居中显示 */
}

/* 毛笔字体样式 */
.brush-text {
  font-family: "STXingkai", "STKaiti", "KaiTi", "楷体", "仿宋", "FangSong",
    "华文楷体", "STXinwei", serif;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

.regular-text {
  font-family: "Arial", "Microsoft YaHei", sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
}

.page-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.page-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.page-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-btn.last-page {
  background: rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.page-btn.last-page:hover:not(:disabled) {
  background: rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.7);
}

.page-info {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .book-viewer {
    padding: 20px;
    margin: 0 10px;
  }

  .page {
    padding: 20px;
    min-height: 400px;
  }

  .page-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .page-image img {
    max-height: 300px;
  }

  .page-text {
    font-size: 1.6rem;
  }

  .brush-text {
    font-size: 1.8rem;
  }

  .regular-text {
    font-size: 1.4rem;
  }

  .page-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .page-info {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .book-viewer {
    padding: 15px;
  }

  .page {
    padding: 15px;
    min-height: 350px;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-image img {
    max-height: 250px;
  }

  .page-text {
    font-size: 1.4rem;
  }

  .brush-text {
    font-size: 1.6rem;
  }

  .regular-text {
    font-size: 1.2rem;
  }

  .page-controls {
    flex-direction: column;
    gap: 15px;
  }

  .page-btn {
    width: 100%;
  }
}

/* 第四区块 - 联系我们样式 */
.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;
}

/* 页脚样式 */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 4vh 0;
  margin-top: 0;
}

/* 右下角背景音乐控制按钮样式 */

/* ============================================
   全局响应式样式
   ============================================ */

/* 大屏幕桌面端 (>1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-image {
    max-width: 50vw;
    max-height: 70vh;
  }
  
  .hero-image-container {
    margin-left: -30vw;
  }
}

/* 中等屏幕桌面端 (1024px - 1400px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .container {
    max-width: 960px;
  }
  
  .hero-image {
    max-width: 55vw;
    max-height: 65vh;
  }
  
  .hero-image-container {
    margin-left: -25vw;
  }
}

/* 平板端 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 720px;
    padding: 0 15px;
  }
  
  .logo {
    margin-left: 0;
  }
  
  nav {
    margin-right: 0;
  }
  
  nav ul {
    gap: 15px;
  }
  
  nav a {
    font-size: 1.4vh;
  }
  
  .hero-image {
    max-width: 65vw;
    max-height: 60vh;
  }
  
  .hero-image-container {
    margin-left: -15vw;
    margin-top: -5vh;
  }
  
  .hero-section h2 {
    font-size: 4vh;
  }
  
  .hero-section p {
    font-size: 2.2vh;
  }
  
  .section-title {
    font-size: 3.5vh;
  }
  
  .features-section .feature {
    padding: 3vh;
  }
  
  .features-section .feature h3 {
    font-size: 2.2vh;
  }
  
  .features-section .feature p {
    font-size: 1.8vh;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4vh;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-text {
    font-size: 1.6rem;
  }
}

/* 移动端 (<768px) */
@media (max-width: 767px) {
  /* 全局样式 */
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  html {
    scrollbar-width: thin;
  }
  
  ::-webkit-scrollbar {
    display: block;
    width: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
  
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* 头部样式 */
  header {
    padding: 10px 0;
  }
  
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .logo {
    margin-left: 0;
    margin-bottom: 10px;
    justify-content: center;
    width: 100%;
  }
  
  .logo-image {
    height: 40px;
  }
  
  nav {
    margin-right: 0;
    width: 100%;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 0;
  }
  
  nav > ul > li {
    position: relative;
  }
  
  nav a {
    font-size: 12px;
    padding: 5px 8px;
    display: block;
  }
  
  nav .dropdown-menu {
    position: fixed;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 280px;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  /* 英雄区块 */
  .hero-section {
    min-height: 100vh;
    padding: 60px 0 40px;
  }
  
  .hero-content {
    max-width: 95%;
    padding: 20px;
  }
  
  .hero-image-container {
    margin-left: 0;
    margin-top: 0;
    justify-content: center;
  }
  
  .hero-image {
    max-width: 90vw;
    max-height: 50vh;
  }
  
  .hero-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .scroll-indicator span {
    font-size: 12px;
  }
  
  .arrow {
    font-size: 20px;
  }
  
  /* 特性区块 */
  .features-section {
    padding: 40px 0;
    min-height: auto;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .features-section .features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .features-section .feature {
    padding: 20px;
    border-radius: 15px;
  }
  
  .features-section .feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .features-section .feature p {
    font-size: 14px;
  }
  
  /* 关于区块 */
  .about-section {
    padding: 40px 0;
    min-height: auto;
  }
  
  .about-content {
    max-width: 95%;
    padding: 0 15px;
  }
  
  .about-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .stat h4 {
    font-size: 24px;
  }
  
  .stat p {
    font-size: 12px;
  }
  
  /* 轮播区块 */
  .carousel-section {
    min-height: 60vh;
    padding: 60px 0 40px;
  }
  
  #slide .item {
    width: 100%;
    height: 300px;
  }
  
  #slide .item .content {
    padding: 15px;
  }
  
  #slide .item .name {
    font-size: 18px;
  }
  
  #slide .item .des {
    font-size: 12px;
  }
  
  .carousel-container-1111 .buttons {
    bottom: 20px;
  }
  
  .carousel-container-1111 .s_button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  /* 个人介绍区块 */
  .section-tertiary {
    min-height: 60vh;
    padding: 60px 0 40px;
  }
  
  .left-popup {
    width: 85%;
    max-width: 300px;
    left: -100%;
    padding: 15px;
  }
  
  .left-popup.active {
    left: 0;
  }
  
  .popup-header h3 {
    font-size: 16px;
  }
  
  .popup-scroll-indicator {
    font-size: 10px;
  }
  
  .players-container {
    max-height: 50vh;
  }
  
  .player-card {
    width: 100px;
    padding: 10px;
  }
  
  .player-avatar {
    width: 50px;
    height: 50px;
  }
  
  .player-name {
    font-size: 12px;
  }
  
  .player-info-overlay {
    padding: 15px;
  }
  
  .player-info-name {
    font-size: 20px;
  }
  
  .player-info-guild,
  .player-info-expertise,
  .player-info-style {
    font-size: 12px;
  }
  
  .mobile-arrow-indicator {
    display: flex;
    padding: 10px 15px;
  }
  
  .mobile-arrow {
    width: 20px;
    height: 20px;
  }
  
  /* 书页区块 */
  .book-section {
    min-height: 60vh;
    padding: 60px 0 40px;
  }
  
  .book-viewer {
    padding: 15px;
    margin: 0 10px;
  }
  
  .page {
    padding: 20px;
    min-height: 350px;
  }
  
  .page-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .page-image img {
    max-height: 200px;
  }
  
  .page-text {
    font-size: 14px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .brush-text {
    font-size: 16px;
  }
  
  .regular-text {
    font-size: 14px;
  }
  
  .page-controls {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  
  .page-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .page-info {
    font-size: 14px;
  }
  
  /* 联系区块 */
  .contact-section {
    min-height: auto;
    padding: 40px 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .contact-item {
    padding: 15px;
    border-left-width: 4px;
  }
  
  .contact-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .contact-item p {
    font-size: 14px;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form label {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 14px;
    border-width: 2px;
  }
  
  .contact-form textarea {
    min-height: 100px;
  }
  
  /* 百业日报区块 */
  .diary-section {
    padding: 40px 0;
  }
  
  .diary-card {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .diary-header {
    flex-direction: column;
    gap: 5px;
  }
  
  .diary-player {
    font-size: 14px;
  }
  
  .diary-date {
    font-size: 12px;
  }
  
  .diary-content {
    font-size: 14px;
  }
  
  .diary-meta {
    font-size: 12px;
  }
  
  /* 页脚 */
  footer {
    padding: 20px 0;
  }
  
  footer p {
    font-size: 12px;
  }
}

/* 小屏幕手机 (<480px) */
@media (max-width: 479px) {
  /* 头部 */
  header {
    padding: 8px 0;
  }
  
  .logo-image {
    height: 35px;
  }
  
  nav ul {
    gap: 3px;
  }
  
  nav a {
    font-size: 11px;
    padding: 4px 6px;
  }
  
  nav .dropdown-menu {
    width: 95%;
    max-width: 260px;
  }
  
  nav .dropdown-menu a {
    padding: 8px 15px;
    font-size: 13px;
  }
  
  /* 英雄区块 */
  .hero-section {
    padding: 50px 0 30px;
  }
  
  .hero-image {
    max-width: 95vw;
    max-height: 40vh;
  }
  
  .hero-section h2 {
    font-size: 22px;
  }
  
  .hero-section p {
    font-size: 14px;
  }
  
  /* 特性区块 */
  .section-title {
    font-size: 20px;
  }
  
  .features-section .feature {
    padding: 15px;
  }
  
  .features-section .feature h3 {
    font-size: 16px;
  }
  
  .features-section .feature p {
    font-size: 13px;
  }
  
  /* 轮播区块 */
  #slide .item {
    height: 250px;
  }
  
  #slide .item .name {
    font-size: 16px;
  }
  
  /* 个人介绍区块 */
  .left-popup {
    width: 90%;
    max-width: 280px;
  }
  
  .player-card {
    width: 80px;
    padding: 8px;
  }
  
  .player-avatar {
    width: 40px;
    height: 40px;
  }
  
  .player-name {
    font-size: 11px;
  }
  
  .player-info-name {
    font-size: 18px;
  }
  
  /* 书页区块 */
  .page {
    padding: 15px;
    min-height: 300px;
  }
  
  .page-title {
    font-size: 18px;
  }
  
  .page-image img {
    max-height: 150px;
  }
  
  .page-text {
    font-size: 13px;
  }
  
  /* 联系区块 */
  .contact-item {
    padding: 12px;
  }
  
  .contact-form {
    padding: 15px;
  }
  
  /* 统计数据 */
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .stat {
    padding: 10px;
  }
  
  .stat h4 {
    font-size: 20px;
  }
  
  .stat p {
    font-size: 11px;
  }
}

/* 横屏手机优化 */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 80px 0 40px;
  }
  
  .hero-image {
    max-height: 60vh;
  }
  
  .carousel-section {
    min-height: 100vh;
  }
  
  #slide .item {
    height: 80vh;
  }
  
  .section-tertiary {
    min-height: 100vh;
  }
  
  .book-section {
    min-height: auto;
    padding: 80px 0 40px;
  }
  
  .page {
    min-height: auto;
  }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
  }
  
  .hero-image {
    image-rendering: -webkit-optimize-contrast;
  }
  
  .player-avatar img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* 打印样式 */
@media print {
  header,
  footer,
  .scroll-indicator,
  .mobile-arrow-indicator,
  .left-popup,
  .mouse-detection-area {
    display: none !important;
  }
  
  body {
    overflow: visible;
    background: white;
  }
  
  .hero-section,
  .carousel-section,
  .section-tertiary,
  .book-section,
  .contact-section {
    min-height: auto;
    page-break-after: always;
  }
}

/* 辅助功能 - 减少动画 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .arrow {
    animation: none;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  /* 可以在这里添加深色模式样式 */
}

/* 备案提示横幅响应式 */
.备案-banner {
  font-size: 16px !important;
  padding: 10px !important;
}

@media (max-width: 768px) {
  .备案-banner {
    font-size: 14px !important;
    padding: 8px !important;
  }
}

@media (max-width: 480px) {
  .备案-banner {
    font-size: 12px !important;
    padding: 6px !important;
  }
}

.bgm-control-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.bgm-control-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.bgm-control-btn:hover {
  background: rgba(102, 126, 234, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.bgm-control-btn:active {
  transform: scale(0.95);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .bgm-control-container {
    bottom: 20px;
    right: 20px;
  }

  .bgm-control-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* 响应式设计 */
@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;
}

/* 百业日报区块样式 */
.diary-section {
  min-height: 100vh;
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.diary-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.diary-container h2 {
  text-align: center;
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

.diary-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.diary-list {
  max-height: 60vh;
  overflow-y: auto;
}

.diary-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.diary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.diary-player {
  font-weight: bold;
  color: #667eea;
  font-size: 16px;
}

.diary-date {
  color: #999;
  font-size: 12px;
}

.diary-content {
  color: #333;
  line-height: 1.8;
  white-space: pre-wrap;
  font-size: 15px;
}

.diary-meta {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  color: #666;
  font-size: 13px;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
  header {
    padding: 8px 0;
    min-height: auto;
  }
  
  header .container {
    flex-wrap: wrap;
    padding: 0 10px;
  }
  
  .logo {
    margin-left: 0;
    margin-right: auto;
  }
  
  .logo-image {
    height: 36px;
  }
  
  /* 汉堡菜单按钮 */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* 移动端导航菜单 */
  nav {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(44, 44, 44, 0.98);
    padding: 15px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - 52px);
    overflow-y: auto;
    margin-right: 0;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  nav > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  nav > ul > li:last-child {
    border-bottom: none;
  }
  
  nav a {
    font-size: 15px;
    padding: 12px 15px;
    display: block;
    width: 100%;
  }
  
  nav .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(102, 126, 234, 0.3);
    min-width: 100%;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: none;
  }
  
  nav > ul > li:hover > .dropdown-menu,
  nav > ul > li.active > .dropdown-menu {
    display: block;
  }
  
  nav .dropdown-menu a {
    padding: 10px 30px;
    font-size: 14px;
  }
}

/* 桌面端隐藏汉堡菜单 */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  nav > ul > li:hover > .dropdown-menu {
    display: none;
  }
  
  nav > ul > li.active > .dropdown-menu {
    display: block;
  }
  
  nav a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }
  
  button, .btn {
    min-height: 44px;
    min-width: 44px;
  }
}
