body.moonshot-theme {
    background-color: #000;
    color: #fff;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 居中大弹窗样式 (公告等) */
.ms-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ms-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ms-modal {
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    background: rgba(15, 15, 18, 0.75);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(40px) perspective(1000px) rotateX(10deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

/* ==========================================================================
   联系客服迷你弹窗 (Contact Mini Modal)
   ========================================================================== */
.ms-contact-modal {
    width: 90%;
    max-width: 420px; /* 增加宽度以适应新的排版 */
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.ms-modal-overlay.active .ms-contact-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 顶部背景渐变光效 */
.ms-contact-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: radial-gradient(circle at center top, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ms-contact-header {
    padding: 20px 24px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ms-contact-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.ms-contact-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ms-contact-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    object-fit: contain;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-name {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.contact-subtitle {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.ms-contact-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.ms-contact-qr-wrapper {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.ms-contact-qr-wrapper:hover {
    transform: scale(1.05);
}

.ms-contact-qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contact-qr-hint {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.ms-contact-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.card-icon svg { width: 20px; height: 20px; }

.wechat-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.time-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #10b981;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.copy-btn:hover {
    background: #059669;
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background: #3b82f6;
}
@keyframes modalNebulaBreathe {
    0%, 100% { box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(102, 126, 234, 0.15), inset 0 1px 0 rgba(255,255,255,0.1); }
    50% { box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 120px rgba(118, 75, 162, 0.3), inset 0 1px 0 rgba(255,255,255,0.15); }
}

.ms-modal-overlay.active .ms-modal {
    transform: scale(1) translateY(0) perspective(1000px) rotateX(0deg);
    opacity: 1;
    animation: modalNebulaBreathe 4s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

.ms-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.ms-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ms-modal-icon {
    color: #fff;
    opacity: 0.9;
    transform-origin: top center;
    animation: bellRing 5s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 20%, 100% { transform: rotate(0); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-15deg); }
    15% { transform: rotate(10deg); }
}

/* 标题金属扫光 */
@keyframes shineSweep {
    to { background-position: 200% center; }
}

.ms-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 20%, #888 40%, #fff 60%, #888 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    animation: shineSweep 3s linear infinite;
}

.ms-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.ms-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

.ms-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* 隐藏滚动条 */
.ms-modal-body::-webkit-scrollbar {
    width: 6px;
}
.ms-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.ms-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

/* 卡片进场动画 */
@keyframes cardFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.ms-notice-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: cardFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 为前几个卡片添加延迟错落效果 */
.ms-notice-card:nth-child(1) { animation-delay: 0.1s; }
.ms-notice-card:nth-child(2) { animation-delay: 0.2s; }
.ms-notice-card:nth-child(3) { animation-delay: 0.3s; }
.ms-notice-card:nth-child(4) { animation-delay: 0.4s; }
.ms-notice-card:nth-child(5) { animation-delay: 0.5s; }
.ms-notice-card:nth-child(n+6) { animation-delay: 0.6s; }

/* 鼠标悬停扫光与浮起 */
.ms-notice-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.ms-notice-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255,255,255,0.02);
}

.ms-notice-card:hover::before {
    left: 200%;
    transition: 0.7s ease-in-out;
}

.ms-notice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
}

.ms-notice-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-notice-pin {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.ms-notice-date {
    color: #666;
}

.ms-notice-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ms-notice-badge.type-new {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.ms-notice-badge.type-update {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ms-notice-badge.type-urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: pulseBorder 2s infinite;
}

.ms-notice-badge.type-notice {
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ms-notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.ms-notice-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.ms-notice-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
    display: block;
    background-color: rgba(255, 255, 255, 0.05);
    min-height: 100px; /* 防止加载失败时太难看 */
    object-fit: cover;
}

.ms-notice-content p {
    margin: 0 0 10px 0;
}
.ms-notice-content p:last-child {
    margin-bottom: 0;
}

.ms-empty-state {
    text-align: center;
    color: #666;
    padding: 40px 0;
    font-size: 14px;
}
@keyframes pageDepthFadeOut {
    from { transform: scale(1); opacity: 1; filter: blur(0px); }
    to { transform: scale(0.97); opacity: 0; filter: blur(4px); }
}

@keyframes fadeUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

body.page-exit-active {
    animation: pageDepthFadeOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow: hidden; /* 防止出现滚动条 */
    pointer-events: none; /* 动画期间禁止交互 */
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* 导航栏 — 与首页 Tailwind 导航栏视觉一致 */
.ms-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}
.ms-nav.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0; /* 移除默认间距，由 margin-left 强行控制 */
    text-decoration: none;
}
.logo-img {
    height: 44px; /* 从 36px 放大到 44px，让 S 图标更大气 */
    width: auto;
    position: relative;
    z-index: 2; /* 提升层级，盖住文字 */
    mix-blend-mode: screen; /* 滤除黑底，让它变成全透明！ */
}
.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1; /* 降低层级，垫在图标下方 */
    margin-left: -8px; /* 稍微拉开一点，只需微盖边缘 */
    transform: skewX(-12deg); /* 增加科技感和速度感的倾斜效果 */
}

/* 中央导航链接 */
.nav-links-center {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 340px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-links-center::-webkit-scrollbar { display: none; }
.nav-links-center { scrollbar-width: none; }

.nav-link-center {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 4px 0;
    position: relative;
    background: transparent;
}

.nav-link-center:hover {
    color: #ffffff;
    background: transparent;
}

.nav-link-center.active {
    color: #ffffff;
}

/* 右侧操作区按钮动效 */
.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* 公告按钮 — 简洁文本风格，与首页一致 */
.nav-notice-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 8px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-notice-link svg {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-notice-link:hover {
    color: #fff;
    background: transparent;
}

.nav-notice-link:hover svg {
    opacity: 1;
}

/* 登录按钮 — 纯文本风格，与首页一致 */
.nav-actions .nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-actions .nav-link:hover {
    color: #fff;
    background: transparent;
}

/* 注册按钮 — 白底黑字圆角，与首页一致 */
.nav-actions .nav-register-btn {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    transition: background 0.3s ease;
    cursor: pointer;
}

.nav-actions .nav-register-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* 用户头像下拉菜单 */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}
.avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-nickname {
    font-size: 14px;
    font-weight: 500;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 120px;
    width: max-content;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
}

.user-dropdown:hover .dropdown-menu,
.user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 10px 12px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.dropdown-item svg {
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 6px 0;
}

.dropdown-item.danger {
    color: #ff6b6b;
}

.dropdown-item.danger:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff8787;
}
/* 公告呼吸红点 — 覆盖样式与首页一致 */
.nav-notice-link {
    position: relative;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-right: 0 !important;
}

.nav-notice-link:hover {
    color: #fff;
    text-shadow: none;
}

.notice-dot {
    position: absolute;
    top: -1px;
    right: 0px;
    width: 6px;
    height: 6px;
    background-color: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4757;
    animation: pulseDot 2s infinite;
    display: none;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.nav-link { color: #fff; text-decoration: none; font-size: 14px; opacity: 0.8; transition: opacity 0.3s; }
.nav-link:hover { opacity: 1; }
.nav-btn {
    background: #fff;
    color: #000;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s;
}
.nav-btn:hover { transform: scale(1.05); }

/* Hero区 */
.ms-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.ms-title {
    font-size: clamp(3rem, 8vw, 6rem); /* 缩小了最大字号，防止长文字换行或过于拥挤 */
    font-weight: 600;
    letter-spacing: -0.02em; /* 稍微减小字间距，让长标题更紧凑 */
    margin: 0 0 16px;
    /* 银色金属质感扫光渐变 */
    background: linear-gradient(to right, #666 0%, #fff 40%, #fff 60%, #666 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* 进场特效：模糊溶解放大 + 持续扫光 */
    opacity: 0;
    animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, textShine 8s linear infinite;
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(12px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}

@keyframes textShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.ms-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #888;
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 0.2em;
    animation: fadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.ms-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: fadeUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 52px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn.primary-btn {
    background: #fff;
    color: #000;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.hero-btn.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    background: #f0f0f0;
}

.hero-btn.outline-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.outline-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
}
.scroll-indicator span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-indicator .line { width: 1px; height: 40px; background: #fff; }

/* 滚动视差区 */
.ms-scroll-sequence {
    height: 400vh; /* 3个步骤，需要300vh的滚动空间 + 100vh的基础高度 */
    position: relative;
    background: transparent;
}

/* 背后呼吸光晕 */
.ms-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.ms-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}
.ms-step {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50px) scale(1.05);
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
    box-sizing: border-box;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-step.step-1 { opacity: 1; transform: translate(-50%, 0) scale(1); filter: blur(0px); }

/* 精致毛玻璃标签 */
.ms-step-badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ms-step h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    /* 苹果级银色光泽文字 */
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}
.ms-step p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === 模型跑马灯特效 === */
.ms-models-cloud {
    padding: 120px 0;
    text-align: center;
    position: relative;
    z-index: 10;
    background: #000;
}
.ms-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.ms-section-title {
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.ms-section-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 64px;
    letter-spacing: 0.1em;
}

.marquee-container {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto 0;
    overflow: hidden;
    position: relative;
    /* 边缘渐隐遮罩 */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 24px;
}

.track-left {
    animation: scrollLeft 40s linear infinite;
}

.track-right {
    animation: scrollRight 40s linear infinite;
    /* 将内容往左推，让它有空间向右滚 */
    transform: translateX(-50%);
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 24px;
    padding-right: 24px; /* 保证首尾相连时有间距 */
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

@keyframes scrollRight {
    0% { transform: translateX(calc(-50% - 12px)); }
    100% { transform: translateX(0); }
}

.ms-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.ms-pill img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.ms-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.1), 0 15px 50px rgba(255, 255, 255, 0.3);
}

.ms-pill:hover img {
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.9);
    background: #fff;
    transform: scale(1.15);
}

/* === Footer 页脚 === */
.ms-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    background: #000;
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-brand {
    max-width: 320px;
}
.footer-logo {
height: 36px;
width: auto;
mix-blend-mode: screen;
vertical-align: middle;
display: inline-block !important;
}
.footer-logo-text {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    transform: skewX(-12deg);
    display: inline-block;
    margin-left: -8px;
    vertical-align: middle;
}
.footer-slogan {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.6;
}
.footer-links {
    display: flex;
    gap: 80px;
}
.link-group h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 24px;
}
.link-group a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}
.link-group a:hover {
    color: #fff;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.05);
padding-top: 32px;
display: flex;
justify-content: center;
align-items: center;
color: #666;
font-size: 13px;
}
.footer-bottom a:hover {
    color: #fff !important;
}

.ms-cta-section {
    margin-top: 120px;
    text-align: center;
}
.nav-btn.large {
    font-size: 1.2rem;
    padding: 16px 40px;
}
/* ==========================================================================
   意见反馈侧边抽屉 (Feedback Drawer)
   ========================================================================== */
.ms-feedback-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; justify-content: center; align-items: center;
}
.ms-feedback-overlay.active {
    opacity: 1; visibility: visible;
}
.ms-feedback-modal {
    width: 90%; max-width: 480px;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex; flex-direction: column;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.ms-feedback-overlay.active .ms-feedback-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.ms-feedback-modal::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: radial-gradient(circle at center top, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.ms-feedback-header {
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 1;
}
.ms-feedback-header h3 {
    margin: 0; font-size: 18px; font-weight: 600; color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.ms-feedback-body {
    padding: 32px; flex: 1; overflow-y: auto; position: relative; z-index: 1;
}
.ms-feedback-body::-webkit-scrollbar { width: 6px; }
.ms-feedback-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.ms-feedback-modal .form-group { margin-bottom: 24px; }
.ms-feedback-modal .form-group label {
    display: block; margin-bottom: 10px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
}
.ms-feedback-modal .form-group label .optional { color: rgba(255,255,255,0.4); font-size: 12px; font-weight: normal; }

.ms-feedback-modal .ms-input {
    width: 100%; box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 14px 16px;
    color: #fff; font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}
.ms-feedback-modal .ms-input:focus {
    outline: none; border-color: #667eea; background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}
.ms-feedback-modal .ms-input::placeholder { color: rgba(255,255,255,0.3); }
.ms-feedback-modal select.ms-input { 
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 16px center; 
    padding-right: 40px; 
}
.ms-feedback-modal select.ms-input option { background: #1a1a1c; color: #fff; }

.ms-feedback-modal .feedback-submit-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none; border-radius: 12px;
    color: #fff; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}
.ms-feedback-modal .feedback-submit-btn:hover {
    transform: translateY(-2px); box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}
.ms-feedback-modal .feedback-submit-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* === Drawer (意见反馈等侧滑抽屉) === */
.ms-drawer-overlay {
    justify-content: flex-end;
    padding-right: 0;
}
.ms-drawer {
    width: 400px;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 0 0 24px;
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
}
.ms-drawer-overlay.active .ms-drawer {
    transform: translateX(0);
    opacity: 1;
}
.ms-drawer-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
}
.ms-drawer-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ms-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* 意见反馈表单高级样式 */
.ms-feedback-form .form-group {
    margin-bottom: 24px;
}
.ms-feedback-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}
.ms-feedback-form select, .ms-feedback-form input, .ms-feedback-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.ms-feedback-form select:focus, .ms-feedback-form input:focus, .ms-feedback-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.ms-feedback-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.ms-feedback-form select option {
    background: #1a1a1c;
    color: #fff;
}
.ms-feedback-form textarea {
    resize: vertical;
    min-height: 120px;
}
\n
/* ==========================================================================
   意见反馈居中弹窗 (Feedback Modal)
   ========================================================================== */
.ms-feedback-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; justify-content: center; align-items: center;
}
.ms-feedback-overlay.active {
    opacity: 1; visibility: visible;
}
.ms-feedback-modal {
    width: 90%; max-width: 480px;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex; flex-direction: column;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.ms-feedback-overlay.active .ms-feedback-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.ms-feedback-modal::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: radial-gradient(circle at center top, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.ms-feedback-header {
    padding: 24px 32px 16px;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ms-feedback-header h3 {
    margin: 0; font-size: 18px; font-weight: 600; color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.ms-feedback-body {
    padding: 32px; flex: 1; overflow-y: auto; position: relative; z-index: 1;
}
.ms-feedback-body::-webkit-scrollbar { width: 6px; }
.ms-feedback-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.ms-feedback-modal .form-group { margin-bottom: 24px; }
.ms-feedback-modal .form-group label {
    display: block; margin-bottom: 10px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
}
.ms-feedback-modal .form-group label .optional { color: rgba(255,255,255,0.4); font-size: 12px; font-weight: normal; }

.ms-feedback-modal .ms-input {
    width: 100%; box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 14px 16px;
    color: #fff; font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}
.ms-feedback-modal .ms-input:focus {
    outline: none; border-color: #667eea; background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}
.ms-feedback-modal .ms-input::placeholder { color: rgba(255,255,255,0.3); }
.ms-feedback-modal select.ms-input { 
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 16px center; 
    padding-right: 40px; 
}
.ms-feedback-modal select.ms-input option { background: #1a1a1c; color: #fff; }

.ms-feedback-modal .feedback-submit-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none; border-radius: 12px;
    color: #fff; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}
.ms-feedback-modal .feedback-submit-btn:hover {
    transform: translateY(-2px); box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}
.ms-feedback-modal .feedback-submit-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
\n
/* ==========================================================================
   隐藏全局滚动条 (Hide Global Scrollbar)
   ========================================================================== */
/* 隐藏 Chrome, Safari, Edge 的全局滚动条 */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

/* 隐藏 Firefox 的全局滚动条 */
html {
    scrollbar-width: none;
}

/* 隐藏 IE 和旧版 Edge 的全局滚动条 */
body {
    -ms-overflow-style: none;
}

/* ==========================================================================
   全站移动端适配 (≤768px) — 不影响桌面端
   ========================================================================== */

/* 汉堡菜单按钮 — 桌面端隐藏，移动端由 JS 注入后显示 */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s;
    z-index: 201;
    position: relative;
}
.nav-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}
/* 汉堡变 X 动画 */
.nav-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端遮罩层 */
.nav-mobile-overlay {
    display: none;
}

/* 背景遮罩：桌面端隐藏 */
.nav-mobile-backdrop {
    display: none;
}

/* 桌面端隐藏移动端克隆的公告按钮（mobile-nav.js 无条件克隆到 nav-links-center，
   仅在移动端汉堡菜单中显示，桌面端必须隐藏，否则导航栏会出现两个公告入口） */
.nav-mobile-notice {
    display: none;
}

@media (max-width: 768px) {
    /* === 导航栏 === */
    .ms-nav {
        padding: 14px 0;
    }
    .nav-container {
        padding: 0 16px;
        flex-wrap: nowrap;
    }
    /* 隐藏中央链接，由汉堡菜单替代 —— 下拉面板式 */
    .nav-links-center {
        position: fixed;
        top: 60px;
        right: 12px;
        left: 12px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 4px;
        background: rgba(12, 12, 14, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 8px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px) scale(0.97);
        transform-origin: top right;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        max-width: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 199;
    }
    .nav-links-center.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    .nav-link-center {
        font-size: 15px;
        padding: 14px 16px;
        width: 100%;
        text-align: center;
        box-sizing: border-box !important;
        border-radius: 12px;
    }
    /* 显示汉堡按钮 */
    .nav-mobile-toggle {
        display: flex;
        order: 3;
        position: fixed;
        top: 14px;
        right: 16px;
        z-index: 201;
    }
    /* 背景遮罩 —— z-index 低于 .ms-nav(100)，确保汉堡按钮始终可点击 */
    .nav-mobile-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.25s ease;
        z-index: 99;
    }
    .nav-mobile-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    /* 右侧操作区精简 */
    .nav-actions {
        gap: 4px;
        order: 2;
        margin-left: auto;
        margin-right: 60px;
    }
    /* 移动端隐藏导航栏内的公告按钮（已移入汉堡菜单） */
    .nav-actions .nav-notice-link {
        display: none;
    }
    /* 菜单内的公告按钮样式 —— 与其他链接统一 */
    .nav-mobile-notice {
        margin-top: 4px;
        padding: 14px 16px !important;
        font-size: 15px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: none;
        border-radius: 12px;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    .nav-actions .nav-link {
        padding: 4px 0;
        font-size: 13px;
    }
    .nav-notice-link {
        font-size: 12px;
        padding: 6px 8px;
    }
    .nav-notice-link svg {
        width: 12px;
        height: 12px;
    }
    .nav-checkin-btn {
        padding: 5px 10px;
        font-size: 12px;
        gap: 4px;
    }
    .nav-checkin-btn svg {
        width: 14px;
        height: 14px;
    }
    .nav-logo {
        order: 1;
    }
    .logo-img {
        height: 32px;
    }
    .logo-text {
        font-size: 1.2rem;
    }

    /* === 容器边距 === */
    .ms-container,
    .footer-container {
        padding: 0 16px;
    }

    /* === 页脚 === */
    .ms-footer {
        padding: 48px 0 24px;
    }
    .footer-top {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 32px;
    }
    .footer-brand {
        max-width: 100%;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }
    .link-group h4 {
        margin-bottom: 16px;
    }
    .link-group a {
        margin-bottom: 10px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 24px;
    }

    /* === 首页区块标题 === */
    .ms-section-title {
        font-size: 1.75rem;
    }
    .ms-section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    /* === Hero 区按钮 === */
    .ms-hero-actions {
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    /* === 模型胶囊跑马灯 === */
    .marquee-container {
        margin-top: 32px;
    }
    .ms-pill {
        padding: 8px 16px;
        font-size: 13px;
        gap: 8px;
    }
    .ms-pill img {
        width: 22px;
        height: 22px;
    }

    /* === CTA 区 === */
    .ms-cta-section {
        margin-top: 60px;
    }
    .nav-btn.large {
        font-size: 1rem;
        padding: 14px 32px;
    }

    /* === 模态弹窗内边距 === */
    .ms-contact-body {
        padding: 20px 16px;
    }
    .ms-contact-header {
        padding: 16px 20px 10px;
    }
    .ms-contact-cards {
        gap: 10px;
    }
    .contact-card {
        padding: 12px 14px;
    }
    .ms-modal {
        width: 94%;
        border-radius: 16px;
    }
    .ms-contact-modal {
        width: 94%;
    }

    /* === 反馈弹窗 === */
    .ms-feedback-modal {
        width: 94%;
    }
    .ms-feedback-header,
    .ms-feedback-body {
        padding: 16px 20px;
    }

    /* === 浅色模式导航栏 === */
    body.theme-light .nav-links-center {
        background: rgba(255, 255, 255, 0.98);
    }
    body.theme-light .nav-link-center {
        color: rgba(0, 0, 0, 0.7);
    }
    body.theme-light .nav-mobile-toggle {
        background: rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.1);
    }
    body.theme-light .nav-mobile-toggle span {
        background: #111;
    }
}

/* === 超小屏手机 (≤480px) === */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
    .ms-container,
    .footer-container {
        padding: 0 14px;
    }
    .footer-links {
        gap: 24px;
    }
    .ms-section-title {
        font-size: 1.5rem;
    }
    .ms-section-subtitle {
        font-size: 0.85rem;
    }
    .hero-btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    .ms-footer {
        padding: 36px 0 20px;
    }
    .footer-top {
        gap: 24px;
    }
    .link-group h4 {
        font-size: 14px;
    }
}
