:root { --header-offset: 122px; --color-primary: #C61F1F; --color-secondary: #E53030; --color-bg: #140C0C; --color-card-bg: #2A1212; --color-text-main: #FFF1E8; --color-border: #6A1E1E; --color-gold: #F3C54D; --color-deep-red: #7E0D0D; --color-btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); } body { padding-top: var(--header-offset); } .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: #1A0E0E; } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background: linear-gradient(90deg, #7E0D0D 0%, #C61F1F 100%); } .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: 26px; font-weight: 800; letter-spacing: 1px; color: #FFF1E8; text-decoration: none; text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); } .logo:hover { color: var(--color-gold); } .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-align: center; text-decoration: none; border: none; cursor: pointer; border-radius: 8px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; } .btn:hover { transform: translateY(-1px); filter: brightness(1.06); } .btn-login { padding: 10px 18px; font-size: 14px; color: #FFF1E8; background-color: transparent; border: 2px solid var(--color-gold); } .btn-login:hover { background-color: rgba(243, 197, 77, 0.12); } .btn-register { padding: 10px 18px; font-size: 14px; color: #2A1212; background: var(--color-btn-gradient); box-shadow: 0 3px 10px rgba(216, 106, 20, 0.45); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background-color: #2A1212; border-top: 1px solid var(--color-border); border-bottom: 2px solid var(--color-primary); } .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; position: relative; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; } .nav-menu li { display: flex; align-items: center; height: 100%; } .nav-menu a { display: inline-flex; align-items: center; height: 100%; padding: 0 11px; font-size: 14px; font-weight: 600; color: #FFF1E8; text-decoration: none; position: relative; transition: color 0.2s ease; white-space: nowrap; } .nav-menu a:hover { color: var(--color-gold); } .nav-menu a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--color-gold); transform: scaleX(0); transform-origin: center; transition: transform 0.25s ease; } .nav-menu a:hover::after { transform: scaleX(1); } .hamburger-menu { display: none; width: 42px; height: 42px; padding: 8px; border: 1px solid var(--color-border); border-radius: 8px; background-color: #1A0E0E; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: center; z-index: 1001; box-sizing: border-box; } .hamburger-line { display: block; width: 100%; height: 3px; border-radius: 2px; background-color: var(--color-gold); transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background-color: #140C0C; color: #FFF1E8; border-top: 3px solid var(--color-primary); font-size: 14px; line-height: 1.65; } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 44px 0 28px; background-color: #1A0E0E; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--color-gold); text-decoration: none; margin-bottom: 12px; } .footer-logo:hover { color: #FFF1E8; } .footer-description { margin: 0 0 12px; color: #E8CFC4; font-size: 13.5px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--color-gold); letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #FFF1E8; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--color-gold); padding-left: 4px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { padding: 20px 0; background-color: #140C0C; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; } .footer-bottom { background-color: #0D0707; border-top: 1px solid var(--color-border); padding: 18px 0; } .footer-copyright { margin: 0; text-align: center; color: #C9AFA6; font-size: 13px; } @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 { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 110px); font-size: 22px; } .logo img { display: block !important; 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: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #1A0E0E; min-height: 48px; } .mobile-nav-buttons .btn { flex: 1 1 0; 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; position: fixed; top: 108px; left: 0; width: 100%; display: none; flex-direction: column; background-color: #2A1212; border-top: 1px solid var(--color-border); z-index: 1000; overflow-y: auto; max-height: calc(100vh - 108px); height: auto !important; } .main-nav.active { display: block; } .nav-container { width: 100%; max-width: none; padding: 12px 15px; height: auto; display: block; } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .nav-menu { display: none; flex-direction: column; gap: 0; width: 100%; height: auto; align-items: stretch; } .main-nav.active .nav-menu { display: flex; } .nav-menu li { width: 100%; height: auto; border-bottom: 1px solid var(--color-border); } .nav-menu a { display: block; width: 100%; padding: 13px 6px; font-size: 15px; } .nav-menu a::after { display: none; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding: 0 15px; } .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: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: 1fr; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
