:root { --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg-page: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --border-color: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-main); background-color: var(--bg-page); } a { text-decoration: none; color: inherit; } ul { list-style: none; margin: 0; padding: 0; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 16px rgba(47, 107, 255, 0.15); border-bottom: 1px solid var(--border-color); } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0B1A3D; } .header-container { box-sizing: border-box; width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-transform: lowercase; background: linear-gradient(135deg, #FFFFFF 0%, #A5C4FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; font-size: 14px; font-weight: 600; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; line-height: 1.2; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(47, 107, 255, 0.35); } .btn-login { background-color: transparent; color: #FFFFFF; border: 2px solid var(--secondary); background-color: rgba(111, 163, 255, 0.15); } .btn-login:hover { background-color: var(--secondary); color: #0B1A3D; } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4); } .main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #13265C; border-top: 1px solid rgba(255, 255, 255, 0.08); } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; width: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; position: relative; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; height: 100%; } .nav-menu li { height: 100%; display: flex; align-items: center; } .nav-menu a { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 14px; font-weight: 600; color: #D6E2FF; position: relative; transition: color 0.2s ease, background-color 0.2s ease; border-radius: 4px; } .nav-menu a:hover { color: #FFFFFF; background-color: rgba(111, 163, 255, 0.18); } .nav-menu a::after { content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%) scaleX(0); width: 60%; height: 2px; background-color: var(--secondary); transition: transform 0.25s ease; border-radius: 2px; } .nav-menu a:hover::after { transform: translateX(-50%) scaleX(1); } .hamburger-menu { display: none; position: relative; z-index: 1001; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-around; align-items: center; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(11, 26, 61, 0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0B1A3D; color: #D6E2FF; padding: 0; font-size: 14px; line-height: 1.7; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(214, 226, 255, 0.12); } .footer-top-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; align-items: start; } .footer-col { min-width: 0; } .footer-about { padding-right: 10px; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; margin-bottom: 14px; background: linear-gradient(135deg, #FFFFFF 0%, #A5C4FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .footer-description { color: #A5C4FF; font-size: 13.5px; line-height: 1.75; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 16px; position: relative; padding-bottom: 10px; } .footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--btn-gradient); border-radius: 2px; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #A5C4FF; font-size: 13.5px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #FFFFFF; padding-left: 4px; } .footer-mid { padding: 24px 0; border-bottom: 1px solid rgba(214, 226, 255, 0.12); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { padding: 20px 0; text-align: center; background-color: #081533; } .footer-copyright { margin: 0; color: #6FA3FF; font-size: 13px; } .footer-copyright a { color: #A5C4FF; } @media (max-width: 1024px) { .nav-menu a { padding: 0 10px; font-size: 13px; } .footer-top-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 20px; } } @media (max-width: 768px) { :root { --header-offset: 110px; } .site-header { width: 100%; max-width: 100%; overflow-x: hidden; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: space-between; } .logo { display: flex !important; align-items: center; justify-content: center; font-size: 22px; max-width: calc(100% - 100px); } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0B1A3D; border-top: 1px solid rgba(255, 255, 255, 0.08); } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1001; } .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh !important; min-height: 100vh !important; background-color: #13265C; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 80px 20px 30px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; } .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; height: auto; } .nav-menu li { height: auto; width: 100%; } .nav-menu a { padding: 14px 16px; height: auto; width: 100%; font-size: 15px; border-radius: 8px; } .nav-menu a::after { display: none; } .nav-overlay { display: none; } .nav-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .footer-about { grid-column: 1 / -1; padding-right: 0; } .footer-dynamic-col { grid-column: 1 / -1; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top { padding: 36px 0 24px; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-container { padding: 0 18px; } } @media (max-width: 768px) { .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } body.no-scroll { overflow: hidden; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
/* 内容保护（系统追加，请勿删除） */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
