:root { --header-offset: 122px; --primary: #113B7A; --secondary: #1D5FD1; --btn-bg: 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 { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--deep-navy); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 1px 0 var(--border-color); background-color: var(--primary); } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--deep-navy); border-bottom: 1px solid var(--divider); } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 24px; padding-right: 24px; gap: 16px; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--gold); text-decoration: none; line-height: 1; white-space: nowrap; text-shadow: 0 0 14px 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; align-items: center; gap: 12px; margin-left: auto; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; } .btn-login { background-color: transparent; color: var(--text-main); border: 2px solid var(--glow); } .btn-login:hover { background-color: rgba(79,168,255,0.15); transform: translateY(-2px); } .btn-register { background: var(--btn-bg); color: #FFFFFF; box-shadow: 0 4px 14px rgba(43,115,246,0.45); } .btn-register:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79,168,255,0.6); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; margin-right: auto; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: var(--text-main); 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); } .main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); position: static; } .nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; padding: 0 20px; } .nav-link { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background-color: var(--secondary); color: #FFFFFF; } .nav-overlay { display: none; position: fixed; inset: 0; background-color: rgba(4,10,20,0.65); 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: var(--deep-navy); color: var(--text-main); border-top: 2px solid var(--border-color); } .footer-top { padding: 40px 20px 20px; } .footer-container { max-width: 1200px; margin: 0 auto; width: 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: 26px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; } .footer-description { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: var(--text-main); font-size: 16px; font-weight: 700; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--divider); } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; } .footer-nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--glow); } .footer-dynamic-col { min-width: 0; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 10px 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { border-top: 1px solid var(--divider); padding: 18px 20px; text-align: center; background-color: var(--card-bg); } .footer-copyright { margin: 0; color: var(--text-secondary); font-size: 13px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px; min-height: 60px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .hamburger-menu { display: flex; z-index: 1001; } .logo { flex: 1; display: flex; justify-content: center; align-items: center; font-size: 26px; } .logo img { display: block; 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%; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--deep-navy); } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 85%; max-width: 320px; height: 100vh; min-height: 100vh; background-color: var(--primary); flex-direction: column; justify-content: flex-start; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; padding-top: 20px; box-shadow: 4px 0 24px rgba(0,0,0,0.5); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; padding: 10px 0; gap: 0; } .nav-link { font-size: 16px; padding: 14px 24px; border-radius: 0; border-bottom: 1px solid var(--divider); } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
