:root { --primary-color: #2F6BFF; --secondary-color: #6FA3FF; --bg-color: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-dark: #000000; --border-color: #D6E2FF; --glow-color: #A5C4FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-color); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 20px rgba(47, 107, 255, 0.15); border-bottom: 1px solid var(--border-color); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); box-sizing: border-box; } .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; box-sizing: border-box; } .logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--primary-color); text-decoration: none; letter-spacing: 1px; line-height: 1; } .logo:hover { color: var(--secondary-color); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; border-radius: 8px; font-weight: 600; text-align: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; } .btn-login { background-color: transparent; color: var(--primary-color); border: 1.5px solid var(--primary-color); padding: 8px 22px; font-size: 14px; } .btn-login:hover { background-color: var(--glow-color); transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 9px 22px; font-size: 14px; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35); } .btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(47, 107, 255, 0.5); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); box-sizing: border-box; } .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; box-sizing: border-box; position: relative; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; } .nav-link { display: block; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 500; 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: rgba(255, 255, 255, 0.2); color: #FFFFFF; } .hamburger-menu { display: none; } .nav-overlay { display: none; } .site-footer { background-color: #0B1B3F; color: #FFFFFF; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .footer-top-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; margin-top: 20px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 30px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 16px; letter-spacing: 1px; } .footer-logo:hover { color: var(--glow-color); } .footer-description { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.75); word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 16px; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; position: relative; padding-bottom: 10px; } .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--btn-gradient); border-radius: 2px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; line-height: 1.6; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow-color); padding-left: 4px; } .footer-mid { padding: 10px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom-wrap { padding: 10px 0; } .footer-bottom { background-color: rgba(0, 0, 0, 0.25); padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.6); } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { flex: 0 0 auto; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; 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); box-sizing: border-box; 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: 85%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; background-color: var(--card-bg); z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; min-height: 100%; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 30px; } .nav-menu { flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; width: 100%; } .nav-link { color: var(--text-main); font-size: 16px; padding: 14px 16px; border-bottom: 1px solid var(--border-color); border-radius: 0; text-align: left; } .nav-link:hover, .nav-link.active { background-color: var(--bg-color); color: var(--primary-color); } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1002; } .hamburger-menu span { display: block; width: 24px; height: 2.5px; background-color: var(--primary-color); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); } .nav-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .footer-top { padding: 40px 0 20px; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 25px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-bottom { padding: 16px 0; } .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;
}
