
/* 页面基础样式 */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #003366, #660099);
  color: #fff;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to right, #003366, #000033);
  margin-bottom: 20px;
}
header h1 {
  font-size: 36px;
  font-weight: bold;
  color: #ff9900;
  text-transform: uppercase;
  letter-spacing: 2px;
}
section {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
h2 {
  color: #ffcc00;
  font-size: 28px;
  border-bottom: 2px solid #ff9900;
  padding-bottom: 10px;
}
p {
  font-size: 16px;
  color: #dcdcdc;
  margin-bottom: 20px;
}
pre {
  background: #222;
  color: #00ff00;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
th, td {
  border: 1px solid #555;
  padding: 10px;
  text-align: center;
}
th {
  background: #333;
  color: #ff9900;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}
button {
  background: #ff9900;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover {
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.8);
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@media (max-width: 768px) {
  header h1 { font-size: 24px; }
  h2 { font-size: 22px; }
  p { font-size: 14px; }
}

