:root { --header-offset: 122px; --primary: #E53935; --secondary: #FF5A4F; --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); --card-bg: #FFFFFF; --bg-color: #F5F7FA; --text-main: #333333; --border-color: #E0E0E0; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-color); color: var(--text-main); } body.no-scroll { overflow: hidden; } a { text-decoration: none; color: inherit; } .site-header { position: fixed; top: 0; left: 0; width: 100%; background-color: var(--card-bg); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); z-index: 1000; } .header-top { background-color: var(--primary); width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 20px; padding-right: 20px; min-height: 68px; position: relative; } .logo { font-size: 24px; font-weight: 800; color: #ffffff; text-decoration: none; white-space: nowrap; display: block; line-height: 1.2; } .logo:hover { color: #ffffff; opacity: 0.9; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; padding: 10px 24px; border-radius: 25px; text-decoration: none; font-weight: 600; font-size: 14px; border: none; cursor: pointer; line-height: 1.5; white-space: nowrap; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 90, 79, 0.4); text-decoration: none; } .btn-register { background: var(--button-gradient); color: #ffffff; box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3); } .btn-login { background: var(--secondary); color: #ffffff; box-shadow: 0 4px 10px rgba(255, 90, 79, 0.3); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .hamburger-line { width: 22px; height: 3px; background-color: #ffffff; border-radius: 3px; transition: all 0.3s ease; } .main-nav { background-color: #f8f9fa; width: 100%; display: flex; border-top: 1px solid #f0f0f0; min-height: 52px; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; } .nav-link { display: inline-block; padding: 12px 16px; color: #333333; font-weight: 500; font-size: 14px; white-space: nowrap; text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; } .nav-link:hover { color: var(--primary); border-bottom-color: var(--primary); } .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); } .mobile-nav-buttons { display: none; min-height: 48px; } .mobile-menu-overlay { display: none; } .site-footer { background-color: #212127; color: #e0e0e0; line-height: 1.6; } .footer-top { padding: 45px 20px 25px; border-bottom: 1px solid #3a3a42; } .footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; } .footer-logo { font-size: 22px; font-weight: 800; color: #ffffff; text-decoration: none; margin-bottom: 10px; display: inline-block; } .footer-desc { font-size: 14px; color: #a0a0a8; margin: 0 0 20px; text-align: left; } .footer-column-title { color: #ffffff; font-size: 16px; font-weight: 600; margin-top: 0; margin-bottom: 16px; } .footer-nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 15px; } .footer-nav a { display: inline-block; color: #a0a0a8; font-size: 14px; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: #ffffff; padding-left: 4px; } .footer-bottom { padding: 18px 20px; } .footer-bottom-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; } .copyright { margin: 0; font-size: 14px; color: #a0a0a8; text-align: center; } .footer-certificates { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; } .footer-certificates li { font-size: 13px; color: #7a7a82; } .footer-certificates li:not(:first-child)::before { content: '| '; margin-right: 5px; color: #555; } .site-footer a { color: #a0a0a8; } .site-footer a:hover { color: #ffffff; } @media (min-width: 769px) and (max-width: 1024px) { .nav-link { padding: 12px 12px; font-size: 13px; } .btn { padding: 10px 18px; } } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; min-height: 60px; padding-left: 58px; justify-content: center; } .logo { font-size: 20px; display: inline-block; text-align: center; width: auto; margin: 0 auto; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: flex; left: 10px; } .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 { display: none; position: fixed; top: 108px; left: 0; width: 85%; max-width: 320px; height: calc(100vh - 108px); overflow-y: auto; background-color: var(--card-bg); flex-direction: column; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease, display 0s linear 0.3s; border-top: none; box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1); border-radius: 0 12px 12px 0; min-height: 0; } .main-nav.active { display: flex; transform: translateX(0); transition: transform 0.3s ease; } .nav-container { width: 100%; flex-direction: column; align-items: flex-start; padding: 15px 10px; gap: 5px; } .nav-link { display: block; width: 100%; padding: 12px 15px; color: #333333; font-weight: 500; font-size: 15px; white-space: nowrap; text-decoration: none; border-bottom: 1px solid #f5f5f5; border-bottom-style: solid; border-bottom-color: #f0f0f0; border-radius: 6px; } .nav-link:hover { background-color: #f5f5f5; color: var(--primary); } .nav-link.active { background-color: rgba(229, 57, 53, 0.1); color: var(--primary); } .mobile-nav-buttons { display: flex; background-color: #f8f9fa; justify-content: center; align-items: center; gap: 10px; padding: 8px 15px; border-top: 1px solid #eee; min-height: 48px; } .mobile-nav-buttons .btn { padding: 8px 20px; font-size: 13px; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; } .mobile-menu-overlay.active { display: block; } .footer-top { padding: 30px 20px 15px; } .footer-content { grid-template-columns: 1fr; gap: 25px; } .footer-bottom-container { flex-direction: column; align-items: center; text-align: center; } .footer-certificates { justify-content: center; } .footer-certificates li { font-size: 12px; } .site-footer .footer-nav { flex-direction: column; align-items: flex-start; gap: 8px; max-height: 135px; display: flex; flex-wrap: wrap; } .site-footer .footer-nav a { font-size: 13px; } .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;
}
