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