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

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

h1, h2, h3 {
  text-shadow: 2px 2px 5px rgba(0, 255, 0, 0.8);
  font-family: 'Futura', sans-serif;
}

.nav-bar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(to bottom, #1a1a1a, #333333);
  color: #00ff00;
  padding: 20px;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
}

.nav-bar a {
  color: #00ff00;
  text-decoration: none;
  display: block;
  margin: 15px 0;
}

.content-area {
  margin-left: 270px;
  width: calc(100% - 270px);
  padding: 20px;
  background: rgba(0, 0, 51, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

@media (max-width: 768px) {
  .nav-bar {
    width: 100%;
    height: auto;
    position: static;
    display: flex;
    flex-direction: column;
    padding: 10px;
  }
  
  .content-area {
    margin-left: 0;
    width: 100%;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.image-grid img {
  width: 100%;
  height: auto;
  border: 2px solid #00ff00;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

code {
  display: block;
  background: #001a33;
  color: #00ff00;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #001a33;
  color: #00ff00;
}

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

.loading-circle {
  width: 50px;
  height: 50px;
  border: 5px solid #00ff00;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

