:root { --header-offset: 122px; --color-primary: #113B7A; --color-secondary: #1D5FD1; --color-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --color-card-bg: #10233F; --color-text-main: #F3F8FF; --color-text-secondary: #AFC4E8; --color-border: #244D84; --color-glow: #4FA8FF; --color-gold: #F2C14E; --color-divider: #1B3357; --color-deep-navy: #08162B; } body { padding-top: var(--header-offset); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.4); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #08162B; width: 100%; border-bottom: 1px solid #244D84; } .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: block; font-size: 28px; font-weight: 800; color: #F2C14E; text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 8px rgba(242,193,78,0.4); } .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-block; text-decoration: none; text-align: center; border-radius: 6px; font-weight: 600; font-size: 14px; padding: 10px 20px; cursor: pointer; transition: all 0.2s ease; border: none; color: #FFFFFF; background: var(--color-btn-gradient); box-shadow: 0 2px 8px rgba(43,115,246,0.4); } .btn:hover { filter: brightness(1.12); box-shadow: 0 4px 14px rgba(79,168,255,0.6); } .btn-login { background: var(--color-btn-gradient); } .btn-register { background: var(--color-btn-gradient); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #113B7A; 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; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; } .nav-item { position: relative; } .nav-link { display: block; padding: 8px 10px; color: #F3F8FF; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; border-radius: 4px; transition: color 0.2s ease, background-color 0.2s ease; } .nav-link:hover { color: #F2C14E; background-color: rgba(242,193,78,0.1); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-line { display: block; width: 100%; height: 3px; background-color: #F3F8FF; 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); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8,22,43,0.75); 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; } .footer-top-row { max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 40px 30px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #F2C14E; text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; text-shadow: 0 0 8px rgba(242,193,78,0.4); } .footer-description { color: #AFC4E8; font-size: 14px; line-height: 1.7; margin: 0 0 16px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: #F3F8FF; font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid #F2C14E; display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #AFC4E8; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #F2C14E; padding-left: 4px; } .footer-dynamic-col { display: flex; flex-direction: column; } .footer-mid-section { max-width: 1200px; margin: 0 auto; padding: 0 30px 20px; } .footer-mid-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; } .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { background-color: #10233F; border-top: 1px solid #1B3357; padding: 20px 30px; text-align: center; } .footer-bottom p { margin: 0; color: #AFC4E8; font-size: 13px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .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; 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; background-color: #08162B; border-bottom: 1px solid #244D84; } .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 { min-height: 48px !important; height: 48px !important; position: relative; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; position: relative; z-index: 1001; } .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 300px; height: 100vh; background-color: #10233F; padding: 80px 20px 20px; margin: 0; gap: 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.5); } .nav-menu.active { display: flex; transform: translateX(0); } .nav-item { width: 100%; border-bottom: 1px solid #1B3357; } .nav-link { display: block; padding: 14px 10px; font-size: 15px; width: 100%; box-sizing: border-box; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 15px 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top-row, .footer-mid-section { padding-left: 15px; padding-right: 15px; } .footer-bottom { padding: 16px 15px; } .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;
}
