:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg: #FFFFFF; --text-dark: #000000; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Arial, sans-serif; background-color: var(--bg); color: var(--text-dark); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); background-color: var(--secondary); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; } .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: 28px; padding-right: 28px; position: relative; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--secondary); text-decoration: none; line-height: 1; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.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 { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; } .btn:hover { transform: translateY(-1px); filter: brightness(1.06); } .btn-login { background-color: var(--login-color); color: #FFFFFF; padding: 10px 20px; font-size: 14px; box-shadow: 0 2px 8px rgba(234, 124, 7, 0.45); } .btn-register { background-color: #0F1B2D; color: #FFFFFF; padding: 10px 20px; font-size: 14px; box-shadow: 0 2px 8px rgba(15, 27, 45, 0.4); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0F1B2D; width: 100%; } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: #E8F4FB; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; } .nav-link:hover { color: #FFFFFF; background-color: rgba(255, 255, 255, 0.08); } .nav-link.active { color: #26A9E0; border-bottom-color: #26A9E0; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .site-footer { background-color: #0F1B2D; color: #D6E6F0; padding-top: 36px; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 1px; } .footer-description { font-size: 14px; line-height: 1.7; color: #B8CFDD; margin: 0 0 12px 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px 0; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #B8CFDD; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: #26A9E0; text-decoration: underline; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { padding: 24px 0 8px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 12px 0; } .footer-bottom { background-color: #08111C; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0; margin-top: 12px; } .footer-bottom p { margin: 0; text-align: center; font-size: 13px; color: #9FB8C8; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; order: -1; } .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: #F2F8FC; border-bottom: 1px solid rgba(38, 169, 224, 0.25); } .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 { display: none; height: 48px !important; min-height: 48px !important; position: fixed; top: var(--header-offset); left: 0; width: 100%; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 999; background-color: #0F1B2D; padding: 10px 0 20px 0; height: auto !important; min-height: calc(100vh - var(--header-offset)) !important; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 10px 15px; gap: 0; } .nav-link { height: auto; padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-left: 3px solid transparent; } .nav-link.active { border-left-color: #26A9E0; border-bottom-color: rgba(255, 255, 255, 0.1); } .site-footer { margin-top: 30px; } .footer-container { padding: 0 16px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .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: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .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;
  }
}
/* 内容保护（系统追加，请勿删除） */
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;
}
