:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --card: rgba(20, 27, 41, 0.76);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #8fa0b4;
  --gold: #ffca28;
  --orange: #ff9800;
  --green: #4caf50;
  --blue: #3b82f6;
  --purple: #a855f7;
  --red: #e11d48;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 14, 20, 0.82) 0%, rgba(11, 14, 20, 0.96) 100%),
    radial-gradient(circle at 22% 12%, rgba(59, 130, 246, 0.36), transparent 26%),
    radial-gradient(circle at 80% 8%, rgba(225, 29, 72, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(255, 202, 40, 0.18) 0 12%, transparent 12% 34%, rgba(76, 175, 80, 0.18) 34% 48%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px),
    linear-gradient(160deg, #111827, #07111f 54%, #0b0e14);
  background-size: cover;
}

.bg-wrapper::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background:
    repeating-linear-gradient(90deg, rgba(59, 130, 246, 0.28) 0 26px, rgba(249, 115, 22, 0.24) 26px 52px, rgba(168, 85, 247, 0.22) 52px 78px, rgba(225, 29, 72, 0.24) 78px 104px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  opacity: 0.58;
}

.logo-container {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) 15px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-size: 20px;
  font-weight: 900;
}

.logo-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-item:nth-child(1) .logo-icon {
  color: var(--blue);
  border-color: var(--blue);
}

.logo-item:nth-child(2) .logo-icon {
  color: var(--orange);
  border-color: var(--orange);
}

.logo-item:nth-child(3) .logo-icon {
  color: var(--purple);
  border-color: var(--purple);
}

.logo-item:nth-child(4) .logo-icon {
  color: var(--red);
  border-color: var(--red);
}

.main-content {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 15px 15px calc(28px + env(safe-area-inset-bottom));
}

.hero-title {
  padding: 10px 0 20px;
  text-align: center;
}

.hero-title p {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title h1 {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-title h2 {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.content-section {
  scroll-margin-top: 94px;
  margin-bottom: 22px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
}

.section-label span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #111827;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.section-label strong {
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.qa-list,
.proof-list {
  display: grid;
  gap: 16px;
}

.qa-card,
.proof-card,
.qr-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

.qa-card {
  padding: 16px;
}

.question {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.answer {
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
  font-size: 14.5px;
  font-weight: 600;
  text-align: justify;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  overflow-wrap: anywhere;
}

.proof-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.proof-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--orange);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(249, 115, 22, 0.16));
}

.proof-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-card h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.proof-card p {
  color: var(--muted);
  font-size: 14px;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.proof-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(20, 27, 41, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.proof-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-thumb::after {
  content: "后退";
  display: none;
}

.proof-thumb.is-expanded {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  border-color: rgba(255, 202, 40, 0.55);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.proof-thumb.is-expanded img {
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: #fff;
}

.proof-thumb.is-expanded::after {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: var(--gold);
  background: rgba(11, 14, 20, 0.92);
  border-top: 1px solid rgba(255, 202, 40, 0.24);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.proof-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.qr-panel {
  padding: 18px;
  text-align: center;
}

.qr-code {
  display: block;
  width: min(100%, 236px);
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border: 12px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.qr-panel p {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.modal-open {
  overflow: hidden;
}

.proof-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.proof-modal[aria-hidden="false"] {
  display: flex;
}

.proof-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.proof-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(20, 27, 41, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.proof-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 24px;
  line-height: 1;
}

.proof-modal__panel h3 {
  padding-right: 42px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 18px;
}

.proof-modal__image {
  display: grid;
  place-items: center;
  min-height: 310px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(255, 202, 40, 0.12), rgba(59, 130, 246, 0.16)),
    rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.proof-modal__panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (min-width: 481px) {
  body {
    background: #05070d;
  }
}

@media (max-width: 360px) {
  .logo-container {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .logo-item {
    font-size: 11px;
  }

  .main-content {
    padding-right: 10px;
    padding-left: 10px;
  }
}
