:root { --primary: #E53935; --secondary: #FF5A4F; --text-main: #333333; --card-bg: #FFFFFF; --page-bg: #F5F7FA; --border-color: #E0E0E0; --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); background-color: var(--page-bg); color: var(--text-main); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
img { max-width: 100%; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
.site-header a { text-decoration: none; }
.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; padding-left: 24px; padding-right: 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; text-decoration: none; white-space: nowrap; }
.logo:hover { color: #FFE0DE; }
.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-block; text-decoration: none; border-radius: 8px; font-weight: 700; text-align: center; cursor: pointer; border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-login { background: #FFFFFF; color: #B71C1C; border: 1px solid #FF5A4F; padding: 10px 22px; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; padding: 10px 22px; font-size: 15px; box-shadow: 0 4px 12px rgba(229,57,53,0.45); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; border-bottom: 1px solid var(--border-color); }
.nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: row; justify-content: center; align-items: center; }
.nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-list li { margin: 0; }
.nav-link { display: block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: #333333; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-link.active { background-color: #FFEBEA; color: #E53935; }
.mobile-menu-header { display: none; }
.hamburger-menu { display: none; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-overlay.active { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }
.site-footer { background-color: #1F1F1F; color: #E6E6E6; margin-top: 40px; }
.site-footer a { color: #E6E6E6; text-decoration: none; }
.site-footer a:hover { color: #FF5A4F; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.footer-top { padding: 44px 0 20px; 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-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; margin-bottom: 12px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #CFCFCF; margin: 0 0 12px; overflow-wrap: break-word; word-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 14px; line-height: 1.6; color: #D6D6D6; display: inline-block; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FF5A4F; }
.footer-mid { padding: 20px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 8px; }
.footer-slot-anchor-inner { min-height: 0; }
.footer-bottom { background-color: #141414; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-copyright { margin: 0; font-size: 13px; color: #BDBDBD; text-align: center; }
@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; }
  .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #FFFFFF; border-bottom: 1px solid var(--border-color); }
  .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; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; position: fixed; top: 10px; left: 12px; width: 40px; height: 40px; padding: 8px; background-color: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); border-radius: 8px; z-index: 1001; cursor: pointer; }
  .hamburger-line { display: block; width: 100%; height: 2px; 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(7px) rotate(45deg); }
  .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100%; min-height: 100%; background-color: #FFFFFF; z-index: 1001; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.25); }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; min-height: 100%; padding: 0; max-width: none; width: 100%; }
  .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: linear-gradient(90deg, #B71C1C 0%, #E53935 100%); }
  .mobile-menu-title { font-size: 17px; font-weight: 700; color: #FFFFFF; }
  .menu-close { background: transparent; border: none; color: #FFFFFF; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
  .nav-list { display: flex; flex-direction: column; width: 100%; gap: 0; padding: 8px 0; }
  .nav-list li { width: 100%; }
  .nav-link { display: block; padding: 14px 22px; font-size: 15px; border-radius: 0; border-bottom: 1px solid var(--border-color); color: #333333; }
  .nav-link:hover, .nav-link.active { background-color: #FFEBEA; color: #E53935; }
  .mobile-overlay { display: block; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top { padding: 32px 0 18px; }
  .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;
}
