:root { --header-offset: 122px; --primary-color: #E53935; --secondary-color: #FF5A4F; --card-bg: #FFFFFF; --page-bg: #F5F7FA; --text-main: #333333; --border-color: #E0E0E0; } body { margin: 0; font-family: Arial, sans-serif; color: var(--text-main); padding-top: var(--header-offset); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background-color: var(--card-bg); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); width: 100%; padding: 0 20px; } .header-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 100%; } .logo, .footer-logo { font-size: 24px; font-weight: bold; color: #FFFFFF; text-decoration: none; display: flex; align-items: center; height: 100%; } .logo img, .footer-logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background-color: var(--page-bg); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--secondary-color); width: 100%; padding: 0 20px; } .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; width: 100%; } .main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; } .main-nav ul li a { color: #FFFFFF; text-decoration: none; font-weight: bold; padding: 10px 0; display: block; transition: color 0.3s ease; white-space: nowrap; } .main-nav ul li a:hover { color: var(--page-bg); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; z-index: 1002; padding: 5px; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #FFFFFF; transition: all 0.3s ease-in-out; } .btn { text-decoration: none; background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%); color: #FFFFFF; padding: 10px 20px; border-radius: 5px; font-weight: bold; transition: all 0.3s ease; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; } .btn:hover { opacity: 0.9; transform: translateY(-1px); } .site-footer { background-color: var(--text-main); color: #FFFFFF; padding: 40px 20px 20px; font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding-bottom: 30px; } .footer-col h3 { color: #FFFFFF; font-size: 16px; margin-bottom: 15px; } .footer-logo { font-size: 22px; font-weight: bold; color: #FFFFFF; text-decoration: none; display: block; margin-bottom: 15px; } .footer-description { line-height: 1.6; color: rgba(255, 255, 255, 0.8); word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav li a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s ease; } .footer-nav li a:hover { color: #FFFFFF; } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 20px; color: rgba(255, 255, 255, 0.6); } .footer-slot-anchor, .footer-slot-anchor-inner { min-height: 1px; } .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 999; transition: opacity 0.3s ease; opacity: 0; } .overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .header-top { min-height: 60px !important; height: 60px !important; padding: 0 15px; } .header-container { max-width: none; padding: 0; justify-content: space-between; position: relative; } .hamburger-menu { display: flex; position: relative; z-index: 1002; } .hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); } .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); height: 100%; } .logo img { max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--page-bg); } .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: 70%; max-width: 300px; height: 100%; background-color: var(--card-bg); flex-direction: column; padding: 20px; box-sizing: border-box; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding-top: 60px; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .main-nav ul { flex-direction: column; gap: 10px; width: 100%; align-items: flex-start; } .main-nav ul li a { color: var(--text-main); padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border-color); } .main-nav ul li:last-child a { border-bottom: none; } .main-nav ul li a:hover { color: var(--primary-color); } .footer-top-grid { grid-template-columns: 1fr; padding-bottom: 20px; } .footer-col { margin-bottom: 20px; } .footer-col:last-child { margin-bottom: 0; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
