:root { --header-offset: 122px; --primary: #E53935; --secondary: #FF5A4F; --bg-card: #FFFFFF; --bg-body: #F5F7FA; --text-main: #333333; --border-color: #E0E0E0; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); } body { padding-top: var(--header-offset); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.2); font-family: 'Segoe UI', Roboto, Arial, sans-serif; } .header-top { background: linear-gradient(135deg, #C62828 0%, #E53935 100%); width: 100%; min-height: 68px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; width: 100%; } .logo { font-size: 32px; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); display: inline-block; line-height: 1.2; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; padding: 10px 22px; border-radius: 25px; text-decoration: none; font-weight: 700; font-size: 14px; text-align: center; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s; } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,90,79,0.5); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 3px 8px rgba(229,57,53,0.4); } .btn-login { background: #FFFFFF; color: #E53935; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .hamburger-menu { display: none; width: 30px; background: transparent; border: none; cursor: pointer; padding: 0; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #FFFFFF; margin: 5px 0; border-radius: 2px; transition: all 0.3s; } .main-nav { background-color: #FFFFFF; width: 100%; display: flex; min-height: 52px; border-bottom: 2px solid #FF5A4F; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0; padding: 0 10px; width: 100%; } .nav-link { font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; padding: 15px 12px; transition: color 0.2s; white-space: nowrap; position: relative; } .nav-link:hover, .nav-link.active { color: var(--primary); } .nav-link:hover::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--primary); } .mobile-nav-buttons { display: none; } .mobile-menu-overlay { display: none; } @media (max-width: 768px) { :root { --header-offset: 146px; } .header-top { min-height: 60px; } .header-container { padding: 0 15px; width: 100%; max-width: none; } .logo { font-size: 24px; margin-left: 40px; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; z-index: 1002; } .main-nav { display: none; flex-direction: column; position: fixed; left: 0; top: 0; height: 100%; width: 70%; max-width: 320px; background: #FFFFFF; z-index: 1000; box-shadow: 2px 0 15px rgba(0,0,0,0.2); padding-top: 60px; border-right: 2px solid #E53935; transition: transform 0.3s ease; } .main-nav.active { display: flex; } .nav-container { flex-direction: column; align-items: flex-start; width: 100%; padding: 0; } .nav-link { width: 100%; padding: 14px 20px; border-bottom: 1px solid #EAEAEA; } .nav-link::after { display: none; } .mobile-nav-buttons { display: flex; gap: 8px; width: 100%; padding: 0 20px; } .mobile-nav-buttons .btn { flex: 1; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); } .mobile-menu-overlay.active { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; } body.no-scroll { overflow: hidden; } .header-container { min-height: 60px; } .footer-container { flex-direction: column; align-items: flex-start; padding: 20px 20px 20px 20px; } .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: linear-gradient(135deg, #1A1A1A, #2D2D2D); color: #CCCCCC; font-family: 'Segoe UI', Roboto, Arial, sans-serif; padding: 30px 0 0 0; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; } .footer-column h4.footer-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin-bottom: 18px; } .footer-column p.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 15px; color: #CCCCCC; } .footer-logo { font-size: 28px; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; } .footer-buttons { margin-top: 10px; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; } .footer-nav li a { color: #CCCCCC; text-decoration: none; font-size: 14px; transition: color 0.2s; } .footer-nav li a:hover { color: #FF5A4F; } .footer-bottom { background: #111111; border-top: 1px solid #333333; padding: 15px 20px; text-align: center; } .footer-bottom p { margin: 5px 0; font-size: 13px; } .footer-bottom a { color: #FF5A4F; text-decoration: none; } .footer-license { color: #999999; font-size: 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;
}
