
/* 全局样式定义 */
:root {
  --primary-color: #0A192F;
  --secondary-color: #645CBB;
  --accent-color: #00D2FF;
  --highlight-color: #FFD700;
  --success-color: #38B69A;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --font-title: 'Orbitron', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle, rgba(10,25,47,1) 0%, rgba(10,25,47,0.8) 50%, transparent 100%);
  font-family: var(--font-primary);
  color: #FFFFFF;
  line-height: 1.6;
  padding: 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title), sans-serif;
  color: var(--accent-color);
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5em;
  text-align: center;
}

h2 {
  font-size: 2em;
  margin-top: 40px;
}

h3 {
  font-size: 1.75em;
  margin-top: 30px;
}

/* 段落样式 */
p {
  font-size: 1em;
  margin-bottom: 20px;
}

/* 列表样式 */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
}

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

th, td {
  border: 1px solid var(--secondary-color);
  padding: 10px;
  text-align: left;
}

th {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

tr:nth-child(even) {
  background-color: rgba(100,92,187,0.2);
}

/* 代码块样式 */
pre {
  background: rgba(0, 210, 255, 0.1);
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 20px;
}

code {
  font-family: 'Courier New', Courier, monospace;
  color: var(--success-color);
}

/* 按钮样式 */
button {
  background-color: var(--success-color);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  background-color: var(--accent-color);
}

/* 模块化区域 */
.module {
  background: rgba(100,92,187,0.1);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.module-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.module-header img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.module-title {
  font-size: 1.5em;
  color: var(--accent-color);
}

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

/* 链接样式 */
a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1440px) {
  body {
    padding: 15px;
  }
}

@media (max-width: 1200px) {
  .module {
    padding: 25px;
  }

  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 1024px) {
  .module {
    padding: 20px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .module {
    padding: 15px;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.4em;
  }

  h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1em;
  }

  .module-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .module-header img {
    margin-bottom: 10px;
  }
}

@media (max-width: 320px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 1.2em;
  }

  h2 {
    font-size: 1em;
  }

  h3 {
    font-size: 0.9em;
  }

  .module {
    padding: 10px;
  }
}

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

body {
  animation: aurora-move 15s linear infinite;
}


