/* =========================================================
   门 · 域名第一屏
   同一套香芋紫，但把灯关掉了：深紫的底，一层绿雾。
   ========================================================= */

html{ max-width:100vw; overflow-x:hidden; }`nbody.gate{
  margin:0;
  min-height:100svh;
  background:
    radial-gradient(120% 90% at 20% 0%, #3A2E58 0%, #2A2140 46%, #1E1832 100%);
  color:#F3F0FA;
  font-family:"HarmonyOS Sans SC","HarmonyOS Sans","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ── 缓动的光 ── */
.gate-bg{ position:fixed; inset:0; z-index:0; overflow:hidden; }
.aura{
  position:absolute;
  width:70vmax; height:70vmax;
  border-radius:50%;
  filter:blur(90px);
  opacity:.44;
  will-change:transform;
}
.a1{ left:-24vmax; top:-26vmax; background:radial-gradient(circle, #8E7CC3 0%, rgba(142,124,195,0) 62%); animation:drift1 26s ease-in-out infinite alternate; }
.a2{ right:-26vmax; top:18vmax; background:radial-gradient(circle, #6E8F62 0%, rgba(110,143,98,0) 60%); opacity:.38; animation:drift2 32s ease-in-out infinite alternate; }
.a3{ left:22vmax; bottom:-34vmax; background:radial-gradient(circle, #B7A6E0 0%, rgba(183,166,224,0) 60%); opacity:.30; animation:drift3 38s ease-in-out infinite alternate; }

@keyframes drift1{ from{ transform:translate3d(0,0,0) scale(1); } to{ transform:translate3d(6vmax,4vmax,0) scale(1.12); } }
@keyframes drift2{ from{ transform:translate3d(0,0,0) scale(1.05); } to{ transform:translate3d(-7vmax,3vmax,0) scale(.94); } }
@keyframes drift3{ from{ transform:translate3d(0,0,0) scale(.96); } to{ transform:translate3d(3vmax,-5vmax,0) scale(1.1); } }

/* 两条竖线：页边，也是这套设计的记号 */
.gate-rule{
  position:absolute; top:0; bottom:0; width:1px;
  background:linear-gradient(180deg, rgba(233,227,247,0) 0%, rgba(233,227,247,.22) 22%, rgba(233,227,247,.22) 78%, rgba(233,227,247,0) 100%);
}
.r1{ left:clamp(20px,7vw,120px); }
.r2{ right:clamp(20px,7vw,120px); }

.gate-grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.20; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ── 版心 ── */
.gate-wrap{
  position:relative; z-index:2;
  min-height:100svh;
  display:grid;
  grid-template-rows:auto 1fr auto;
  padding:clamp(22px,3.4vw,46px) clamp(20px,7vw,120px);
  box-sizing:border-box;
  transition:opacity .55s ease, transform .6s cubic-bezier(.3,.7,.2,1);
}
body.leaving .gate-wrap{ opacity:0; transform:translateY(-18px) scale(1.01); }

/* 抬头 */
.gate-head{
  display:flex; align-items:flex-start; gap:18px;
}
.seal{
  width:46px; height:46px; flex:none;
  display:grid; place-items:center;
  border:1px solid rgba(168,209,154,.55);
  border-radius:4px;
  transform:rotate(-2.4deg);
  background:rgba(168,209,154,.06);
  box-shadow:0 0 0 1px rgba(168,209,154,.08) inset;
}
.seal span{
  font-family:var(--serif,"Songti SC","SimSun",serif);
  font-size:22px; line-height:1; color:#DCEDD2;
  letter-spacing:0;
}
.gate-id{
  margin:2px 0 0;
  font-size:14px; letter-spacing:.24em; color:#F3F0FA;
}
.gate-id em{
  display:block; margin-top:6px;
  font-style:normal; font-size:11px; letter-spacing:.34em;
  color:rgba(243,240,250,.42);
}
.gate-loc{
  margin:0 0 0 auto;
  text-align:right;
  font-size:11px; line-height:2; letter-spacing:.24em;
  color:rgba(243,240,250,.40);
}

/* 主区 */
.gate-main{
  align-self:center;
  padding:4vh 0 2vh;
}
.gate-kicker{
  margin:0 0 clamp(14px,2.4vh,26px);
  font-size:11px; letter-spacing:.62em; text-indent:.62em;
  color:#A8D19A;
  opacity:0; animation:rise .9s cubic-bezier(.2,.7,.3,1) .1s forwards;
}
.gate-title{
  margin:0;
  font-weight:300;
  font-size:clamp(3.2rem, 10.5vw, 8.6rem);
  line-height:1;
  letter-spacing:.16em;
  text-indent:.16em;
  display:flex;
  color:#F7F4FD;
  text-shadow:0 0 60px rgba(183,166,224,.28);
}
.gate-title span{
  display:inline-block;
  opacity:0;
  animation:rise 1s cubic-bezier(.2,.7,.3,1) forwards;
}
.gate-title span:nth-child(1){ animation-delay:.16s; }
.gate-title span:nth-child(2){ animation-delay:.28s; }
.gate-title span:nth-child(3){ animation-delay:.40s; }

.gate-lead{
  margin:clamp(22px,3.4vh,38px) 0 0;
  max-width:34em;
  font-size:clamp(.86rem,1.15vw,.98rem);
  line-height:2.3;
  color:rgba(243,240,250,.62);
  opacity:0; animation:rise .9s cubic-bezier(.2,.7,.3,1) .56s forwards;
}

/* 推门 */
.gate-enter{
  position:relative;
  display:inline-flex; align-items:center; gap:14px;
  margin-top:clamp(30px,5vh,56px);
  padding:6px 4px 6px 2px;
  text-decoration:none;
  color:#F3F0FA;
  font-size:14px; letter-spacing:.3em;
  opacity:0; animation:rise .9s cubic-bezier(.2,.7,.3,1) .72s forwards;
}
.ge-ring{
  width:34px; height:34px; flex:none;
  border:1px solid rgba(243,240,250,.38);
  border-radius:50%;
  transition:border-color .5s ease, transform .6s cubic-bezier(.2,.7,.3,1), background .5s ease;
}
.ge-text{ position:relative; }
.ge-text::after{
  content:""; position:absolute; left:0; bottom:-6px; height:1px; width:100%;
  background:#A8D19A;
  transform:scaleX(0); transform-origin:left;
  transition:transform .55s cubic-bezier(.2,.7,.3,1);
}
.ge-arrow{ color:#A8D19A; transition:transform .5s cubic-bezier(.2,.7,.3,1); }

.gate-enter:hover .ge-ring{ border-color:#A8D19A; transform:scale(1.12); background:rgba(168,209,154,.08); }
.gate-enter:hover .ge-text::after{ transform:scaleX(1); }
.gate-enter:hover .ge-arrow{ transform:translateX(8px); }
.gate-enter:focus-visible{ outline:1px solid #A8D19A; outline-offset:8px; }

/* 页脚 */
.gate-foot{
  display:flex; justify-content:space-between; gap:20px;
  font-size:10.5px; letter-spacing:.3em;
  color:rgba(243,240,250,.34);
  border-top:1px solid rgba(233,227,247,.12);
  padding-top:18px;
}
.gate-foot p{ margin:0; }

@keyframes rise{
  from{ opacity:0; transform:translateY(16px); }
  to{ opacity:1; transform:none; }
}

@media (prefers-reduced-motion: reduce){
  .aura{ animation:none; }
  .gate-kicker,.gate-title span,.gate-lead,.gate-enter{ animation:none; opacity:1; }
}

/* 右侧四卷竖排 */
.gate-rail{
  position:absolute;
  right:clamp(26px,8vw,148px);
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  display:flex;
  gap:clamp(16px,2vw,30px);
}
.gate-rail a{
  writing-mode:vertical-rl;
  text-decoration:none;
  font-size:11.5px;
  letter-spacing:.22em;
  line-height:1;
  color:rgba(243,240,250,.40);
  transition:color .45s ease, letter-spacing .5s ease;
}
.gate-rail a:hover{ color:#DCEDD2; letter-spacing:.46em; }

.gate-main{ position:relative; }
.gate-main::before{
  content:"";
  position:absolute;
  left:-14vw; top:50%;
  width:64vw; height:64vw;
  max-width:900px; max-height:900px;
  transform:translateY(-50%);
  background:radial-gradient(circle, rgba(183,166,224,.20) 0%, rgba(183,166,224,0) 62%);
  pointer-events:none;
  z-index:-1;
}
@media (max-width:1000px) and (min-width:761px){ .gate-rail{ display:none; } }/* =========================================================
   手机端：门页同样是完整的一屏
   ========================================================= */
@media (max-width:760px){
  html{ max-width:100vw; overflow-x:hidden; }`nbody.gate{ overflow-y:auto; overflow-x:hidden; }
  .gate-wrap{ max-width:100vw; overflow-x:clip; }
  .gate-rule{ display:none; }

  .gate-wrap{
    padding:20px 20px 22px;
    min-height:100svh;
    display:flex;
    flex-direction:column;
  }
  .gate-head{ order:1; gap:12px; align-items:center; }
  .gate-main{
    order:2; flex:1; position:relative;
    align-self:stretch; width:100%; box-sizing:border-box;
    display:flex; flex-direction:column; justify-content:center;
    padding:4vh 0 3vh;
  }
  .gate-main::before{ left:-40vw; width:110vw; height:110vw; opacity:.8; }
  .gate-rail{ order:3; }
  .gate-foot{ order:4; }

  .seal{ width:38px; height:38px; }
  .seal span{ font-size:18px; }
  .gate-id{ font-size:12.5px; letter-spacing:.18em; }
  .gate-id em{ font-size:10px; letter-spacing:.24em; margin-top:4px; }
  .gate-loc{ margin-left:auto; font-size:9.5px; line-height:1.9; letter-spacing:.14em; text-align:right; }

  .gate-kicker{ font-size:10.5px; letter-spacing:.5em; text-indent:.5em; margin-bottom:14px; }
  .gate-title{ font-size:clamp(2.8rem,16vw,4.2rem); letter-spacing:.08em; text-indent:.08em; }
  .gate-lead{ font-size:.87rem; line-height:2.05; margin-top:18px; max-width:100%; overflow-wrap:anywhere; }
  .gate-lead br{ display:none; }
  .gate-enter{ margin-top:24px; font-size:13px; letter-spacing:.24em; }
  .ge-ring{ width:30px; height:30px; }

  /* 竖排 → 四等分横排 */
  .gate-rail{
    position:static;
    transform:none;
    top:auto; right:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
    margin:0 0 16px;
    border-top:1px solid rgba(233,227,247,.14);
  }
  .gate-rail a{
    writing-mode:horizontal-tb;
    padding:13px 2px 11px;
    font-size:11.5px;
    letter-spacing:.08em;
    min-width:0;
    text-align:center;
    border-left:1px solid rgba(233,227,247,.08);
  }
  .gate-rail a:first-child{ border-left:none; }
  .gate-rail a:hover{ letter-spacing:.16em; }

  .gate-foot{ flex-direction:row; flex-wrap:wrap; gap:6px 16px; font-size:9px; letter-spacing:.16em; padding-top:14px; }
}

