
/* 基础样式与配色方案 */
body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background: linear-gradient(135deg, #000033, #1a1a4d, #000000);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: bold;
  text-transform: uppercase;
  color: #ff00ff;
  text-shadow: 0 0 10px #00ff00;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

a {
  color: #00ffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00ff00;
}

/* 模块布局与间距 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.module {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 0, 0.1));
  z-index: -1;
  opacity: 0.5;
}

/* 图片样式与装饰 */
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.module {
  animation: fadeIn 1s ease-in-out;
}

/* 代码块样式 */
pre {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 0.9rem;
}

code {
  color: #00ff00;
  font-family: 'Courier New', Courier, monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  h1, h2, h3 {
    font-size: 1.5em;
  }

  p {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 30px;
  }
}

/* 提示信息 */
.tip {
  text-align: center;
  font-size: 1.2rem;
  color: #ff00ff;
  margin-top: 20px;
}

