
/* 全局样式定义 */
body {
  background: linear-gradient(135deg, #000066, #330099);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #00ffcc;
}

p {
  font-size: 16px;
  color: #dcdcdc;
}

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

a:hover {
  color: #00ffcc;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.section {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #00ffcc, #00ccff, #ff00ff, #00ffcc);
  z-index: -1;
  border-radius: 15px;
  filter: blur(10px);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

pre {
  background: #1e1e1e;
  color: #00ffcc;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  border: 1px solid #444;
  padding: 10px;
  text-align: center;
}

th {
  background: #002244;
  color: #00ffcc;
}

td {
  background: #001122;
}

.button {
  background-color: #00ffcc;
  color: #000000;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: #00ccff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 24px;
  }
  
  p {
    font-size: 14px;
  }
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-element {
  animation: floating 5s infinite ease-in-out;
}

.model-container {
  width: 100%;
  height: 400px;
  perspective: 1000px;
  position: relative;
}

.model {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate 10s infinite linear;
  position: absolute;
  top: 0;
  left: 0;
}

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

.notice {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 20px;
}

