/* ============================================================
   modern.css v3 — 酷炫科技蓝主题（深色沉浸式，加载于所有旧样式之后）
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --c-bg: #0a0f1c;
  --c-surface: #121a2b;
  --c-surface-2: #161f33;
  --c-border: rgba(255, 255, 255, .07);
  --c-primary: #2b7cff;
  --c-cyan: #00d4ff;
  --c-grad: linear-gradient(90deg, #2b7cff 0%, #00d4ff 100%);
  --c-primary-tint: rgba(43, 124, 255, .14);
  --c-text-1: #e8ecf4;
  --c-text-2: #94a0b8;
  --c-text-3: #5c6a85;
  --radius-card: 16px;
  --shadow-card: 0 16px 40px rgba(0, 0, 0, .45);
  --glow: 0 0 28px rgba(43, 124, 255, .25);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font-ui: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(43, 124, 255, .13), transparent 60%),
    radial-gradient(820px 420px at 8% 18%, rgba(0, 212, 255, .06), transparent 55%),
    var(--c-bg);
  color: var(--c-text-1);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
.fonti li a, .teris, .qunidaye h2, .hero-copy h1, .hero-copy p,
.qiyecenter a, .qiyecenter p, .card-meta, .zuihou p {
  font-family: var(--font-ui);
}
a { transition: color .2s var(--ease), opacity .2s var(--ease); }
::selection { background: rgba(43, 124, 255, .35); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #25314d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #33436a; }
::-webkit-scrollbar-track { background: transparent; }

/* ================= 导航：深色玻璃 ================= */
.navbar.haode {
  background: rgba(10, 15, 28, .72) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35) !important;
  min-height: 64px;
}
.navbar-brand.logoo { padding: 16px 15px !important; }
.fonti li a {
  color: #c7d0e0 !important;
  font-size: 14px;
  padding-top: 22px !important;
  padding-bottom: 20px !important;
  position: relative;
}
.fonti li a::after {
  content: "";
  position: absolute; left: 50%; bottom: 12px;
  width: 0; height: 2px; border-radius: 1px;
  background: var(--c-grad);
  box-shadow: 0 0 8px rgba(0, 212, 255, .6);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.fonti li a:hover::after,
.fonti li.active a::after { width: 24px; }
.fonti li a:hover { color: #fff !important; }
.fonti li.active a,
.fonti li.active a:hover {
  color: #fff !important;
  background: transparent !important;
  text-shadow: 0 0 14px rgba(0, 212, 255, .5);
}

/* 登录/注册按钮：蓝青渐变 + 辉光 */
.navbar .dlzc li a.cuo,
.navbar .dlzc li a.cuo:hover {
  background: var(--c-grad) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 7px 22px !important;
  height: auto;
  margin-top: 9px;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(43, 124, 255, .45);
  transition: all .2s var(--ease);
}
.navbar .dlzc li a.cuo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 212, 255, .5);
}

/* 用户下拉菜单：深色面板 */
.dropdown-menu {
  background: var(--c-surface-2) !important;
  border: 1px solid var(--c-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-card) !important;
  padding: 8px !important;
  margin-top: 6px !important;
}
.dropdown-menu .divider { background: var(--c-border) !important; margin: 6px 4px !important; }
.dropdown-menu li a {
  border-radius: 8px;
  padding: 9px 14px !important;
  color: #c7d0e0 !important;
  font-size: 13px;
}
.xiaoyuanjiapp:hover { background: var(--c-primary-tint) !important; }
.xiaoyuanjiapp:hover a { color: #4aa0ff !important; }
.touxiang img { border: 2px solid rgba(0, 212, 255, .4); box-shadow: 0 0 10px rgba(0, 212, 255, .25); }

/* ================= Banner ================= */
.bigfluid .bd ul,
.bigfluid .bd ul li { height: clamp(440px, 60vh, 600px) !important; }
.bigfluid .bd ul li img { object-fit: cover; width: 100%; height: 100%; }
.hero-copy {
  position: absolute; left: 50%; bottom: 92px; z-index: 6;
  transform: translateX(-50%);
  width: 90%; max-width: 1200px;
  text-align: center;
  pointer-events: none;
}
.hero-copy h1 {
  font-size: 46px; font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 14px;
  color: #16233f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hero-copy p {
  font-size: 15px; font-weight: 500;
  letter-spacing: .38em;
  color: #3d4a63;
}
/* 轮播圆点：浅色底上的渐变胶囊 */
.bigfluid .hd { bottom: 40px; z-index: 7; }
.bigfluid .hd li {
  width: 22px; height: 4px; border-radius: 2px;
  background: rgba(31, 38, 48, .22);
  margin: 0 4px;
  transition: all .25s var(--ease);
}
.bigfluid .hd li.on {
  background: var(--c-primary);
  width: 32px;
}

/* 左右箭头 */
.bigfluid .prev, .bigfluid .next { opacity: .4; transition: opacity .2s var(--ease); }
.bigfluid .prev:hover, .bigfluid .next:hover { opacity: .9; }

/* ================= 区块标题 ================= */
.qunidaye { margin-top: 84px; margin-bottom: 44px; }
.qunidaye p {
  font-size: 12px; font-weight: 600;
  letter-spacing: .45em;
  color: #4aa0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(43, 124, 255, .5);
}
.qunidaye h2 {
  font-size: 30px; font-weight: 700;
  letter-spacing: .06em;
  background: linear-gradient(120deg, #e8ecf4 40%, #7ab8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.qunidaye h2 .qunidaye { display: none; } /* 隐藏 "——" */
.qunidaye h2::after {
  content: "";
  display: block;
  width: 42px; height: 3px; border-radius: 2px;
  background: var(--c-grad);
  box-shadow: 0 0 12px rgba(0, 212, 255, .55);
  margin: 16px auto 0;
}

/* ================= 作品卡片：深色玻璃卡 ================= */
.topidex { margin-top: 0; }
.otion {
  min-height: 0;
  background: linear-gradient(180deg, var(--c-surface) 0%, #101728 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.otion:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 124, 255, .5);
  box-shadow: var(--shadow-card), var(--glow);
}
.otion .xianyan {
  height: 212px;
  border-radius: 0;
  position: relative;
  display: block;
}
.otion .xianyan img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.otion:hover .xianyan img { transform: scale(1.06); }
/* hover：暗色蒙层 + 霓虹“查看全景”按钮 */
.otion .xianyan::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10, 15, 28, .5);
  opacity: 0; transition: opacity .3s var(--ease);
  z-index: 1;
}
.otion .xianyan::after {
  content: "查看全景";
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) translateY(10px);
  background: rgba(10, 15, 28, .72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 212, 255, .55);
  color: #00d4ff;
  font-size: 13px; font-weight: 600;
  padding: 9px 26px; border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 212, 255, .35), inset 0 0 12px rgba(0, 212, 255, .12);
  opacity: 0; transition: all .3s var(--ease);
}
.otion:hover .xianyan::before { opacity: 1; }
.otion:hover .xianyan::after { opacity: 1; transform: translate(-50%, -50%); }

