.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #B71C1C; box-shadow: 0 4px 15px rgba(0,0,0,0.5); min-height: auto; }
.site-header .header-top { background: #B71C1C; width: 100%; border-bottom: 2px solid #F2B544; }
.site-header .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; gap: 15px; width: 100%; box-sizing: border-box; }
.site-header .logo { font-size: 22px; font-weight: 800; color: #FFF5E1; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; display: inline-block; white-space: nowrap; font-family: 'Courier New', monospace; text-shadow: 0 0 10px #FFCC66; }
.site-header .header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.site-header .btn { display: inline-block; padding: 10px 25px; border-radius: 50px; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.site-header .btn-login { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #7A0E0E; box-shadow: 0 2px 8px rgba(255, 216, 106, 0.3); }
.site-header .btn-register { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #7A0E0E; box-shadow: 0 2px 8px rgba(230, 184, 0, 0.3); }
.site-header .btn:hover { transform: translateY(-2px); }
.site-header .main-nav { background: #D32F2F; width: 100%; display: flex; justify-content: center; }
.site-header .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-flow: row wrap; justify-content: center; align-items: center; gap: 2px 5px; padding: 8px 15px; width: 100%; box-sizing: border-box; }
.site-header .nav-link { color: #FFF5E1; text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 4px; transition: background 0.3s ease, color 0.3s ease; white-space: nowrap; }
.site-header .nav-link:hover { background: rgba(255, 245, 225, 0.15); color: #FFCC66; }
.site-header .hamburger-menu { display: none; }
.site-header .mobile-menu-overlay { display: none; }
.site-header .mobile-nav-buttons { display: none; }
:root { --header-offset: 166px; }
body { padding-top: var(--header-offset); margin: 0; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  body { overflow-x: hidden; }
  .site-header { overflow: visible; }
  .site-header .header-container { width: 100%; max-width: none; padding: 10px 15px; }
  .site-header .header-top { min-height: 60px; }
  .site-header .logo { font-size: 18px; }
  .site-header .header-actions { display: none; }
  .site-header .main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; overflow-y: auto; background: #7A0E0E; flex-direction: column; justify-content: flex-start; padding-top: 80px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; box-shadow: 2px 0 15px rgba(0,0,0,0.5); }
  .site-header .main-nav.active { display: flex; transform: translateX(0); }
  .site-header .nav-container { max-width: none; width: 100%; padding: 20px 10px; flex-direction: column; align-items: flex-start; gap: 5px; background: transparent; }
  .site-header .nav-link { color: #FFF5E1; font-size: 16px; padding: 12px 15px; width: 100%; box-sizing: border-box; border-radius: 5px; }
  .site-header .nav-link:hover { background: rgba(255, 216, 106, 0.15); }
  .site-header .hamburger-menu { display: block; position: absolute; top: 18px; left: 12px; z-index: 1003; background: none; border: none; cursor: pointer; width: 30px; height: 24px; padding: 0; }
  .site-header .hamburger-menu span { display: block; width: 100%; height: 3px; background: #FFD86A; margin: 4px 0; border-radius: 3px; transition: all 0.3s ease; }
  .site-header .hamburger-menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header .hamburger-menu.open span:nth-child(2) { opacity: 0; }
  .site-header .hamburger-menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1001; }
  .site-header .mobile-menu-overlay.active { display: block; }
  .site-header .mobile-nav-buttons { display: block; width: 100%; background: #B71C1C; padding: 8px 0; border-bottom: 1px solid rgba(255, 245, 225, 0.2); position: relative; z-index: 999; }
  .site-header .mobile-nav-container { width: 100%; max-width: none; display: flex; justify-content: center; gap: 10px; padding: 0 15px; box-sizing: border-box; }
  .site-header .mobile-nav-container a { padding: 8px 15px; font-size: 14px; box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1); }
  body.no-scroll { overflow: hidden; }
}
@media (max-width: 600px) {
  .site-header .mobile-nav-container { gap: 8px; }
  .site-header .mobile-nav-container .btn { flex: 1; padding: 8px 8px; font-size: 13px; text-align: center; min-width: 0; }
}
@media (max-width: 768px) {
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
}
.site-footer { background: #B71C1C; color: #FFF5E1; padding: 50px 20px 20px; margin-top: 50px; }
.site-footer .footer-container { max-width: 1200px; margin: 0 auto; }
.site-footer .footer-grid { display: flex; flex-flow: wrap; just-content: space-between; gap: 30px; }
.site-footer .footer-col { flex: 1 1 200px; }
.site-footer .footer-logo { color: #FFF5E1; font-size: 20px; font-weight: bold; text-decoration: none; letter-spacing: 1px; }
.site-footer .footer-desc { color: rgba(255, 245, 225, 0.85); font-size: 14px; line-height: 1.6; margin-top: 12px; }
.site-footer .footer-title { color: #F4D34D; font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.site-footer .footer-nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer .footer-nav a { color: #FFF5E1; text-decoration: none; font-size: 14px; opacity: 0.85; }
.site-footer .footer-nav a:hover { color: #FFCC66; opacity: 1; }
.site-footer .footer-bottom { border-top: 1px solid #D32F2F; margin-top: 30px; padding-top: 15px; text-align: center; }
.site-footer .copyright { font-size: 13px; color: #FFF5E1; opacity: 0.8; }
@media (max-width: 768px) {
  .site-footer { padding: 30px 15px 15px; }
}
.site-footer .footer-grid { justify-content: space-between; }
.site-footer .footer-col:hover .footer-title { text-shadow: 0 0 8px rgba(255, 204, 102, 0.6); }
.site-header .header-actions { justify-content: flex-end; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
