:root { --header-offset: 122px; } body { padding-top: var(--header-offset); background: #08162B; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; min-height: auto; background: #0A1C3A; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 2px #244D84; } .header-top { background: #0A1C3A; border-bottom: 1px solid #1B3357; width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 25px; } .logo { font-size: 28px; font-weight: 800; color: #F3F8FF; text-decoration: none; letter-spacing: 1px; display: inline-block; line-height: 1.2; text-shadow: 0 0 10px rgba(242, 193, 78, 0.3); } .logo:hover { color: #F2C14E; text-shadow: 0 0 15px rgba(242, 193, 78, 0.7); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .desktop-nav-buttons .btn { padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-block; transition: transform 0.2s, box-shadow 0.2s; border: none; } .desktop-nav-buttons .btn:hover { transform: translateY(-2px); } .desktop-nav-buttons .btn-register { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #F3F8FF; box-shadow: 0 0 12px rgba(79, 168, 255, 0.4); } .desktop-nav-buttons .btn-login { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #F3F8FF; box-shadow: 0 0 12px rgba(79, 168, 255, 0.4); } .main-nav { background: #0C2148; width: 100%; min-height: 48px; display: flex; align-items: center; border-top: 1px solid #1B3357; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; padding: 5px 20px; gap: 0px; width: 100%; } .nav-container a { color: #AFC4E8; text-decoration: none; font-size: 14px; padding: 12px 13px; font-weight: 500; border-radius: 4px; transition: background 0.3s, color 0.3s; white-space: nowrap; } .nav-container a:hover { color: #F3F8FF; background: #1D5FD1; text-shadow: 0 0 8px rgba(79, 168, 255, 0.5); } .nav-container a:first-child { color: #F2C14E; font-weight: 700; } .hamburger-menu { display: none; position: absolute; top: 20px; left: 15px; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; cursor: pointer; z-index: 1001; background: transparent; border: none; padding: 0; } .hamburger-menu.active span { background: #F3F8FF; } .mobile-nav-buttons { display: none; } .mobile-menu-overlay { display: none; } @media (max-width: 768px) { :root { --header-offset: 146px; } .header-container { width: 100%; max-width: none; padding-top: 10px; padding-bottom: 10px; padding-left: 50px; padding-right: 15px; } .logo { font-size: 20px; padding-right: 40px; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; width: 100%; background: #0A1C3A; padding: 8px 12px; border-top: 1px solid #1B3357; box-sizing: border-box; position: relative; z-index: 1000; } .mobile-nav-buttons .btn { padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 13px; text-decoration: none; display: inline-block; color: #F3F8FF; border: none; flex: 1; max-width: 160px; text-align: center; box-shadow: 0 0 12px rgba(79, 168, 255, 0.3); } .mobile-nav-buttons .btn-register { background: linear-gradient(180deg, #F2C14E 0%, #D19C2E 100%); color: #08162B; } .mobile-nav-buttons .btn-login { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); } .hamburger-menu { display: flex; } .hamburger-menu span { display: block; width: 100%; height: 2px; background: #F3F8FF; transition: all 0.3s ease; border-radius: 2px; } .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); } .main-nav { position: fixed; top: 0; left: 0; width: 250px; height: 100vh; background: #10233F; flex-direction: column; align-items: flex-start; padding-top: 60px; z-index: 1002; display: none; transform: translateX(-100%); transition: transform 0.3s ease, display 0s linear 0.3s; border-top: none; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7); } .main-nav.active { display: flex; transform: translateX(0); transition: transform 0.3s ease; } .nav-container { flex-direction: column; justify-content: flex-start; align-items: flex-start; width: 100%; max-width: none; padding: 0; overflow-y: auto; } .nav-container a { width: 100%; padding: 16px 20px; font-size: 15px; border-bottom: 1px solid #1B3357; color: #AFC4E8; white-space: normal; } .nav-container a:hover { background: #1D5FD1; color: #F3F8FF; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(8, 22, 43, 0.8); z-index: 1001; } .mobile-menu-overlay.active { display: block; } .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: #0A1C3A; border-top: 4px solid #F2C14E; margin-top: 60px; padding: 60px 20px 20px; color: #AFC4E8; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; } .footer-column { padding: 0 15px; } .footer-logo { font-size: 28px; font-weight: 800; color: #F3F8FF; text-decoration: none; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; } .footer-logo:hover { color: #F2C14E; } .footer-description { font-size: 14px; line-height: 1.6; color: #AFC4E8; } .footer-title { color: #F2C14E; font-size: 18px; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 12px; } .footer-nav a { color: #AFC4E8; text-decoration: none; font-size: 14px; transition: color 0.3s; } .footer-nav a:hover { color: #F2C14E; padding-left: 5px; } .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1B3357; padding-top: 20px; text-align: center; } .footer-bottom p { color: #AFC4E8; font-size: 14px; margin:0; } @media (max-width: 768px) { .footer-container { grid-template-columns: 1fr; gap: 30px; } .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
