: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; --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; background-color: var(--color-card-bg); box-shadow: 0 4px 20px rgba(0,0,0,0.6); border-bottom: 2px solid var(--color-border); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-deep-red); width: 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; position: relative; } .logo { display: inline-block; font-family: 'Segoe UI', Arial, sans-serif; font-size: 30px; font-weight: 900; color: var(--color-gold); text-decoration: none; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0,0,0,0.5); line-height: 1; } .logo:hover { color: #FFD966; } .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; font-size: 14px; padding: 10px 22px; border-radius: 6px; background: var(--btn-gradient); color: #2A1212; border: 1px solid #FFB04A; transition: all 0.25s ease; white-space: nowrap; text-align: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.35); } .btn:hover { background: linear-gradient(180deg, #FFC266 0%, #E57A1E 100%); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.45); color: #140C0C; } .btn-login { background: transparent; color: var(--color-gold); border: 1px solid var(--color-gold); box-shadow: none; } .btn-login:hover { background: var(--color-gold); color: #2A1212; } .hamburger-menu { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; width: 40px; height: 34px; z-index: 1001; position: relative; } .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: var(--color-gold); border-radius: 2px; transition: all 0.3s ease; transform-origin: center; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-card-bg); width: 100%; border-top: 1px solid var(--color-border); } .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; } .nav-link { display: inline-block; text-decoration: none; color: var(--color-text-main); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 5px; transition: all 0.2s ease; white-space: nowrap; line-height: 1.2; } .nav-link:hover, .nav-link.active { color: var(--color-gold); background-color: rgba(243,197,77,0.12); } .site-footer { background-color: var(--color-bg); color: var(--color-text-main); border-top: 3px solid var(--color-border); } .footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 900; color: var(--color-gold); text-decoration: none; margin-bottom: 12px; letter-spacing: 1px; } .footer-logo:hover { color: #FFD966; } .footer-description { font-size: 14px; line-height: 1.7; color: var(--color-text-main); opacity: 0.85; word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 12px; } .footer-col-title { font-size: 16px; font-weight: 700; color: var(--color-gold); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border); } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; } .footer-nav a { display: inline-block; color: var(--color-text-main); text-decoration: none; font-size: 14px; padding: 2px 0; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--color-gold); } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { margin-bottom: 24px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { border-top: 1px solid var(--color-border); padding-top: 20px; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: var(--color-text-main); opacity: 0.75; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .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% - 120px); font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex !important; 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%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--color-card-bg); } .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 { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; background-color: var(--color-card-bg); flex-direction: column; justify-content: flex-start; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding-top: 20px; overflow-y: auto; border-right: 2px solid var(--color-border); box-shadow: 4px 0 20px rgba(0,0,0,0.6); } .main-nav.active { display: block !important; transform: translateX(0) !important; } .nav-container { width: 100%; max-width: none; height: auto; min-height: 100%; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 10px 15px; gap: 0; } .nav-link { display: block; width: 100%; box-sizing: border-box; padding: 14px 16px; font-size: 15px; border-bottom: 1px solid var(--color-border); border-radius: 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-container { padding: 30px 16px 16px; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } } .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block !important; opacity: 1; } body.no-scroll { overflow: 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;
}
