@charset "utf-8";

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Work Sans', 'Outfit', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: #f8f0f2;
  background-color: #180f10;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -12%;
  z-index: -2;
  background:
    radial-gradient(38vw 38vw at 12% 4%, rgba(255, 0, 0, .58), transparent 68%),
    radial-gradient(34vw 34vw at 88% 12%, rgba(139, 0, 255, .52), transparent 68%),
    radial-gradient(48vw 48vw at 78% 64%, rgba(139, 0, 255, .28), transparent 72%),
    radial-gradient(32vw 32vw at 18% 84%, rgba(255, 0, 0, .32), transparent 70%),
    linear-gradient(165deg, #2e1b1b 0%, #170f14 54%, #261717 100%);
  animation: drift 26s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 100% 92px;
  opacity: .55;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.6%, 0) scale(1.07); }
}

img { max-width: 100%; display: block; height: auto; }

a { color: #ffc4c4; text-decoration: none; }

a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid #ff7b7b;
  outline-offset: 3px;
  border-radius: 8px;
}

article { scroll-margin-top: 172px; }

/* ---------- 顶部：细条 + 品牌行 + 胶囊菜单 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(32, 19, 19, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.strip {
  text-align: center;
  font-size: 15px;
  letter-spacing: .34em;
  padding: 7px 14px 6px;
  color: #ffe6e6;
  background: linear-gradient(90deg, rgba(255, 0, 0, .45), rgba(139, 0, 255, .45));
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.brandline {
  display: flex;
  align-items: center;
  padding: 8px 20px 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 2px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
}

.brand::before {
  content: '';
  width: 12px;
  height: 26px;
  margin-right: 11px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ff0000, #8b00ff);
  box-shadow: 0 0 20px rgba(255, 0, 0, .65);
}

.site-nav { padding: 0 16px 12px; }

.site-nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 0, 0, .55);
  border-color: rgba(255, 255, 255, .55);
  transform: translateY(-2px);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 36px 20px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 15, 16, .72), rgba(24, 15, 16, .26) 46%, rgba(24, 15, 16, .92));
}

.hero-art.no-img {
  background:
    radial-gradient(58% 58% at 28% 22%, rgba(255, 0, 0, .52), transparent 70%),
    radial-gradient(62% 62% at 76% 72%, rgba(139, 0, 255, .55), transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: .2em;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
}

.hero h1 {
  margin: 20px 0 0;
  font-family: 'Outfit', 'Work Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 7.4vw, 64px);
  line-height: 1.14;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 14px 42px rgba(0, 0, 0, .6);
}

/* ---------- 内容区：左侧栏 + 正文 ---------- */

.stage {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 22px 24px;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.side {
  position: sticky;
  top: 176px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

.side h2 {
  margin: 0 0 10px;
  font-family: 'Outfit', 'Work Sans', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
}

.side .subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.side-nav a {
  display: block;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  transition: background .2s ease, transform .2s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: rgba(139, 0, 255, .42);
  transform: translateX(3px);
}

.prose { min-width: 0; }

.prose article {
  margin: 0 0 24px;
  padding: 28px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.prose article:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.prose h2 {
  margin: 0 0 14px;
  font-family: 'Outfit', 'Work Sans', system-ui, sans-serif;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.32;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}

.prose h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff0000, #8b00ff);
}

.prose h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #ffe3e3;
}

.prose p { margin: 0 0 15px; color: rgba(255, 255, 255, .9); }

.prose strong { color: #fff; }

.prose a { color: #ffb0b0; border-bottom: 1px solid rgba(255, 176, 176, .5); }

.prose a:hover { color: #fff; border-bottom-color: #fff; }

.prose :is(ul, ol) { margin: 0 0 15px; padding-left: 1.3em; }

.prose li { margin: 7px 0; }

.prose img, .prose figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2);
}

.prose figure { margin: 18px 0; }

.prose figcaption {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, .68);
}

.prose blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid #ff0000;
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .92);
}

.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 16px;
  margin: 0 0 16px;
}

.prose :is(th, td) {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  text-align: left;
  white-space: nowrap;
}

.prose th { color: #fff; background: rgba(255, 255, 255, .08); }

.prose hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  margin: 26px 0;
}

/* ---------- 页脚 ---------- */

.site-foot {
  max-width: 1180px;
  margin: 44px auto 0;
  padding: 42px 22px 34px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.foot-brand {
  margin: 0;
  font-family: 'Outfit', 'Work Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.08;
  letter-spacing: .01em;
  background: linear-gradient(100deg, #ff3b3b, #8b00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.foot-brand .fb-sub {
  display: block;
  margin-top: 8px;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .68);
  -webkit-text-fill-color: rgba(255, 255, 255, .68);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 4px 16px;
  margin: 0;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 2px;
  font-size: 16px;
  color: #ffdede;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.foot-links a:hover { color: #fff; border-bottom-color: #fff; }

.foot-copy {
  font-size: 15px;
  color: rgba(255, 255, 255, .62);
  align-self: center;
}

.foot-top { text-align: right; font-size: 16px; align-self: center; }

.foot-top a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
}

.foot-top a:hover { background: rgba(255, 0, 0, .5); }

/* ---------- 滚动出现 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .62s ease, transform .62s ease;
  will-change: opacity, transform;
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */

@media (max-width: 880px) {
  body { font-size: 17px; }
  article { scroll-margin-top: 210px; }
  .strip { letter-spacing: .22em; font-size: 14px; }
  .stage {
    grid-template-columns: minmax(0, 1fr);
    padding: 34px 16px 16px;
    gap: 20px;
  }
  .side { position: static; padding: 20px 18px; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-nav a { padding: 10px 14px; }
  .prose article { padding: 22px 18px; }
  .site-foot {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 18px 28px;
    text-align: left;
  }
  .foot-top { text-align: left; }
}

@media (max-width: 420px) {
  .site-nav { padding: 0 12px 10px; }
  .site-nav a { padding: 10px 13px; font-size: 16px; }
  .hero h1 { font-size: 30px; }
  .badge { font-size: 14px; padding: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .prose article:hover { transform: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
