
/* 页面整体样式 */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #1a237e, #3f51b5);
  overflow-x: hidden;
}

/* 提示信息 */
.notice {
  text-align: center;
  font-size: 14px;
  color: #ffeb3b;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

/* 头部区域 */
header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #3f51b5, #673ab7);
}
header h1 {
  font-family: 'Roboto Mono', monospace;
  font-size: 2.5rem;
  letter-spacing: 3px;
  margin: 0;
}
header p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 10px auto 0;
}

/* 卡片容器 */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 20px;
}

/* 卡片样式 */
.card {
  background-color: #1a237e;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  width: calc(33% - 40px);
  min-height: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 20px;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  z-index: 1;
}
.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* 卡片内容 */
.card-title {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.2rem;
  margin-bottom: 10px;
  z-index: 2;
  position: relative;
}
.card-description {
  font-size: 0.9rem;
  line-height: 1.4;
  z-index: 2;
  position: relative;
}
.card-tags {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  z-index: 2;
  position: relative;
}
.card-tag {
  background-color: #8bc34a;
  color: #000;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .card {
    width: calc(50% - 40px);
  }
}
@media (max-width: 768px) {
  .card {
    width: 100%;
  }
}

/* 文章展示区域 */
.article-section {
  background-color: #1e1e1e;
  padding: 40px 20px;
  margin-top: 40px;
}
.article-section h2 {
  font-family: 'Roboto Mono', monospace;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}
.article-section pre {
  background-color: #333;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
}

/* 动画效果 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.card img {
  animation: float 6s infinite;
}