@media (max-height:700px) and (max-width:760px){
  .gate-main{ padding:2vh 0; }
  .gate-title{ font-size:clamp(2.2rem,12vw,3rem); }
  .gate-lead{ font-size:.82rem; line-height:1.9; margin-top:12px; }
  .gate-enter{ margin-top:18px; }
  .gate-kicker{ margin-bottom:10px; }
}
/* 门页左上：换成首页同款圆形头像 */
.seal-avatar{
  border-radius:50%;
  overflow:hidden;
  padding:0;
  transform:none;
  border:1px solid rgba(168,209,154,.55);
  background:rgba(168,209,154,.06);
  box-shadow:0 0 0 4px rgba(168,209,154,.06), 0 8px 24px rgba(0,0,0,.45);
}
.seal-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
/* 推门前的小圆：嵌头像 */
.ge-ring{
  width:38px; height:38px;
  overflow:hidden;
  display:grid; place-items:center;
  border:1px solid rgba(168,209,154,.55);
  box-shadow:0 0 0 4px rgba(168,209,154,.05);
}
.ge-ring img{
  width:100%; height:100%; object-fit:cover;
  filter:grayscale(.15) brightness(.96) contrast(1.04);
  transition:transform .7s cubic-bezier(.2,.7,.3,1), filter .5s ease;
}
.gate-enter:hover .ge-ring{
  border-color:#A8D19A;
  transform:scale(1.06);
  background:none;
}
.gate-enter:hover .ge-ring img{ transform:scale(1.08); filter:grayscale(0) brightness(1); }
/* 门页页脚：与首页同结构（© 一行，字体一行） */
.gate-foot{
  display:block;
  border-top:1px solid rgba(233,227,247,.12);
  padding-top:18px;
}
.gate-foot p{ margin:0; }
.gf-meta{
  font-size:10px; letter-spacing:.24em;
  color:rgba(243,240,250,.32);
  margin-bottom:16px !important;
}
.gf-copy{
  font-size:11.5px; letter-spacing:.18em;
  color:rgba(243,240,250,.30);
}

@media (max-width:760px){
  .gf-meta{ margin-bottom:12px !important; }
}
/* 备案号：整行居中，与版权行同字号同色 */
.gate-foot{ flex-wrap: wrap; }
.gate-foot .icp{
  flex: 0 0 100%;
  margin: 10px 0 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: rgba(243,240,250,.30);
}
.gate-foot .icp a{ color: inherit; text-decoration: none; }
.gate-foot .icp a:hover{ color: rgba(243,240,250,.6); }
