/* =========================================================
       Black Sword · 게임소개  암흑 동방 판타지 MMO 공식 홈페이지
       ========================================================= */

    :root {
      --bg-0: #05030a;
      --bg-1: #0a0612;
      --bg-2: #130a1f;
      --ink: #e8d9b5;
      --ink-soft: #b8a885;
      --ink-dim: #7a6f58;
      --gold: #d4af37;
      --gold-2: #c9a227;
      --gold-soft: #f3df8a;
      --gold-deep: #8a6d1a;
      --blood: #c1272d;
      --blood-deep: #8b0000;
      --blood-glow: #ff3b2f;
      --purple: #6a0dad;
      --purple-glow: #a855f7;
      --line-gold: rgba(212, 175, 55, 0.35);
      --line-soft: rgba(212, 175, 55, 0.15);
      --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.35);
      --shadow-blood: 0 0 40px rgba(193, 39, 45, 0.45);
      --shadow-purple: 0 0 40px rgba(106, 13, 173, 0.4);
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: "Noto Serif SC", "ZCOOL XiaoWei", serif;
      background: var(--bg-0);
      color: var(--ink);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    /* ---------- Scrollbar ---------- */
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: #0a0612; }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, var(--gold-deep), var(--gold-2));
      border-radius: 5px;
    }

    /* =========================================================
       NAV
       ========================================================= */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 48px;
      background: linear-gradient(180deg, rgba(5,3,10,0.85) 0%, rgba(5,3,10,0) 100%);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
      border-bottom: 1px solid transparent;
      flex-wrap: nowrap;
    }
    .nav.scrolled {
      background: rgba(5,3,10,0.92);
      padding: 10px 48px;
      border-bottom: 1px solid var(--line-gold);
      box-shadow: 0 4px 30px rgba(0,0,0,0.6);
    }

    .nav-logo {
      height: 48px;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    .nav-logo img {
      height: 100%;
      width: auto;
      max-height: 48px;
      display: block;
      object-fit: contain;
      filter: drop-shadow(0 0 8px rgba(212,175,55,0.5));
    }
    .nav-logo span {
      font-family: "Cinzel", serif;
      font-weight: 900;
      font-size: 18px;
      letter-spacing: 2px;
      background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .nav-menu {
      display: flex;
      gap: 36px;
    }
    .nav-menu a {
      position: relative;
      font-size: 15px;
      color: var(--ink-soft);
      letter-spacing: 1px;
      padding: 8px 4px;
      transition: color 0.3s ease;
    }
    .nav-menu a::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      transform: translateX(-50%);
      transition: width 0.3s ease;
    }
    .nav-menu a:hover {
      color: var(--gold);
    }
    .nav-menu a:hover::after { width: 100%; }

    /* Dropdown menu */
    .nav-dropdown {
      position: relative;
    }
    .nav-dropdown > a::after { display: none; }
    .nav-dropdown > a {
      padding-right: 16px;
    }
    .nav-dropdown > a::before {
      content: "";
      position: absolute;
      right: 2px;
      top: 50%;
      width: 0; height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid currentColor;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
    }
    .nav-dropdown:hover > a::before {
      transform: translateY(-50%) rotate(180deg);
    }
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(8px);
      min-width: 150px;
      background: rgba(10,6,18,0.96);
      border: 1px solid var(--line-gold);
      padding: 8px 0;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.6);
      backdrop-filter: blur(8px);
    }
    .nav-dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .dropdown-menu li {
      width: 100%;
    }
    .dropdown-menu a {
      display: block;
      padding: 10px 20px;
      font-size: 14px;
      color: var(--ink);
      -webkit-text-fill-color: var(--ink);
      white-space: nowrap;
      transition: all 0.2s ease;
      letter-spacing: 1px;
      font-weight: 500;
      opacity: 1;
    }
    .dropdown-menu a::after { display: none; }
    .dropdown-menu a:hover {
      color: var(--gold-soft);
      -webkit-text-fill-color: var(--gold-soft);
      background: rgba(212,175,55,0.08);
      padding-left: 28px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-auth-btn {
      padding: 9px 24px;
      font-size: 13px;
      color: #1a1206;
      font-weight: 700;
      letter-spacing: 2px;
      border-radius: 2px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      border: 1px solid var(--gold-soft);
      text-shadow: 0 1px 0 rgba(255,255,255,0.25);
    }
    .nav-auth-btn::before {
      content: "";
      position: absolute;
      top: 0; left: -100%;
      width: 40%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
      transform: skewX(-20deg);
      transition: left 0.7s ease;
    }
    .nav-auth-btn:hover {
      transform: translateY(-1px) scale(1.03);
    }
    .nav-auth-btn:hover::before { left: 150%; }

    .nav-auth-login {
      background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 40%, var(--gold-deep) 100%);
      box-shadow: 0 0 14px rgba(212,175,55,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    }
    .nav-auth-login:hover {
      box-shadow: 0 0 22px rgba(212,175,55,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
    }

    .nav-auth-register {
      background: linear-gradient(135deg, var(--gold-soft) 0%, #ffd700 40%, var(--gold) 100%);
      box-shadow: 0 0 18px rgba(212,175,55,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
    }
    .nav-auth-register:hover {
      box-shadow: 0 0 28px rgba(212,175,55,0.8), inset 0 1px 0 rgba(255,255,255,0.6);
    }
    .nav-toggle { display: none; }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: "Noto Serif SC", serif;
      font-weight: 600;
      letter-spacing: 1.5px;
      cursor: pointer;
      border: none;
      outline: none;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .btn-gold {
      padding: 11px 28px;
      font-size: 14px;
      color: #1a1206;
      background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 40%, var(--gold-2) 100%);
      border: 1px solid var(--gold-soft);
      border-radius: 2px;
      box-shadow: 0 0 18px rgba(212,175,55,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
      text-shadow: 0 1px 0 rgba(255,255,255,0.3);
    }
    .btn-gold::before {
      content: "";
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
      transition: left 0.6s ease;
    }
    .btn-gold:hover {
      box-shadow: 0 0 28px rgba(212,175,55,0.7), inset 0 1px 0 rgba(255,255,255,0.5);
      transform: translateY(-1px);
    }
    .btn-gold:hover::before { left: 100%; }

    .btn-outline {
      padding: 10px 26px;
      font-size: 14px;
      color: var(--gold);
      background: rgba(10,6,18,0.6);
      border: 1px solid var(--gold);
      border-radius: 2px;
      position: relative;
    }
    .btn-outline:hover {
      background: rgba(212,175,55,0.12);
      box-shadow: 0 0 16px rgba(212,175,55,0.35);
    }
    .btn-outline .play-icon {
      width: 12px;
      height: 12px;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-left: 10px solid currentColor;
      margin-left: 2px;
    }

    /* Hero 大按钮 */
    .btn-hero-gold {
      padding: 18px 52px;
      font-size: 17px;
      color: #1a1206;
      -webkit-text-fill-color: #1a1206;
      background-color: #d4af37;
      background-image: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 30%, var(--gold-2) 70%, var(--gold-deep) 100%);
      border: 1px solid var(--gold-soft);
      border-radius: 2px;
      font-weight: 700;
      letter-spacing: 3px;
      box-shadow: 0 0 30px rgba(212,175,55,0.5), inset 0 2px 0 rgba(255,255,255,0.5);
      position: relative;
      overflow: hidden;
      animation: goldPulse 3s ease-in-out infinite;
    }
    .btn-hero-gold::before {
      content: "";
      position: absolute;
      top: 0; left: -100%;
      width: 50%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
      transform: skewX(-20deg);
      transition: left 0.9s ease;
    }
    .btn-hero-gold:hover { transform: translateY(-2px) scale(1.02); }
    .btn-hero-gold:hover::before { left: 150%; }

    .btn-hero-outline {
      padding: 17px 46px;
      font-size: 17px;
      color: var(--ink);
      background: rgba(10,6,18,0.5);
      border: 1.5px solid rgba(212,175,55,0.6);
      border-radius: 2px;
      font-weight: 600;
      letter-spacing: 2px;
      backdrop-filter: blur(4px);
      display: inline-flex;
      align-items: center;
      gap: 12px;
      transition: all 0.3s ease;
    }
    .btn-hero-outline:hover {
      background: rgba(212,175,55,0.1);
      border-color: var(--gold);
      box-shadow: 0 0 20px rgba(212,175,55,0.3);
    }
    .btn-hero-outline .play-big {
      width: 16px;
      height: 16px;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-left: 14px solid var(--gold);
    }

    /* Trailer Modal */
    .trailer-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 40px;
      box-sizing: border-box;
    }
    .trailer-modal.active {
      display: flex;
      animation: modalFadeIn 0.3s ease;
    }
    @keyframes modalFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .trailer-modal-content {
      position: relative;
      width: 78%;
      max-width: 1200px;
      aspect-ratio: 16 / 9;
      background: #000;
      border: 1px solid var(--gold);
      box-shadow:
        0 0 60px rgba(212, 175, 55, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.8);
      animation: modalScaleIn 0.35s ease;
      flex-shrink: 0;
    }
    @keyframes modalScaleIn {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .trailer-modal-content video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #000;
    }
    .trailer-close {
      position: absolute;
      top: -44px;
      right: 0;
      width: 36px;
      height: 36px;
      border: 1px solid rgba(212, 175, 55, 0.5);
      background: rgba(10, 6, 18, 0.8);
      color: var(--gold);
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
      border-radius: 2px;
      z-index: 2;
    }
    .trailer-close:hover {
      border-color: var(--gold);
      background: rgba(212, 175, 55, 0.15);
      box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    }
    body.trailer-open { overflow: hidden; }

    @media (max-width: 1200px) {
      .trailer-modal { padding: 28px 16px; }
      .trailer-modal-content {
        width: min(92vw, 960px);
        max-width: none;
      }
    }
    @media (max-width: 768px) {
      .trailer-modal {
        padding: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        background: rgba(0, 0, 0, 0.72);
      }
      .trailer-modal-content {
        width: 100%;
        max-height: min(56.25vw, calc(100dvh - 72px));
        aspect-ratio: 16 / 9;
        border-width: 1px;
      }
      .trailer-close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
        background: rgba(10, 6, 18, 0.92);
      }
    }
    @media (max-width: 768px) and (orientation: landscape),
           (max-height: 500px) and (orientation: landscape) {
      .trailer-modal { padding: 8px; }
      .trailer-modal-content {
        width: min(96vw, calc((100dvh - 24px) * 16 / 9));
        max-height: calc(100dvh - 24px);
      }
    }
    @media (min-width: 1600px) {
      .trailer-modal-content {
        width: min(72vw, 1400px);
        max-width: 1400px;
      }
    }

    /* News Detail Modal */
    .news-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      z-index: 9999;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 24px 16px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      box-sizing: border-box;
    }
    .news-modal.active {
      display: flex;
      animation: newsModalFadeIn 0.3s ease;
    }
    @keyframes newsModalFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .news-modal-content {
      position: relative;
      width: 100%;
      max-width: 680px;
      height: auto;
      max-height: none;
      margin: auto;
      background: linear-gradient(180deg, #14101c 0%, #0d0914 100%);
      border: 1px solid var(--gold);
      box-shadow:
        0 0 40px rgba(212, 175, 55, 0.25),
        0 20px 60px rgba(0, 0, 0, 0.8);
      padding: 48px 44px 40px;
      overflow: visible;
      animation: newsModalScaleIn 0.35s ease;
      box-sizing: border-box;
      outline: 1px solid rgba(0,0,0,0.8);
      outline-offset: -4px;
    }
    @keyframes newsModalScaleIn {
      from { transform: scale(0.92); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .news-modal-content::-webkit-scrollbar {
      width: 6px;
    }
    .news-modal-content::-webkit-scrollbar-track {
      background: rgba(255,255,255,0.03);
    }
    .news-modal-content::-webkit-scrollbar-thumb {
      background: rgba(212, 175, 55, 0.3);
      border-radius: 3px;
    }
    .news-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(212, 175, 55, 0.5);
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.4);
      color: var(--gold);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 5;
    }
    .news-modal-close:hover {
      border-color: var(--gold);
      background: rgba(212, 175, 55, 0.15);
      transform: rotate(90deg);
    }
    .news-modal-header {
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      padding-bottom: 20px;
      margin-bottom: 24px;
    }
    .news-modal-meta {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 14px;
      font-size: 13px;
      color: var(--ink-dim);
      font-family: "Cinzel", serif;
      letter-spacing: 1px;
    }
    .news-modal-meta .news-tag {
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
    }
    .news-modal-title {
      font-size: 24px;
      color: var(--gold);
      font-weight: 700;
      line-height: 1.4;
      letter-spacing: 1px;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      margin: 0;
    }
    .news-modal-body {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.8;
      letter-spacing: 0.5px;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal;
    }
    .news-modal-body p {
      margin: 0 0 16px;
      text-indent: 2em;
    }
    .news-modal-body p:last-child { margin-bottom: 0; }
    .news-modal-body .highlight {
      color: var(--gold);
      font-weight: 600;
    }
    @media (max-width: 768px) {
      .news-modal {
        padding: 12px 10px;
        align-items: flex-start;
      }
      .news-modal-content {
        padding: 36px 18px 28px;
        margin: 12px auto;
      }
      .news-modal-title {
        font-size: 18px;
      }
      .news-modal-body {
        font-size: 14px;
      }
    }

    /* Legal Agreement Modal */
    .legal-modal {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      z-index: 10020;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 32px 16px;
      box-sizing: border-box;
    }
    .legal-modal.active {
      display: flex;
      animation: newsModalFadeIn 0.25s ease;
    }
    .legal-modal-content {
      position: relative;
      width: 100%;
      max-width: 760px;
      max-height: 82vh;
      background: linear-gradient(180deg, #14101c 0%, #0d0914 100%);
      border: 1px solid var(--gold);
      box-shadow: 0 0 40px rgba(212, 175, 55, 0.22), 0 20px 60px rgba(0, 0, 0, 0.8);
      padding: 44px 40px 32px;
      overflow-y: auto;
      box-sizing: border-box;
      animation: newsModalScaleIn 0.3s ease;
    }
    .legal-modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(212, 175, 55, 0.5);
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.4);
      color: var(--gold);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 5;
    }
    .legal-modal-close:hover {
      border-color: var(--gold);
      background: rgba(212, 175, 55, 0.15);
      transform: rotate(90deg);
    }
    .legal-modal-title {
      margin: 0 0 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      font-size: 22px;
      color: var(--gold);
      font-weight: 700;
      line-height: 1.4;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
    }
    .legal-modal-body {
      color: var(--ink);
      font-size: 14px;
      line-height: 1.85;
      white-space: pre-wrap;
      word-break: break-word;
    }
    .legal-modal-body.is-loading {
      opacity: 0.65;
    }
    @media (max-width: 720px) {
      .legal-modal { padding: 16px 10px; }
      .legal-modal-content { padding: 40px 18px 24px; max-height: 88vh; }
      .legal-modal-title { font-size: 18px; }
    }

    /* Download Guide Detail Modal */
    .dlg-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(8, 4, 16, 0.85);
      backdrop-filter: blur(8px);
      z-index: 10000;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 20px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .dlg-modal.active {
      display: flex;
      animation: dlgFadeIn 0.3s ease;
    }
    @keyframes dlgFadeIn {
      from { opacity: 0; } to { opacity: 1; }
    }
    .dlg-modal-content {
      width: 100%;
      max-width: 1080px;
      background: linear-gradient(180deg, rgba(20,14,32,0.98), rgba(10,6,18,0.98));
      border: 1px solid var(--gold);
      border-radius: 4px;
      position: relative;
      box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.15);
      animation: dlgScaleIn 0.35s ease;
    }
    @keyframes dlgScaleIn {
      from { opacity: 0; transform: translateY(20px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .dlg-modal-close {
      position: absolute;
      top: 16px; right: 16px;
      width: 36px; height: 36px;
      border: 1px solid var(--line-gold);
      background: rgba(20,14,32,0.6);
      color: var(--gold-soft);
      font-size: 18px;
      cursor: pointer;
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
      z-index: 3;
    }
    .dlg-modal-close:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(212,175,55,0.15);
    }
    .dlg-header {
      padding: 32px 40px 24px;
      border-bottom: 1px solid var(--line-gold);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .dlg-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--gold-soft);
      font-size: 13px;
      cursor: pointer;
      width: fit-content;
      transition: color 0.2s ease;
      letter-spacing: 1px;
    }
    .dlg-back:hover { color: var(--gold); }
    .dlg-title {
      font-size: 26px;
      color: var(--gold);
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      letter-spacing: 3px;
    }
    .dlg-subtitle {
      font-size: 12px;
      color: var(--ink-soft);
      letter-spacing: 4px;
      text-transform: uppercase;
    }
    .dlg-body {
      padding: 28px 40px 40px;
      color: var(--ink-soft);
      font-size: 14px;
      line-height: 1.8;
    }
    .dlg-overview {
      margin-bottom: 28px;
      padding: 18px 22px;
      background: linear-gradient(90deg, rgba(212,175,55,0.08), transparent);
      border-left: 3px solid var(--gold);
      color: var(--ink-soft);
      font-size: 14px;
      line-height: 1.8;
    }
    .dlg-platforms {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 36px;
    }
    .dlg-platform-card {
      background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
      border: 1px solid var(--line-gold);
      border-radius: 4px;
      padding: 24px 20px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .dlg-platform-card::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; height: 3px;
      background: var(--dlg-accent, var(--gold));
    }
    .dlg-platform-card:hover {
      border-color: var(--dlg-accent, var(--gold));
      transform: translateY(-3px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 20px var(--dlg-accent-alpha, rgba(212,175,55,0.15));
    }
    .dlg-platform-head {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 16px;
    }
    .dlg-platform-icon {
      width: 48px; height: 48px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--dlg-accent-bg, rgba(212,175,55,0.15));
      color: var(--dlg-accent, var(--gold));
    }
    .dlg-platform-icon svg { width: 26px; height: 26px; }
    .dlg-platform-name {
      font-size: 18px;
      color: var(--gold-soft);
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      letter-spacing: 2px;
    }
    .dlg-platform-sec {
      margin-bottom: 14px;
    }
    .dlg-platform-sec:last-child { margin-bottom: 0; }
    .dlg-platform-sec h5 {
      color: var(--dlg-accent, var(--gold));
      font-size: 13px;
      margin-bottom: 8px;
      letter-spacing: 1px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .dlg-platform-sec h5::before {
      content: "";
      width: 4px; height: 4px;
      background: currentColor;
      border-radius: 50%;
    }
    .dlg-platform-sec ul {
      padding-left: 14px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 12.5px;
      color: var(--ink-soft);
      line-height: 1.7;
    }
    .dlg-platform-sec ol {
      padding-left: 18px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 12.5px;
      color: var(--ink-soft);
      line-height: 1.7;
      list-style: decimal;
    }
    .dlg-platform-sec li { margin: 0; }
    .dlg-sec-title {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
    }
    .dlg-sec-title h3 {
      font-size: 20px;
      color: var(--gold);
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      letter-spacing: 3px;
      margin: 0;
    }
    .dlg-sec-title .dlg-sec-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, var(--line-gold), transparent);
    }
    .dlg-account-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .dlg-account-item {
      background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
      border: 1px solid var(--line-gold);
      border-radius: 4px;
      padding: 20px;
    }
    .dlg-account-item h5 {
      color: var(--gold);
      font-size: 15px;
      margin-bottom: 12px;
      letter-spacing: 2px;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
    }
    .dlg-account-item ul {
      padding-left: 14px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.7;
    }
    .dlg-account-item li { margin: 0; }
    .guide-card-clickable {
      cursor: pointer;
    }
    .guide-card-action {
      margin-top: 16px;
      text-align: right;
      font-size: 12px;
      color: var(--gold);
      letter-spacing: 1px;
      transition: transform 0.25s ease;
    }
    .guide-card-clickable:hover .guide-card-action {
      transform: translateX(4px);
    }

    /* Usage Guide Modal */
    .ug-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(8, 4, 16, 0.85);
      backdrop-filter: blur(8px);
      z-index: 10000;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 20px;
      overflow-y: auto;
    }
    .ug-modal.active {
      display: flex;
      animation: ugFadeIn 0.3s ease;
    }
    @keyframes ugFadeIn {
      from { opacity: 0; } to { opacity: 1; }
    }
    .ug-modal-content {
      width: 100%;
      max-width: 1080px;
      background: linear-gradient(180deg, rgba(20,14,32,0.98), rgba(10,6,18,0.98));
      border: 1px solid var(--gold);
      border-radius: 4px;
      position: relative;
      box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.15);
      animation: ugScaleIn 0.35s ease;
    }
    @keyframes ugScaleIn {
      from { opacity: 0; transform: translateY(20px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .ug-modal-close {
      position: absolute;
      top: 16px; right: 16px;
      width: 36px; height: 36px;
      border: 1px solid var(--line-gold);
      background: rgba(20,14,32,0.6);
      color: var(--gold-soft);
      font-size: 18px;
      cursor: pointer;
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
      z-index: 3;
    }
    .ug-modal-close:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(212,175,55,0.15);
    }
    .ug-header {
      padding: 32px 40px 24px;
      border-bottom: 1px solid var(--line-gold);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .ug-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--gold-soft);
      font-size: 13px;
      cursor: pointer;
      width: fit-content;
      transition: color 0.2s ease;
      letter-spacing: 1px;
    }
    .ug-back:hover { color: var(--gold); }
    .ug-title {
      font-size: 26px;
      color: var(--gold);
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      letter-spacing: 3px;
    }
    .ug-subtitle {
      font-size: 12px;
      color: var(--ink-soft);
      letter-spacing: 4px;
      text-transform: uppercase;
    }
    .ug-body {
      padding: 32px 40px 40px;
      display: flex;
      flex-direction: column;
      gap: 36px;
    }
    .ug-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: start;
    }
    .ug-section.reverse .ug-img-wrap { order: 2; }
    .ug-img-wrap {
      position: relative;
      border: 1px solid var(--line-gold);
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }
    .ug-img-wrap::before {
      content: "";
      position: absolute;
      inset: 0;
      border: 1px solid rgba(212,175,55,0.3);
      pointer-events: none;
      z-index: 2;
      border-radius: 4px;
    }
    .ug-img-wrap img {
      width: 100%;
      display: block;
      aspect-ratio: 16/10;
      object-fit: cover;
    }
    .ug-img-tag {
      position: absolute;
      top: 12px; left: 12px;
      background: linear-gradient(90deg, rgba(212,175,55,0.9), rgba(200,150,30,0.9));
      color: #1a0f28;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 2px;
      letter-spacing: 1px;
      z-index: 3;
    }
    .ug-text {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .ug-sec-head {
      display: flex;
      align-items: baseline;
      gap: 14px;
      margin-bottom: 4px;
    }
    .ug-sec-num {
      font-size: 32px;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      color: var(--gold);
      line-height: 1;
      opacity: 0.8;
      letter-spacing: 2px;
    }
    .ug-sec-title {
      font-size: 20px;
      color: var(--gold-soft);
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      letter-spacing: 2px;
      line-height: 1.3;
    }
    .ug-text p {
      font-size: 13.5px;
      color: var(--ink-soft);
      line-height: 1.9;
      margin: 0;
    }
    .ug-text h6 {
      font-size: 14px;
      color: var(--gold);
      margin: 8px 0 4px;
      letter-spacing: 1px;
      font-weight: 600;
    }
    .ug-text ul {
      padding-left: 16px;
      margin: 4px 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .ug-text li {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.8;
      position: relative;
    }
    .ug-text li::marker {
      color: var(--gold);
    }
    .ug-text strong {
      color: var(--gold);
      font-weight: 600;
    }

    @keyframes goldPulse {
      0%, 100% { box-shadow: 0 0 30px rgba(212,175,55,0.5), inset 0 2px 0 rgba(255,255,255,0.5); }
      50% { box-shadow: 0 0 45px rgba(212,175,55,0.8), inset 0 2px 0 rgba(255,255,255,0.5); }
    }

    /* =========================================================
       HERO
       ========================================================= */
    .hero {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 640px;
      max-height: 100dvh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: var(--site-img-hero-home, url("/images/site/hero_home.png"));
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      transform: scale(1.08);
      animation: heroZoom 20s ease-in-out infinite alternate;
      z-index: 0;
    }
    @keyframes heroZoom {
      0% { transform: scale(1.08) translateY(0); }
      100% { transform: scale(1.15) translateY(-10px); }
    }
    .hero-vignette {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at center, transparent 20%, rgba(5,3,10,0.6) 55%, rgba(5,3,10,0.95) 100%),
        linear-gradient(180deg, rgba(5,3,10,0.5) 0%, transparent 30%, transparent 60%, rgba(5,3,10,0.7) 100%);
      z-index: 1;
    }
    .hero-particles {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
    }
    #particleCanvas {
      width: 100%;
      height: 100%;
      display: block;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      text-align: center;
      margin-top: 8vh;
      animation: heroFade 1.6s ease-out 0.3s both;
    }
    @keyframes heroFade {
      from { opacity: 0; transform: translateY(40px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-logo {
      max-width: 560px;
      margin: 0 auto 28px;
      filter: drop-shadow(0 0 30px rgba(212,175,55,0.6)) drop-shadow(0 0 60px rgba(193,39,45,0.4));
      animation: logoGlow 4s ease-in-out infinite alternate;
    }
    @keyframes logoGlow {
      from { filter: drop-shadow(0 0 30px rgba(212,175,55,0.6)) drop-shadow(0 0 60px rgba(193,39,45,0.4)); }
      to   { filter: drop-shadow(0 0 50px rgba(212,175,55,0.9)) drop-shadow(0 0 90px rgba(193,39,45,0.6)); }
    }
    .hero-logo img {
      width: 100%;
      height: auto;
    }

    .hero-slogan-cn {
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      font-size: clamp(28px, 3.6vw, 44px);
      letter-spacing: 12px;
      color: var(--ink);
      margin-bottom: 10px;
      text-shadow: 0 0 20px rgba(193,39,45,0.7), 0 0 40px rgba(212,175,55,0.4);
    }
    .hero-slogan-en {
      font-family: "Cinzel", serif;
      font-size: clamp(14px, 1.2vw, 18px);
      letter-spacing: 8px;
      color: var(--gold);
      font-weight: 500;
      margin-bottom: 50px;
      opacity: 0.85;
    }

    .hero-buttons {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .hero-scroll {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--ink-soft);
      font-size: 12px;
      letter-spacing: 4px;
      animation: scrollBounce 2.5s ease-in-out infinite;
    }
    .hero-scroll .arrow {
      width: 22px;
      height: 22px;
      border-right: 2px solid var(--gold);
      border-bottom: 2px solid var(--gold);
      transform: rotate(45deg);
      opacity: 0.8;
    }
    @keyframes scrollBounce {
      0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
      50%      { transform: translateX(-50%) translateY(10px); opacity: 1; }
    }

    /* =========================================================
       Section Common
       ========================================================= */
    .section {
      position: relative;
      padding: 120px 48px;
      overflow: hidden;
    }
    .section-dark { background: var(--bg-0); }
    .section-deep { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%); }

    .section-title {
      text-align: center;
      margin-bottom: 70px;
      position: relative;
    }
    .section-title h2 {
      font-family: "Cinzel", "ZCOOL XiaoWei", serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      letter-spacing: 6px;
      background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 12px;
      position: relative;
      display: inline-block;
    }
    .section-title .subtitle {
      font-family: "Cinzel", serif;
      font-size: 13px;
      letter-spacing: 6px;
      color: var(--ink-dim);
      text-transform: uppercase;
      margin-top: 8px;
    }
    .section-title .deco-line {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin-top: 20px;
    }
    .section-title .deco-line::before,
    .section-title .deco-line::after {
      content: "";
      width: 120px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    .section-title .deco-line .diamond {
      width: 10px;
      height: 10px;
      background: var(--gold);
      transform: rotate(45deg);
      box-shadow: 0 0 12px var(--gold);
    }

    /* Fade-in-up on scroll */
    .fade-up {
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
                  transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
      /* Failsafe: never leave homepage sections permanently invisible */
      animation: fadeUpFailsafe 0.01s linear 2.5s forwards;
    }
    @keyframes fadeUpFailsafe {
      to { opacity: 1; transform: translateY(0); }
    }
    .fade-up.in-view {
      opacity: 1;
      transform: translateY(0);
      animation: none;
    }
    .fade-up.delay-1 { transition-delay: 0.1s; }
    .fade-up.delay-2 { transition-delay: 0.2s; }
    .fade-up.delay-3 { transition-delay: 0.3s; }
    .fade-up.delay-4 { transition-delay: 0.4s; }

    .container {
      max-width: 1280px;
      margin: 0 auto;
    }

    /* =========================================================
       FEATURES
       ========================================================= */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .feature-card {
      position: relative;
      padding: 48px 32px 40px;
      background: linear-gradient(160deg, rgba(20,12,30,0.8) 0%, rgba(10,6,18,0.9) 100%);
      border: 1px solid var(--line-soft);
      text-align: center;
      transition: all 0.4s ease;
      overflow: hidden;
      cursor: pointer;
    }
    .feature-card::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      transform: scaleX(0.3);
      transition: transform 0.5s ease;
    }
    .feature-card::after {
      content: "";
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(193,39,45,0.5), transparent);
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .feature-card:hover {
      transform: translateY(-8px);
      border-color: var(--line-gold);
      background: linear-gradient(160deg, rgba(30,20,45,0.9) 0%, rgba(15,8,25,0.95) 100%);
      box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.15);
    }
    .feature-card:hover::before { transform: scaleX(1); }
    .feature-card:hover::after { opacity: 1; }
    .feature-card:hover .feature-icon {
      filter: drop-shadow(0 0 15px var(--gold));
      transform: translateY(-4px) scale(1.05);
    }

    .feature-icon {
      width: 72px;
      height: 72px;
      margin: 0 auto 26px;
      transition: all 0.4s ease;
    }
    .feature-icon svg {
      width: 100%;
      height: 100%;
      fill: none;
      stroke: var(--gold);
      stroke-width: 1.5;
    }

    .feature-card h3 {
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      font-size: 22px;
      color: var(--ink);
      letter-spacing: 3px;
      margin-bottom: 14px;
    }
    .feature-card p {
      font-size: 14px;
      color: var(--ink-soft);
      line-height: 1.7;
    }

    /* =========================================================
       CLASSES / Characters
       ========================================================= */
    .classes-section {
      background:
        radial-gradient(ellipse at top, rgba(106,13,173,0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-0) 0%, #0a0510 50%, var(--bg-0) 100%);
      position: relative;
    }
    .classes-section::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
    }
    .classes-section::after {
      content: "";
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
    }

    .classes-showcase {
      display: flex;
      align-items: stretch;
      gap: 16px;
      height: 620px;
      max-width: 1400px;
      margin: 0 auto;
    }
    .class-card {
      position: relative;
      flex: 1;
      overflow: hidden;
      border: 1px solid var(--line-soft);
      cursor: pointer;
      transition: flex 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                  border-color 0.4s ease,
                  box-shadow 0.4s ease;
      background: #0a0612;
    }
    .class-card:hover,
    .class-card.active {
      flex: 2.2;
      border-color: var(--gold);
      box-shadow: 0 0 40px rgba(212,175,55,0.25), inset 0 0 60px rgba(0,0,0,0.6);
    }
    .class-card .class-img {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center top;
      transition: transform 1s ease, filter 0.5s ease;
      filter: saturate(0.85) brightness(0.75);
    }
    .class-card:hover .class-img,
    .class-card.active .class-img {
      transform: scale(1.05);
      filter: saturate(1) brightness(0.9);
    }
    .class-card .class-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(5,3,10,0.2) 0%, transparent 40%, rgba(5,3,10,0.95) 100%);
      transition: background 0.5s ease;
    }
    .class-card:hover .class-overlay,
    .class-card.active .class-overlay {
      background: linear-gradient(180deg, rgba(5,3,10,0.1) 0%, transparent 30%, rgba(5,3,10,0.9) 100%);
    }

    .class-info {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 30px 24px;
      transform: translateY(20px);
      transition: transform 0.5s ease;
    }
    .class-card:hover .class-info,
    .class-card.active .class-info {
      transform: translateY(0);
    }
    .class-info .class-cn {
      font-family: "ZCOOL XiaoWei", serif;
      font-size: 28px;
      color: var(--gold);
      letter-spacing: 4px;
      margin-bottom: 6px;
      text-shadow: 0 0 20px rgba(212,175,55,0.6);
    }
    .class-info .class-role {
      font-size: 13px;
      color: var(--ink-soft);
      letter-spacing: 2px;
      margin-bottom: 12px;
    }
    .class-info .class-desc {
      font-size: 13px;
      color: var(--ink-dim);
      line-height: 1.7;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.6s ease, opacity 0.4s ease;
    }
    .class-card:hover .class-desc,
    .class-card.active .class-desc {
      max-height: 120px;
      opacity: 1;
    }

    .class-number {
      position: absolute;
      top: 20px;
      left: 20px;
      font-family: "Cinzel", serif;
      font-size: 13px;
      color: var(--gold);
      letter-spacing: 3px;
      opacity: 0.8;
      z-index: 2;
    }

    /* =========================================================
       SCREENSHOTS / Gallery
       ========================================================= */
    .screenshots-section {
      background: linear-gradient(180deg, var(--bg-0) 0%, #0a0612 50%, var(--bg-0) 100%);
    }

    .gallery-wrap {
      max-width: 1200px;
      margin: 0 auto;
    }
    .gallery-main {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      margin-bottom: 20px;
      padding: 4px;
      background: linear-gradient(135deg, #8b6914 0%, #d4af37 25%, #f0d060 50%, #d4af37 75%, #8b6914 100%);
      border-radius: 2px;
      box-shadow:
        0 0 30px rgba(212,175,55,0.35),
        0 0 60px rgba(0,0,0,0.6),
        inset 0 0 1px rgba(255,255,255,0.3);
      overflow: visible;
      transition: box-shadow 0.4s ease;
    }
    .gallery-main:hover {
      box-shadow:
        0 0 50px rgba(255,215,0,0.55),
        0 0 80px rgba(0,0,0,0.7),
        inset 0 0 1px rgba(255,255,255,0.4);
    }
    .gallery-main .gallery-inner {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background: #000;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.8);
    }
    /* Inner dark stroke for depth */
    .gallery-main .gallery-inner::before {
      content: "";
      position: absolute;
      inset: 0;
      border: 1px solid rgba(0,0,0,0.6);
      pointer-events: none;
      z-index: 3;
    }
    .gallery-main img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.5s ease, transform 0.8s ease;
    }
    .gallery-main:hover img { transform: scale(1.03); }

    /* Corner L-shaped right-angle decorations */
    .frame-corner {
      position: absolute;
      width: 40px;
      height: 40px;
      z-index: 4;
      pointer-events: none;
      filter: drop-shadow(0 0 3px rgba(212,175,55,0.5));
    }
    .frame-corner svg {
      width: 100%;
      height: 100%;
    }
    .frame-corner.tl { top: -6px; left: -6px; }
    .frame-corner.tr { top: -6px; right: -6px; transform: scaleX(-1); }
    .frame-corner.bl { bottom: -6px; left: -6px; transform: scaleY(-1); }
    .frame-corner.br { bottom: -6px; right: -6px; transform: scale(-1, -1); }

    /* Top & bottom decorative meander / cloud pattern strips */
    /* (removed — clean border design) */

    .gallery-label {
      position: absolute;
      left: 24px;
      bottom: 24px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      z-index: 2;
      pointer-events: none;
      padding: 16px 70px;
      background: linear-gradient(to right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.6) 12%,
        rgba(0,0,0,0.6) 82%,
        rgba(0,0,0,0) 100%);
      max-width: 640px;
    }
    .gallery-label .label-tag {
      display: inline-block;
      padding: 0;
      background: none;
      color: #f3df8a;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 3px;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      width: fit-content;
      text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    }
    .gallery-label .label-name {
      color: #fff;
      font-size: 22px;
      letter-spacing: 2px;
      font-weight: 700;
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      line-height: 1.3;
      text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    }
    .gallery-label .label-desc {
      color: rgba(232, 217, 181, 0.85);
      font-size: 13px;
      letter-spacing: 1px;
      line-height: 1.6;
      text-shadow: 0 1px 4px rgba(0,0,0,0.6);
      max-width: 480px;
    }

    .gallery-thumbs {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }
    .gallery-thumb {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      border: 1px solid var(--line-soft);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .gallery-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .gallery-thumb .thumb-label {
      position: absolute;
      left: 4px;
      bottom: 6px;
      padding: 3px 16px;
      background: linear-gradient(to right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.55) 20%,
        rgba(0,0,0,0.55) 80%,
        rgba(0,0,0,0) 100%);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      z-index: 2;
      font-family: "ZCOOL XiaoWei", serif;
      text-shadow: 0 1px 3px rgba(0,0,0,0.6);
      min-width: 80px;
      text-align: center;
    }
    .gallery-thumb:hover {
      border-color: var(--gold);
      box-shadow: 0 0 15px rgba(212,175,55,0.3);
    }
    .gallery-thumb:hover img { transform: scale(1.08); }
    .gallery-thumb.active {
      border-color: var(--gold);
      box-shadow: 0 0 20px rgba(212,175,55,0.45);
    }
    .gallery-thumb.active::after {
      content: "";
      position: absolute;
      inset: 0;
      border: 2px solid var(--gold);
      pointer-events: none;
    }

    /* =========================================================
       NEWS + BANNERS
       ========================================================= */
    .news-section {
      background:
        radial-gradient(ellipse at bottom right, rgba(139,0,0,0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-0) 0%, #0d0818 100%);
    }
    .news-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 40px;
      max-width: 1280px;
      margin: 0 auto;
    }

    .news-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .news-item {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 20px 24px;
      border-bottom: 1px solid var(--line-soft);
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
    }
    .news-item:first-child { border-top: 1px solid var(--line-soft); }
    .news-item::before {
      content: "";
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 3px;
      background: linear-gradient(180deg, var(--gold), var(--blood));
      transform: scaleY(0);
      transition: transform 0.3s ease;
    }
    .news-item:hover {
      background: rgba(212,175,55,0.05);
      padding-left: 32px;
    }
    .news-item:hover::before { transform: scaleY(1); }

    .news-date {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 72px;
      font-family: "Cinzel", serif;
    }
    .news-date .day {
      font-size: 28px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }
    .news-date .month {
      font-size: 11px;
      color: var(--ink-dim);
      letter-spacing: 2px;
      margin-top: 4px;
    }

    .news-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .news-title {
      font-size: 16px;
      color: var(--ink);
      letter-spacing: 1px;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .news-item:hover .news-title { color: var(--gold); }

    .news-tag {
      display: inline-block;
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 2px;
      letter-spacing: 1px;
      font-weight: 600;
    }
    .tag-new {
      background: linear-gradient(135deg, var(--blood), #e03a3a);
      color: #fff;
      animation: tagPulse 2s ease-in-out infinite;
    }
    .tag-event {
      background: linear-gradient(135deg, var(--purple), #8b3fd6);
      color: #fff;
    }
    .tag-update {
      background: linear-gradient(135deg, var(--gold-deep), var(--gold));
      color: #1a1206;
    }
    @keyframes tagPulse {
      0%, 100% { box-shadow: 0 0 0 rgba(193,39,45,0); }
      50%      { box-shadow: 0 0 12px rgba(193,39,45,0.8); }
    }

    .news-summary {
      font-size: 13px;
      color: var(--ink-dim);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* Banner carousel */
    .banner-carousel {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line-gold);
      height: 100%;
      min-height: 480px;
      box-shadow: 0 0 40px rgba(0,0,0,0.5);
    }
    .banner-track {
      display: flex;
      height: 100%;
      transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    .banner-slide {
      min-width: 100%;
      height: 100%;
      position: relative;
    }
    .banner-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .banner-dots {
      position: absolute;
      bottom: 18px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 2;
    }
    .banner-dot {
      width: 28px;
      height: 3px;
      background: rgba(255,255,255,0.35);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .banner-dot.active {
      background: var(--gold);
      box-shadow: 0 0 8px var(--gold);
      width: 36px;
    }

    /* =========================================================
       DOWNLOAD CTA
       ========================================================= */
    .download-section {
      position: relative;
      padding: 140px 48px;
      overflow: hidden;
      text-align: center;
    }
    .download-bg {
      position: absolute;
      inset: 0;
      background-image: var(--site-img-download-home, url("/images/site/download_home.png"));
      background-size: cover;
      background-position: center;
      z-index: 0;
      filter: brightness(0.55) saturate(1.1);
    }
    .download-overlay {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at center, rgba(10,6,18,0.4) 0%, rgba(5,3,10,0.92) 80%),
        linear-gradient(180deg, var(--bg-0) 0%, transparent 20%, transparent 80%, var(--bg-0) 100%);
      z-index: 1;
    }
    .download-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: 0 auto;
    }
    .download-content h2 {
      font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
      font-size: clamp(36px, 5vw, 64px);
      letter-spacing: 8px;
      background: linear-gradient(180deg, #fff5d4 0%, var(--gold) 50%, var(--gold-deep) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 16px;
      text-shadow: none;
      filter: drop-shadow(0 0 20px rgba(212,175,55,0.5));
    }
    .download-content .sub {
      font-family: "Cinzel", serif;
      font-size: 15px;
      letter-spacing: 8px;
      color: var(--ink-soft);
      margin-bottom: 60px;
    }

    .download-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 18px;
      margin-bottom: 50px;
    }
    .dl-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 28px;
      min-width: 180px;
      background: rgba(10,6,18,0.7);
      border: 1px solid var(--line-gold);
      border-radius: 2px;
      color: var(--ink);
      transition: all 0.3s ease;
      backdrop-filter: blur(6px);
      cursor: pointer;
    }
    .dl-btn:hover {
      background: rgba(212,175,55,0.12);
      border-color: var(--gold);
      box-shadow: 0 0 20px rgba(212,175,55,0.3);
      transform: translateY(-2px);
    }
    .dl-btn svg {
      width: 24px;
      height: 24px;
      fill: var(--gold);
      flex-shrink: 0;
    }
    .dl-btn .dl-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }
    .dl-btn .dl-label {
      font-size: 11px;
      color: var(--ink-dim);
      letter-spacing: 1px;
    }
    .dl-btn .dl-name {
      font-size: 15px;
      font-weight: 600;
      color: var(--ink);
    }

    .qr-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      margin-top: 20px;
    }
    .qr-code {
      width: 140px;
      height: 140px;
      background: #fff;
      padding: 10px;
      border: 2px solid var(--gold);
      position: relative;
    }
    .qr-code::before, .qr-code::after {
      content: "";
      position: absolute;
      width: 16px;
      height: 16px;
      border-color: var(--blood);
      border-style: solid;
    }
    .qr-code::before {
      top: -4px; left: -4px;
      border-width: 2px 0 0 2px;
    }
    .qr-code::after {
      bottom: -4px; right: -4px;
      border-width: 0 2px 2px 0;
    }
    .qr-code img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: contrast(1.1);
    }
    .qr-caption {
      font-size: 13px;
      color: var(--ink-soft);
      letter-spacing: 2px;
    }

    /* =========================================================
       FOOTER
       ========================================================= */
    .footer {
      background: #06030a;
      border-top: 1px solid var(--line-soft);
      padding: 60px 48px 30px;
      position: relative;
    }
    .footer::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    .footer-content {
      max-width: 1280px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 2fr 1fr;
      gap: 50px;
      align-items: flex-start;
    }
    .footer-logo {
      max-width: 180px;
      margin-bottom: 16px;
      filter: drop-shadow(0 0 10px rgba(212,175,55,0.3));
    }
    .footer-logo img { width: 100%; }
    .footer-tagline {
      font-size: 12px;
      color: var(--ink-dim);
      letter-spacing: 2px;
    }

    .footer-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    .footer-col h4 {
      font-size: 14px;
      color: var(--gold);
      letter-spacing: 2px;
      margin-bottom: 18px;
      font-weight: 600;
    }
    .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
    .footer-col a {
      font-size: 13px;
      color: var(--ink-dim);
      transition: color 0.3s ease;
      letter-spacing: 1px;
    }
    .footer-col a:hover { color: var(--ink); }

    .footer-social {
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: flex-end;
    }
    .social-icons {
      display: flex;
      gap: 12px;
    }
    .social-icon {
      width: 38px;
      height: 38px;
      border: 1px solid var(--line-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .social-icon:hover {
      border-color: var(--gold);
      background: rgba(212,175,55,0.1);
      box-shadow: 0 0 12px rgba(212,175,55,0.3);
    }
    .social-icon svg {
      width: 18px;
      height: 18px;
      fill: var(--ink-soft);
      transition: fill 0.3s ease;
    }
    .social-icon:hover svg { fill: var(--gold); }

    .footer-bottom {
      max-width: 1280px;
      margin: 40px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-bottom p {
      font-size: 12px;
      color: var(--ink-dim);
      letter-spacing: 1px;
    }
    .age-rating {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: var(--ink-dim);
    }
    .age-badge {
      width: 28px;
      height: 28px;
      border: 1px solid var(--ink-dim);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 13px;
      color: var(--ink-soft);
    }

    /* =========================================================
       Responsive
       ========================================================= */
    @media (max-width: 1024px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .classes-showcase { height: 500px; }
      .news-grid { grid-template-columns: 1fr; }
      .banner-carousel { min-height: 360px; }
      .footer-content { grid-template-columns: 1fr 1fr; }
      .footer-social { align-items: flex-start; grid-column: 1 / -1; }
    }
    @media (max-width: 1200px) and (min-width: 769px) {
      .nav { padding: 14px 20px; gap: 12px; }
      .nav-menu { gap: 18px; }
      .nav-menu a { font-size: 13px; }
      .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        background: transparent;
        border: 1px solid var(--line-gold);
        margin-left: auto;
        margin-right: 10px;
        cursor: pointer;
        z-index: 120;
        flex-shrink: 0;
      }
      .nav-toggle span {
        display: block;
        height: 2px;
        width: 18px;
        background: var(--gold);
        margin: 0 auto;
      }
      .nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #0a0612;
        border-bottom: 1px solid var(--line-gold);
        padding: 8px 0 16px;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 110;
      }
      .nav.open .nav-menu { display: flex !important; }
      .nav.open ~ main .hero-buttons,
      body:has(.nav.open) .hero-buttons {
        visibility: hidden;
        pointer-events: none;
      }
      .nav-menu > li > a {
        display: block;
        padding: 12px 24px;
        color: #e8d9b5;
        -webkit-text-fill-color: #e8d9b5;
      }
      .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        min-width: 0;
        box-shadow: none;
        border: 1px solid rgba(212, 175, 55, 0.35);
        background: #161022;
        margin: 4px 16px 10px;
        padding: 6px 0;
      }
      .dropdown-menu a,
      .dropdown-menu li a,
      .nav-dropdown .dropdown-menu a {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: transparent;
        background-image: none !important;
        -webkit-background-clip: border-box !important;
        background-clip: border-box !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        padding: 12px 20px 12px 28px !important;
        opacity: 1 !important;
        visibility: visible !important;
      }
      .dropdown-menu a:hover,
      .dropdown-menu a:active,
      .dropdown-menu a:visited {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: rgba(212, 175, 55, 0.18) !important;
      }
      .nav-dropdown.open .dropdown-menu,
      .nav-dropdown:hover .dropdown-menu { display: block !important; }
    }

