/* Reset */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background: #ffffff; /* 浅蓝色背景 */
  color : #b4b4b4;
  line-height: 1.6;
}

/* Header */
.site-header {
  background: #3399ff;
  color: #fff;
  padding: 10px 0;
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.logo h1 a {
  color: #fff;
  font-size: 26px;
  text-decoration: none;
}

.nav-menu a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 16px;
}

/* Slider */
.slider {
  overflow: hidden;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slide-track {
  display: flex;
  width: calc(300%);
  animation: scroll 24s linear infinite;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Articles List */
.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.article-card {
  background: linear-gradient(3deg, #1f69d6 0%, #7838ff 100%);
  border: 3px solid #4491ff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.article-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.article-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.article-card h2 a {
  color: #ffffff;
  text-decoration: none;
}

/* 文章内容页 */
.content {
  background: linear-gradient(138deg, #1f69d6 0%, #2196F3 100%);
  padding: 30px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #fff;
}

.content p {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.8;
}

.content a {
  color: #f3f3f3;
  text-decoration: auto;
  border: bold;
}

.content h2, .content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #FFC107;
}

/* Footer */
.site-footer {
  background: #eff2f7;
  color :#3d3d3d;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 回到顶部按钮（可选） */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: #3399ff;
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 999;
}

.back-to-top:hover {
  background: #007bff;
}

/* 响应式布局（适配手机） */
@media (max-width: 768px) {
  .site-header {
    padding: 5px 0;
  }
  .logo h1 a {
    font-size: 20px;
  }
  .nav-menu {
    display: none;
  }
  .articles-list {
    grid-template-columns: 1fr;
  }
  .content {
    padding: 20px;
  }
}
/* Swiper容器 */
.swiper {
  width: 100%;
  height: auto;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 单个slide */
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 左右按钮样式 */
.swiper-button-prev,
.swiper-button-next {
  color: #3399ff;
  background: rgb(57 28 28 / 70%);
  width: 40px;
  height: 40px;
  border-radius: 10%;
  font-size: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #3399ff;
  color: #fff;
}

/* 小圆点pagination */
.swiper-pagination-bullet {
  background: #3399ff;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #189e74;
}

.slider-container {
  width: 95%;
  max-width: 800px;
  margin: auto;
  padding: 0px;
}

.swiper {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

.site-header {
  background: #ffffff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgb(61 61 61 / 66%);
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu a {
  margin-left: 20px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu a:hover {
  color: #fce559;
}
.nav-menu {
  display: flex;
  gap: 10px;
}

.nav-menu a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* Home按钮 */
.btn-nav {
  background: #c8c6c6;
  color: #333;
}

.btn-nav:hover {
  background: #ddd;
}

/* Join按钮（高亮） */
.btn-join {
  background: #1f69d6;
  color: #fff;
}

.btn-join:hover {
  background: #005fa3;
}
/* 分页按钮 Pagination */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination a:hover {
    background: #3d9172;
    color: #fff;
}

/* 当前页码高亮 */
.pagination a.active {
    background: #ffc107;
    color: #fff;
}

/* Prev / Next 特别处理 */
.pagination a.prev,
.pagination a.next {
    background: #ddd;
    color: #555;
}

.pagination a.prev:hover,
.pagination a.next:hover {
    background: #0077cc;
    color: #fff;
}

.marquee-container {
            width: auto;
            overflow: hidden;
            border: 1px solid #4491ff;
            background: linear-gradient(3deg, #1f69d6 0%, #7838ff 100%);}
.marquee-text {
            display: inline-block;
            white-space: nowrap;
            animation: marquee 10s linear infinite;
            font-size: 20px;
            color: #fff;}
@keyframes marquee {
            0%   { transform: translateX(100%);}
            100% { transform: translateX(-100%);}
}


.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 10px;
}

.fancy-button {
  display: inline-block;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(155deg, #1f69d6 7.78%, hsl(259.3deg 100% 60.98%) 49.95%, #1f69d6 92.11%);
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 120px;
  flex: 1 1 140px;
  max-width: 80px;
  will-change: transform;
}

.fancy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}