@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root{
  --ink:#192617;
  --deep:#0c1410;
  --deeper:#080f0a;
  --neon:#87ff71;
  --blue:#01cdfe;
  --pink:#ff71ce;
  --violet:#b967ff;
  --txt:#dcf2d9;
  --dim:#93ad93;
  --line:rgba(135,255,113,.24);
  --blue-line:rgba(1,205,254,.35);
}

*{box-sizing:border-box}

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

body{
  margin:0;
  background:var(--deeper);
  color:var(--txt);
  font-family:'Source Sans 3','Noto Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
  font-size:17px;
  line-height:1.7;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:70;
  pointer-events:none;
  background:repeating-linear-gradient(180deg,rgba(0,0,0,.22) 0 1px,transparent 1px 3px);
  opacity:.5;
}

h1,h2,h3,.brandword,.shout-word,.rail-label{
  font-family:'Bebas Neue','Source Sans 3','Noto Sans SC','PingFang SC',system-ui,sans-serif;
  font-weight:700;
  letter-spacing:.05em;
}

a{color:var(--blue)}

a:focus-visible{
  outline:2px solid var(--neon);
  outline-offset:2px;
}

/* ---------- 顶部两行 ---------- */
.masthead{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(8,15,10,.95);
  border-bottom:2px solid var(--neon);
  backdrop-filter:blur(6px);
}

.brandrow{
  padding:8px 18px 0;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  color:var(--neon);
  text-decoration:none;
  font-size:26px;
  letter-spacing:.1em;
  text-shadow:0 0 12px rgba(135,255,113,.55),0 0 26px rgba(1,205,254,.3);
}

.mark,.markdot{
  width:14px;
  height:14px;
  flex:0 0 auto;
  background:var(--neon);
  box-shadow:0 0 10px rgba(135,255,113,.9);
  transform:rotate(45deg);
  display:inline-block;
}

.mark{
  width:30px;
  height:30px;
  transform:none;
  box-shadow:none;
}

.menu p{
  display:flex;
  flex-wrap:wrap;
  gap:2px 4px;
  margin:0;
  padding:2px 18px 8px;
}

.menu a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 12px;
  color:var(--blue);
  text-decoration:none;
  font-size:16px;
  border-bottom:2px solid transparent;
}

.menu a:hover,
.menu a:focus-visible{
  color:var(--neon);
  border-bottom-color:var(--neon);
  text-shadow:0 0 10px rgba(135,255,113,.7);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-height:min(72vh,700px);
  padding:40px 22px 34px;
  overflow:hidden;
  background:linear-gradient(180deg,#ff71ce 0%,#b967ff 34%,#01cdfe 66%,#192617 100%);
}

.sundown-wrap{
  position:absolute;
  inset:0;
  z-index:0;
}

.sundown{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.42;
  filter:hue-rotate(-12deg) contrast(1.1);
}

.hero::after{
  content:"";
  position:absolute;
  left:-50%;
  right:-50%;
  bottom:0;
  height:58%;
  background-image:
    linear-gradient(rgba(1,205,254,.4) 1px,transparent 1px),
    linear-gradient(90deg,rgba(1,205,254,.4) 1px,transparent 1px);
  background-size:52px 34px;
  transform:perspective(340px) rotateX(62deg);
  transform-origin:bottom center;
  opacity:.55;
  pointer-events:none;
}

.hero-veil{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(12,20,16,.15) 0%,rgba(12,20,16,.55) 55%,rgba(8,15,10,.94) 100%);
}

.hero-copy{
  position:relative;
  z-index:2;
  max-width:660px;
  text-align:right;
}

.hero-copy h1{
  margin:0;
  color:#fff;
  font-size:clamp(36px,7.2vw,86px);
  line-height:1.02;
  letter-spacing:.03em;
  text-shadow:0 0 18px rgba(135,255,113,.5),0 0 44px rgba(1,205,254,.4);
  animation:pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow{
  0%,100%{text-shadow:0 0 18px rgba(135,255,113,.5),0 0 44px rgba(1,205,254,.35)}
  50%{text-shadow:0 0 26px rgba(1,205,254,.7),0 0 60px rgba(255,113,206,.45)}
}

.hero-sub{
  margin:14px 0 0;
  color:#e9fff0;
  font-size:16px;
  line-height:1.6;
  text-shadow:0 1px 8px rgba(0,0,0,.6);
}

/* ---------- 版心 ---------- */
.sheet{
  display:grid;
  grid-template-columns:minmax(0,214px) minmax(0,1fr);
  column-gap:42px;
  max-width:1140px;
  margin:0 auto;
  padding:46px 22px 66px;
}

.sheet > aside{
  grid-column:1;
  grid-row:1 / span 14;
}

.sheet > :not(aside){
  grid-column:2;
}

.rail{
  align-self:start;
  position:sticky;
  top:132px;
  padding-left:14px;
  border-left:2px solid var(--line);
}

.rail-label{
  margin:0 0 8px;
  color:var(--neon);
  font-size:18px;
  letter-spacing:.16em;
  text-shadow:0 0 10px rgba(135,255,113,.45);
}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:2px 0;
  color:var(--dim);
  text-decoration:none;
  font-size:16px;
  line-height:1.35;
  border-bottom:1px dotted rgba(135,255,113,.16);
}

.rail-list a:hover,
.rail-list a:focus-visible{
  color:var(--neon);
}

.kicker{
  display:block;
  position:relative;
  padding-left:26px;
  color:var(--blue);
  font-size:15px;
  letter-spacing:.24em;
  line-height:1.4;
  text-transform:uppercase;
}

.kicker::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:17px;
  height:2px;
  background:var(--blue);
  box-shadow:0 0 8px rgba(1,205,254,.8);
}

