
/* 全局样式 */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0A1F44, #C0C0C0);
  color: #fff;
  overflow-x: hidden;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 头部样式 */
header {
  text-align: center;
  padding: 50px 0;
  background: radial-gradient(circle, rgba(10,31,68,1) 0%, rgba(192,192,192,1) 100%);
}

header h1 {
  font-family: 'Futura', sans-serif;
  font-size: 3em;
  color: #39FF14;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 通知样式 */
.notification {
  text-align: center;
  margin: 20px 0;
  font-size: 1.2em;
  color: #FF6F61;
  animation: glow 3s infinite;
}

@keyframes glow {
  0% { text-shadow: 0 0 10px #FF6F61; }
  50% { text-shadow: 0 0 20px #39FF14; }
  100% { text-shadow: 0 0 10px #FF6F61; }
}

/* 主内容区 */
.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 卡片样式 */
.card {
  background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  flex: 1 1 45%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table, th, td {
  border: 1px solid #39FF14;
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #FF6F61;
  color: #fff;
}

/* 代码块样式 */
pre {
  background: #1e1e1e;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 20px 0;
}

code {
  font-family: 'Courier New', Courier, monospace;
  color: #39FF14;
}

/* 图片样式 */
img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 10px 0;
}

/* 示例展示样式 */
.example-display {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 40px 0;
}

.example-display h2 {
  font-family: 'Futura', sans-serif;
  color: #39FF14;
}

.example-display p {
  font-size: 1em;
  line-height: 1.6;
  color: #fff;
}

/* 图标样式 */
.icon {
  width: 50px;
  height: 50px;
  margin: 10px;
  filter: brightness(0) saturate(100%) invert(39%) sepia(72%) saturate(750%) hue-rotate(90deg) brightness(103%) contrast(101%);
}

/* 响应式设计 */
@media (max-width: 320px) {
  header h1 {
    font-size: 2em;
  }
  .card {
    flex: 1 1 100%;
  }
}

@media (min-width: 321px) and (max-width: 480px) {
  header h1 {
    font-size: 2.2em;
  }
  .card {
    flex: 1 1 100%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  header h1 {
    font-size: 2.5em;
  }
  .card {
    flex: 1 1 45%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  header h1 {
    font-size: 2.8em;
  }
  .card {
    flex: 1 1 45%;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  header h1 {
    font-size: 3em;
  }
  .card {
    flex: 1 1 30%;
  }
}

@media (min-width: 1201px) {
  header h1 {
    font-size: 3.5em;
  }
  .card {
    flex: 1 1 22%;
  }
}

/* 动画效果 */
@keyframes aurora-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #39FF14;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

