:root { --header-offset: 122px; --primary: #C61F1F; --secondary: #E53030; --bg-dark: #140C0C; --card-bg: #2A1212; --text-main: #FFF1E8; --border-color: #6A1E1E; --gold: #F3C54D; --deep-red: #7E0D0D; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); }
* { box-sizing: border-box; }
body { padding-top: var(--header-offset); margin: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0,0,0,0.55); }
.header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #7E0D0D; border-bottom: 1px solid #6A1E1E; }
.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; font-size: 30px; font-weight: 900; letter-spacing: 0.5px; color: #F3C54D; text-decoration: none; text-transform: lowercase; text-shadow: 0 2px 6px rgba(0,0,0,0.5); 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; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; border: none; cursor: pointer; font-weight: 700; border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; line-height: 1.2; white-space: nowrap; }
.btn-login { background: transparent; color: #F3C54D; border: 1px solid #F3C54D; padding: 10px 18px; font-size: 15px; }
.btn-login:hover { background: rgba(243,197,77,0.12); }
.btn-register { background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); color: #2A1212; padding: 10px 20px; font-size: 15px; box-shadow: 0 4px 12px rgba(216,106,20,0.35); }
.btn-register:hover { filter: brightness(1.07); transform: translateY(-1px); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 1px solid #6A1E1E; border-radius: 8px; cursor: pointer; padding: 0; }
.hamburger-menu span { display: block; width: 22px; height: 2px; background-color: #F3C54D; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #140C0C; border-bottom: 1px solid #6A1E1E; }
.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; padding: 0 20px; gap: 4px; }
.nav-link { display: inline-block; padding: 6px 12px; color: #FFF1E8; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; }
.nav-link:hover, .nav-link.active { color: #F3C54D; background-color: rgba(198,31,31,0.35); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.nav-overlay.active { opacity: 1; visibility: visible; }
.site-footer { background-color: #140C0C; color: #FFF1E8; border-top: 1px solid #6A1E1E; padding: 48px 20px 0; font-size: 15px; line-height: 1.7; }
.footer-top-row { max-width: 1200px; margin: 0 auto 20px; }
.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 #6A1E1E; }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 900; color: #F3C54D; text-decoration: none; text-transform: lowercase; line-height: 1.1; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.footer-description { margin: 0; color: #FFF1E8; opacity: 0.85; font-size: 14px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-col-title { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: #F3C54D; letter-spacing: 0.3px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #FFF1E8; opacity: 0.85; text-decoration: none; font-size: 14px; transition: color 0.2s ease, opacity 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; }
.footer-nav a:hover { color: #F3C54D; opacity: 1; }
.footer-mid { max-width: 1200px; margin: 0 auto; padding: 28px 0; }
.footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; }
.footer-bottom-anchor { max-width: 1200px; margin: 0 auto; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0 26px; border-top: 1px solid #6A1E1E; text-align: center; }
.footer-bottom p { margin: 0; color: #FFF1E8; opacity: 0.75; font-size: 13px; }
.footer-dynamic-col { min-height: 10px; }
.footer-slot-anchor-inner { display: block; }
@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; 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; }
  .hamburger-menu { display: flex; position: relative; z-index: 2; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: 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: #140C0C; border-bottom: 1px solid #6A1E1E; }
  .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; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; min-height: 100vh; flex-direction: column; align-items: stretch; justify-content: flex-start; background-color: #140C0C; border-right: 1px solid #6A1E1E; padding-top: 130px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; max-width: none; height: auto; padding: 0 16px 24px; gap: 2px; }
  .nav-link { display: block; width: 100%; padding: 12px 10px; font-size: 16px; border-bottom: 1px solid rgba(106,30,30,0.5); }
  .nav-overlay { display: block; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 26px; }
  .footer-mid-row { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 36px 16px 0; }
  .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;
}
