
/* 全局样式设置 */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(to bottom, #000046, #1c1c1c);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #39ff14;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}
p { font-size: 1rem; }
a { color: #00bfff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* 容器与布局 */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1440px;
  margin: auto;
}
.fullscreen-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 图片与装饰 */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
img:hover { transform: scale(1.05); }

/* 按钮与交互 */
.button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #00bfff, #39ff14);
  color: #000;
  font-weight: bold;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}
.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}
.button:hover::before {
  width: 200%;
  height: 200%;
}

/* 代码块样式 */
pre {
  background: #1c1c1c;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
}
code {
  color: #39ff14;
  font-family: 'Courier New', Courier, monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  p { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  body { padding: 10px; }
  .fullscreen-section { height: auto; padding: 50px 0; }
}

/* 动画效果 */
.fade-in {
  animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

