:root { --header-offset: 122px; --primary: #113B7A; --secondary: #1D5FD1; --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --card-bg: #10233F; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --border-color: #244D84; --glow: #4FA8FF; --gold: #F2C14E; --divider: #1B3357; --deep-navy: #08162B; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 24px rgba(8, 22, 43, 0.55); background-color: var(--deep-navy); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background: linear-gradient(180deg, #08162B 0%, #113B7A 100%); border-bottom: 1px solid var(--border-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: 24px; padding-right: 24px; } .logo { display: inline-flex; align-items: center; text-decoration: none; font-size: 28px; font-weight: 800; letter-spacing: 0.5px; color: var(--gold); text-shadow: 0 0 12px rgba(79, 168, 255, 0.45); white-space: nowrap; } .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; cursor: pointer; border-radius: 8px; font-weight: 700; font-size: 14px; line-height: 1.2; padding: 10px 20px; 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.08); } .btn-login { background: linear-gradient(180deg, #1D5FD1 0%, #113B7A 100%); color: #F3F8FF; border: 1px solid #4FA8FF; box-shadow: 0 2px 10px rgba(79, 168, 255, 0.35); } .btn-register { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #FFFFFF; border: 1px solid #F2C14E; box-shadow: 0 2px 12px rgba(242, 193, 78, 0.35); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background-color: #113B7A; border-top: 1px solid #244D84; } .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; flex-wrap: nowrap; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; text-decoration: none; color: #F3F8FF; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; } .nav-link:hover { color: #F2C14E; border-bottom-color: #F2C14E; background-color: rgba(79, 168, 255, 0.12); } .nav-link-active { color: #F2C14E; border-bottom-color: #F2C14E; } .hamburger-menu { display: none; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1001; width: 44px; height: 44px; padding: 10px; background: rgba(29, 95, 209, 0.25); border: 1px solid #244D84; border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: center; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #F3F8FF; 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); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8, 22, 43, 0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background-color: #08162B; color: #F3F8FF; border-top: 1px solid #244D84; margin-top: 40px; } .footer-top-area { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; gap: 12px; } .footer-logo { display: inline-block; text-decoration: none; font-size: 26px; font-weight: 800; color: #F2C14E; letter-spacing: 0.5px; } .footer-description { margin: 0; font-size: 14px; line-height: 1.6; color: #AFC4E8; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #F2C14E; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; padding: 0; } .footer-nav a { display: inline-block; text-decoration: none; font-size: 14px; color: #AFC4E8; transition: color 0.2s ease, transform 0.2s ease; } .footer-nav a:hover { color: #4FA8FF; transform: translateX(2px); } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 10px 0; } .footer-slot-anchor-inner { width: 100%; } .footer-bottom { border-top: 1px solid #1B3357; padding: 18px 20px; text-align: center; background-color: #08162B; } .footer-copyright { margin: 0; font-size: 13px; color: #AFC4E8; } #copyright-year, .copyright-year { color: #F2C14E; font-weight: 600; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { overflow-x: hidden; } .header-top { height: 60px !important; min-height: 60px !important; padding-top: 0; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; height: 100%; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .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; min-height: 48px; align-items: 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; } .main-nav { height: 48px !important; min-height: 48px !important; } .hamburger-menu { display: flex; } .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: auto !important; min-height: auto !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; background-color: #113B7A; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding: 12px 0; border-top: 1px solid #244D84; box-shadow: 0 8px 24px rgba(8, 22, 43, 0.6); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; gap: 0; } .nav-link { height: auto; padding: 14px 12px; border-bottom: 1px solid #1B3357; border-left: 3px solid transparent; font-size: 15px; } .nav-link:hover { border-bottom-color: #1B3357; border-left-color: #F2C14E; } .nav-link-active { border-left-color: #F2C14E; border-bottom-color: #1B3357; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-top-area { padding: 30px 15px 15px; } .footer-mid-area { padding: 0 15px; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