/* ==========================================================================
   pages.css - Multi-page common styles + page module styles
   ========================================================================== */

/* =========================================================
   Black Sword · 黑剑  多页面通用样式 + 各页面模块样式
   ========================================================= */

/* ---------- Page System ---------- */
.page {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.page.page-active {
  display: block;
  opacity: 1;
  animation: pageFadeIn 0.5s ease;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page Hero (通用页面头) ---------- */
.page-hero {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg-0));
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.page-hero-title {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 30px rgba(212,175,55,0.4);
  background: linear-gradient(180deg, #fff5d0 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--ink-dim);
}

/* ---------- Page Content ---------- */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
}

/* ---------- Sub Tab Navigation ---------- */
.sub-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line-soft);
}
.sub-tabs.sub-tabs-center {
  justify-content: center;
}
.sub-tab {
  padding: 14px 32px;
  font-size: 15px;
  color: var(--ink-dim);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 2px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}
.sub-tab:hover { color: var(--gold); }
.sub-tab.active {
  color: var(--gold);
  font-weight: 700;
}
.sub-tab.active::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Sub Panel ---------- */
.sub-panel { display: none; animation: pageFadeIn 0.5s ease; }
.sub-panel.active { display: block; }

/* ---------- Section Title (内页用) ---------- */
.page-section-title {
  text-align: center;
  margin-bottom: 48px;
}
.page-section-title h2 {
  font-size: 30px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.page-section-title .deco-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.page-section-title .deco-line::before,
.page-section-title .deco-line::after {
  content: "";
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-section-title .diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(212,175,55,0.6);
}
.page-section-title .subtitle {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 4px;
  font-family: "Cinzel", serif;
}

/* =========================================================
   INTRO · 游戏介绍
   ========================================================= */

/* 世界观 */
.world-section { margin-bottom: 80px; }
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.world-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,14,32,0.9), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 40px 32px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.world-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.world-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.15);
  transform: translateY(-4px);
}
.world-card:hover::before { transform: scaleX(1); }
.world-card-icon {
  width: 56px; height: 56px;
  margin-bottom: 20px;
  color: var(--gold);
}
.world-card h3 {
  font-size: 22px;
  color: var(--gold-soft);
  margin-bottom: 8px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
}
.world-card .world-en {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-family: "Cinzel", serif;
}
.world-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* 地图时间线 */
.maps-overview {
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
  padding: 22px 32px;
  margin-bottom: 32px;
  position: relative;
}
.maps-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.maps-overview p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}
.map-timeline {
  position: relative;
  padding-left: 80px;
}
.map-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-soft), var(--gold));
  opacity: 0.4;
}
.map-tl-item {
  position: relative;
  margin-bottom: 22px;
}
.map-tl-item:last-child {
  margin-bottom: 0;
}
.map-tl-dot {
  position: absolute;
  left: -80px;
  top: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(212,175,55,0.25), inset 0 0 10px rgba(212,175,55,0.1);
}
.map-tl-dot span {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  letter-spacing: 1px;
}
.map-tl-content {
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
  padding: 18px 26px 20px;
  transition: all 0.3s ease;
}
.map-tl-content:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}
.map-tl-content h4 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(212,175,55,0.2);
}
.map-tl-content p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* World intro narrative paragraphs */
.world-intro {
  background: linear-gradient(180deg, rgba(20,14,32,0.6), rgba(10,6,18,0.8));
  border: 1px solid var(--line-gold);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin-bottom: 40px;
}
.world-intro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
}
.world-intro p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 2;
  text-indent: 2em;
}
.gold {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 职业角色 - intro 页 */
.intro-classes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}
.intro-class-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.8), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: center;
}
.intro-class-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.2);
  transform: translateY(-6px);
}
.intro-class-img-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: radial-gradient(rgba(40, 20, 60, 0.6) 0%, rgba(10, 6, 18, 0.95) 70%);
  border-bottom: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-class-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s;
}
.intro-class-card:hover .intro-class-img {
  transform: scale(1.04);
}
.intro-class-info {
  padding: 28px 32px 32px;
  text-align: left;
}
.intro-class-name {
  font-size: 22px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-align: center;
}
.intro-class-role {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.intro-class-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: left;
}
.intro-class-desc p {
  margin: 0 0 8px;
}
.intro-class-desc-text {
  margin-top: 4px !important;
}
.intro-class-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--ink-dim);
}
.intro-class-stats span {
  padding: 2px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}

