:root { --primary: #26A9E0; --secondary: #FFFFFF; --accent-login: #EA7C07; --bg: #FFFFFF; --text-dark: #000000; --footer-bg: #0B2B3C; --footer-text: #D6EAF5; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Arial, Helvetica, sans-serif; background: 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 16px rgba(0, 0, 0, 0.18); background: var(--primary); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: 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: 30px; padding-right: 30px; gap: 16px; } .logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: var(--secondary); text-decoration: none; text-transform: none; white-space: nowrap; } .logo:hover { opacity: 0.9; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 14px; line-height: 1.2; padding: 10px 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; border: none; cursor: pointer; } .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22); filter: brightness(1.05); } .btn-login { background: var(--accent-login); color: #FFFFFF; } .btn-register { background: #0B2B3C; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.45); } .hamburger-menu { display: none; width: 44px; height: 44px; background: transparent; border: none; padding: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: center; } .hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #0B2B3C; width: 100%; } .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; gap: 4px; padding: 0 20px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 10px; color: #E6F4FB; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; position: relative; transition: color 0.2s ease, background 0.2s ease; } .nav-link:hover, .nav-link.active { color: #FFFFFF; background: rgba(38, 169, 224, 0.35); } .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 15px; line-height: 1.65; } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 48px 0 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; } .footer-description { margin: 0; color: var(--footer-text); word-wrap: break-word; overflow-wrap: break-word; } .footer-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: var(--footer-text); text-decoration: none; transition: color 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: var(--primary); } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor, .footer-slot-anchor-inner { width: 100%; } .footer-mid { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; } .footer-mid-cell { min-width: 0; } .footer-bottom { padding: 18px 0; background: rgba(0, 0, 0, 0.28); } .footer-copyright { margin: 0; text-align: center; font-size: 14px; color: #C7DEEA; } @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 { font-size: 20px; } .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; } .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: relative; z-index: 2; } .header-top .header-container { 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); } .main-nav { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; transform: translateX(-100%); transition: transform 0.3s ease; background: #0B2B3C; z-index: 1001; overflow-y: auto; } .main-nav.active { display: block; transform: translateX(0); } .main-nav .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; padding: 12px 0; gap: 0; max-width: none; } .main-nav .nav-link { width: 100%; height: auto; padding: 14px 20px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .footer-container { padding: 0 18px; } .footer-top { padding: 34px 0 24px; } .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;
}
