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