:root { --header-offset: 122px; --primary: #C61F1F; --secondary: #E53030; --card-bg: #2A1212; --bg-main: #140C0C; --text-main: #FFF1E8; --border-color: #6A1E1E; --gold: #F3C54D; --deep-red: #7E0D0D; --btn-grad: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,.6); background-color: var(--deep-red); } .header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #7E0D0D 0%, #C61F1F 100%); width: 100%; border-bottom: 1px solid var(--border-color); } .header-container { 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-flex; align-items: center; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: var(--gold); text-decoration: none; text-shadow: 0 2px 6px rgba(0,0,0,.5); } .logo:hover { color: #FFE08A; } .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-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 22px; font-size: 14px; line-height: 1.2; cursor: pointer; border: none; transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; box-sizing: border-box; } .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.35); } .btn-login { background: transparent; color: var(--gold); border: 2px solid var(--gold); } .btn-login:hover { background: rgba(243,197,77,.12); } .btn-register { background: var(--btn-grad); color: #2A1212; border: 2px solid transparent; box-shadow: 0 3px 10px rgba(216,106,20,.45); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #2A1212; width: 100%; border-bottom: 1px solid var(--border-color); } .nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; } .nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; flex-wrap: nowrap; } .nav-menu li { display: flex; } .nav-link { display: inline-block; text-decoration: none; color: var(--text-main); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: color .2s ease, background .2s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(243,197,77,.1); } .hamburger-menu { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background: var(--gold); border-radius: 2px; transition: transform .3s ease, opacity .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; } .site-footer { background: linear-gradient(180deg, #2A1212 0%, #140C0C 100%); border-top: 2px solid var(--border-color); color: var(--text-main); padding: 40px 0 0; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 28px; font-weight: 900; color: var(--gold); text-decoration: none; margin-bottom: 14px; letter-spacing: 1px; } .footer-description { font-size: 14px; line-height: 1.7; color: #D9C4B4; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 800; color: var(--gold); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #EAD9CC; text-decoration: none; font-size: 14px; transition: color .2s ease; } .footer-nav a:hover { color: var(--gold); text-decoration: underline; } .footer-slot-anchor, .footer-slot-anchor-inner { min-height: 0; } .footer-mid-area { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-color); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; } .footer-bottom { margin-top: 28px; padding: 18px 24px; border-top: 1px solid var(--border-color); background: #0E0808; text-align: center; font-size: 13px; color: #C8B5A6; } .footer-bottom p { margin: 0; } @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; } .logo img { max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; min-height: 48px; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #2A1212; border-bottom: 1px solid var(--border-color); } .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; background: transparent; border-bottom: none; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; } .nav-menu { display: none; } .main-nav .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background: #2A1212; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 80px 20px 20px; margin: 0; z-index: 1001; transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.6); gap: 0; } .main-nav.active .nav-menu { display: flex; transform: translateX(0); } .nav-menu li { width: 100%; border-bottom: 1px solid var(--border-color); } .nav-link { display: block; width: 100%; padding: 14px 12px; font-size: 15px; border-radius: 0; } .nav-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); z-index: 999; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .footer-container { padding: 0 15px; } .footer-description { font-size: 13px; } .footer-nav a { font-size: 13px; } .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;
}
