/* v102：主站首页 Web3 / AI 双独立入口（不改动 app.css / app.js） */
.portal-switch{
  /* v102a02：hero 左栏较窄，横排会把数字/文案挤断，改竖排保证两卡都完整 */
  display:flex;flex-direction:column;gap:9px;margin:18px 0 6px;position:relative;z-index:3;
}
.portal-card{
  flex:1 1 100%;min-width:0;display:flex;align-items:center;gap:12px;
  padding:13px 15px;border-radius:13px;border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.82);backdrop-filter:blur(6px);
  box-shadow:0 6px 20px rgba(30,20,60,.09);
  transition:transform .18s,box-shadow .18s,border-color .18s;
}
.portal-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(30,20,60,.16)}
.portal-ic{
  flex:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  font-size:19px;color:#fff;line-height:1;
}
.portal-web3 .portal-ic{background:linear-gradient(135deg,#FF8A00,#FF6600)}
.portal-ai .portal-ic{background:linear-gradient(135deg,#4F46E5,#7C3AED)}
.portal-txt{min-width:0;flex:1}
.portal-txt b{display:block;font-size:14px;font-weight:800;color:#1A1A2E;line-height:1.35}
.portal-txt small{
  display:block;font-size:11.5px;color:#5C5C73;margin-top:3px;line-height:1.45;
  white-space:normal;
}
.portal-txt small i{font-style:normal;font-weight:700;color:#FF6600}
.portal-ai .portal-txt small i{color:#4F46E5}
.portal-go{
  flex:none;font-size:12px;font-weight:700;color:#FF6600;white-space:nowrap;
}
.portal-ai .portal-go{color:#4F46E5}
.portal-web3:hover{border-color:rgba(255,102,0,.4)}
.portal-ai:hover{border-color:rgba(79,70,229,.42)}

@media (max-width:760px){
  .portal-switch{gap:9px;margin:18px 0 4px}
  .portal-card{flex:1 1 100%;padding:11px 13px}
  .portal-txt small{white-space:normal}
  .portal-go{font-size:11.5px}
}