/* 职业基础介绍 - 双职业展示 */
.intro-classes-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}
.intro-duo-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.8), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  overflow: hidden;
  transition: all 0.4s ease;
}
.intro-duo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.2);
  transform: translateY(-4px);
}
.intro-duo-hero {
  position: relative;
  overflow: hidden;
  height: 340px;
  background: #0c0814;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-gold);
}
.intro-duo-hero img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s ease;
  display: block;
}
.intro-duo-card:hover .intro-duo-hero img {
  transform: scale(1.05);
}
.intro-duo-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.25);
  transition: box-shadow 0.4s ease;
}
.intro-duo-card:hover .intro-duo-hero-glow {
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 60px rgba(212,175,55,0.12);
}
.intro-duo-info {
  padding: 28px 28px 32px;
}
.intro-duo-name {
  font-size: 32px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 6px;
  margin-bottom: 10px;
  text-align: center;
}
.intro-duo-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.intro-duo-weapon, .intro-duo-role {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 1px;
}
.duo-label {
  color: var(--gold);
  margin-right: 6px;
  font-size: 11px;
  letter-spacing: 1px;
}
.intro-duo-feature {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}
.intro-duo-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}
.intro-duo-info .intro-class-stats {
  justify-content: flex-start;
  margin-top: 0;
}

