/* 拟物厚重风 + 深夜石板配色 */
    :root {
      --main: #38bdf8;
      --accent: #a78bfa;
      --bg: #0f172a;
      --text: #e2e8f0;
      --surface: #1e293b;
      --border: #334155;
      --shadow-heavy: 8px 10px 20px rgba(0,0,0,0.6), inset 0 1px 2px rgba(255,255,255,0.08);
      --glow: 0 0 12px rgba(56, 189, 248, 0.4);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
      font-size: 15px;
      line-height: 1.65;
      letter-spacing: 0.02em;
      position: relative;
      overflow-x: hidden;
    }

    /* 顶部噪点纹理 */
    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.05"/></svg>');
      pointer-events: none;
      z-index: 999;
      opacity: 0.2;
    }

    h1, h2, h3, h4, .display-font {
      font-family: 'Noto Serif SC', serif;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    /* 厚重拟物卡片 */
    .heavy-card {
      background: linear-gradient(145deg, #1c2a3a, #131e2e);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-heavy);
      border-radius: 24px;
      padding: 1.8rem 1.8rem;
      transition: transform 0.2s ease, box-shadow 0.3s;
    }
    .heavy-card:hover {
      box-shadow: 8px 14px 26px rgba(0,0,0,0.8), inset 0 1px 3px rgba(255,255,255,0.1);
      transform: translateY(-3px);
    }

    .icon-outline {
      color: var(--main);
      font-size: 2rem;
      margin-bottom: 0.5rem;
      text-shadow: 0 2px 6px rgba(56, 189, 248, 0.3);
    }

    .text-accent { color: var(--accent); }
    .text-main { color: var(--main); }

    /* 导航 */
    .navbar-custom {
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #2d3b4f;
      box-shadow: 0 4px 18px rgba(0,0,0,0.5);
      padding: 0.6rem 1rem;
      z-index: 100;
    }
    .navbar-brand {
      font-family: 'Noto Serif SC', serif;
      font-weight: 900;
      font-size: 1.7rem;
      color: var(--main) !important;
      text-shadow: 0 0 10px rgba(56,189,248,0.7);
      letter-spacing: 1px;
      display: flex;
      align-items: center;
    }
    .navbar-brand i {
      margin-right: 8px;
      color: var(--accent);
      font-size: 1.6rem;
    }
    .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      border-radius: 30px;
      transition: all 0.2s;
      padding: 0.5rem 1rem !important;
      font-size: 0.95rem;
    }
    .nav-link:hover {
      background: rgba(56,189,248,0.15);
      color: var(--main) !important;
      box-shadow: 0 0 8px rgba(56,189,248,0.4);
    }
    .navbar-toggler {
      border: 1px solid var(--main);
    }

    /* Hero 主视觉压暗白字 */
    .hero {
      position: relative;
      min-height: 75vh;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      background: url('{随机图片}') center center / cover no-repeat;
      isolation: isolate;
      border-bottom: 2px solid #1c2b3a;
      box-shadow: inset 0 -40px 60px rgba(15,23,42,0.9);
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(8, 15, 30, 0.7);
      z-index: -1;
    }
    .hero-content {
      padding: 3rem 1rem 5rem 1rem;
      text-align: center;
      max-width: 900px;
      width: 100%;
      text-shadow: 0 4px 18px rgba(0,0,0,0.8);
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: 0.06em;
      margin-bottom: 0.7rem;
    }
    .hero p {
      font-size: 1.15rem;
      color: #f0f4fa;
      max-width: 650px;
      margin: 0 auto;
      font-weight: 300;
    }

    /* 时间线样式 */
    .timeline {
      position: relative;
      padding-left: 2.2rem;
      list-style: none;
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 8px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: linear-gradient(180deg, var(--main), var(--accent));
      border-radius: 4px;
      box-shadow: 0 0 10px var(--main);
    }
    .timeline-item {
      position: relative;
      margin-bottom: 2rem;
      padding: 0.3rem 0 0.2rem 0.5rem;
    }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: -1.5rem;
      top: 0.5rem;
      width: 16px;
      height: 16px;
      background: var(--bg);
      border: 3px solid var(--main);
      border-radius: 50%;
      box-shadow: 0 0 12px var(--main);
    }
    .timeline-item h5 {
      color: var(--main);
      font-weight: 700;
    }
    .timeline-item .time-desc {
      color: #cbd5e1;
      font-size: 0.9rem;
    }

    /* 标签页 (特色区块) */
    .nav-pills .nav-link {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text);
      margin: 0 4px;
      font-weight: 600;
      box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
    }
    .nav-pills .nav-link.active {
      background: linear-gradient(145deg, #256f9e, #1e4a72);
      color: white;
      border-color: var(--main);
      box-shadow: 0 0 14px var(--main), inset 0 1px 0 rgba(255,255,255,0.2);
    }

    /* 滚动渐显 */
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.7s;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* 卡片错落延迟 */
    .stagger-card {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.5s, transform 0.5s;
    }
    .stagger-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* 图片hover放大 + 遮罩 */
    .img-hover-wrapper {
      overflow: hidden;
      border-radius: 18px;
      position: relative;
      background: #16202e;
      border: 1px solid #2b3e57;
      box-shadow: 0 8px 18px rgba(0,0,0,0.5);
    }
    .img-hover-wrapper img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.4s ease;
      display: block;
    }
    .img-hover-wrapper:hover img {
      transform: scale(1.08);
    }
    .img-hover-wrapper .hover-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 20%, rgba(10, 20, 40, 0.9));
      opacity: 0;
      transition: opacity 0.3s;
      display: flex;
      align-items: flex-end;
      padding: 1rem;
      color: white;
      font-weight: 600;
      font-size: 0.95rem;
    }
    .img-hover-wrapper:hover .hover-mask {
      opacity: 1;
    }

    /* 页脚友链 */
    .friend-links {
      background: #0b1420;
      border-top: 1px solid #233040;
      padding: 1.5rem 0;
      margin-top: 3rem;
    }
    .friend-links .link-item {
      color: var(--accent);
      text-decoration: none;
      margin: 0 1rem;
      font-size: 0.9rem;
      border-bottom: 1px dashed transparent;
    }
    .friend-links .link-item:hover {
      border-bottom-color: var(--accent);
    }

    /* 通用间距 */
    .section {
      padding: 4rem 0;
    }
    .bg-mist {
      background: rgba(30, 41, 59, 0.4);
    }

    /* 移动端优化 */
    @media (max-width: 768px) {
      .hero h1 { font-size: 2.4rem; }
      .hero { min-height: 60vh; }
      .heavy-card { padding: 1.2rem; }
    }

