:root { --header-offset: 122px; --primary: #C91F17; --secondary: #E53935; --bg-dark: #B71C1C; --card-bg: #D32F2F; --text-main: #FFF5E1; --border-gold: #F2B544; --glow: #FFCC66; --gold: #F4D34D; --deep-red: #7A0E0E; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-dark); color: var(--text-main); }
.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.5); background-color: var(--bg-dark); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--deep-red); width: 100%; border-bottom: 1px solid var(--border-gold); }
.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-flex; align-items: center; font-size: 26px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 10px rgba(244, 211, 77, 0.4); }
.logo:hover { color: #FFFFFF; }
.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; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; border: none; }
.btn-primary { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #4A0E0E; box-shadow: 0 2px 10px rgba(255, 204, 102, 0.4); border: 1px solid #F2B544; }
.btn-primary:hover { background: linear-gradient(180deg, #FFE68A 0%, #F0C820 100%); box-shadow: 0 4px 16px rgba(255, 204, 102, 0.6); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--border-gold); }
.btn-outline:hover { background: rgba(242, 181, 68, 0.15); color: #FFFFFF; border-color: var(--gold); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; border-bottom: 1px solid var(--border-gold); }
.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-flex; align-items: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; transition: all 0.2s ease; white-space: nowrap; position: relative; }
.nav-link:hover { color: var(--gold); background: rgba(122, 14, 14, 0.4); }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 3px; background: linear-gradient(90deg, #FFD86A, #E6B800); border-radius: 2px 2px 0 0; }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1001; }
.hamburger-line { display: block; width: 26px; height: 3px; background-color: var(--gold); border-radius: 2px; transition: all 0.3s ease; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.site-footer { background-color: var(--deep-red); color: var(--text-main); border-top: 3px solid var(--border-gold); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about { }
.footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-logo:hover { color: #FFFFFF; }
.footer-description { font-size: 14px; line-height: 1.7; color: #F5DFC0; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--gold); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border-gold); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav li { margin: 0; }
.footer-nav a { font-size: 14px; color: var(--text-main); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--gold); padding-left: 4px; }
.footer-dynamic-col { }
.footer-slot-anchor { width: 100%; }
.footer-slot-anchor-inner { width: 100%; }
.footer-mid-section { margin-top: 30px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { background-color: #4A0A0A; border-top: 1px solid var(--border-gold); padding: 16px 24px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #E8CFA8; }
#copyright-year { font-weight: 700; color: var(--gold); }
@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; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; }
  .logo img { max-height: 56px !important; }
  .hamburger-menu { display: flex !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: var(--deep-red); border-bottom: 1px solid var(--border-gold); }
  .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 { height: auto !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px; background-color: var(--deep-red); flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 20px; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1002; box-shadow: 4px 0 20px rgba(0,0,0,0.5); border-right: 2px solid var(--border-gold); }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; padding: 0 10px; gap: 0; }
  .nav-link { height: auto; padding: 14px 16px; font-size: 16px; border-bottom: 1px solid rgba(242, 181, 68, 0.2); width: 100%; justify-content: flex-start; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: rgba(122, 14, 14, 0.6); }
  .hamburger-menu.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  .menu-overlay.active { display: block; opacity: 1; }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-container { padding: 30px 16px 16px; }
  .footer-bottom { padding: 14px 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;
}
