@charset "UTF-8";
/* ==========================================================================
   翼展未来黑客松 · 报名中心（Hub）
   统一身份认证 / 报名工作台 / 报名信息查询
   视觉语言与全站一致：深蓝黑 + 蓝紫渐变 + 磨砂玻璃 + 微光
   ========================================================================== */
.hub-page{background:var(--bg)}
.hub-page .site-header{position:sticky}

/* ---------- 首屏：介绍 + 认证门 双栏卡 ---------- */
.hub-hero{padding:40px 0 10px;position:relative}
.hub-hero:before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 18% 18%,rgba(122,150,220,.16),transparent 55%),
             radial-gradient(ellipse at 86% 82%,rgba(185,166,232,.14),transparent 55%)}
.hub-hero-grid{position:relative;display:grid;grid-template-columns:1.04fr .96fr;
  border:1px solid rgba(169,198,245,.24);border-radius:28px;overflow:hidden;
  background:linear-gradient(155deg,rgba(20,26,54,.86),rgba(9,10,22,.94));
  box-shadow:0 30px 90px rgba(0,0,4,.55),0 0 40px rgba(169,198,245,.08)}
.hub-intro{position:relative;padding:60px 50px;min-height:470px;overflow:hidden;
  border-right:1px solid rgba(169,198,245,.16)}
.hub-intro:before{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(140deg,rgba(40,60,120,.4),rgba(120,90,190,.18) 55%,rgba(238,179,111,.1))}
.hub-intro:after{content:"";position:absolute;width:520px;height:520px;right:-190px;bottom:-200px;
  background:url('assets/butterfly-crystal.png') center/contain no-repeat;
  opacity:.32;transform:rotate(24deg);pointer-events:none;
  filter:drop-shadow(0 0 30px rgba(169,198,245,.35))}