/* --- 子页面追加 --- */
/* 保证卡片类均基于站点变量 (覆盖bootstrap组件类) */
    .card, .card-body, .card-title, .card-text, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .form-control, .form-select, .form-label, .modal-content {
      background: var(--surface);
      color: var(--text);
      border-color: var(--border);
    }
.accordion-button:not(.collapsed) {
      background: rgba(56, 189, 248, 0.08);
      color: var(--main);
    }
.accordion-button:focus {
      box-shadow: 0 0 0 1px var(--main);
    }
.btn-outline-custom {
      border: 1px solid var(--main);
      color: var(--main);
      background: transparent;
    }
.btn-outline-custom:hover {
      background: var(--main);
      color: #0f172a;
    }
.hero-about {
      background: linear-gradient(145deg, rgba(15,23,42,0.9) 0%, rgba(30,41,59,0.85) 100%), var(--bg);
    }
.stat-number {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--main);
      line-height: 1.2;
    }
.stat-label {
      color: var(--text);
      opacity: 0.75;
      font-weight: 500;
    }
.badge-soft {
      background: rgba(167, 139, 250, 0.15);
      color: var(--accent);
      padding: 0.2rem 0.8rem;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.85rem;
      border: 1px solid rgba(167,139,250,0.2);
    }
.timeline-item .timeline-dot {
      background: var(--main);
      box-shadow: 0 0 0 4px rgba(56,189,248,0.2);
    }
.friend-links a {
      color: var(--text);
      opacity: 0.7;
      transition: 0.2s;
    }
.friend-links a:hover {
      color: var(--main);
      opacity: 1;
    }
/* 覆写bootstrap导航可能带来的白底 */
    .navbar-custom {
      background-color: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid var(--border);
    }
.navbar-custom .nav-link {
      color: var(--text);
    }
.navbar-custom .nav-link.active,
    .navbar-custom .nav-link:hover {
      color: var(--main);
    }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .contact-hero {
            padding: 5rem 0 3rem;
            position: relative;
        }
.contact-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.contact-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-heavy);
        }
.contact-icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: rgba(56, 189, 248, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.2rem;
            border: 1px solid rgba(56, 189, 248, 0.3);
        }
.contact-icon i {
            font-size: 1.4rem;
            color: var(--main);
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--main);
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            margin-right: 0.5rem;
        }
.submit-btn {
            background: linear-gradient(135deg, var(--main), var(--accent));
            color: #fff;
            border: none;
            padding: 0.8rem 2.5rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
.submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--glow);
            color: #fff;
        }
.form-control-custom {
            background: rgba(0,0,0,0.3);
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            width: 100%;
            transition: border-color 0.3s ease;
        }
.form-control-custom:focus {
            outline: none;
            border-color: var(--main);
            box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
        }
.form-control-custom::placeholder {
            color: rgba(226, 232, 240, 0.4);
        }
.form-label-custom {
            color: var(--text);
            font-weight: 500;
            margin-bottom: 0.5rem;
            display: block;
        }
.faq-item {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.2rem 1.5rem;
            margin-bottom: 1rem;
        }
.faq-question {
            font-weight: 600;
            color: var(--main);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }
.faq-question i {
            margin-right: 0.6rem;
            color: var(--accent);
        }
.faq-answer {
            color: var(--text);
            opacity: 0.9;
            line-height: 1.7;
            padding-left: 1.8rem;
        }
.highlight-text {
            color: var(--main);
            font-weight: 600;
        }
.note-box {
            background: rgba(167, 139, 250, 0.08);
            border-left: 3px solid var(--accent);
            padding: 1rem 1.2rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
