: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-color: #1B3357; --deep-navy: #08162B; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--deep-navy); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } * , *::before, *::after { box-sizing: border-box; } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); } .header-top { background-color: var(--deep-navy); width: 100%; border-bottom: 2px solid var(--divider-color); } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0px 30px; min-height: 68px; } .logo { font-size: 28px; font-weight: 900; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); display: inline-block; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; padding: 12px 24px; border-radius: 8px; border: none; cursor: pointer; font-weight: 700; font-size: 15px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .btn-register, .btn-login, .btn-app { background: var(--btn-gradient); color: white; box-shadow: 0 4px 12px rgba(43, 115, 246, 0.4); } .main-nav { width: 100%; background-color: var(--primary); display: flex; min-height: 52px; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; gap: 5px; padding: 0 15px; } .nav-link { display: inline-block; padding: 12px 14px; color: var(--text-main); font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; transition: color 0.3s, border-color 0.3s; } .nav-link:hover, .nav-link.active { color: var(--gold); border-bottom-color: var(--gold); } .mobile-nav-buttons { display: none; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .site-footer { background-color: var(--deep-navy); color: var(--text-main); border-top: 1px solid var(--divider-color); padding-top: 10px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; } .footer-column { min-width: 180px; } .brand-column { flex: 2; min-width: 250px; } .footer-links, .footer-legal, .footer-contact { flex: 1; } .footer-brand .footer-logo { font-size: 26px; font-weight: 900; color: var(--gold); text-decoration: none; } .footer-tagline { margin-top: 12px; color: var(--text-secondary); font-size: 15px; line-height: 1.6; } .footer-title { color: var(--text-main); font-size: 17px; margin-bottom: 15px; text-transform: uppercase; border-bottom: 2px solid var(--gold); padding-bottom: 5px; } .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s; } .footer-nav a:hover { color: var(--gold); } .footer-hotline, .footer-site-name { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; } .footer-bottom { border-top: 1px solid var(--divider-color); padding: 20px 0px; text-align: center; color: var(--text-secondary); font-size: 14px; } .footer-copyright { color: var(--text-secondary); } @media (max-width: 768px) { body { padding-top: var(--header-offset); } .header-container { width: 100%; max-width: none; padding: 0px 15px; min-height: 60px; } .logo { font-size: 24px; } .desktop-nav-buttons { display: none; } .header-top { border-bottom: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 8px 10px; background-color: var(--deep-navy); border-bottom: 2px solid var(--divider-color); min-height: 44px; } .mobile-nav-buttons .btn { padding: 8px 12px; font-size: 13px; min-width: 80px; } .hamburger-menu { display: flex; position: absolute; top: 12px; left: 15px; background: transparent; border: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; z-index: 1002; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--text-main); border-radius: 2px; transition: all 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); } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: var(--deep-navy); flex-direction: column; align-items: flex-start; padding-top: 70px; padding-left: 20px; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; width: 100%; padding: 0; } .nav-link { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--divider-color); color: var(--text-main); font-size: 16px; border-bottom: 1px solid var(--divider-color); } .nav-link.active { color: var(--gold); border-bottom-color: var(--gold); } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; display: none; } .mobile-menu-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .footer-container { flex-direction: column; padding: 30px 15px; gap: 30px; } .footer-brand .footer-logo { font-size: 28px; } .footer-title { font-size: 18px; } .footer-nav a { font-size: 15px; } .footer-bottom { padding: 15px 10px; } .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;
}
