:root { --primary-color: #2F6BFF; --secondary-color: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --card-bg: #FFFFFF; --page-bg: #F4F7FB; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow-color: #A5C4FF; --header-offset: 122px; } .site-header { position: fixed; top: 0; left: 0; width: 100%; min-height: 60px; z-index: 1000; box-shadow: 0 2px 10px rgba(31, 45, 61, 0.15); } .header-top { background-color: #1a4fd8; width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 40px; padding-right: 40px; min-height: 68px; } .logo { font-size: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; display: inline-block; letter-spacing: -0.5px; } .logo:hover { color: #FFFFFF; opacity: 0.9; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: all 0.3s ease; line-height: 1.2; } .btn-register { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; box-shadow: 0 2px 6px rgba(47, 107, 255, 0.3); } .btn-login { background: #FFFFFF; color: #2F6BFF; border: 1px solid #2F6BFF; } .btn-register:hover { box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4); transform: translateY(-2px); } .btn-login:hover { background: #f0f5ff; transform: translateY(-2px); } .main-nav { background-color: #FFFFFF; width: 100%; display: flex; border-top: 1px solid var(--border-color); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; min-height: 52px; gap: 0; } .nav-link { display: inline-block; padding: 14px 12px; font-size: 15px; font-weight: 600; color: var(--text-main); text-decoration: none; transition: color 0.3s ease; white-space: nowrap; } .nav-link:hover { color: var(--primary-color); } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .mobile-nav-buttons { display: none; } .site-footer { background-color: #1a2332; color: #ffffff; padding: 40px 20px 0; width: 100%; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; padding-bottom: 30px; } .footer-column { flex: 1; min-width: 200px; } .footer-brand { flex: 1.5; } .footer-logo { font-size: 28px; font-weight: 800; color: #ffffff; text-decoration: none; display: inline-block; margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 350px; } .footer-heading { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 15px; padding-bottom: 10px; position: relative; } .footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-color); } .footer-nav { display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 14px; transition: all 0.3s ease; line-height: 1.6; } .footer-nav a:hover { color: #ffffff; padding-left: 5px; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 15px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 1200px; margin: 0 auto; } .copyright-text { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; } .footer-disclaimer { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin: 0; } body { padding-top: var(--header-offset); margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--page-bg); color: var(--text-main); } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: space-between; position: relative; min-height: 60px; } .logo { font-size: 24px; margin: 0 auto; position: absolute; left: 50%; transform: translateX(-50%); } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1002; margin-left: -5px; } .hamburger-menu span { width: 24px; height: 3px; background-color: #FFFFFF; border-radius: 3px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 8px 15px; background-color: #1a4fd8; border-top: 1px solid rgba(255, 255, 255, 0.1); min-height: 48px; z-index: 999; } .main-nav { display: none; flex-direction: column; position: fixed; top: 108px; left: 0; width: 280px; max-width: 80%; height: calc(100vh - 108px); background-color: #FFFFFF; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; border-right: 2px solid var(--primary-color); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; width: 100%; max-width: none; padding: 10px 0; gap: 0; min-height: auto; } .nav-link { display: block; width: 100%; padding: 12px 20px; font-size: 16px; border-bottom: 1px solid #f0f0f0; color: var(--text-main); } .nav-link:hover { background-color: var(--page-bg); color: var(--primary-color); } .nav-link:last-child { border-bottom: none; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(31, 45, 61, 0.6); z-index: 999; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; } .btn { padding: 10px 20px; font-size: 14px; } .footer-container { flex-direction: column; gap: 20px; } .footer-column { min-width: 100%; } .footer-bottom { flex-direction: column; align-items: center; text-align: center; } .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;
}
