:root { --primary: #E53935; --secondary: #FF5A4F; --bg: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border: #E0E0E0; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); --header-offset: 122px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; color: var(--text-main); background-color: var(--bg); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.15); background-color: #FFFFFF; } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-bottom: 1px solid var(--border); } .header-container { box-sizing: border-box; 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; text-decoration: none; font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: 0.5px; white-space: nowrap; } .logo:hover { color: var(--secondary); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s ease; text-align: center; line-height: 1.2; } .btn-primary { background: var(--btn-gradient); color: #FFFFFF; border: 1px solid var(--primary); } .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(229,57,53,0.35); } .btn-secondary { background-color: #FFFFFF; color: var(--primary); border: 2px solid var(--primary); } .btn-secondary:hover { background-color: var(--primary); color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(229,57,53,0.3); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; padding: 6px; z-index: 1001; } .hamburger-line { display: block; width: 22px; height: 2px; background-color: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; 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.18); color: #FFFFFF; } .nav-overlay { 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; } .site-footer { background-color: #1F2329; color: #D8D8D8; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 45px 0 30px; border-bottom: 1px solid rgba(255,255,255,0.1); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 0.5px; } .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 13px; line-height: 1.7; color: #B8BCC4; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { color: #B8BCC4; text-decoration: none; font-size: 13px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--secondary); } .footer-mid { padding: 20px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor, .footer-slot-anchor-inner { width: 100%; } .footer-bottom-anchor-wrap { padding: 0 0 10px; } .footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; } .copyright { font-size: 13px; color: #9AA0A8; } #copyright-year, .copyright-year { font-weight: 700; color: #FFFFFF; } .no-scroll { overflow: hidden; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); font-size: 19px; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex; } .mobile-nav-buttons { display: flex !important; min-height: 48px; 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; background-color: #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 { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 80px; padding-bottom: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; background-color: var(--primary); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0; gap: 0; } .nav-link { display: block; width: 100%; height: auto; padding: 14px 22px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.12); box-sizing: border-box; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .footer-container { padding: 0 15px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .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; } .footer-mid-grid { grid-template-columns: 1fr; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
