:root { --primary-color: #C61F1F; --secondary-color: #E53030; --bg-main: #140C0C; --bg-card: #2A1212; --text-main: #FFF1E8; --border-color: #6A1E1E; --gold-color: #F3C54D; --deep-red: #7E0D0D; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); --header-offset: 122px; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-main); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .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.65); background-color: var(--deep-red); } .header-top { display: flex; align-items: center; width: 100%; height: 68px; overflow: hidden; background-color: var(--deep-red); border-bottom: 1px solid var(--border-color); } .header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: var(--gold-color); text-decoration: none; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); white-space: nowrap; } .logo:hover { color: #FFD97A; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .mobile-nav-buttons { display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.18); background: var(--btn-gradient); color: #3A1400; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); } .btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55); } .btn-login { background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); color: #3A1400; } .btn-register { background: linear-gradient(180deg, #E53030 0%, #C61F1F 100%); color: #FFF1E8; border-color: rgba(243, 197, 77, 0.5); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 3px; border-radius: 2px; background-color: var(--gold-color); transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); } .main-nav { display: flex; align-items: center; width: 100%; height: 52px; overflow: hidden; background-color: var(--bg-card); border-top: 1px solid var(--border-color); } .nav-container { display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 20px; gap: 4px; flex-wrap: wrap; } .nav-link { display: inline-flex; align-items: center; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; } .nav-link:hover { color: var(--gold-color); background-color: rgba(243, 197, 77, 0.12); } .nav-link.active { color: var(--gold-color); background-color: rgba(243, 197, 77, 0.16); } .nav-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--bg-card); color: var(--text-main); border-top: 3px solid var(--primary-color); padding: 40px 20px 0; font-size: 14px; } .footer-top-row { max-width: 1200px; margin: 0 auto 20px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding-bottom: 28px; border-bottom: 1px solid var(--border-color); } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--gold-color); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; } .footer-about .footer-logo:hover { color: #FFD97A; } .footer-description { margin: 0; font-size: 13px; line-height: 1.7; color: #E8CDBE; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--gold-color); text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { display: inline-block; color: #E8CDBE; text-decoration: none; font-size: 13px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--gold-color); padding-left: 4px; } .footer-dynamic-col { display: block; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid-section { max-width: 1200px; margin: 0 auto; padding: 24px 0; } .footer-mid-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 16px; } .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 0 22px; border-top: 1px solid var(--border-color); text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #C9A99A; } @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; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; order: -1; position: relative; z-index: 1002; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 48px; box-sizing: border-box; padding: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--deep-red); } .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; border-radius: 6px; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; min-height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow-y: auto; background-color: var(--bg-card); padding-top: 80px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; border-top: none; border-right: 1px solid var(--border-color); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 10px 16px 24px; gap: 2px; flex-wrap: nowrap; } .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 6px; white-space: normal; border-bottom: 1px solid rgba(106, 30, 30, 0.5); } .nav-overlay { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-row { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .site-footer { padding: 30px 16px 0; } .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;
}
