:root { --header-offset: 122px; --primary: #C61F1F; --secondary: #E53030; --bg: #140C0C; --card-bg: #2A1212; --text-main: #FFF1E8; --border: #6A1E1E; --gold: #F3C54D; --deep-red: #7E0D0D; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Arial, Helvetica, sans-serif; overflow-x: hidden; } .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.55); background-color: var(--deep-red); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #7E0D0D 0%, #A01212 100%); width: 100%; border-bottom: 1px solid var(--border); } .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: 28px; font-weight: 800; letter-spacing: 1px; color: var(--gold); text-decoration: none; font-family: Georgia, 'Times New Roman', serif; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); } .logo:hover { color: #FFE08A; } .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; font-weight: 700; border-radius: 8px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: none; } .btn-login { background: transparent; color: var(--gold); border: 2px solid var(--gold); padding: 9px 20px; font-size: 15px; } .btn-login:hover { background: rgba(243, 197, 77, 0.12); transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #3A1400; padding: 11px 22px; font-size: 15px; box-shadow: 0 4px 14px rgba(216, 106, 20, 0.45); } .btn-register:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(216, 106, 20, 0.6); } .main-nav { box-sizing: border-box; position: relative; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: visible; background-color: var(--primary); width: 100%; border-top: 1px solid rgba(243, 197, 77, 0.25); } .nav-container { box-sizing: border-box; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; position: relative; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1002; } .hamburger-menu span { display: block; width: 24px; 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); } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; } .nav-item { margin: 0; padding: 0; } .nav-link { display: block; padding: 8px 12px; color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background-color: rgba(243, 197, 77, 0.16); color: var(--gold); } .menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: var(--card-bg); color: var(--text-main); border-top: 3px solid var(--gold); position: relative; z-index: 1; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .footer-slot-anchor-inner { min-height: 1px; } .footer-slot-top { padding: 8px 0 0; } .footer-top { padding: 40px 0 24px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--gold); text-decoration: none; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 1px; margin-bottom: 14px; } .footer-logo:hover { color: #FFE08A; } .footer-description { font-size: 14px; line-height: 1.7; color: #DCC7BC; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: var(--gold); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li { margin: 0; padding: 0; } .footer-nav a { color: #E8D5CA; text-decoration: none; font-size: 14px; line-height: 1.5; 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 { min-width: 0; } .footer-mid { padding: 16px 0 24px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 12px 0; } .footer-slot-bottom { padding: 4px 0; } .footer-bottom { background-color: var(--deep-red); border-top: 1px solid var(--border); padding: 18px 0; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #E8D5CA; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px; min-height: 60px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-block; font-size: 24px; max-width: calc(100% - 120px); text-align: center; } .logo img { display: block; max-width: 100%; height: auto; max-height: 56px; } .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--deep-red); border-top: 1px solid var(--border); } .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; min-height: 48px; display: block; background-color: transparent; border-top: none; } .nav-container { width: 100%; max-width: none; padding: 0; justify-content: flex-start; } .hamburger-menu { display: flex; left: 12px; z-index: 1002; } .nav-menu { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 82%; height: 100vh; background-color: var(--card-bg); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 40px; gap: 4px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; visibility: hidden; z-index: 1001; box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6); border-right: 1px solid var(--border); } .nav-menu.active, .nav-menu.open { transform: translateX(0); visibility: visible; } .nav-item { width: 100%; } .nav-link { padding: 13px 14px; font-size: 15px; border-bottom: 1px solid rgba(106, 30, 30, 0.6); border-radius: 4px; } .menu-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top { padding: 28px 0 16px; } .footer-container { padding: 0 16px; } body.no-scroll { overflow: hidden; } .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;
}
