:root { --header-offset: 122px; --primary: #E53935; --secondary: #FF5A4F; --bg-main: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border-color: #E0E0E0; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background-color: var(--bg-main); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.18); background-color: #FFFFFF; } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; border-bottom: 1px solid var(--border-color); } .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; position: relative; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 0.5px; color: var(--primary); text-decoration: none; line-height: 1; 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 { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 700; border-radius: 8px; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; line-height: 1.2; } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 15px; } .btn-login { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; box-shadow: 0 3px 10px rgba(229,57,53,0.35); } .btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; box-shadow: 0 3px 14px rgba(229,57,53,0.5); } .btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 6px 18px rgba(229,57,53,0.45); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: var(--primary); border-radius: 2px; margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 6px; } .nav-link { display: inline-block; padding: 8px 14px; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 6px; 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 { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.55); z-index: 999; } .nav-overlay.active { display: block; } .site-footer { background-color: #1A1A1A; color: #E6E6E6; margin-top: 60px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(255,255,255,0.08); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; } .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 14px; line-height: 1.7; color: #B8B8B8; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; position: relative; padding-bottom: 8px; } .footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); border-radius: 2px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #B8B8B8; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--secondary); padding-left: 4px; } .footer-dynamic-col { min-height: 20px; } .footer-slot-anchor, .footer-slot-anchor-inner { display: block; min-height: 1px; } .footer-mid { padding: 30px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 10px; } .footer-bottom { background-color: #0D0D0D; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #9A9A9A; } @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; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: block; position: relative; z-index: 1001; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; } .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 { position: fixed; top: 0; left: 0; height: 100vh !important; min-height: 100vh !important; width: 280px; max-width: 82%; display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 130px; background-color: #FFFFFF; box-shadow: 4px 0 24px rgba(0,0,0,0.25); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; } .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 16px 24px; gap: 4px; } .nav-link { color: var(--text-main); font-size: 16px; padding: 12px 14px; border-radius: 8px; border-bottom: 1px solid var(--border-color); } .nav-link:hover, .nav-link.active { background-color: #FFF0F0; color: var(--primary); } .site-footer { margin-top: 40px; } .footer-container { padding: 0 16px; } .footer-top { padding: 36px 0 20px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-logo { font-size: 24px; } .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;
}
