:root { --header-offset: 122px; --primary: #C91F17; --secondary: #E53935; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); --card-bg: #D32F2F; --bg: #B71C1C; --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; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.4); background: #B71C1C; }
.header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #7A0E0E 0%, #B71C1C 100%); width: 100%; border-bottom: 1px solid var(--border-gold); }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; }
.logo { color: var(--gold); font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: 1px; display: inline-block; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.logo:hover { color: var(--glow); }
.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; width: 100%; max-width: 100%; box-sizing: border-box; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid var(--border-gold); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(255,204,102,0.5); }
.btn-login { background: transparent; color: var(--gold); border-color: var(--border-gold); }
.btn-register { background: var(--btn-gradient); color: var(--deep-red); border-color: var(--gold); }
.main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #C91F17; width: 100%; border-bottom: 1px solid var(--border-gold); }
.nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 4px; }
.nav-link { display: block; padding: 8px 14px; color: var(--text-main); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--btn-gradient); color: var(--deep-red); }
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; position: relative; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background: var(--gold); margin: 5px auto; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999; }
.nav-overlay.active { display: block; }
.site-footer { background: linear-gradient(180deg, #7A0E0E 0%, #4A0808 100%); color: var(--text-main); padding: 50px 20px 0; border-top: 3px solid var(--border-gold); margin-top: 40px; }
.footer-top-row-1 { 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: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(242,181,68,0.3); }
.footer-col { display: flex; flex-direction: column; }
.footer-logo { color: var(--gold); font-size: 24px; font-weight: 800; text-decoration: none; margin-bottom: 14px; display: inline-block; }
.footer-logo:hover { color: var(--glow); }
.footer-description { font-size: 14px; line-height: 1.7; color: #E8D5B7; word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 12px; }
.footer-heading { color: var(--gold); font-size: 16px; font-weight: 700; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border-gold); padding-bottom: 8px; display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #E8D5B7; text-decoration: none; font-size: 14px; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-nav a:hover { color: var(--glow); padding-left: 4px; }
.footer-dynamic-col .footer-slot-anchor-inner { min-height: 10px; }
.footer-mid { max-width: 1200px; margin: 0 auto; padding: 20px 0; }
.footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0; text-align: center; border-top: 1px solid rgba(242,181,68,0.3); font-size: 13px; color: #C9B896; }
.footer-bottom p { margin: 0; }
@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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; min-height: 48px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #7A0E0E; 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: 48px !important; min-height: 48px !important; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; position: relative; }
  .hamburger-menu { display: block; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh; background: #7A0E0E; padding: 80px 20px 20px; margin: 0; overflow-y: auto; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; border-right: 2px solid var(--border-gold); box-shadow: 4px 0 16px rgba(0,0,0,0.5); }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-menu li { width: 100%; margin-bottom: 4px; }
  .nav-link { display: block; padding: 12px 16px; font-size: 15px; width: 100%; border-bottom: 1px solid rgba(242,181,68,0.2); }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-row { grid-template-columns: 1fr 1fr; }
  .footer-description { font-size: 13px; }
  .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;
}
