:root { --header-offset: 122px; --color-primary: #C91F17; --color-secondary: #E53935; --color-bg: #B71C1C; --color-card: #D32F2F; --color-text: #FFF5E1; --color-border: #F2B544; --color-gold: #F4D34D; --color-glow: #FFCC66; --color-deep-red: #7A0E0E; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); } *, *::before, *::after { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; } .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.45); background-color: var(--color-bg); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background: linear-gradient(180deg, #C91F17 0%, #9E150F 100%); border-bottom: 2px solid var(--color-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: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 32px; font-weight: 900; letter-spacing: 1px; color: var(--color-gold); text-decoration: none; text-transform: lowercase; text-shadow: 0 2px 6px rgba(0,0,0,0.5); line-height: 1; } .logo:hover { color: var(--color-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; } .btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 8px; text-align: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: 1px solid var(--color-border); white-space: nowrap; line-height: 1.2; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.35); filter: brightness(1.06); } .btn-login { background: transparent; color: var(--color-gold); border: 1px solid var(--color-gold); } .btn-register { background: var(--btn-gradient); color: #5A2A00; border: 1px solid #E6B800; box-shadow: 0 3px 10px rgba(0,0,0,0.3); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .hamburger-menu { display: none; background: transparent; border: none; width: 40px; height: 40px; padding: 6px; cursor: pointer; flex-direction: column; justify-content: space-between; z-index: 1001; position: relative; } .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: var(--color-gold); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) 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, #7A0E0E 0%, #5E0A0A 100%); border-top: 1px solid var(--color-border); } .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; } .nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; flex-wrap: nowrap; width: 100%; } .nav-list li { margin: 0; } .nav-link { display: inline-block; color: var(--color-text); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; } .nav-link:hover { color: var(--color-gold); background-color: rgba(242,181,68,0.15); } .nav-link.active { color: var(--color-gold); box-shadow: inset 0 -2px 0 var(--color-gold); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .site-footer { background: linear-gradient(180deg, #7A0E0E 0%, #4A0808 100%); color: var(--color-text); border-top: 3px solid var(--color-border); margin-top: 0; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 50px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 30px; font-weight: 900; color: var(--color-gold); text-decoration: none; margin-bottom: 14px; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0,0,0,0.5); } .footer-logo:hover { color: var(--color-glow); } .footer-description { font-size: 14px; line-height: 1.7; color: #FBE9D0; margin: 0 0 10px; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { font-size: 16px; font-weight: 800; color: var(--color-gold); margin: 0 0 16px; letter-spacing: 0.5px; border-bottom: 2px solid var(--color-border); padding-bottom: 8px; display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; } .footer-nav a { color: var(--color-text); text-decoration: none; font-size: 14px; line-height: 1.5; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: var(--color-gold); padding-left: 4px; } .footer-mid { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor-inner { min-height: 2px; } .footer-slot-anchor-outer { min-height: 2px; } .footer-bottom { background-color: #3E0606; border-top: 1px solid var(--color-border); padding: 18px 0; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #F3D9B8; line-height: 1.6; } @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; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .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: #9E150F; border-bottom: 1px solid var(--color-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 { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; background: linear-gradient(180deg, #5E0A0A 0%, #3E0606 100%); flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 70px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.6); border-top: none; } .main-nav.active, .main-nav.open { display: block !important; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 10px 18px; height: auto; display: block; } .nav-list { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; width: 100%; } .nav-link { display: block; padding: 12px 14px; font-size: 15px; border-radius: 8px; } .nav-link.active { box-shadow: none; background-color: rgba(242,181,68,0.18); } .menu-overlay { display: block; pointer-events: none; } .menu-overlay.active { pointer-events: auto; opacity: 1; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-container { padding: 0 18px; } .footer-top { padding: 34px 0 20px; } .footer-logo { font-size: 26px; } .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;
}