.hub-intro>*{position:relative;z-index:1}
.hub-intro .eyebrow{color:#a9c6f5}
.hub-intro h1{font-size:clamp(38px,4.6vw,62px);line-height:1.16;letter-spacing:-.04em;
  margin:18px 0 20px;color:#f2f5ff}
.hub-intro h1 span{background:linear-gradient(100deg,#a9c6f5,#b9a6e8 70%,#e9c9a0);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.hub-intro .hub-lede{color:#c2cee8;font-size:15px;line-height:1.95;max-width:430px}
.hub-intro .hub-lede b{color:#e6dcff;font-weight:600}
.hub-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.hub-meta span{border:1px solid rgba(169,198,245,.34);border-radius:999px;padding:7px 15px;
  font-size:11px;color:#cdd8f2;background:rgba(169,198,245,.08);letter-spacing:.04em}
.hub-stamp{position:absolute;left:50px;bottom:34px;z-index:1;font:11px Consolas,monospace;
  letter-spacing:.18em;color:#8fa3cf}

/* 认证门面板 */
.hub-gate{padding:56px 50px;display:flex;flex-direction:column;justify-content:center;
  background:linear-gradient(165deg,rgba(12,16,38,.98),rgba(8,9,22,.98))}
.gate-panel{width:100%;max-width:440px;margin:0 auto}
.gate-panel .eyebrow{color:#9fc7ff;margin-bottom:12px}
.gate-panel h2{font-size:clamp(24px,2.6vw,33px);line-height:1.35;letter-spacing:-.02em;
  color:#f2f5ff;margin-bottom:10px}
.gate-panel .gate-sub{color:#a9b6d6;font-size:14px;line-height:1.8;margin-bottom:30px}

.gate-btn{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;
  min-height:58px;padding:15px 24px;border-radius:16px;font-size:15px;font-weight:700;
  text-align:left;transition:transform .16s,box-shadow .25s,border-color .25s,background .25s}
.gate-btn .arrow{font-size:18px;opacity:.85}
.gate-btn+.gate-btn{margin-top:14px}
.gate-btn-primary{border:1px solid rgba(169,198,245,.5);color:#081226;
  background:linear-gradient(115deg,#8fb8ef,#a9c6f5 42%,#b9a6e8 78%,#9fc0f0);
  background-size:180% 180%;box-shadow:0 12px 34px rgba(169,198,245,.24)}
.gate-btn-primary:hover{background-position:30% 50%;box-shadow:0 16px 44px rgba(185,166,232,.4)}
.gate-btn-primary:active{transform:scale(.98)}
.gate-btn-ghost{border:1px solid rgba(169,198,245,.4);color:#dbe6ff;
  background:rgba(169,198,245,.06)}
.gate-btn-ghost:hover{background:rgba(169,198,245,.14);border-color:rgba(185,166,232,.65)}
.gate-btn-ghost:active{transform:scale(.98)}
.gate-note{margin-top:22px;font-size:12px;color:#8f9bb9;text-align:center;line-height:1.7}
.gate-note b{color:#e0c9a0;font-weight:600}

/* 登录表单 */
.gate-form{width:100%;max-width:440px;margin:0 auto}
.gate-form .gate-tabs{display:flex;gap:8px;margin-bottom:22px}
.gate-tab{flex:1;padding:10px;border-radius:12px;border:1px solid rgba(169,198,245,.28);
  background:rgba(169,198,245,.05);color:#b9c6e4;font-size:13px;transition:.2s}
.gate-tab[aria-selected=true]{background:rgba(169,198,245,.16);border-color:rgba(185,166,232,.6);
  color:#fff;box-shadow:0 0 18px rgba(169,198,245,.16)}
.gate-field{display:block;margin-bottom:16px;font-size:12px;color:#c4d0ea;font-weight:600}
.gate-field input{display:block;width:100%;margin-top:8px;min-height:52px;padding:12px 16px;
  border:1px solid rgba(169,198,245,.3);border-radius:13px;background:rgba(8,10,24,.7);
  color:#f2f5ff;font:inherit;font-weight:400;letter-spacing:.02em;transition:border-color .2s,box-shadow .2s}
.gate-field input::placeholder{color:#71809f}
.gate-hint{font-size:12px;line-height:1.7;color:#8f9bb9;text-align:center;margin-top:14px}
.nav-cta.is-authed{color:var(--ink);border-color:var(--cyan)}
.gate-field input:focus{outline:none;border-color:#b9a6e8;box-shadow:0 0 0 3px rgba(185,166,232,.18)}
.gate-code-row{display:flex;gap:10px}
.gate-code-row input{flex:1}
.gate-code-btn{flex:0 0 auto;min-width:112px;padding:0 16px;border-radius:13px;
  border:1px solid rgba(169,198,245,.4);background:rgba(169,198,245,.1);
  color:#cfe0ff;font-size:12px;transition:.2s}
.gate-code-btn:hover:not(:disabled){background:rgba(169,198,245,.2)}
.gate-code-btn:disabled{opacity:.55}
.gate-submit{width:100%;min-height:54px;margin-top:6px;border:0;border-radius:14px;
  color:#081226;font-size:15px;font-weight:800;cursor:pointer;
  background:linear-gradient(115deg,#8fb8ef,#a9c6f5 42%,#b9a6e8 78%,#9fc0f0);
  background-size:180% 180%;box-shadow:0 12px 34px rgba(169,198,245,.24);transition:.2s}
.gate-submit:hover{background-position:30% 50%}
.gate-submit:active{transform:scale(.98)}
.gate-submit:disabled{opacity:.6;cursor:wait}
.gate-back{display:block;margin:18px auto 0;background:none;border:0;color:#9fb4d8;font-size:12px}
.gate-back:hover{color:#d4c4ff}
.gate-msg{min-height:20px;margin-top:12px;text-align:center;font-size:12px;color:#e0c9a0}
.gate-msg.is-error{color:#ffb0bb}

/* 已登录状态 */
.gate-user{width:100%;max-width:440px;margin:0 auto;text-align:center}
.gate-user .gate-avatar{width:66px;height:66px;margin:0 auto 18px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:26px;
  background:linear-gradient(140deg,rgba(169,198,245,.28),rgba(185,166,232,.28));
  border:1px solid rgba(185,166,232,.5);box-shadow:0 0 30px rgba(169,198,245,.22)}
.gate-user h2{font-size:26px;color:#f2f5ff;margin-bottom:8px}
.gate-user .gate-account{color:#a9c6f5;font-size:14px;letter-spacing:.03em;margin-bottom:6px}
.gate-user .gate-time{color:#8f9bb9;font-size:11px;margin-bottom:26px}
.gate-user .gate-btn+.gate-btn{margin-top:12px}
.gate-logout{margin-top:20px;background:none;border:0;color:#93a1c2;font-size:12px;text-decoration:underline;
  text-underline-offset:3px}
.gate-logout:hover{color:#d4c4ff}

/* ---------- 工作台：报名 / 查询 ---------- */
.hub-workspace{padding:22px 0 0;scroll-margin-top:110px}
.hub-workspace[hidden]{display:none}
.ws-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:20px 26px;border:1px solid rgba(185,166,232,.34);border-radius:20px;
  background:linear-gradient(120deg,rgba(122,150,220,.12),rgba(120,96,190,.1));
  box-shadow:var(--glow-soft);margin-bottom:22px}
.ws-head h2{font-size:21px;color:#f2f5ff}
.ws-head p{font-size:12px;color:#b9c6e4;margin-top:4px}
.ws-tabs{display:flex;gap:10px;flex-wrap:wrap}
.ws-tab{padding:10px 20px;border-radius:999px;border:1px solid rgba(169,198,245,.34);
  background:rgba(169,198,245,.06);color:#cdd8f2;font-size:13px;transition:.2s}
.ws-tab[aria-selected=true]{background:linear-gradient(115deg,#a9c6f5,#b9a6e8);
  color:#081226;font-weight:700;border-color:transparent}
.ws-tab:active{transform:scale(.97)}
.ws-panel[hidden]{display:none}

/* 查询面板 */
.query-card{border:1px solid rgba(169,198,245,.24);border-radius:24px;padding:34px;
  background:linear-gradient(160deg,rgba(24,30,58,.6),rgba(8,9,22,.82));
  box-shadow:0 0 34px rgba(169,198,245,.06)}
.query-empty{text-align:center;padding:46px 20px;color:#aab7d6}
.query-empty h3{font-size:22px;color:#e8edff;margin-bottom:12px}
.query-empty p{font-size:13px;line-height:1.9;margin-bottom:22px}
.query-login-hint{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:999px;
  border:1px solid rgba(185,166,232,.5);background:rgba(185,166,232,.12);color:#e6dcff;font-size:14px;font-weight:600}
.query-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-bottom:20px;border-bottom:1px solid rgba(169,198,245,.2);margin-bottom:8px}
.query-result-head h3{font-size:22px;color:#f2f5ff}
.status-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;
  border:1px solid rgba(238,179,111,.45);background:rgba(238,179,111,.12);color:var(--gold);font-size:12px;font-weight:700}
.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 8px var(--gold)}
.query-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}
.query-block{border:1px solid rgba(169,198,245,.18);border-radius:16px;padding:20px;background:rgba(18,22,44,.5)}
.query-block.team{grid-column:1/-1;background:linear-gradient(140deg,rgba(169,198,245,.12),rgba(185,166,232,.08));
  border-color:rgba(185,166,232,.36)}
.query-block h4{font-size:15px;color:#e6dcff;margin-bottom:14px;letter-spacing:.02em}
.qrow{display:grid;grid-template-columns:88px 1fr;gap:12px;padding:8px 0;
  border-top:1px solid rgba(169,198,245,.12);font-size:13px}
.qrow:first-of-type{border-top:0}
.qrow dt{color:#8f9bb9}
.qrow dd{margin:0;color:#d9e2f7;line-height:1.7;word-break:break-all}
.qrow dd a{color:#a9c6f5;text-decoration:underline;text-underline-offset:3px}
.receipt-line{margin-top:20px;padding:14px 18px;border-radius:14px;border:1px dashed rgba(169,198,245,.4);
  background:rgba(169,198,245,.06);font-size:12px;color:#b9c6e4}
.receipt-line code{color:#e6dcff;font-size:13px;letter-spacing:.08em}
.query-foot{margin-top:18px;font-size:12px;color:#8f9bb9;line-height:1.8}

/* ---------- 视图切换：登录 / 注册 / 已登录 / 报名 / 查询 ---------- */
.is-authed #hack-intro{display:none}
.is-workspace .hub-hero,.is-workspace #hack-intro{display:none}
.gate-form.is-entering,.gate-user.is-entering{animation:gate-in .42s cubic-bezier(.2,.7,.2,1) both}
@keyframes gate-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* 注册 */
.gate-form .gate-title{font-size:clamp(23px,2.5vw,29px);line-height:1.35;letter-spacing:-.02em;
  color:#f2f5ff;margin:2px 0 8px}
.gate-form .gate-sub{color:#a9b6d6;font-size:13px;line-height:1.8;margin-bottom:20px}
.gate-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.gate-register .gate-field{margin-bottom:13px}
.gate-switch{margin-top:20px;padding-top:17px;border-top:1px solid rgba(169,198,245,.16);
  text-align:center;font-size:12px;color:#8f9bb9}
.gate-switch-btn{display:inline;padding:0;border:0;background:none;color:#a9c6f5;font:inherit;
  font-weight:700;cursor:pointer;text-underline-offset:3px}
.gate-switch-btn:hover{color:#e6dcff;text-decoration:underline}

/* 未注册提示 */
.gate-prompt{margin-top:14px;padding:14px 16px;border:1px solid rgba(238,179,111,.42);
  border-radius:14px;background:rgba(238,179,111,.08);color:#e8d8c2;font-size:12.5px;line-height:1.75}
.gate-prompt[hidden]{display:none}
.gate-prompt p{margin:0}
.gate-prompt b{color:#ffd9a8;font-weight:700}
.gate-prompt-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.gate-prompt-primary,.gate-prompt-ghost{padding:8px 14px;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer}
.gate-prompt-primary{border:1px solid rgba(185,166,232,.55);color:#081226;
  background:linear-gradient(115deg,#a9c6f5,#b9a6e8)}
.gate-prompt-ghost{border:1px solid rgba(169,198,245,.34);color:#cdd8f2;background:transparent}
.gate-prompt-ghost:hover{background:rgba(169,198,245,.1)}

/* ---------- 工作台：报名 / 查询 ---------- */
.hub-workspace{padding:18px 0 0;scroll-margin-top:96px}
.hub-workspace[hidden]{display:none}
.ws-top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid rgba(169,198,245,.16)}
.ws-back{padding:0;border:0;background:none;color:#9fb4d8;font-size:12px;cursor:pointer;
  transition:color .2s}
.ws-back:hover{color:#e6dcff}
.ws-crumb{font:11px Consolas,monospace;letter-spacing:.16em;color:#8fa3cf}
.register-hero .register-title{font-size:clamp(32px,4.6vw,56px);line-height:1.2;letter-spacing:-.03em;
  margin:14px 0 18px;color:#f2f4ff}
.page-intro .intro-title{font-size:56px;line-height:1.25;letter-spacing:-.04em;color:#f2f4ff;margin:0}

/* 轻提示 */
.hub-toast{position:fixed;left:50%;bottom:34px;z-index:80;transform:translate(-50%,14px);
  max-width:calc(100% - 40px);padding:12px 22px;border-radius:999px;
  border:1px solid rgba(185,166,232,.55);background:rgba(10,12,28,.94);
  color:#e8edff;font-size:13px;line-height:1.5;text-align:center;
  box-shadow:0 14px 44px rgba(0,0,4,.55),0 0 26px rgba(169,198,245,.16);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  opacity:0;pointer-events:none;transition:opacity .28s,transform .28s}
.hub-toast.is-show{opacity:1;transform:translate(-50%,0)}

/* ---------- 移动端 ---------- */
@media(max-width:980px){
  .hub-hero-grid{grid-template-columns:1fr}
  .hub-intro{border-right:0;border-bottom:1px solid rgba(169,198,245,.16);min-height:auto;padding:46px 36px}
  .hub-intro:after{width:380px;height:380px;right:-120px;bottom:-150px;opacity:.24}
  .hub-stamp{position:static;margin-top:26px}
  .hub-gate{padding:44px 36px}
}
@media(max-width:760px){
  .hub-hero{padding:24px 0 6px}
  .hub-hero-grid{border-radius:22px}
  .hub-intro{padding:34px 24px}
  .hub-intro h1{font-size:clamp(32px,8.4vw,46px);margin:14px 0 16px}
  .hub-intro .hub-lede{font-size:13px}
  .hub-meta span{font-size:10px;padding:6px 12px}
  .hub-gate{padding:34px 24px}
  .gate-panel h2{font-size:24px}
  .gate-btn{min-height:54px;padding:13px 18px;font-size:14px}
  .gate-register-grid{grid-template-columns:1fr;gap:0}
  .ws-top{margin-bottom:18px}
  .ws-crumb{display:none}
  .query-card{padding:22px}
  .query-grid{grid-template-columns:1fr;gap:14px}
  .query-block.team{grid-column:auto}
  .qrow{grid-template-columns:74px 1fr;gap:8px;font-size:12px}
  .page-intro .intro-title{font-size:38px}
}
@media(prefers-reduced-motion:reduce){
  .hub-hero-grid,.gate-btn,.gate-tab,.ws-tab,.hub-toast{box-shadow:none}
  .gate-form.is-entering,.gate-user.is-entering{animation:none}
  .hub-toast{transition:none}
}

