/* fuck-wjx 项目页专用样式 */
:root {
  --fwx-bg: #f5f7fb;
  --fwx-card: #ffffff;
  --fwx-accent: #3d7afe;
  --fwx-accent-strong: #2154e8;
  --fwx-ink: #111320;
  --fwx-muted: #5b6074;
  --fwx-border: rgba(17, 19, 32, 0.08);
  --fwx-success: #2bb673;
  --fwx-warning: #ffb347;
}

/* ========== Keyframe Animations ========== */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandCollapse {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

/* 通用浮出动画类 */
.animate-float-in {
  animation: slideUpFadeIn 1.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Turnstile 验证组件样式 */
#turnstile-container.turnstile-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

/* 页面入口验证界面 */
.verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--fwx-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  padding: 20px;
}

body.dark .verification-overlay {
  background: #111320;
}

.verification-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 50px 60px;
  background: var(--fwx-card);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  width: 100%;
}

body.dark .verification-container {
  background: #1a1a2e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.verification-container h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--fwx-ink);
  text-align: center;
  letter-spacing: 0.5px;
}

body.dark .verification-container h2 {
  color: #ffffff;
}

#turnstile-container.turnstile-wrapper {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

body.project-page {
  font-family: 'Poppins', 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--fwx-bg);
  color: var(--fwx-ink);
  margin: 0;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

body.project-page.dark {
  --fwx-bg: #0c1017;
  --fwx-card: #151b24;
  --fwx-ink: #e6edf7;
  --fwx-muted: #a8b3cf;
  --fwx-border: rgba(255, 255, 255, 0.08);
}

.project-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.project-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.project-nav .nav-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-nav .btn,
.hero-ctas .btn,
.cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-icon {
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fwx-accent), var(--fwx-accent-strong));
  color: #fff;
  box-shadow: 0 15px 30px rgba(61, 122, 254, 0.3);
}

