:root { --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; --header-offset: 122px; } * { 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); -webkit-font-smoothing: antialiased; } a { text-decoration: none; } .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.5); background-color: var(--primary); } .header-top { width: 100%; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); 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: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--text-main); letter-spacing: 0.5px; line-height: 1; text-shadow: 0 2px 8px rgba(79, 168, 255, 0.4); } .logo:hover { color: var(--gold); } .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; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; cursor: pointer; transition: all 0.25s ease; border: none; text-align: center; line-height: 1.2; } .btn-login { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); padding: 10px 22px; font-size: 14px; } .btn-login:hover { border-color: var(--glow); color: var(--glow); box-shadow: 0 0 12px rgba(79, 168, 255, 0.4); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 10px 24px; font-size: 14px; box-shadow: 0 4px 14px rgba(43, 115, 246, 0.45); } .btn-register:hover { box-shadow: 0 6px 20px rgba(79, 168, 255, 0.65); filter: brightness(1.1); transform: translateY(-1px); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background-color: var(--card-bg); border-bottom: 1px solid var(--divider); } .main-nav { width: 100%; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); border-bottom: 2px solid var(--border-color); } .nav-container { 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-link { display: inline-flex; align-items: center; height: 100%; padding: 0 15px; color: var(--text-secondary); font-size: 14px; font-weight: 600; transition: color 0.2s ease, background-color 0.2s ease; white-space: nowrap; position: relative; } .nav-link:hover, .nav-link.active { color: var(--gold); } .nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 15px; right: 15px; height: 3px; background: var(--gold); border-radius: 2px 2px 0 0; } .hamburger-menu { display: none; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 10px; z-index: 1001; flex-direction: column; justify-content: space-between; } .hamburger-line { display: block; width: 100%; 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(9px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8, 22, 43, 0.8); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } @media (max-width: 768px) { .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .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%; 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); padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 85%; height: 100vh !important; flex-direction: column; justify-content: flex-start; padding-top: 70px; background-color: var(--card-bg); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; padding: 0; } .nav-link { height: auto; padding: 14px 24px; font-size: 15px; border-bottom: 1px solid var(--divider); width: 100%; justify-content: flex-start; } .nav-link.active::after { display: none; } .nav-link.active { background-color: rgba(79, 168, 255, 0.12); border-left: 3px solid var(--gold); } .hamburger-menu { display: flex; } .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 .footer-top-grid { grid-template-columns: 1fr; } } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--deep-navy); color: var(--text-main); border-top: 3px solid var(--border-color); margin-top: 60px; } .footer-top-row { width: 100%; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 50px 20px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--text-main); margin-bottom: 16px; letter-spacing: 0.5px; } .footer-logo:hover { color: var(--gold); } .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(--gold); font-size: 16px; font-weight: 700; margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; padding: 0; margin: 0 0 12px; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow); } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { width: 100%; border-top: 1px solid var(--divider); background-color: var(--primary); padding: 20px; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: var(--text-secondary); } @media (max-width: 980px) { .footer-top-grid { grid-template-columns: 1fr 1fr; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 768px) { .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 16px 24px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-mid-area { padding: 0 16px 16px; } .footer-heading { margin-bottom: 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;
}
