/* 科技感深色主题 */
:root {
  --bg: #0a0e17;
  --card-bg: rgba(18, 25, 40, 0.7);
  --text: #e0f7fa;
  --highlight: #4fc3f7;
  --accent: #00e5ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Microsoft YaHei', monospace;
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(79, 195, 247, 0.05) 0%, transparent 20%);
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: 2.4em;
  margin: 30px 0;
  background: linear-gradient(to right, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

h2 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.highlight {
  color: var(--highlight);
  font-weight: bold;
}

code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

ul {
  padding-left: 20px;
}

li {
  margin: 10px 0;
}

.note {
  font-style: italic;
  opacity: 0.7;
  margin-top: 15px;
  font-size: 0.9em;
}

/* 图片画廊 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* 音乐开关按钮 */
#music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s;
}

#music-toggle:hover {
  background: rgba(0, 229, 255, 0.2);
  transform: rotate(15deg);
}

/* 响应式 */
@media (max-width: 600px) {
  .container { padding: 10px; }
  h1 { font-size: 1.8em; }
}