/* 角色系统 - 캐릭터 시스템 */
.char-system-intro {
  text-align: center;
  margin-bottom: 48px;
}
.char-intro-sub {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 2;
  max-width: 900px;
  margin: 0 auto;
}
.char-part-title {
  font-size: 20px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  text-align: center;
  margin: 0 0 28px 0;
  position: relative;
}
.char-part-title span {
  display: inline-block;
  padding: 0 24px;
  position: relative;
}
.char-part-title span::before,
.char-part-title span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.char-part-title span::before { right: 100%; }
.char-part-title span::after { left: 100%; }

/* 基础功能 6 卡片 */
.char-basic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.char-basic-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s ease;
}
.char-basic-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.15);
}
.char-basic-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.char-basic-icon svg {
  width: 24px;
  height: 24px;
}
.char-basic-card h5 {
  font-size: 17px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
}
.char-basic-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

/* 四大成长系统区块 */
.char-growth-block {
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  margin-bottom: 24px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.char-growth-block:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.12);
}
.char-growth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line-gold);
  background: linear-gradient(90deg, rgba(212,175,55,0.1), transparent);
}
.char-growth-name {
  font-size: 22px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  margin: 0;
  font-weight: 700;
}
.char-growth-tag {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 2px;
  font-family: "Cinzel", serif;
}
.char-growth-body {
  padding: 24px 32px 28px;
}
.char-growth-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  line-height: 1.8;
}
.char-growth-label {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  width: 80px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  letter-spacing: 1px;
}
.char-growth-text {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.char-growth-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-soft);
}
.char-growth-item {
  background: rgba(5,3,10,0.6);
  border: 1px solid var(--line-soft);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}
