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