.sec-title{
  margin:6px 0 22px;
  padding-bottom:10px;
  color:#fff;
  font-size:clamp(26px,3.4vw,38px);
  line-height:1.15;
  border-bottom:3px solid var(--neon);
}

.sheet.plain > h1{
  margin:8px 0 26px;
  color:#fff;
  font-size:clamp(32px,5.4vw,60px);
  line-height:1.06;
  text-shadow:0 0 16px rgba(135,255,113,.45);
}

/* ---------- 正文 ---------- */
.prose{
  max-width:74ch;
}

.prose article{
  padding-bottom:18px;
  margin-bottom:30px;
  border-bottom:1px dashed var(--line);
  scroll-margin-top:142px;
}

.prose article:last-child{
  border-bottom:0;
  margin-bottom:0;
}

.prose h2{
  margin:36px 0 14px;
  padding-bottom:9px;
  color:var(--neon);
  font-size:clamp(22px,2.9vw,32px);
  line-height:1.2;
  border-bottom:2px solid var(--blue-line);
  text-shadow:0 0 14px rgba(135,255,113,.4);
}

.prose article:first-child h2{
  margin-top:16px;
}

.prose h3{
  margin:24px 0 10px;
  color:var(--blue);
  font-size:20px;
  line-height:1.3;
}

.prose p{
  margin:0 0 14px;
}

.prose ul,.prose ol{
  margin:0 0 16px;
  padding-left:22px;
}

.prose li{
  margin-bottom:8px;
}

.prose strong{
  color:var(--neon);
}

.prose a{
  color:var(--blue);
  text-underline-offset:3px;
}

.prose img{
  display:block;
  max-width:100%;
  height:auto;
  margin:18px 0;
  border-bottom:3px solid var(--neon);
}

.prose blockquote{
  margin:18px 0;
  padding:12px 16px;
  border-left:3px solid var(--pink);
  background:rgba(185,103,255,.12);
}

.prose table{
  width:100%;
  border-collapse:collapse;
  margin:16px 0;
  font-size:16px;
}

.prose th,.prose td{
  padding:8px 10px;
  border:1px solid var(--line);
  text-align:left;
}

.prose code{
  font-family:ui-monospace,'SF Mono',Consolas,monospace;
  font-size:15px;
  color:var(--pink);
}

/* ---------- 页脚 ---------- */
.foot{
  margin-top:10px;
  padding:40px 22px 0;
  background:linear-gradient(180deg,#101a12,#080f0a);
  border-top:2px solid var(--neon);
}

.shout{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  max-width:1140px;
  margin:0 auto 40px;
  padding:24px 22px;
  border:2px solid var(--blue);
  background:linear-gradient(120deg,rgba(1,205,254,.14),rgba(255,113,206,.16));
  box-shadow:0 0 26px rgba(1,205,254,.18) inset;
}

.shout-word{
  margin:0;
  color:#fff;
  font-size:clamp(30px,6vw,58px);
  line-height:1;
  letter-spacing:.08em;
  text-shadow:0 0 16px rgba(255,113,206,.55);
}

.shout-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 22px;
  color:var(--neon);
  text-decoration:none;
  font-size:16px;
  border:2px solid var(--neon);
}

.shout-link:hover,
.shout-link:focus-visible{
  background:var(--neon);
  color:var(--deep);
}

.foot-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);
  gap:30px;
  max-width:1140px;
  margin:0 auto;
}

.foot-id{
  display:flex;
  align-items:center;
  gap:10px;
}

.foot-brand{
  margin:0;
  color:var(--neon);
  font-size:17px;
  letter-spacing:.08em;
}

.foot-cols{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.foot-cols dl{
  margin:0;
}

.foot-cols dt{
  margin-bottom:6px;
  color:var(--neon);
  font-size:15px;
  letter-spacing:.2em;
}

.foot-cols dd{
  margin:0;
  font-size:16px;
  color:var(--dim);
}

.foot-cols dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--dim);
  text-decoration:none;
  line-height:1.35;
}

.foot-cols dd a:hover,
.foot-cols dd a:focus-visible{
  color:var(--neon);
}

.foot-base{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  max-width:1140px;
  margin:26px auto 0;
  padding:14px 0 26px;
  border-top:1px solid var(--line);
}

.foot-base p{
  margin:0;
  font-size:15px;
  color:var(--dim);
}

.foot-base a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--dim);
  text-decoration:none;
}

.foot-base a:hover,
.foot-base a:focus-visible{
  color:var(--neon);
}

/* ---------- 动效 ---------- */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .5s ease,transform .5s ease;
}

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

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-copy h1{animation:none}
  .reveal{opacity:1;transform:none;transition:none}
}

/* ---------- 窄屏 ---------- */
@media (max-width:820px){
  body{font-size:16px}

  .masthead{position:sticky}
  .brand{font-size:23px}
  .menu a{padding:6px 10px;font-size:16px}

  .hero{
    min-height:min(66vh,560px);
    padding:30px 16px 26px;
  }

  .hero-copy{max-width:none}

  .sheet{
    display:block;
    padding:32px 16px 52px;
  }

  .rail{
    position:static;
    padding-left:0;
    border-left:0;
    border-top:2px solid var(--line);
    padding-top:14px;
    margin-bottom:28px;
  }

  .rail-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:14px;
  }

  .prose{max-width:none}

  .shout{padding:20px 16px}
  .foot{padding:32px 16px 0}

  .foot-main{
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }

  .foot-cols{gap:12px}

  .foot-base{
    flex-direction:row;
    align-items:center;
  }
}

@media (max-width:380px){
  .menu a{font-size:15px;padding:6px 8px}
  .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}

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