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

/* 导航栏样式 */
nav {
  display: flex;
  background-color: rgb(117, 84, 84);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  width: 100%;
  border-radius: 0;
  align-items: center;
  padding: 5px;
  z-index: 1000;
  margin: 0;
  box-sizing: border-box;
}

nav>a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 80px;
  font-size: large;
  font-weight: 200;
  color: antiquewhite;
  border-radius: 20px;
  text-decoration: none;
  margin-right: 5px;
}

nav>a:hover {
  background-color: #25dd6596;
}

/* 主体样式 */
body {
    background-color: rgb(103, 100, 140);
    padding: 80px 20px 20px; /* 顶部预留导航栏空间 */
    min-height: 100vh;
}

/* 内容容器 */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* 分区通用样式 */
.section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 分区标题 */
.section-title {
    color: #00ffff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
}

/* 链接网格布局 */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

/* 网站链接样式 */
.site-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.site-link:hover {
    background: rgba(37, 221, 101, 0.3);
    border-color: #25dd65;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 221, 101, 0.2);
}

/* 预留分区样式 */
.reserve-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.reserve-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.reserve-text {
    color: #ffd700;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    opacity: 0.8;
}

/* 响应式适配 */
@media (max-width: 768px) {
    nav {
        justify-content: center;
        padding: 5px 10px;
    }

    nav>a {
        width: 70px;
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .site-link {
        font-size: 16px;
        height: 50px;
    }

    .reserve-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .content-container {
        grid-template-columns: 1fr;
    }

    nav {
        gap: 10px;
    }

    nav>a {
        width: 60px;
        font-size: 14px;
    }
}

h1 {
  color: aqua;
  font-size: larger;
  position: fixed;
  left: 20px; /* 调整为固定间距，避免重叠 */
  top: 10px;
  text-decoration: none;
  z-index: 1001; /* 确保标题在导航栏上层 */
}


.text1 {
    text-decoration: none;
    font-size: 30px;
    font-weight: bolder;
    color: rgb(236, 9, 9);
}

.text2 {
    text-decoration: none;
    font-size: 30px;
    font-weight: 400;
}