.char-growth-item:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.05);
}
.char-item-icon-wrap {
  display: flex;
  align-items: center;
}
.char-item-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.char-item-name {
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}
.char-item-effect {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 角色成长与属性体系 */
.growth-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.growth-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.8), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 30px 24px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.growth-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.growth-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.15);
  transform: translateY(-4px);
}
.growth-card:hover::before { transform: scaleX(1); }
.growth-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.growth-icon svg {
  width: 44px; height: 44px;
}
.growth-card h3 {
  font-size: 18px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.growth-en {
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 2px;
  font-family: "Cinzel", serif;
  margin-bottom: 14px;
}
.growth-card p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  text-align: left;
}

/* 技能系统 */
.skill-system-intro {
  text-align: center;
  margin-bottom: 40px;
}
.skill-system-intro p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 2;
  margin: 0;
  white-space: nowrap;
}
.skill-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-system-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s ease;
}
.skill-system-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.15);
}
.skill-system-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.skill-system-icon svg {
  width: 26px;
  height: 26px;
}
.skill-system-title {
  font-size: 18px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold);
}
.skill-system-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0;
  text-align: left;
}


/* 主要情节 完整区块 */
.story-block {
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 40px 48px;
  margin-bottom: 48px;
}
.story-header {
  text-align: center;
  margin-bottom: 24px;
}
.story-title {
  font-size: 26px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 6px;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.story-title-en {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 3px;
  font-family: "Cinzel", serif;
  margin-left: 12px;
  font-weight: 400;
}
.story-divider {
  width: 120px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.story-intro p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  margin: 20px 0 36px 0;
  text-indent: 2em;
}

/* 章节时间线 手风琴 */
.chapter-timeline {
  position: relative;
  margin-bottom: 40px;
}
.chapter-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.1));
}
.chapter-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 12px;
}
.chapter-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px 14px 12px;
  background: rgba(212,175,55,0.04);
  border: 1px solid var(--line-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}
