:root { --primary: #E53935; --secondary: #FF5A4F; --bg: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border: #E0E0E0; --header-offset: 122px; } * { box-sizing: border-box; margin: 0; padding: 0; } body { padding-top: var(--header-offset); font-family: 'Segoe UI', Arial, sans-serif; background-color: var(--bg); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); background-color: var(--card-bg); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #E53935 0%, #c62828 100%); width: 100%; } .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; position: relative; } .logo { color: #FFFFFF; font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: 0.5px; text-transform: none; white-space: nowrap; } .logo:hover { opacity: 0.9; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; padding: 9px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; transition: all 0.25s ease; cursor: pointer; border: none; line-height: 1.2; white-space: nowrap; } .btn-login { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; } .btn-login:hover { background: rgba(255,255,255,0.15); } .btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; box-shadow: 0 3px 10px rgba(229,57,53,0.4); border: 2px solid transparent; } .btn-register:hover { box-shadow: 0 5px 16px rgba(229,57,53,0.6); filter: brightness(1.05); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: all 0.3s ease; } .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); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-bottom: 2px solid var(--border); } .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; } .nav-menu { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; height: 100%; } .nav-menu li { height: 100%; display: flex; align-items: center; } .nav-menu a { display: flex; align-items: center; height: 100%; padding: 0 14px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; transition: all 0.2s ease; } .nav-menu a:hover { color: var(--primary); border-bottom-color: var(--primary); background-color: #FFF3F3; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background-color: #1a1a2e; color: #d0d0d0; padding: 40px 0 0; margin-top: 60px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); } .footer-col { min-width: 0; } .footer-logo { display: inline-block; color: #FFFFFF; font-size: 24px; font-weight: 800; text-decoration: none; margin-bottom: 14px; } .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 13px; line-height: 1.7; color: #b0b0b0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: #FFFFFF; font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; } .footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: #b0b0b0; text-decoration: none; font-size: 13px; transition: color 0.2s ease; display: inline-block; } .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-bottom { text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); } .footer-bottom p { font-size: 13px; color: #999999; } .footer-slot-anchor-inner { min-height: 0; } @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; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; 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; } .mobile-nav-buttons .btn-login { color: var(--primary); border: 2px solid var(--primary); background: transparent; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .main-nav { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; max-width: 100%; flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; background-color: #FFFFFF; overflow-y: auto; z-index: 1000; border-bottom: none; box-shadow: 0 8px 20px rgba(0,0,0,0.2); } .main-nav.active { display: block !important; transform: translateX(0) !important; } .nav-container { width: 100%; max-width: none; padding-left: 10px; padding-right: 10px; height: auto; display: block; } .nav-menu { flex-direction: column; width: 100%; gap: 0; align-items: stretch; } .nav-menu li { width: 100%; height: auto; border-bottom: 1px solid var(--border); } .nav-menu a { width: 100%; height: auto; padding: 14px 16px; border-bottom: none; font-size: 15px; justify-content: flex-start; } .nav-menu a:hover { border-bottom: none; background-color: #FFF3F3; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-container { padding: 0 18px; } .site-footer { padding-top: 30px; } .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-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;
}
