:root { --header-offset: 166px; --primary: #E53935; --secondary: #FF5A4F; --bg-light: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border-color: #E0E0E0; } body { margin: 0; font-family: Arial, sans-serif; background-color: var(--bg-light); color: var(--text-main); padding-top: var(--header-offset); } .site-header { position: fixed; top: 0; left: 0; width: 100%; background-color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.2); 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; padding-top: 10px; padding-bottom: 10px; } .logo { font-size: 24px; font-weight: 700; color: #ffffff; text-decoration: none; display: block; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .btn { display: inline-block; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; text-align: center; border: none; cursor: pointer; transition: opacity 0.3s; color: #ffffff; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); box-shadow: 0 2px 4px rgba(229,57,53,0.4); } .btn:hover { opacity: 0.9; } .btn-login { color: #333333; background: #FFFFFF; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .btn-login:hover { background: #f0f0f0; } .btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); } .btn-download { background: #333333; color: #FFFFFF; box-shadow: 0 2px 4px rgba(0,0,0,0.2); } .btn-download:hover { background: #555555; } .main-nav { background-color: #D32F2F; width: 100%; display: flex; flex-direction: row; position: static; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding-top: 6px; padding-bottom: 6px; } .nav-link { color: #ffffff; text-decoration: none; padding: 8px 10px; font-size: 13px; font-weight: 500; display: inline-block; border-radius: 4px; transition: background-color 0.3s, color 0.3s; white-space: nowrap; } .nav-link:hover { background-color: rgba(255,255,255,0.2); } .mobile-nav-buttons { display: none; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .site-footer { background-color: #2D2D2D; color: #f0f0f0; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding: 40px 20px 20px; } .footer-brand { display: flex; flex-direction: column; gap: 10px; } .footer-logo { font-size: 22px; font-weight: 700; color: #FF5A4F; text-decoration: none; display: inline-block; } .footer-desc { font-size: 14px; line-height: 1.6; color: #CCCCCC; margin: 0; } .footer-title { font-size: 16px; margin-bottom: 8px; color: #FFFFFF; font-weight: 600; border-bottom: 2px solid #FF5A4F; padding-bottom: 4px; display: inline-block; } .footer-nav { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: #CCCCCC; text-decoration: none; font-size: 14px; transition: color 0.3s; } .footer-nav a:hover { color: #FF5A4F; } .footer-bottom { background-color: #222222; text-align: center; padding: 15px 20px; } .footer-copyright { margin: 0; font-size: 14px; color: #AAAAAA; } @media (max-width: 768px) { :root { --header-offset: 146px; } body { overflow-x: hidden; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; gap: 10px; } .logo { flex: 0 0 auto; font-size: 18px; } .desktop-nav-buttons { display: none; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: var(--primary); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; padding-top: 60px; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 15px; } .nav-link { width: 100%; padding: 12px 15px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 8px 10px; background-color: var(--primary); border-top: 1px solid rgba(255,255,255,0.2); flex-wrap: wrap; min-height: 48px; } .mobile-nav-buttons .btn { flex: 1 1 auto; max-width: 140px; margin: 0; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; z-index: 1001; position: fixed; top: 12px; left: 12px; padding: 0; } .hamburger-menu .bar { display: block; width: 22px; height: 2px; background-color: #ffffff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .footer-container { width: 100%; max-width: none; grid-template-columns: 1fr; gap: 25px; padding-left: 15px; padding-right: 15px; } .footer-bottom { padding-left: 10px; padding-right: 10px; } .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;
}