.chapter-header:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.chapter-marker {
  position: absolute;
  left: 10px;
  top: 14px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  z-index: 1;
}
.chapter-num {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  transform: rotate(-45deg);
  font-family: "Cinzel", serif;
}
.chapter-title-wrap {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.chapter-title {
  font-size: 17px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 700;
}
.chapter-en {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 1.5px;
  font-family: "Cinzel", serif;
}
.chapter-toggle {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.chapter-toggle svg {
  width: 16px;
  height: 16px;
}
.chapter-item.open .chapter-toggle {
  transform: rotate(180deg);
}
.chapter-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-left: 12px;
  border-left: 1px solid var(--line-soft);
}
.chapter-content {
  padding: 18px 24px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
}

/* 游戏任务分类 */
.story-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  margin: 0 0 24px 0;
}
.story-subtitle span {
  display: inline-block;
  padding: 0 24px;
  position: relative;
}
.story-subtitle span::before,
.story-subtitle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.story-subtitle span::before { right: 100%; }
.story-subtitle span::after { left: 100%; }
.task-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.task-type-card {
  background: rgba(5,3,10,0.6);
  border: 1px solid var(--line-soft);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.task-type-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: rgba(212,175,55,0.05);
}
.task-type-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.task-type-icon svg {
  width: 22px;
  height: 22px;
}
.task-type-card h4 {
  font-size: 16px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
}
.task-type-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

/* 两列网格 */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

/* 主要特点宽幅展示区 */
.feature-wide-block {
  position: relative;
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
  padding: 40px 48px 36px;
  margin-bottom: 40px;
  transition: all 0.4s ease;
}
.feature-wide-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.feature-wide-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}
.feature-wide-header h2 {
  margin: 0;
  font-size: 28px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(212,175,55,0.25);
}
.feature-wide-en {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 5px;
  font-family: "Cinzel", serif;
}
.feature-wide-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
  opacity: 0.5;
}
.feature-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.feature-point-item {
  position: relative;
  padding-left: 56px;
}
.feature-point-num {
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 36px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-soft);
  letter-spacing: 2px;
  line-height: 1;
  opacity: 0.8;
}
.feature-point-item h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  font-weight: 700;
}
.feature-point-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}
.feature-bottom-row {
  margin-bottom: 80px;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}
.feature-big-card {
  position: relative;
  height: 380px;
  border: 1px solid var(--line-gold);
  overflow: hidden;
  transition: all 0.4s ease;
  background: var(--bg-2);
}
.feature-big-card.clickable { cursor: pointer; }
.feature-big-card.clickable::after {
  content: "자세히 보기 →";
  position: absolute;
  right: 16px; bottom: 16px;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.feature-big-card.clickable:hover::after { opacity: 1; }

.daily-overlay-card {
  position: relative;
  border: 1px solid var(--line-gold);
  background: #0d0818;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
  height: 260px;
}
.daily-overlay-bg {
  position: absolute;
  inset: 0;
  background-image: var(--site-img-overlay-daily, url("/images/site/overlay_daily.png"));
  background-size: cover;
  background-position: center top;
  transition: transform 0.5s ease;
}
.dungeon-overlay-bg {
  background-image: var(--site-img-overlay-dungeon, url("/images/site/overlay_dungeon.png"));
}
.systems-overlay-bg {
  background-image: var(--site-img-overlay-systems, url("/images/site/overlay_systems.png"));
}
.mall-overlay-bg {
  background-image: var(--site-img-overlay-mall, url("/images/site/overlay_mall.png"));
}
.daily-overlay-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(10,6,20,0) 0%, rgba(10,6,20,0.75) 50%, rgba(10,6,20,0.95) 100%);
  pointer-events: none;
}
.daily-overlay-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.daily-overlay-bar h3 {
  font-size: 18px;
  color: var(--gold-soft);
  margin: 0;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 16px rgba(212,175,55,0.25);
}
.daily-overlay-hint {
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 1px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 12px rgba(212,175,55,0.3);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  transition: all 0.3s ease;
}
.daily-overlay-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.28);
  transform: translateY(-4px);
}
.daily-overlay-card:hover .daily-overlay-bg {
  transform: scale(1.06);
}
.daily-overlay-card:hover .daily-overlay-hint {
  opacity: 1;
  transform: translateX(3px);
}
.feature-big-body {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.feature-big-body h3 {
  font-size: 22px;
  color: var(--gold-soft);
  margin: 0;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  text-align: center;
}
.feature-big-body .f-en {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 3px;
  margin-bottom: 14px;
  font-family: "Cinzel", serif;
}
.feature-big-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* =========================================================
   NEWS · 公告活动
   ========================================================= */

.news-page-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
}
.news-page-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.news-page-item:first-child { border-top: 1px solid var(--line-soft); }
.news-page-item:hover {
  background: rgba(212,175,55,0.05);
  padding-left: 38px;
}
.news-page-item:hover::before {
  transform: scaleY(1);
}
.news-page-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--blood));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.news-page-date {
  min-width: 80px;
  text-align: center;
  font-family: "Cinzel", serif;
}
.news-page-date .day {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.news-page-date .month {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 2px;
  margin-top: 4px;
}
.news-page-body {
  flex: 1;
}
.news-page-title {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}
.news-page-item:hover .news-page-title { color: var(--gold); }
.news-page-summary {
  font-size: 13px;
  color: var(--ink-dim);
}
.news-page-more {
  color: var(--gold);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
.news-page-item:hover .news-page-more {
  opacity: 1;
  transform: translateX(0);
}

/* 进行中活动卡片 */
.event-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.event-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.9), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  overflow: hidden;
  transition: all 0.4s ease;
}
.event-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.2);
  transform: translateY(-4px);
}
.event-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.event-card-body {
  padding: 24px;
}
.event-card-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  background: linear-gradient(90deg, var(--blood-deep), var(--blood));
  color: #fff;
  border-radius: 2px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.event-card h3 {
  font-size: 18px;
  color: var(--gold-soft);
  margin-bottom: 8px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 1px;
}
.event-card-time {
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-card-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.event-card-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.event-card-rewards span {
  padding: 2px 8px;
  font-size: 11px;
  background: rgba(212,175,55,0.1);
  color: var(--gold-soft);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.event-card-btn {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}
.event-card-btn:hover {
  background: rgba(212,175,55,0.12);
  box-shadow: 0 0 15px rgba(212,175,55,0.3);
}
.event-card-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--ink-dim);
  color: var(--ink-dim);
}
.event-card-btn[disabled]:hover {
  background: transparent;
  box-shadow: none;
}

/* 活动卡片状态标签 */
.event-card {
  position: relative;
}
.event-card-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  border-radius: 2px;
  font-weight: 700;
}
.event-card-status.ongoing {
  color: #ffd66b;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold);
  text-shadow: 0 0 8px rgba(212,175,55,0.5);
}
.event-card-status.ended {
  color: #9a94a8;
  background: rgba(80,75,90,0.3);
  border: 1px solid #5a5468;
}
.event-card.status-ended .event-card-img {
  filter: grayscale(0.6) brightness(0.6);
}
.event-card.status-ended .event-card-body h3 {
  color: var(--ink-soft);
}

/* 开发者动态列表 */
.dev-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dev-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-gold);
  transition: all 0.3s ease;
}
.dev-item:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212,175,55,0.15);
}
.dev-item-date {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--gold-soft);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  font-family: "Cinzel", serif;
  letter-spacing: 1px;
}
.dev-item-body {
  flex: 1;
}
.dev-item-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  font-weight: 700;
}
.dev-item-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* 问题排查列表 */
.issue-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.issue-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-gold);
  transition: all 0.3s ease;
}
.issue-item:hover {
  box-shadow: 0 0 18px rgba(212,175,55,0.1);
}
.issue-item-status {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-weight: 700;
  border-radius: 2px;
}
.issue-item-status.fixing {
  color: #ff9a5a;
  background: rgba(255,154,90,0.1);
  border: 1px solid rgba(255,154,90,0.4);
}
.issue-item-status.fixed {
  color: #58c58a;
  background: rgba(88,197,138,0.1);
  border: 1px solid rgba(88,197,138,0.4);
}
.issue-item-status.guide {
  color: #5aa8ff;
  background: rgba(90,168,255,0.1);
  border: 1px solid rgba(90,168,255,0.4);
}
.issue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.issue-item-body {
  flex: 1;
}
.issue-item-title {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink-head);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  font-weight: 700;
}
.issue-item-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* 活动公示区 */
.event-public {
  background: linear-gradient(180deg, rgba(20,14,32,0.6), rgba(10,6,18,0.8));
  border: 1px solid var(--line-gold);
  padding: 32px;
}
.event-public h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.event-public h3::before {
  content: "";
  width: 4px; height: 18px;
  background: linear-gradient(180deg, var(--gold), var(--blood));
}
.event-public ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-public li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line-soft);
  transition: all 0.3s ease;
  cursor: pointer;
}
.event-public li:hover {
  background: rgba(212,175,55,0.05);
  color: var(--gold);
}
.event-public li .ep-date {
  font-size: 12px;
  color: var(--ink-dim);
  font-family: "Cinzel", serif;
}

/* =========================================================
   GUIDE · 游戏引导
   ========================================================= */

