:root { --primary: #E53935; --secondary: #FF5A4F; --text-main: #333333; --bg: #F5F7FA; --card-bg: #FFFFFF; --border: #E0E0E0; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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; background: #FFFFFF; box-shadow: 0 2px 12px rgba(0,0,0,0.12); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; box-sizing: border-box; border-bottom: 1px solid var(--border); } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; } .logo:hover { color: var(--secondary); } .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; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; } .btn-login { background: #FFFFFF; color: var(--primary); border: 1.5px solid var(--primary); } .btn-login:hover { background: #FFF0EF; transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 3px 10px rgba(229,57,53,0.35); } .btn-register:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(229,57,53,0.45); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 20px; cursor: pointer; z-index: 1001; text-decoration: none; } .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(8.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: var(--primary); box-sizing: border-box; } .nav-container { width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; padding: 0 20px; } .nav-link { display: inline-block; padding: 6px 12px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.2); color: #FFFFFF; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.visible { display: block; opacity: 1; } .site-footer { background: #1A1A1A; color: #DDDDDD; font-size: 14px; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,0.1); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; } .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 { color: #BBBBBB; line-height: 1.7; font-size: 14px; margin: 0 0 12px; overflow-wrap: break-word; word-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #BBBBBB; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--secondary); } .footer-mid { padding: 32px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { background: #111111; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); } .footer-copyright { margin: 0; text-align: center; color: #999999; font-size: 13px; } .footer-slot-anchor-inner { min-height: 1px; } @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; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex !important; position: relative; z-index: 1001; order: -1; } .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: #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 { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; flex-direction: column; justify-content: flex-start; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 998; overflow-y: auto; background: var(--primary); padding: 10px 0; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0 15px; gap: 2px; } .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-radius: 8px; } .nav-overlay.visible { display: block; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding: 0 16px; } .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;
}