.shuangyaoyao { background: transparent; padding: 0 16px 16px; display: block; }
.teris {
  font-size: 15px; font-weight: 600;
  color: var(--c-text-1);
  padding: 15px 0 10px;
  transition: color .2s var(--ease);
}
.otion:hover .teris {
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--c-text-3);
}
.meta-item { display: inline-flex; align-items: center; gap: 4px; }
.meta-item svg { color: #4aa0ff; opacity: .9; }
.meta-author {
  margin-left: auto; max-width: 40%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--c-text-2);
}
/* 昵称后的会员图标（沿用原 huiyuan.png 素材） */
.meta-author .huiyuanvip {
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 5px;
  padding: 0; max-width: none;
  background: url(../images/huiyuan.png) no-repeat center center;
  background-size: 100% 100%;
  vertical-align: -2px;
}
.otion:hover .meta-author .huiyuanvip {
  background-image: url(../images/huiyuan_active.png);
}

/* ================= 页脚：融入暗色 ================= */
.dibupic {
  background: linear-gradient(180deg, rgba(18, 26, 43, .4) 0%, var(--c-surface) 100%) !important;
  height: auto !important;
  margin-top: 88px !important;
  border-top: 1px solid var(--c-border);
}
.xiwang { padding-top: 48px; }
.qiyecenter p {
  color: var(--c-text-3);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em;
  margin-bottom: 10px;
}
.qiyecenter a {
  display: block; color: var(--c-text-2);
  font-size: 13px; line-height: 26px;
  transition: all .2s var(--ease);
}
.qiyecenter a:hover { color: #4aa0ff; transform: translateX(3px); text-shadow: 0 0 10px rgba(43, 124, 255, .4); }
.containerco .text-right img { opacity: .9; }
.zuihou p {
  color: var(--c-text-3); font-size: 12px;
  padding: 24px 0;
  margin-top: 36px;
  border-top: 1px solid var(--c-border);
}
.zuihou a { color: var(--c-text-2); }
.zuihou a:hover { color: #4aa0ff; }

/* ================= 登录/注册弹层 ================= */
.entryForm1, .entryForm2-login__form {
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55) !important;
}
.entryForm2-login__form h1 { color: var(--c-text-1); font-weight: 700; }
.entryForm2 .entryForm2-login__form input,
.lihai1le, .ht {
  border: 1px solid var(--c-border) !important;
  border-radius: 10px !important;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.entryForm2 .entryForm2-login__form input:focus,
.lihai1le:focus, .ht:focus {
  outline: none !important;
  border-color: var(--c-primary) !important;
  box-shadow: 0 0 0 3px rgba(43, 124, 255, .18) !important;
}
/* 主按钮：橙 → 蓝青渐变辉光 */
.send, .send:hover {
  background: var(--c-grad) !important;
  border-radius: 10px !important;
  width: 100% !important;
  height: 46px;
  font-size: 16px;
  font-family: var(--font-ui);
  box-shadow: 0 6px 20px rgba(43, 124, 255, .45);
}
.send:hover { filter: brightness(1.12); }
.yanzhengma button {
  border-radius: 8px !important;
  background: var(--c-primary-tint) !important;
  color: #4aa0ff !important;
  border: 1px solid rgba(43, 124, 255, .3) !important;
}

/* ================= 回到顶部 ================= */
.gud { right: 36px; }
.toprest {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  width: 44px; height: 44px; line-height: 44px;
  transition: all .25s var(--ease);
}
.toprest:hover {
  border-color: rgba(0, 212, 255, .5);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.toprest img { width: 18px; }

/* ================= 移动端适配 ================= */
@media (max-width: 767px) {
  .bigfluid .bd ul, .bigfluid .bd ul li { height: 300px !important; }
  .hero-copy { bottom: 52px; }
  .hero-copy h1 { font-size: 26px; letter-spacing: .04em; }
  .hero-copy p { font-size: 12px; letter-spacing: .2em; }
  .otion .xianyan { height: 170px; }
  .qunidaye { margin-top: 56px; margin-bottom: 28px; }
  .qunidaye h2 { font-size: 24px; }
  .navbar .dlzc li a.cuo { margin-top: 12px; }
}