.guide-section { margin-bottom: 80px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (min-width: 769px) {
  .guide-grid.guide-grid-count-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-grid.guide-grid-count-1 {
    grid-template-columns: minmax(0, 720px);
  }
}
.guide-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 32px 28px;
  transition: all 0.4s ease;
  height: 100%;
}
.guide-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 25px rgba(212,175,55,0.15);
  transform: translateY(-4px);
}
.guide-card-icon {
  width: 48px; height: 48px;
  margin-bottom: 18px;
  color: var(--gold);
}
.guide-card h3 {
  font-size: 18px;
  color: var(--gold-soft);
  margin-bottom: 14px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
}
.guide-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-card li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.guide-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.guide-card-section {
  margin-bottom: 14px;
}
.guide-card-section:last-child { margin-bottom: 0; }
.guide-card-sec-title {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-card-sec-title::before {
  content: "";
  width: 3px; height: 14px;
  background: var(--gold);
  border-radius: 1px;
}
.guide-card-clickable {
  padding-bottom: 50px;
}
.guide-card-action {
  position: absolute;
  bottom: 20px;
  right: 28px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.guide-card:hover .guide-card-action {
  letter-spacing: 2px;
}
.guide-card:hover .guide-card-action::after {
  content: "→";
  margin-left: 4px;
}

/* =========================================================
   WIKI · 游戏百科
   ========================================================= */

/* Wiki page hero – wide banner image adjustment */
.wiki-hero {
  background-position: center center !important;
}

.wiki-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}
.wiki-search-input {
  flex: 1;
  padding: 12px 20px;
  background: rgba(10,6,18,0.7);
  border: 1px solid var(--line-gold);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 1px;
}
.wiki-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212,175,55,0.2);
}
.wiki-filter {
  display: flex;
  gap: 8px;
}
.wiki-filter-btn {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line-gold);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  font-family: "Noto Serif SC", serif;
}
.wiki-filter-btn.active,
.wiki-filter-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212,175,55,0.08);
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wiki-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.8), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.wiki-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.2);
  transform: translateY(-3px);
}
.wiki-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--bg-2);
}
.wiki-card-body {
  padding: 16px;
}
.wiki-card-name {
  font-size: 15px;
  color: var(--gold-soft);
  margin-bottom: 6px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 1px;
}
.wiki-card-rarity {
  display: inline-block;
  padding: 1px 6px;
  font-size: 10px;
  border-radius: 2px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.wiki-card-rarity.r-legend { background: linear-gradient(90deg, #8b6914, #ffd700); color: #1a1206; }
.wiki-card-rarity.r-epic { background: linear-gradient(90deg, #4a0e8f, #a855f7); color: #fff; }
.wiki-card-rarity.r-rare { background: linear-gradient(90deg, #0a4d8f, #3b82f6); color: #fff; }
.wiki-card-rarity.r-common { background: linear-gradient(90deg, #555, #888); color: #fff; }
.wiki-card-desc {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* =========================================================
   COMMUNITY · 社区论坛
   ========================================================= */

.community-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.community-header h2 {
  font-size: 24px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
}
.btn-post {
  padding: 10px 24px;
  font-size: 14px;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}
.btn-post:hover {
  background: rgba(212,175,55,0.12);
  box-shadow: 0 0 15px rgba(212,175,55,0.3);
}

/* 帖子详情：避开固定导航，返回按钮可见 */
.community-topic-page {
  padding-top: 120px !important;
}
.community-back-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  background: rgba(212, 175, 55, 0.12) !important;
  padding: 10px 22px !important;
}
.community-back-btn:hover {
  background: rgba(212, 175, 55, 0.22) !important;
}

/* 自定义文件选择：跟随站点语言，避免浏览器原生中文按钮 */
.site-file-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.site-file-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.site-file-picker-name {
  font-size: 13px;
  color: var(--ink-soft, rgba(232, 217, 181, 0.75));
  word-break: break-all;
}

/* 帖子列表 */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.post-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}
.post-item:hover {
  background: rgba(212,175,55,0.05);
}
.post-item:hover .post-title { color: var(--gold); }
.post-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blood));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  font-family: "Cinzel", serif;
}
.post-main {
  flex: 1;
  min-width: 0;
}
.post-title {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-tag {
  display: inline-block;
  padding: 1px 6px;
  font-size: 10px;
  background: rgba(193,39,45,0.2);
  color: var(--blood-glow);
  border: 1px solid rgba(193,39,45,0.3);
  border-radius: 2px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.post-tag.t-top { background: rgba(193,39,45,0.2); color: var(--blood-glow); border-color: rgba(193,39,45,0.3); }
.post-tag.t-essence { background: rgba(106,13,173,0.2); color: var(--purple-glow); border-color: rgba(106,13,173,0.3); }
.post-tag.t-hot { background: rgba(212,175,55,0.15); color: var(--gold); border-color: rgba(212,175,55,0.3); }
.post-meta {
  font-size: 12px;
  color: var(--ink-dim);
  display: flex;
  gap: 16px;
}
.post-meta span { display: flex; align-items: center; gap: 4px; }
.post-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-dim);
  flex-shrink: 0;
}
.post-stats .stat {
  display: flex;
  align-items: center;
  gap: 4px;
}
.post-stats .stat-replies { color: var(--gold); }

/* 图文分享瀑布流 */
.gallery-masonry {
  column-count: 4;
  column-gap: 16px;
  margin-bottom: 40px;
}
.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border: 1px solid var(--line-gold);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-2);
}
.gallery-masonry-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}
.gallery-masonry-item img {
  width: 100%;
  display: block;
}
.gallery-masonry-info {
  padding: 12px;
}
.gallery-masonry-title {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  line-height: 1.5;
}
.gallery-masonry-meta {
  font-size: 11px;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
}

/* 媒体子Tab（视频/图片/玩家截图） */
.media-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 0;
}
.media-tab {
  padding: 12px 28px;
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.25s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.media-tab:hover { color: var(--gold-soft); }
.media-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.media-panel {
  display: none;
  animation: mediaFade 0.3s ease;
}
.media-panel.active { display: block; }
@keyframes mediaFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 视频网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.video-card {
  background: var(--bg-2);
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.15);
}
.video-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 0.85;
}
.video-card:hover .video-cover img {
  transform: scale(1.06);
  opacity: 1;
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(212,175,55,0.9);
  color: #1a0f28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
}
.video-duration {
  position: absolute;
  bottom: 10px; right: 12px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 2px;
  letter-spacing: 1px;
  border: 1px solid rgba(212,175,55,0.3);
}
.video-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.video-title {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.5;
}
.video-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 图片区块 */
.media-section {
  margin-bottom: 40px;
}
.media-sec-title {
  font-size: 18px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.media-sec-title::before,
.media-sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold));
}
.media-sec-title::after {
  background: linear-gradient(90deg, var(--line-gold), transparent);
}
.media-sec-title span {
  flex-shrink: 0;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.image-card {
  background: var(--bg-2);
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.image-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.45), 0 0 24px rgba(212,175,55,0.1);
}
.image-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #000;
  position: relative;
}
.image-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,175,55,0.25);
  pointer-events: none;
}
.image-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.image-card:hover .image-card-img img {
  transform: scale(1.06);
}
.image-card-info {
  padding: 12px 14px 14px;
  text-align: center;
}
.image-card-title {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.image-card-meta {
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 1px;
}

/* 视频播放弹窗 */
.video-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,3,10,0.88);
  backdrop-filter: blur(8px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.video-modal.active {
  display: flex;
  animation: ugFadeIn 0.3s ease;
}
.video-modal-content {
  width: 100%;
  max-width: 960px;
  background: linear-gradient(180deg, rgba(20,14,32,0.98), rgba(10,6,18,0.98));
  border: 1px solid var(--gold);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.15);
  animation: ugScaleIn 0.35s ease;
}
.video-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: 1px solid var(--line-gold);
  background: rgba(20,14,32,0.6);
  color: var(--gold-soft);
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 3;
}
.video-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.15);
}
.video-modal-header {
  padding: 24px 32px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-gold);
}
.vm-title {
  font-size: 20px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
}
.vm-duration {
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 1px;
  padding: 4px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
}
.video-modal-player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.video-modal-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.video-modal-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: blur(2px);
}
.vm-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
}
.vm-placeholder svg {
  filter: drop-shadow(0 4px 16px rgba(212,175,55,0.5));
}
.vm-placeholder-text {
  font-size: 15px;
  color: var(--gold-soft);
  letter-spacing: 2px;
}
.video-modal-desc {
  padding: 20px 32px 28px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 1px;
}

/* 图片灯箱 */
.img-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  z-index: 30000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.img-lightbox.active {
  display: flex;
  animation: ugFadeIn 0.25s ease;
}
.img-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 40px; height: 40px;
  border: 1px solid var(--line-gold);
  background: rgba(20,14,32,0.4);
  color: var(--gold-soft);
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.img-lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.2);
}
.img-lightbox-inner {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--gold);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.2);
  border-radius: 2px;
}
.img-lightbox-title {
  margin-top: 16px;
  color: var(--gold-soft);
  font-size: 14px;
  letter-spacing: 2px;
}

/* 问答列表 */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.qa-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(20,14,32,0.7), rgba(10,6,18,0.9));
  border: 1px solid var(--line-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}
.qa-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.qa-votes {
  text-align: center;
  min-width: 60px;
  color: var(--gold);
  font-family: "Cinzel", serif;
}
.qa-votes .num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.qa-votes .label {
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 4px;
  color: var(--ink-dim);
}
.qa-main {
  flex: 1;
}
.qa-question {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.qa-item:hover .qa-question { color: var(--gold); }
.qa-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.qa-tag {
  padding: 2px 8px;
  font-size: 11px;
  background: rgba(212,175,55,0.1);
  color: var(--gold-soft);
  border-radius: 2px;
}
.qa-meta {
  font-size: 12px;
  color: var(--ink-dim);
  display: flex;
  gap: 16px;
}
.qa-status {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 2px;
}
.qa-status.s-answered { background: rgba(31,138,91,0.15); color: #34d399; border: 1px solid rgba(31,138,91,0.3); }
.qa-status.s-official { background: rgba(212,175,55,0.15); color: var(--gold); border: 1px solid rgba(212,175,55,0.3); }
.qa-status.s-pending { background: rgba(193,39,45,0.15); color: var(--blood-glow); border: 1px solid rgba(193,39,45,0.3); }

/* =========================================================
   SHOP · 网页商店
   ========================================================= */

.shop-pkg-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 8px 0 28px;
}
.shop-pkg-tab {
  min-width: 88px;
  padding: 8px 18px;
  text-align: center;
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: rgba(232, 213, 163, 0.55);
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(12, 8, 18, 0.65);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.shop-pkg-tab:hover {
  color: var(--gold);
  border-color: rgba(201, 162, 39, 0.55);
}
.shop-pkg-tab.active {
  color: #1a1208;
  background: linear-gradient(180deg, #f0d060, #c9a227);
  border-color: #d4af37;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.25);
}
.shop-role-pkg {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-left: 6px;
}
.shop-notice {
  text-align: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  border: 1px solid var(--line-gold);
  margin-bottom: 48px;
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 1px;
}
.shop-notice strong { color: var(--gold); }

.shop-section { margin-bottom: 60px; }
.shop-section > .page-section-title {
  margin-bottom: 40px;
}
.shop-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
}
.shop-section-title::before {
  content: "";
  width: 5px; height: 22px;
  background: linear-gradient(180deg, var(--gold), var(--blood));
}
.shop-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
}

.shop-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shop-item-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 28px 24px;
  transition: all 0.4s ease;
  text-align: center;
  overflow: hidden;
}
.shop-item-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 35px rgba(212,175,55,0.2);
  transform: translateY(-4px);
}
.shop-item-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(193,39,45,0.1));
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
}
.shop-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.shop-item-name {
  font-size: 18px;
  color: var(--gold-soft);
  margin-bottom: 6px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
}
.shop-item-desc {
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 44px;
}
.shop-item-price {
  font-size: 28px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
  font-family: "Cinzel", serif;
}
.shop-item-price .currency {
  font-size: 14px;
  margin-right: 2px;
}
.shop-item-price .price-unit {
  font-size: 14px;
  margin-left: 2px;
  color: var(--ink-dim);
  font-weight: 400;
}
.shop-item-origin {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: line-through;
  margin-bottom: 20px;
}
.shop-item-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-2));
  border: 1px solid var(--gold-soft);
  cursor: pointer;
  letter-spacing: 3px;
  font-weight: 700;
  transition: all 0.3s ease;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}
.shop-item-btn:hover {
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
  transform: scale(1.02);
}
.shop-item-btn.shop-btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
}
.shop-item-btn.shop-btn-ghost:hover {
  background: rgba(212,175,55,0.1);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
  transform: scale(1.02);
}
.shop-item-tag {
  position: absolute;
  top: 16px;
  right: -28px;
  padding: 4px 30px;
  font-size: 11px;
  background: linear-gradient(90deg, var(--blood-deep), var(--blood));
  color: #fff;
  letter-spacing: 2px;
  transform: rotate(45deg);
}

.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shop-info-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.6), rgba(10,6,18,0.8));
  border: 1px solid var(--line-gold);
  padding: 28px 24px;
}
.shop-info-card h4 {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 14px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
}
.shop-info-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-info-card li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.shop-info-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* =========================================================
   AUTH MODAL · 登录/注册弹窗
   ========================================================= */

