
/* 全局基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
  background: #000b0d;
  color: #fff;
  line-height: 1.6;
  padding: 0px;
}

/* 头部导航样式 */
.site-header {
  position: fixed; /* 固定定位，脱离文档流，不跟随滑动 */
  top: 0; left: 0; width: 100%; /* 铺满屏幕顶部 */
  z-index: 999; /* 保证导航永远在内容上方 */
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(90deg, #ff6b9d, #c44569, #f8b500);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav a {
    
  color: #ff6b9d;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.3s;
}

.nav a:hover {
  color: #ff6b9d;
}

/* ====================== 炫彩卡片核心样式 ====================== */
.card {
  /* 基础布局 */
  margin: 5px 0;
  padding: 25px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  
  /* 炫彩渐变背景（可自行修改颜色） */
  background: linear-gradient(135deg, #6441a5, #000b0d, #1a2a6c, #b21f1f);
  background-size: 400% 400%;
  
  /* 动态渐变动画 */
  animation: gradientBG 3s ease infinite;
  
  /* 彩色发光阴影 */
  box-shadow: 0 8px 32px rgba(100, 65, 165, 0.3), 
              0 0 20px rgba(178, 31, 31, 0.2);
  
  /* 流光边框效果 */
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* 卡片背景渐变动画 */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 卡片悬浮动效 */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(100, 65, 165, 0.5), 
              0 0 30px rgba(255, 107, 157, 0.4);
  transition: all 0.4s ease;
}

/* 卡片标题样式 */
.card h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, #ff9a9e, #fad0c4, #fad0c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ====================== 公告列表样式 ====================== */
.announcement-list {
  list-style: none;
}

.announcement-list li {
  padding: 12px 15px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: 0.3s;
}

.announcement-list li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

/* ====================== 联系方式样式 ====================== */
.contact-hint {
  color: #ccc;
  margin-bottom: 15px;
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  transition: 0.3s;
}

/* 可复制项炫彩效果 */
.contact-copyable {
  cursor: pointer;
  border: 1px solid rgba(255, 154, 158, 0.3);
}

.contact-copyable:hover {
  background: rgba(255, 154, 158, 0.2);
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(255, 154, 158, 0.3);
}

.contact-item dt {
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 5px;
}

.contact-item dd {
  color: #fff;
  margin: 0;
}

/* ====================== 底部文字 ====================== */
.footer-note {
  text-align: center;
  margin-top: 30px;
  color: #999;
}

.footer-note a {
  color: #ff6b9d;
  text-decoration: none;
  transition: 0.3s;
}

.footer-note a:hover {
  color: #fad0c4;
}

/* ====================== 复制提示弹窗 ====================== */
.contact-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
  z-index: 999;
  font-weight: bold;
}
/* ✅ 全设备强制一排5个标签 */
.embed-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 固定5列，均分宽度 */
  gap: 4px; /* 缩小间距，适配小屏 */
  overflow-x: auto; /* 标签过多时横向滚动，不换行 */
  padding: 4px 0; /* 增加内边距，提升触摸体验 */
  scrollbar-width: none; /* 隐藏滚动条（Firefox） */
}

/* 隐藏滚动条（Chrome/Safari） */
.embed-tabs::-webkit-scrollbar {
  display: none;
}

.embed-tab {
  padding: 6px 8px; /* 减小内边距，适配小屏 */
  font-size: 12px; /* 缩小字体，避免文字溢出 */
  white-space: nowrap; /* 强制文字不换行 */
  overflow: hidden;
  text-overflow: ellipsis; /* 文字过长时显示省略号 */
  min-width: 60px; /* 确保最小点击区域 */
}
main {
  margin-top: 70px;
}
