:root { --primary: #E53935; --secondary: #FF5A4F; --bg: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border: #E0E0E0; --header-offset: 122px; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background-color: var(--bg); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.18); background-color: #FFFFFF; }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; 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; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; }
.logo { display: inline-block; text-decoration: none; color: #FFFFFF; font-size: 22px; font-weight: 800; letter-spacing: 0.5px; white-space: nowrap; text-shadow: 0 2px 4px rgba(0,0,0,0.25); }
.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-decoration: none; border: none; cursor: pointer; border-radius: 8px; font-weight: 700; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; }
.btn-login { background: #FFFFFF; color: #E53935; padding: 10px 22px; font-size: 15px; box-shadow: 0 3px 10px rgba(0,0,0,0.2); border: 1px solid #FFCDD2; }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.28); }
.btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 10px 22px; font-size: 15px; box-shadow: 0 3px 12px rgba(229,57,53,0.45); border: 1px solid rgba(255,255,255,0.25); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,57,53,0.6); filter: brightness(1.06); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background-color: #FFF5F5; border-top: 1px solid #FFCDD2; border-bottom: 1px solid #FFCDD2; }
.nav-container { box-sizing: border-box; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 16px; position: relative; }
.nav-list { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; height: 100%; }
.nav-list li { height: 100%; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 12px; text-decoration: none; color: #333333; font-size: 14px; font-weight: 600; border-bottom: 3px solid transparent; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.nav-link:hover { color: #E53935; background-color: rgba(229,57,53,0.07); border-bottom-color: #FF5A4F; }
.nav-link.active { color: #E53935; border-bottom-color: #E53935; font-weight: 700; }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger-line { display: block; width: 24px; height: 3px; background-color: #E53935; 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); }
.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; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.nav-overlay.active { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }
.site-footer { background: linear-gradient(180deg, #2A0A0A 0%, #1A0505 100%); color: #EEEEEE; padding-top: 40px; border-top: 3px solid #E53935; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; color: #FFFFFF; font-size: 22px; font-weight: 800; text-decoration: none; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #C7C7C7; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: #FF8A80; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #D5D5D5; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: #FF5A4F; padding-left: 4px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-slot-anchor { min-height: 1px; }
.footer-mid { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.footer-bottom { padding: 20px 0; text-align: center; }
.copyright-text { font-size: 13px; color: #AAAAAA; line-height: 1.6; }
@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; position: relative; }
  .logo { font-size: 18px; }
  .logo img { 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 #FFCDD2; }
  .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; border-radius: 6px; }
  .main-nav { height: 48px !important; min-height: 48px !important; background-color: #FFF5F5; overflow: visible; }
  .nav-container { width: 100%; max-width: none; padding-left: 8px; padding-right: 8px; justify-content: flex-start; }
  .hamburger-menu { display: flex; }
  .nav-list { position: fixed; top: 0; left: 0; height: 100vh; width: 82%; max-width: 320px; background-color: #FFFFFF; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 0 20px; gap: 0; transform: translateX(-100%); transition: transform 0.3s ease; display: none; z-index: 1001; box-shadow: 4px 0 24px rgba(0,0,0,0.25); overflow-y: auto; }
  .nav-list.active { display: flex; transform: translateX(0); }
  .nav-list li { height: auto; width: 100%; }
  .nav-link { width: 100%; height: auto; padding: 14px 20px; font-size: 15px; border-bottom: 1px solid #F0F0F0; border-left: 4px solid transparent; justify-content: flex-start; }
  .nav-link:hover, .nav-link.active { border-bottom-color: #F0F0F0; border-left-color: #E53935; background-color: #FFF5F5; }
  .nav-overlay { display: block; }
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .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: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-grid { grid-template-columns: 1fr; }
  .logo { font-size: 16px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