.auth-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}
.auth-modal.active {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}
.auth-modal-content {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #161026 0%, #0d0914 100%);
  border: 1px solid var(--gold);
  box-shadow:
    0 0 50px rgba(212, 175, 55, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.8);
  padding: 48px 40px 36px;
  animation: modalScaleIn 0.35s ease;
  box-sizing: border-box;
  outline: 1px solid rgba(0,0,0,0.8);
  outline-offset: -4px;
}
.auth-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}
.auth-modal-close:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  transform: rotate(90deg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 16px;
}
.auth-logo img {
  height: 56px;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.5));
}
.auth-title {
  text-align: center;
  font-size: 24px;
  color: var(--gold-soft);
  letter-spacing: 4px;
  margin-bottom: 4px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  background: linear-gradient(180deg, #fff5d0 0%, var(--gold) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 28px;
  letter-spacing: 2px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 1px;
}
.auth-field input {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-gold);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 1px;
}
.auth-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.25);
}
.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-dim);
  cursor: pointer;
}
.auth-check input { accent-color: var(--gold); }
.auth-check.auth-agree {
  font-size: 12px;
  line-height: 1.5;
}
.auth-link {
  color: var(--gold);
  font-size: 13px;
  transition: opacity 0.3s ease;
}
.auth-link:hover { opacity: 0.7; }
.auth-btn {
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
  letter-spacing: 8px;
}
.auth-divider {
  position: relative;
  text-align: center;
  margin: 8px 0;
}
.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--line-soft);
}
.auth-divider span {
  position: relative;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink-dim);
  background: #120b1f;
  letter-spacing: 1px;
}
.auth-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.auth-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-gold);
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 1px;
}
.auth-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.auth-foot {
  text-align: center;
  font-size: 13px;
  color: var(--ink-dim);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.auth-member-benefits {
  padding: 16px;
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--line-soft);
  margin-top: 4px;
}
.benefits-title {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 600;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.benefits-list li {
  font-size: 12px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}
.benefits-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
}

/* ---------- Responsive for pages ---------- */
@media (max-width: 1024px) {
  .world-grid,
  .three-col-grid,
  .guide-grid,
  .shop-grid-3,
  .shop-info-grid,
  .event-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .growth-grid,
  .skill-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .wiki-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-masonry {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .page-hero { height: 300px; }
  .page-hero-title { font-size: 32px; letter-spacing: 4px; }
  .page-content { padding: 48px 20px; }
  .world-grid,
  .three-col-grid,
  .guide-grid,
  .shop-grid-3,
  .shop-info-grid,
  .event-cards-grid {
    grid-template-columns: 1fr;
  }
  .intro-classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .growth-grid,
  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wiki-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-masonry {
    column-count: 2;
  }
  .sub-tabs { overflow-x: auto; }
  .sub-tab { padding: 12px 20px; white-space: nowrap; }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .video-play-btn {
    width: 52px;
    height: 52px;
  }
  .video-modal {
    padding: 12px;
    padding-top: max(12px, env(safe-area-inset-top));
    align-items: flex-start;
    overflow-y: auto;
  }
  .video-modal-content {
    max-width: 100%;
    margin: auto 0;
  }
  .video-modal-header {
    padding: 16px 48px 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .vm-title { font-size: 16px; }
  .video-modal-desc {
    padding: 14px 16px 20px;
    font-size: 13px;
  }
  .video-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-modal {
    padding: 24px 16px;
  }
  .video-modal-content {
    max-width: 860px;
  }
}
@media (min-width: 1600px) {
  .video-modal-content {
    max-width: 1100px;
  }
}

/* ========== 副本 & BOSS 详情弹窗 ========== */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 3, 10, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.detail-modal.active {
  opacity: 1;
  visibility: visible;
}
.detail-modal-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0e0818 0%, #1a0f26 50%, #0e0818 100%);
}
.detail-modal-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(20,14,32,0.95), rgba(10,6,18,0.8));
  position: relative;
}
.detail-modal-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.detail-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line-gold);
  color: var(--gold-soft);
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.detail-back-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.detail-back-btn svg {
  width: 14px;
  height: 14px;
}
.detail-modal-title {
  font-size: 24px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 8px;
  margin: 0;
  font-weight: 700;
}
.detail-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 48px 60px 60px;
}
.detail-section {
  margin-bottom: 56px;
}
.detail-section:last-child { margin-bottom: 0; }
.detail-section-title {
  font-size: 22px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  margin: 0 0 8px 0;
  text-align: center;
  font-weight: 700;
}
.detail-section-title em {
  display: block;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 3px;
  font-style: normal;
  font-family: "Cinzel", serif;
  margin-top: 6px;
  font-weight: 400;
}
.detail-section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 16px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.detail-intro {
  max-width: 960px;
  margin: 0 auto 36px;
  background: rgba(212,175,55,0.04);
  border: 1px solid var(--line-gold);
  padding: 24px 32px;
}
.detail-intro p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  margin: 0;
  text-indent: 2em;
}
.detail-sub-title {
  font-size: 17px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  margin: 0 0 20px 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

/* 副本卡片网格 */
.dungeon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.dungeon-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.dungeon-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.dungeon-grid.single { grid-template-columns: 1fr; }
.dungeon-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 22px 20px 20px;
  transition: all 0.3s ease;
}
.dungeon-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 16px rgba(212,175,55,0.15);
}
.dungeon-card.featured {
  background: linear-gradient(135deg, rgba(30,20,50,0.9), rgba(15,8,25,0.95));
  border-color: var(--gold);
}
.dungeon-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.dungeon-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212,175,55,0.1);
  flex-shrink: 0;
}
.dungeon-icon svg {
  width: 20px;
  height: 20px;
}
.dungeon-name {
  font-size: 17px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  font-weight: 700;
  flex: 1;
}
.dungeon-tag {
  font-size: 10px;
  padding: 2px 8px;
  background: var(--gold);
  color: #1a0f26;
  letter-spacing: 1px;
  font-weight: 700;
}
.dungeon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dungeon-list li {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  padding: 4px 0 4px 16px;
  position: relative;
}
.dungeon-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* 战斗界面功能卡片 */
.battle-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.battle-card {
  background: linear-gradient(180deg, rgba(20,14,32,0.85), rgba(10,6,18,0.95));
  border: 1px solid var(--line-gold);
  padding: 22px 20px 20px;
  transition: all 0.3s ease;
}
.battle-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 16px rgba(212,175,55,0.15);
}
.battle-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.battle-pos {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--gold);
  color: #1a0f26;
  letter-spacing: 1px;
  font-weight: 700;
  font-family: "Cinzel", serif;
}
.battle-card h4 {
  font-size: 16px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 700;
  flex: 1;
}
.battle-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

/* 玩法介绍 · 系统列表（左图右文） */
.systems-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.system-card {
  position: relative;
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.system-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 24px rgba(212,175,55,0.15);
}
.system-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.system-card:hover::before {
  opacity: 1;
}
.system-card-img {
  width: 300px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a0614;
  border-right: 1px solid var(--line-gold);
  position: relative;
}
.system-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.system-card:hover .system-card-img img {
  transform: scale(1.05);
}
.system-card-body {
  padding: 22px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.system-card-body h4 {
  margin: 0;
  font-size: 20px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(212,175,55,0.25);
}
.system-card-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* 商城系统说明 · 列表大图模式 */
.mall-systems-list .system-card {
  min-height: 420px;
}
.mall-systems-list .system-card-img {
  width: 68%;
  padding: 28px;
  background: #0d0820;
}
.mall-systems-list .system-card-img img {
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(212,175,55,0.3);
  width: 100%;
  height: 100%;
}
.mall-systems-list .system-card-body {
  padding: 32px 36px;
  justify-content: center;
  width: 32%;
}
.mall-systems-list .system-card-body h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.mall-systems-list .system-card-body p {
  font-size: 13.5px;
  line-height: 1.9;
}

/* 商城系统说明 · 概述段落 */
.mall-overview {
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
  padding: 24px 32px;
  margin-bottom: 28px;
  position: relative;
}
.mall-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.mall-overview p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.9;
  letter-spacing: 0.5px;
}
.mall-overview p:last-child { margin-bottom: 0; }

/* 货币卡片 */
.currency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.currency-card {
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
  padding: 22px 24px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}
.currency-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  opacity: 0.6;
}
.currency-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(212,175,55,0.18);
}
.currency-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
  border: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  font-weight: 700;
  font-family: "Cinzel", serif;
}
.currency-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 2px;
  font-weight: 700;
}
.currency-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-body);
  line-height: 1.8;
  text-align: left;
}

/* 通用小节标题 */
.sub-section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
}
.sub-section-title h3 {
  margin: 0;
  font-size: 20px;
  color: var(--gold-soft);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(212,175,55,0.2);
}
.sub-section-title .sst-en {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 4px;
  font-family: "Cinzel", serif;
}
.sub-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
  opacity: 0.5;
}

/* Modal section title */
.modal-section { margin-bottom: 56px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title {
  font-size: 22px;
  color: var(--gold);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  letter-spacing: 4px;
  margin: 0 0 8px 0;
  text-align: center;
  font-weight: 700;
}
.modal-section-title em, .mst-en {
  display: block;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 3px;
  font-style: normal;
  font-family: "Cinzel", serif;
  margin-top: 6px;
  font-weight: 400;
}
.modal-section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 16px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Blade layout overrides */
.bg-main { background: var(--bg-0); }
.page-active { display: block !important; opacity: 1 !important; }

/* 商城：选区服/角色 */
.shop-role-modal {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(5,3,10,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.shop-role-modal[hidden] { display: none !important; }
.shop-role-dialog {
  position: relative;
  width: min(440px, 100%);
  background: #120b1c;
  border: 1px solid rgba(201,162,39,.45);
  padding: 28px 24px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.shop-role-close {
  position: absolute; top: 10px; right: 12px;
  background: transparent; border: 0; color: #c9a227;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.shop-role-dialog h3 {
  margin: 0 0 8px; color: #e8d48b; font-size: 20px;
  font-family: "Noto Serif SC", serif;
}
.shop-role-product { margin: 0 0 16px; opacity: .75; font-size: 13px; }
.shop-role-fields { display: grid; gap: 12px; margin-bottom: 12px; }
.shop-role-fields label { display: grid; gap: 6px; font-size: 12px; color: #c9a227; }
.shop-role-hint { font-size: 12px; opacity: .65; margin: 0 0 16px; line-height: 1.5; }
.shop-role-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ==========================================================================
   Responsive: PC + 手机 2712×1220（约 CSS 904×407@3x 横屏 / 407×904 竖屏）
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* PC 常规桌面（1280–1599） */
@media (min-width: 1280px) and (max-width: 1599px) {
  .nav { padding-left: 36px; padding-right: 36px; }
  .section { padding-left: 40px; padding-right: 40px; }
  .page-content { padding-left: 40px; padding-right: 40px; }
  .features-grid { gap: 20px; }
  .download-section { padding-left: 40px; padding-right: 40px; }
}

/* PC 大屏 */
@media (min-width: 1600px) {
  .nav { padding-left: 56px; padding-right: 56px; }
  .section { padding-left: 56px; padding-right: 56px; }
  .hero-logo { max-width: 360px; }
}



/* 介于手机与桌面之间的触控宽屏（含横屏手机 800–1100 CSS 宽） */
@media (max-width: 1100px) and (min-width: 769px) and (pointer: coarse) {
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

/* 触控设备通用：加大可点区域 */
@media (pointer: coarse) {
  .sub-tab,
  .wiki-filter-btn,
  .banner-dot,
  .nav-menu > li > a {
    min-height: 44px;
  }
  .legal-modal-close,
  .news-modal-close,
  .trailer-close,
  .video-modal-close {
    width: 44px;
    height: 44px;
  }
}


/* download guide（PC/移动共用，布局细节由 lankong-mobile 管） */
.download-guide-link {
  margin-top: 20px;
  text-align: center;
}
.download-guide-link .link-like {
  background: none;
  border: none;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 8px 12px;
}
.download-guide-link .link-like:hover { color: var(--gold); }
.dl-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.2);
}
a.dl-btn { text-decoration: none; color: inherit; }
