:root { --primary: #E53935; --secondary: #FF5A4F; --text-main: #333333; --card-bg: #FFFFFF; --bg: #F5F7FA; --border: #E0E0E0; --header-offset: 122px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-main); background: var(--bg); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.15); background: var(--card-bg); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; border-bottom: 1px solid var(--border); 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; position: relative; } .logo { display: inline-block; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: var(--primary); text-decoration: none; line-height: 1; flex-shrink: 0; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .logo:hover { opacity: 0.85; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 6px; padding: 10px 22px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; border: none; cursor: pointer; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(229,57,53,0.35); opacity: 0.95; } .btn-login { background: #FFFFFF; color: var(--primary); border: 1.5px solid var(--primary); } .btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: transparent; border: none; cursor: pointer; z-index: 1001; position: relative; flex-shrink: 0; } .hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 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 { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); 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; gap: 4px; padding: 0 20px; box-sizing: border-box; } .nav-link { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; white-space: nowrap; transition: background 0.2s ease; } .nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.22); } .nav-overlay { display: none; } .site-footer { background: #1F1F1F; color: #E0E0E0; padding: 50px 0 0; margin-top: 60px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 20px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 900; color: #FFFFFF; text-decoration: none; margin-bottom: 16px; letter-spacing: 1px; } .footer-logo:hover { opacity: 0.85; } .footer-description { font-size: 14px; line-height: 1.7; color: #BDBDBD; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #BDBDBD; text-decoration: none; font-size: 14px; transition: color 0.2s ease; display: inline-block; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: var(--secondary); } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { width: 100%; } .footer-mid-r1, .footer-mid-r2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { background: #151515; border-top: 1px solid #333333; padding: 20px 0; margin-top: 30px; } .footer-bottom .footer-container { display: flex; justify-content: center; align-items: center; } .copyright { font-size: 13px; color: #9E9E9E; text-align: center; margin: 0; } @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; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex !important; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 26px; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background: #FFFFFF; border-bottom: 1px solid var(--border); } .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 { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; min-height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 120px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 999; overflow-y: auto; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 0 20px; width: 100%; max-width: none; height: auto; } .nav-link { display: block; width: 100%; text-align: left; padding: 14px 16px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); border-radius: 0; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); z-index: 998; } .nav-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-r1, .footer-mid-r2 { grid-template-columns: 1fr; } .footer-container { padding: 0 20px; } .footer-bottom .footer-container { padding: 0 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; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } } .no-scroll { overflow: 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;
}