/* 下载按钮特殊样式 */
.btn-download {
  padding: 12px 32px;
  background-color: rgba(255, 255, 255, 0.95);
  color: rgb(50, 50, 50);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.btn-download .btn-text {
  position: relative;
  z-index: 2;
  transition: 0.4s ease-in-out;
  font-weight: 600;
}

.btn-download .btn-icon-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(-20px) rotate(30deg);
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-download .btn-icon-svg svg {
  width: 100%;
  height: 100%;
}

.btn-download:hover {
  background-color: rgb(50, 50, 50);
}

.btn-download:hover .btn-text {
  opacity: 0;
  color: rgb(50, 50, 50);
}

.btn-download:hover .btn-icon-svg {
  transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
  opacity: 1;
}

.btn-download:hover .btn-icon-svg svg {
  fill: white;
}

.btn-download:active {
  scale: 0.97;
}

body.project-page.dark .btn-download {
  background-color: rgba(230, 237, 247, 0.95);
  color: rgb(50, 50, 50);
}

body.project-page.dark .btn-download:hover {
  background-color: rgb(61, 122, 254);
}

body.project-page.dark .btn-download:hover .btn-text {
  opacity: 0;
  color: rgb(61, 122, 254);
}

body.project-page.dark .btn-download:hover .btn-icon-svg {
  transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
  opacity: 1;
}

body.project-page.dark .btn-download:hover .btn-icon-svg svg {
  fill: white;
}

.btn-ghost {
  border-color: var(--fwx-border);
  background: transparent;
  color: var(--fwx-ink);
}

.btn-subtle {
  background: rgba(61, 122, 254, 0.08);
  color: var(--fwx-accent);
}

.btn-github {
  background-color: #181717;
  outline: 3px #181717 solid;
  outline-offset: -3px;
  color: #fff;
  border: none;
}

.btn-github .github-logo path {
  fill: #fff;
  transition: 400ms ease;
}

.btn-github span {
  color: #fff;
  transition: 400ms ease;
}

.btn-github:hover {
  background-color: transparent;
  outline: 3px #181717 solid;
  outline-offset: -3px;
}

.btn-github:hover span {
  color: #181717;
}

.btn-github:hover .github-logo path {
  fill: #181717;
}

body.project-page.dark .btn-github {
  background-color: #e6edf7;
  outline-color: #e6edf7;
}

body.project-page.dark .btn-github .github-logo path {
  fill: #181717;
}

body.project-page.dark .btn-github span {
  color: #181717;
}

body.project-page.dark .btn-github:hover {
  background-color: transparent;
  outline: 3px #e6edf7 solid;
}

body.project-page.dark .btn-github:hover span,
body.project-page.dark .btn-github:hover .github-logo path {
  color: #e6edf7;
  fill: #e6edf7;
}

/* ========== Docs Button ========== */
.btn-docs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  height: 45px;
  border: none;
  padding: 0px 15px;
  border-radius: 5px;
  background-color: rgb(101, 143, 213);
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.docs-icon-container {
  width: 40px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.docs-file-back {
  z-index: 1;
  width: 80%;
  height: auto;
}

.docs-file-page {
  width: 50%;
  height: auto;
  position: absolute;
  z-index: 2;
  transition: all 0.3s ease-out;
}

.docs-file-front {
  width: 85%;
  height: auto;
  position: absolute;
  z-index: 3;
  opacity: 0.95;
  transform-origin: bottom;
  transition: all 0.3s ease-out;
}

.docs-text {
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-docs:hover .docs-file-page {
  transform: translateY(-5px);
}

.btn-docs:hover {
  background-color: rgb(83, 120, 190);
}

.btn-docs:active {
  transform: scale(0.95);
}

.btn-docs:hover .docs-file-front {
  transform: rotateX(30deg);
}

body.project-page.dark .btn-docs {
  background-color: rgba(49, 49, 83, 0.8);
  border: 1px solid rgba(61, 122, 254, 0.3);
}

body.project-page.dark .btn-docs:hover {
  background-color: rgba(61, 122, 254, 0.2);
  border-color: rgba(61, 122, 254, 0.6);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
}

.theme-toggle {
  border-radius: 999px;
  border: 1px solid var(--fwx-border);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 固定在右上角的主题切换 */
.theme-toggle-fixed {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--fwx-card);
  border: 1px solid var(--fwx-border);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.theme-toggle-fixed:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: scale(1.05);
}

body.project-page.dark .theme-toggle-fixed {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ========== Hero Section ========== */
.project-hero {
  background: radial-gradient(circle at top left, rgba(61, 122, 254, 0.18), transparent 55%),
              radial-gradient(circle at top right, rgba(43, 182, 115, 0.18), transparent 60%),
              var(--fwx-card);
  border: 1px solid var(--fwx-border);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 0;
  line-height: 1.2;
  font-weight: 800;
  background: linear-gradient(135deg, var(--fwx-accent), #2bb673);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.project-page.dark .hero-content h1 {
  background: linear-gradient(135deg, #5fa3ff, #5fd9a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: var(--fwx-muted);
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.8;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--fwx-muted);
  font-weight: 600;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--fwx-muted);
  font-size: 13px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-media img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--fwx-border);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

body.project-page.dark .hero-media img {
  background: rgba(21, 27, 36, 0.7);
}

/* ========== Grids ========== */
.stats-grid,
.feature-grid,
.steps-grid,
.running-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ========== Sections ========== */
.section {
  margin-top: 56px;
  background: var(--fwx-card);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--fwx-border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.section:first-of-type {
  margin-top: 56px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header > div {
  flex: 1;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.section-lead {
  margin: 8px 0 0;
  color: var(--fwx-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== Cards ========== */
.stat-card,
.feature-card,
.step-card,
.running-card {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--fwx-border);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: slideUpFadeIn 1.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.stat-card:nth-child(1),
.feature-card:nth-child(1),
.step-card:nth-child(1),
.running-card:nth-child(1) {
  animation-delay: 0s;
}

.stat-card:nth-child(2),
.feature-card:nth-child(2),
.step-card:nth-child(2),
.running-card:nth-child(2) {
  animation-delay: 0.15s;
}

.stat-card:nth-child(3),
.feature-card:nth-child(3),
.step-card:nth-child(3),
.running-card:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-card:nth-child(4),
.feature-card:nth-child(4),
.step-card:nth-child(4),
.running-card:nth-child(4) {
  animation-delay: 0.45s;
}

.stat-card:nth-child(5),
.feature-card:nth-child(5),
.step-card:nth-child(5),
.running-card:nth-child(5) {
  animation-delay: 0.6s;
}

.stat-card:nth-child(6),
.feature-card:nth-child(6),
.step-card:nth-child(6),
.running-card:nth-child(6) {
  animation-delay: 0.75s;
}

.stat-card:hover,
.feature-card:hover,
.step-card:hover,
.running-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

body.project-page.dark .stat-card,
body.project-page.dark .feature-card,
body.project-page.dark .step-card,
body.project-page.dark .running-card {
  background: rgba(21, 27, 36, 0.6);
}

body.project-page.dark .stat-card:hover,
body.project-page.dark .feature-card:hover,
body.project-page.dark .step-card:hover,
body.project-page.dark .running-card:hover {
  background: rgba(21, 27, 36, 0.8);
}

.stat-label {
  font-size: 12px;
  color: var(--fwx-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin: 0;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  margin-top: 8px;
  color: var(--fwx-accent);
}

.stat-card p {
  color: var(--fwx-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}

.feature-card h4,
.step-card h4,
.running-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p,
.step-card p,
.running-card p {
  color: var(--fwx-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.running-card ul {
  padding-left: 18px;
  margin: 8px 0 0;
  color: var(--fwx-muted);
  font-size: 14px;
  line-height: 1.7;
  list-style: none;
}

.running-card ul li {
  margin-bottom: 6px;
}

/* ========== Warning Card ========== */
.warning-card {
  border: 1px solid rgba(255, 179, 71, 0.5);
  background: rgba(255, 179, 71, 0.12);
  color: #7a4d00;
  border-radius: 20px;
  padding: 28px;
  line-height: 1.8;
}

.warning-card p {
  margin: 12px 0;
  font-size: 14px;
}

.warning-card p:first-child {
  margin-top: 0;
}

body.project-page.dark .warning-card {
  background: rgba(255, 179, 71, 0.15);
  color: #ffd9a1;
  border-color: rgba(255, 179, 71, 0.3);
}

/* ========== FAQ Section ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--fwx-border);
  background: var(--fwx-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item button {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: inherit;
  transition: all 0.2s ease;
}

.faq-item button:hover {
  background: rgba(61, 122, 254, 0.05);
  color: var(--fwx-accent);
}

.faq-answer {
  padding: 0 24px;
  color: var(--fwx-muted);
  font-size: 14px;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 12px 24px 24px;
  margin-bottom: 0;
}

.faq-item.open button {
  color: var(--fwx-accent);
  background: rgba(61, 122, 254, 0.08);
}

/* ========== CTA Banner ========== */
.cta-banner {
  margin-top: 64px;
  border-radius: 28px;
  padding: 48px 40px;
  border: 1px solid var(--fwx-border);
  background: linear-gradient(135deg, rgba(61, 122, 254, 0.15), rgba(33, 84, 232, 0.25));
  text-align: center;
  box-shadow: 0 20px 45px rgba(61, 122, 254, 0.1);
}

.cta-banner h3 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.cta-banner p {
  margin: 0 auto 28px;
  max-width: 600px;
  color: var(--fwx-muted);
  font-size: 15px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ========== Footer ========== */
.project-footer {
  text-align: center;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--fwx-border);
  color: var(--fwx-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .project-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .hero-media {
    min-height: 280px;
  }

  .section {
    padding: 32px;
  }

  .stats-grid,
  .feature-grid,
  .steps-grid,
  .running-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body.project-page {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    overflow-x: hidden;
  }

  body.project-page .nav-brand-section {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10151;
    padding: 4px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(245, 247, 251, 0.95);
    border: 1px solid rgba(17, 19, 32, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body.project-page.dark .nav-brand-section {
    background: rgba(10, 12, 22, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .nav-brand-logo {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }

  .nav-brand-text {
    font-size: 15px;
  }

  .verification-container {
    padding: 40px 30px;
    max-width: 95%;
  }

  .project-shell {
    width: 100%;
    max-width: 100%;
    padding: 170px 16px 60px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .project-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .project-nav .nav-left {
    flex-direction: column;
  }

  .project-nav .btn {
    justify-content: center;
  }

  .theme-toggle-fixed {
    top: 16px;
    right: 16px;
    padding: 8px 12px;
    z-index: 10170;
  }

  .project-hero {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 24px;
    box-sizing: border-box;
    margin-top: 12px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
    margin: 8px 0;
  }

  .hero-content p {
    font-size: 14px;
    margin: 12px 0 24px;
    line-height: 1.6;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    min-width: unset;
    padding: 12px 16px;
    font-size: 15px;
    max-width: 360px;
    align-self: center;
    box-sizing: border-box;
  }

  .btn-download {
    padding: 12px 16px;
  }

  .btn-github {
    padding: 12px 16px;
    max-width: 360px;
    box-sizing: border-box;
  }

  .btn-docs {
    width: 100%;
    height: auto;
    padding: 12px 16px;
    max-width: 360px;
    align-self: center;
  }

  .docs-icon-container {
    width: 32px;
    height: fit-content;
  }

  .section {
    padding: 24px;
    margin-top: 40px;
    border-radius: 20px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .stats-grid,
  .feature-grid,
  .steps-grid,
  .running-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card,
  .feature-card,
  .step-card,
  .running-card {
    padding: 20px;
    min-height: unset;
    border-radius: 16px;
  }

  .stat-value {
    font-size: 24px;
  }

  .faq-item button {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-item.open .faq-answer {
    padding: 10px 18px 18px;
  }

  .cta-banner {
    padding: 32px 24px;
    margin-top: 48px;
    border-radius: 20px;
  }

  .cta-banner h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .cta-banner p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-actions .btn {
    width: auto;
    padding: 12px 16px;
    font-size: 15px;
    max-width: 320px;
    align-self: center;
    box-sizing: border-box;
  }

  .project-footer {
    font-size: 12px;
    margin-top: 40px;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  body.project-page {
    padding: 0 !important;
    margin: 0 !important;
  }

  .project-shell {
    width: 100%;
    max-width: 100%;
    padding: 140px 12px 48px; /* extra top space so fixed nav/toggle don't cover content */
    box-sizing: border-box;
    margin: 0 auto;
  }

  .nav-brand-section {
    padding: 6px 10px;
    height: 45px;
  }

  .nav-brand-logo {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }

  .nav-brand-text {
    font-size: 14px;
  }

  .project-nav .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .theme-toggle-fixed {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    z-index: 10170;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 24px;
    margin: 8px 0 0;
  }

  .hero-meta {
    gap: 12px 14px;
    font-size: 12px;
  }

  .hero-ctas {
    gap: 10px;
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    min-width: unset;
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn-github,
  .btn-download,
  .btn-docs {
    padding: 12px 14px;
    font-size: 14px;
  }

  .docs-icon-container {
    width: 28px;
  }

  .section-title {
    font-size: 20px;
  }

  .feature-card h4,
  .step-card h4,
  .running-card h4 {
    font-size: 16px;
  }

  .faq-item button {
    padding: 14px 16px;
    font-size: 14px;
  }

  .cta-banner h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* 模态框样式 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 9998;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content {
  background: var(--fwx-card);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  padding: 0;
  animation: modalSlideIn 0.3s ease-out;
  overflow: hidden;
  z-index: 9999;
}

.modal-header {
  background: linear-gradient(135deg, #3d7afe 0%, #2154e8 100%);
  padding: 24px 24px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-body {
  padding: 24px;
}

.modal-message {
  font-size: 18px;
  font-weight: 600;
  color: var(--fwx-ink);
  margin: 0 0 12px 0;
  text-align: center;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--fwx-muted);
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

/* 下载源选择样式 */
.download-sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.download-source-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  border: 2px solid var(--fwx-border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

/* 蓝奏云 */
.download-source-btn:nth-child(1) .source-svg {
  color: #FF6500;
}

.download-source-btn:nth-child(1):hover {
  border-color: #FF6500;
  background: rgba(255, 101, 0, 0.08);
}

/* GitHub */
.download-source-btn:nth-child(2) .source-svg {
  color: #191717;
}

.download-source-btn:nth-child(2):hover {
  border-color: #191717;
  background: rgba(25, 23, 23, 0.08);
}

body.project-page.dark .download-source-btn:nth-child(2) .source-svg {
  color: #e6edf7;
}

body.project-page.dark .download-source-btn:nth-child(2):hover {
  border-color: #e6edf7;
  background: rgba(230, 237, 247, 0.08);
}

/* 夸克网盘 */
.download-source-btn:nth-child(3) .source-svg {
  color: #3A25DD;
}

.download-source-btn:nth-child(3):hover {
  border-color: #3A25DD;
  background: rgba(58, 37, 221, 0.08);
}

.download-source-btn:hover {
  transform: translateY(-4px);
}

.source-icon {
  font-size: 36px;
  margin-bottom: 8px;
  display: block;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.source-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fwx-ink);
  margin-bottom: 4px;
}

.source-desc {
  font-size: 12px;
  color: var(--fwx-muted);
}

.modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #3d7afe 0%, #2154e8 100%);
  color: white;
}

.modal-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(61, 122, 254, 0.4);
  transform: translateY(-2px);
}

body.project-page.dark .modal-overlay {
  background: rgba(0, 0, 0, 0.7);
}

body.project-page.dark .download-source-btn {
  border-color: var(--fwx-border);
}

body.project-page.dark .download-source-btn:nth-child(1):hover {
  border-color: #FF6500;
  background: rgba(255, 101, 0, 0.08);
}

body.project-page.dark .download-source-btn:nth-child(3):hover {
  border-color: #3A25DD;
  background: rgba(58, 37, 221, 0.08);
}

@media (max-width: 480px) {
  .verification-container {
    padding: 30px 20px;
    max-width: 90%;
  }

  .verification-container h2 {
    font-size: 18px;
  }

  .modal-content {
    width: 95%;
  }

  .modal-header {
    padding: 20px 16px 12px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-body {
    padding: 20px 16px;
  }

  .modal-footer {
    padding: 12px 16px 20px;
  }

  .download-sources {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .download-source-btn {
    padding: 16px 12px;
  }

  .source-icon {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .source-name {
    font-size: 13px;
  }

  .source-desc {
    font-size: 11px;
  }
}

/* Navigation brand section with logo and HUNGRY_M0 signature */
@media (min-width: 769px) {
  .nav-brand-section {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10151;
    padding: 10px 20px;
    height: 60px;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: none;
  }
}

.nav-brand-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
	transition: opacity 0.3s ease;
}

.nav-brand-link:hover {
	opacity: 0.8;
}

.nav-brand-logo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 12px;
	object-fit: cover;
	border: 2px solid #f0f0f0;
	transition: transform 0.3s ease;
}

.nav-brand-link:hover .nav-brand-logo {
	transform: scale(1.1);
}

.nav-brand-text {
	font-size: 18px;
	font-weight: 700;
	background: linear-gradient(90deg, #161de8, #4de0ff, #ff6b6b, #a64dff, #161de8);
	background-size: 400% 400%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShift 6s ease infinite;
	white-space: nowrap;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Dark mode styling for nav brand */
@media (min-width: 769px) {
  body.dark .nav-brand-section {
    background: transparent;
    border-bottom-color: transparent;
  }
}

body.dark .nav-brand-link {
	color: #e0e0e0;
}

body.dark .nav-brand-logo {
	border-color: #333;
}

