
/* 全局样式 */
body {
  margin: 0;
  font-family: 'Roboto Light', sans-serif;
  background: linear-gradient(135deg, #000000, #2c3e50);
  color: #ecf0f1;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Futura', sans-serif;
  color: #ffffff;
}

p {
  font-size: 1rem;
  color: #bdc3c7;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9;
}

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

/* 头部样式 */
header {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #2980b9, #6dd5fa);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

header h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 10.01%);
  animation: moveBackground 10s linear infinite;
}

@keyframes moveBackground {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 图片区块 */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

/* 内容区块 */
.content-section {
  background: linear-gradient(135deg, #1c2541, #3a4759);
  padding: 60px 0;
  position: relative;
}

.content-section:nth-child(even) {
  background: linear-gradient(135deg, #2c3e50, #34495e);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.article-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
}

.code-block {
  background: #1e2732;
  color: #66fcf1;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Consolas', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 20px 0;
}

code {
  color: #ff79c6;
}

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: linear-gradient(135deg, #2980b9, #6dd5fa);
  color: #fff;
}

tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .code-block {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

