:root { --primary: #C91F17; --secondary: #E53935; --card-bg: #D32F2F; --bg-main: #B71C1C; --text-main: #FFF5E1; --border-color: #F2B544; --glow: #FFCC66; --gold: #F4D34D; --deep-red: #7A0E0E; --btn-grad: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); overflow-x: hidden; } .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); background-color: var(--deep-red); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background: linear-gradient(180deg, #7A0E0E 0%, #5C0909 100%); border-bottom: 2px solid var(--border-color); } .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; position: relative; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--gold); text-decoration: none; text-transform: lowercase; text-shadow: 0 2px 10px rgba(255,204,102,0.45); } .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 { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-block; text-decoration: none; font-weight: 700; text-align: center; border-radius: 8px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: 2px solid transparent; white-space: nowrap; } .btn-primary { background: var(--btn-grad); color: #4A0A0A; padding: 10px 22px; font-size: 15px; border: 2px solid #FFE9A8; box-shadow: 0 4px 14px rgba(255,204,102,0.45); } .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,204,102,0.65); } .btn-outline { background: transparent; color: var(--gold); padding: 10px 20px; font-size: 15px; border: 2px solid var(--border-color); } .btn-outline:hover { background: rgba(242,181,68,0.15); color: var(--glow); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: 2px solid var(--border-color); border-radius: 8px; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 22px; height: 3px; background-color: var(--gold); 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); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background: linear-gradient(180deg, #C91F17 0%, #A5170F 100%); border-bottom: 2px solid var(--border-color); } .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; flex-wrap: nowrap; } .nav-link { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 11px; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover { background-color: rgba(255,204,102,0.2); color: var(--gold); } .nav-link.active { background-color: var(--deep-red); color: var(--gold); box-shadow: inset 0 0 0 1px var(--border-color); } .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 999; } .nav-overlay.active { opacity: 1; visibility: visible; } .site-footer { background: linear-gradient(180deg, #7A0E0E 0%, #4A0808 100%); color: var(--text-main); border-top: 3px solid var(--border-color); padding: 40px 20px 0; } .footer-container { max-width: 1200px; margin: 0 auto; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(242,181,68,0.35); } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; gap: 12px; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--gold); text-decoration: none; text-transform: lowercase; text-shadow: 0 2px 10px rgba(255,204,102,0.4); } .footer-logo:hover { color: var(--glow); } .footer-description { font-size: 14px; line-height: 1.7; color: rgba(255,245,225,0.85); margin: 0; 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-color); display: inline-block; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li { line-height: 1.4; } .footer-nav a { color: rgba(255,245,225,0.85); text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--gold); padding-left: 4px; } .footer-dynamic-col { display: flex; flex-direction: column; } .footer-slot-anchor-inner { min-height: 0; } .footer-mid-area { padding: 24px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom { border-top: 1px solid rgba(242,181,68,0.35); padding: 20px 0; text-align: center; } .footer-copyright { font-size: 13px; color: rgba(255,245,225,0.7); margin: 0; } .footer-copyright a { color: var(--gold); text-decoration: none; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } .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; } .hamburger-menu { display: flex; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; } .logo img { max-height: 56px !important; display: block !important; max-width: 100%; height: auto; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: linear-gradient(180deg, #A5170F 0%, #8C120B 100%); border-bottom: 1px solid var(--border-color); } .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; display: none; position: fixed; top: var(--header-offset); left: 0; right: 0; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow-y: auto; max-height: calc(100vh - var(--header-offset)); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; background: linear-gradient(180deg, #C91F17 0%, #A5170F 100%); padding: 16px 0; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; gap: 4px; } .nav-link { display: block; width: 100%; text-align: left; padding: 12px 14px; font-size: 15px; } .site-footer { padding: 32px 16px 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 20px; } .footer-mid-grid { grid-template-columns: 1fr; gap: 12px; } .footer-bottom { padding: 16px 0; } .footer-copyright { font-size: 12px; } .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;
}
