* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #02040a;
  color: #eef6ff;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.banner {
  text-align: center;
  padding: 40px 20px;
}

.banner h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner p {
  font-size: 1.1rem;
  opacity: 0.8;
}

.module {
  margin: 20px auto;
  padding: 20px;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.module h2 {
  margin-bottom: 15px;
  color: #00e0ff;
}

.tool-card {
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.tool-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.tool-content {
  display: none; /* 默认关闭 */
  margin-top: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  line-height: 1.6;
}

button {
  padding: 6px 12px;
  margin-right: 8px;
  border: none;
  border-radius: 4px;
  background: #0072ff;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #005bcc;
}

.copy-btn {
  background: #28a745;
}

.copy-btn:hover {
  background: #218838;
}