:root { --primary-color: #2F6BFF; --secondary-color: #6FA3FF; --bg-color: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow-color: #A5C4FF; --header-offset: 122px; --btn-bg: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 20px rgba(47, 107, 255, 0.15); border-bottom: 1px solid var(--border-color); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; text-transform: lowercase; text-shadow: 0 1px 4px rgba(0,0,0,0.15); white-space: nowrap; } .logo:hover { color: var(--glow-color); } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: 8px; text-align: center; white-space: nowrap; transition: all 0.25s ease; cursor: pointer; border: none; line-height: 1.2; } .btn-login { background: #FFFFFF; color: var(--primary-color); border: 2px solid #FFFFFF; box-shadow: 0 2px 8px rgba(47,107,255,0.25); } .btn-login:hover { background: var(--bg-color); color: var(--primary-color); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(47,107,255,0.35); } .btn-register { background: var(--btn-bg); color: #FFFFFF; border: 2px solid var(--glow-color); box-shadow: 0 2px 10px rgba(165,196,255,0.45); } .btn-register:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(165,196,255,0.65); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); border-top: 1px solid var(--border-color); } .nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; } .nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; height: 100%; } .nav-list li { height: 100%; display: flex; align-items: center; } .nav-link { display: flex; align-items: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; position: relative; transition: color 0.2s ease; white-space: nowrap; } .nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px; border-radius: 2px; background: var(--btn-bg); transform: scaleX(0); transform-origin: center; transition: transform 0.25s ease; } .nav-link:hover, .nav-link.active { color: var(--primary-color); } .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; } .hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--primary-color); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(9.5px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(31, 45, 61, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0E1B33; color: #E6EEFF; padding-top: 40px; margin-top: 0; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(214, 226, 255, 0.18); } .footer-col { min-width: 0; } .footer-about { grid-column: span 1; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: lowercase; } .footer-logo:hover { color: var(--glow-color); } .footer-description { font-size: 14px; line-height: 1.7; color: #B9C8E6; margin: 0 0 12px 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px 0; padding-bottom: 8px; position: relative; } .footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--btn-bg); } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { font-size: 14px; color: #B9C8E6; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #FFFFFF; padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-mid { padding: 28px 0 8px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-bottom-wrap { padding: 8px 0 16px 0; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { background-color: #08111F; border-top: 1px solid rgba(214, 226, 255, 0.12); padding: 16px 0; text-align: center; } .footer-bottom p { margin: 0; font-size: 13px; color: #9FB2D6; line-height: 1.6; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px; min-height: 60px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); z-index: 1; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background-color: var(--primary-color); box-sizing: border-box; } .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; } .main-nav { height: 48px; min-height: 48px; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; transform: translateX(-100%); transition: transform 0.3s ease; background-color: var(--card-bg); z-index: 1000; border-top: none; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; padding: 12px 15px 20px 15px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; } .nav-list { display: flex; flex-direction: column; width: 100%; gap: 2px; height: auto; align-items: stretch; } .nav-list li { display: block; width: 100%; height: auto; } .nav-link { display: block; width: 100%; height: auto; padding: 12px 14px; font-size: 15px; border-radius: 8px; } .nav-link::after { display: none; } .nav-link:hover, .nav-link.active { background-color: var(--bg-color); color: var(--primary-color); } .hamburger-menu { display: flex; position: relative; z-index: 2; } .nav-overlay { display: none; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { padding-top: 30px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-bottom: 24px; } .footer-about { grid-column: span 2; } .footer-dynamic-col { grid-column: span 2; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-heading { font-size: 15px; } .footer-nav a { font-size: 13.5px; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-about { grid-column: span 1; } .footer-dynamic-col { grid-column: span 1; } .footer-mid-grid { grid-template-columns: 1fr; } } @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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
