:root { --header-offset: 122px; --color-primary: #113B7A; --color-secondary: #1D5FD1; --color-bg-card: #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; --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Arial, sans-serif; background-color: #08162B; color: #F3F8FF; } .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.5); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #08162B; width: 100%; border-bottom: 1px solid #1B3357; } .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-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #F2C14E; text-decoration: none; line-height: 1; text-shadow: 0 0 12px rgba(79, 168, 255, 0.35); } .logo:hover { color: #F3F8FF; } .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; } .desktop-nav-buttons .btn { display: inline-block; text-decoration: none; text-align: center; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; color: #F3F8FF; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; } .btn-login { background: transparent; border: 1.5px solid #244D84; color: #F3F8FF; box-shadow: none; } .btn-login:hover { border-color: #4FA8FF; color: #4FA8FF; box-shadow: 0 0 10px rgba(79, 168, 255, 0.35); } .btn-register { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); border: 1px solid #4FA8FF; box-shadow: 0 2px 10px rgba(43, 115, 246, 0.5); } .btn-register:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(79, 168, 255, 0.6); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { box-sizing: border-box; height: 52px; min-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; width: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 24px; } .nav-menu { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; height: 100%; } .nav-menu li { height: 100%; display: flex; align-items: center; } .nav-link { display: flex; align-items: center; height: 100%; padding: 0 12px; color: #F3F8FF; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; border-bottom: 2px solid transparent; } .nav-link:hover { color: #F2C14E; border-bottom-color: #F2C14E; } .nav-link.active { color: #F2C14E; border-bottom-color: #F2C14E; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: center; gap: 5px; } .hamburger-line { display: block; width: 26px; 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-color: rgba(0, 0, 0, 0.6); 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-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .footer-top { padding: 48px 0 24px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #F2C14E; text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; } .footer-logo:hover { color: #F3F8FF; } .footer-description { font-size: 14px; line-height: 1.7; color: #AFC4E8; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #F3F8FF; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid #1B3357; } .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; } .footer-nav a:hover { color: #4FA8FF; } .footer-mid { padding: 8px 0 24px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; } .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { background-color: #10233F; border-top: 1px solid #1B3357; padding: 18px 0; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #AFC4E8; } @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; 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 #1B3357; } .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; text-decoration: none; text-align: center; border-radius: 6px; font-weight: 700; } .main-nav { height: 48px !important; min-height: 48px !important; display: block; background-color: #113B7A; } .nav-container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; justify-content: flex-start; position: relative; } .hamburger-menu { display: flex; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 1002; } .hamburger-menu.active { position: fixed; left: 12px; top: 22px; transform: none; } .nav-menu { position: fixed; top: var(--header-offset); left: 0; width: 280px; max-width: 80%; height: calc(100vh - var(--header-offset)); background-color: #10233F; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 20px 0; margin: 0; gap: 0; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; border-right: 1px solid #244D84; } .nav-menu.active { display: block; transform: translateX(0); } .nav-menu li { width: 100%; height: auto; display: block; border-bottom: 1px solid #1B3357; } .nav-link { display: block; width: 100%; padding: 14px 24px; font-size: 15px; border-bottom: none; border-left: 3px solid transparent; } .nav-link:hover, .nav-link.active { color: #F2C14E; border-left-color: #F2C14E; border-bottom: none; background-color: rgba(79, 168, 255, 0.06); } .footer-container { padding-left: 15px; padding-right: 15px; } .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;
}
