:root { --header-offset: 122px; --color-primary: #C61F1F; --color-secondary: #E53030; --color-bg: #140C0C; --color-card: #2A1212; --color-text: #FFF1E8; --color-gold: #F3C54D; --color-border: #6A1E1E; --color-deep-red: #7E0D0D; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--color-bg); color: var(--color-text); font-family: var(--font-body); overflow-x: hidden; } a { color: inherit; text-decoration: none; } ul { list-style: none; margin: 0; padding: 0; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--color-deep-red); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6); border-bottom: 2px solid var(--color-gold); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-deep-red); } .header-container { 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: 30px; font-weight: 900; letter-spacing: 1px; color: var(--color-gold); text-transform: lowercase; line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); } .logo:hover { color: #ffffff; } .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: 11px 24px; font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.15); background-image: var(--btn-gradient); color: #2A1212; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; box-shadow: 0 3px 10px rgba(216, 106, 20, 0.35); white-space: nowrap; } .btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 16px rgba(255, 176, 74, 0.45); } .btn-login { background-image: linear-gradient(180deg, #FFD98A 0%, #F3C54D 100%); color: #4A0A0A; } .btn-register { background-image: var(--btn-gradient); color: #2A1212; } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-primary); position: relative; } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; height: 100%; } .nav-menu li { height: 100%; } .nav-link { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--color-text); white-space: nowrap; border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--color-gold); border-bottom-color: var(--color-gold); background-color: rgba(0, 0, 0, 0.18); } .hamburger-menu { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; height: 3px; border-radius: 2px; background-color: var(--color-gold); 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-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: var(--color-card); color: var(--color-text); border-top: 3px solid var(--color-border); padding: 40px 0 0; margin: 40px 0 0; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 900; color: var(--color-gold); letter-spacing: 1px; margin-bottom: 14px; text-transform: lowercase; } .footer-logo:hover { color: #ffffff; } .footer-description { font-size: 14px; line-height: 1.7; color: rgba(255, 241, 232, 0.82); margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 800; color: var(--color-gold); margin: 0 0 14px; letter-spacing: 0.5px; border-left: 3px solid var(--color-gold); padding-left: 10px; } .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-nav a { font-size: 14px; color: rgba(255, 241, 232, 0.85); transition: color 0.2s ease, padding-left 0.2s ease; padding-left: 0; } .footer-nav a:hover { color: var(--color-gold); padding-left: 4px; } .footer-mid-area { margin-top: 30px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-dynamic-col { min-width: 0; } .footer-bottom { margin-top: 30px; padding: 20px 15px; background-color: var(--color-deep-red); border-top: 1px solid var(--color-border); text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: rgba(255, 241, 232, 0.8); line-height: 1.6; } @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; height: 100%; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 26px; max-width: calc(100% - 110px); } .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; min-height: 48px; } .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 !important; min-height: 48px !important; justify-content: flex-start; overflow: visible; } .hamburger-menu { display: flex; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); } .nav-container { width: 100%; max-width: none; padding: 0; height: 100%; } .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 78%; max-width: 320px; height: 100vh; background-color: var(--color-primary); padding: 80px 0 30px; gap: 0; overflow-y: auto; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; align-items: stretch; justify-content: flex-start; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5); } .nav-menu.active { display: flex; transform: translateX(0); } .nav-menu li { height: auto; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link { display: block; padding: 14px 24px; font-size: 15px; border-bottom: none; } .nav-link:hover, .nav-link.active { background-color: rgba(0, 0, 0, 0.25); border-bottom: none; } .footer-container { padding: 0 18px; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-nav { gap: 8px; } .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;
}
