body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  min-height: 100vh;
  margin: 0;
  color: white;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
  background-size: 350% 350%;
  animation: gradientBG 18s ease infinite;
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 100, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 200, 255, 0.08) 0%, transparent 40%);
  animation: techGlow 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
              radial-gradient(circle at 15% 20%, rgba(79, 195, 247, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 80% 85%, rgba(255, 82, 82, 0.12) 0%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
  animation: glowShift 20s ease-in-out infinite alternate;
}
@keyframes glowShift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05) translate3d(-10px, 10px, 0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1) translate3d(10px, -10px, 0);
    opacity: 0.7;
  }
}
.page-wrapper {
  width: 100%;
  max-width: 960px;
  padding: 40px 24px 80px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
main {
  position: relative;
  z-index: 2;
}
h1 {
  text-align: center;
  font-size: 2.8em;
  letter-spacing: 2px;
  margin-bottom: 0.2em;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 150, 255, 0.7),
               0 0 20px rgba(0, 100, 255, 0.5),
               0 0 30px rgba(0, 50, 255, 0.3);
}
hr { border: none; border-top: 2px solid #eee; margin: 0.5em 0 1em; }
.tagline { text-align: center; font-size: 1.2em; color: #eee; }
#usage { margin-top: 2em; }
#usage img.ui-screenshot { max-width: 100%; height: auto; display: block; margin: 0 auto 1.5em; border: 1px solid #252525; border-radius: 4px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.methods { display: flex; gap: 20px; justify-content: space-between; }
.method {
  flex: 1 1 45%;
  border: 1px solid rgba(0, 150, 255, 0.3);
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 100, 255, 0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 150, 255, 0.2);
  border-color: rgba(0, 150, 255, 0.5);
}
.method h3 { text-align: center; margin-top: 0; }
.method img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
details { margin-top: 1em; }
pre { background: #333; padding: 10px; border-radius: 4px; overflow-x: auto; }
#contact { text-align: center; margin-top: 3em; }
#contact img.qr { max-width: 200px; height: auto; margin-bottom: 1em; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
#contact p.links a { color: #add8e6; text-decoration: none; margin: 0 0.5em; }
.method p,
.method details summary {
  text-align: center;
}
#usage h2 {
  text-align: center;
  font-size: 1.5em;
  margin: 1em 0;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 150, 255, 0.5);
}

/* 文档按钮样式 */
.doc-button {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #1b5e20, #2d584b);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(46, 125, 50, 0.6);
}
.doc-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(27, 94, 32, 0.6);
  background: linear-gradient(135deg, #2e7d32, #388e3c);
  border-color: rgba(46, 125, 50, 0.9);
}
.doc-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(27, 94, 32, 0.5);
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes techGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* 功能特性样式 */
#features {
  margin-top: 3em;
}
#features h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 1.5em;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 150, 255, 0.5);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 2em;
}
.feature-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.8), transparent);
  transition: left 0.5s ease;
}
.feature-item:hover::before {
  left: 100%;
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 150, 255, 0.15);
  border-color: rgba(0, 150, 255, 0.4);
}
.feature-icon {
  font-size: 1.8em;
  margin-bottom: 8px;
  color: #4fc3f7;
}
.feature-title {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}
.feature-desc {
  font-size: 0.85em;
  color: #b0bec5;
  line-height: 1.4;
}

/* 相关链接卡片 */
#related-links {
  margin-top: 3em;
}
#related-links h2 {
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 1.5em;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 150, 255, 0.5);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(8px);
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 150, 255, 0.25);
  border-color: rgba(79, 195, 247, 0.65);
}
.related-card img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
}
.related-card h3 {
  font-size: 1.05em;
  margin: 0;
  color: #ffffff;
}
.related-card p {
  margin: 0;
  font-size: 0.85em;
  color: #cfd8dc;
  line-height: 1.4;
}
.contact-bar {
    padding: 15px 0;
    text-align: center;
    font-size: 16px;
    color: #eee;
    margin-top: 60px;
    margin-bottom: 30px;
}

/* Header badges */
.header-badges {
  text-align: center;
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Usage section button group */
#usage .doc-button-wrapper {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Social links inline flex */
.social-link-inline {
  display: inline-flex;
  align-items: center;
}

/* Contact bar email link */
.contact-email {
  color: white;
}

/* Download links in method cards */
.download-links {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 15px;
}
.download-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(79, 195, 247, 0.4);
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  transition: all 0.3s ease;
}
.download-btn:hover {
  background: rgba(79, 195, 247, 0.2);
  border-color: rgba(79, 195, 247, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}
.download-btn img {
  width: 20px;
  height: 20px;
}

/* Responsive: stack methods vertically on small screens */
@media (max-width: 640px) {
  .methods {
    flex-direction: column;
  }
}
