: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; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--deep-navy); box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 1px 0 var(--border-color); overflow-x: hidden; } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #08162B 0%, #113B7A 100%); border-bottom: 1px solid var(--divider); } .header-container { 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; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; min-width: 44px; background: transparent; border: 1px solid var(--border-color); border-radius: 8px; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 22px; height: 2px; background-color: var(--gold); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .logo { display: inline-block; font-size: 24px; font-weight: 800; letter-spacing: 0.5px; color: var(--gold); text-decoration: none; text-transform: uppercase; white-space: nowrap; text-shadow: 0 2px 8px rgba(79,168,255,0.35); } .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 { display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; font-size: 14px; font-weight: 700; border-radius: 8px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; line-height: 1.2; } .btn-login { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); } .btn-login:hover { border-color: var(--glow); color: var(--glow); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 14px rgba(43,115,246,0.45); } .btn-register:hover { filter: brightness(1.1); box-shadow: 0 6px 20px rgba(79,168,255,0.6); transform: translateY(-1px); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%); border-top: 1px solid rgba(79,168,255,0.15); } .nav-container { 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 14px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; position: relative; transition: color 0.2s ease; white-space: nowrap; } .nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform 0.25s ease; } .nav-link:hover { color: var(--gold); } .nav-link:hover::after { transform: scaleX(1); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: 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; } @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: 12px; padding-right: 12px; position: relative; } .hamburger-menu { display: flex !important; position: relative; z-index: 1002; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; } .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%; min-height: 48px; box-sizing: border-box; padding: 6px 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: var(--deep-navy); border-bottom: 1px solid var(--divider); } .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; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: auto !important; max-height: calc(100vh - var(--header-offset)); flex-direction: column; justify-content: flex-start; background: var(--card-bg); border-top: 1px solid var(--border-color); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; padding: 10px 15px; gap: 0; } .nav-link { display: block; width: 100%; height: auto; padding: 14px 12px; font-size: 15px; border-bottom: 1px solid var(--divider); color: var(--text-main); } .nav-link::after { display: none; } .nav-link:last-child { border-bottom: none; } } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .site-footer { background: var(--deep-navy); color: var(--text-main); border-top: 1px solid var(--border-color); margin-top: 0; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .footer-top { padding: 48px 0 32px; background: linear-gradient(180deg, #08162B 0%, #10233F 100%); } .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: 22px; font-weight: 800; color: var(--gold); text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; text-shadow: 0 2px 8px rgba(79,168,255,0.3); } .footer-description { font-size: 13px; line-height: 1.7; color: var(--text-secondary); margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { font-size: 15px; font-weight: 700; color: var(--gold); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--divider); } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li { margin: 0; padding: 0; } .footer-nav a { display: inline-block; font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--gold); padding-left: 4px; } .footer-slot-anchor-inner { width: 100%; } .footer-mid { padding: 24px 0; background: #0A1B33; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; } .footer-mid-cell { min-width: 0; } .footer-bottom-wrap { padding: 0; background: var(--deep-navy); } .footer-bottom { padding: 22px 0; text-align: center; border-top: 1px solid var(--divider); } .footer-copyright { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.6; } @media (max-width: 768px) { .footer-container { padding: 0 15px; } .footer-top { padding: 32px 0 24px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .footer-col-title { margin-bottom: 10px; } .footer-nav { gap: 8px; } .footer-bottom { padding: 18px 0; } .footer-copyright { font-size: 12px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
