:root { --header-offset: 122px; --color-primary: #C61F1F; --color-secondary: #E53030; --color-button: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); --color-card-bg: #2A1212; --color-bg: #140C0C; --color-text-main: #FFF1E8; --color-border: #6A1E1E; --color-gold: #F3C54D; --color-deep-red: #7E0D0D; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--color-bg); color: var(--color-text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-sizing: border-box; background-color: #140C0C; box-shadow: 0 4px 20px rgba(0,0,0,0.6); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #7E0D0D; 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; } .logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--color-gold); text-decoration: none; letter-spacing: 1px; text-transform: lowercase; } .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; text-align: center; border-radius: 6px; cursor: pointer; transition: all 0.25s ease; border: none; background: var(--color-button); color: #2A1212; padding: 10px 22px; font-size: 14px; line-height: 1.2; white-space: nowrap; box-shadow: 0 2px 8px rgba(216,106,20,0.4); } .btn:hover { background: linear-gradient(180deg, #FFC670 0%, #E07A20 100%); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(216,106,20,0.6); color: #1a0a0a; } .btn-login { background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); } .btn-register { background: linear-gradient(180deg, #F3C54D 0%, #C61F1F 100%); color: #FFF1E8; } .btn-register:hover { background: linear-gradient(180deg, #FFD966 0%, #E53030 100%); color: #FFF1E8; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #2A1212; width: 100%; border-top: 1px solid var(--color-border); } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; } .nav-link { display: inline-block; color: var(--color-text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: all 0.25s ease; white-space: nowrap; } .nav-link:hover { background-color: rgba(198,31,31,0.35); color: var(--color-gold); } .nav-link.active { background-color: var(--color-primary); color: #FFFFFF; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; position: absolute; top: 14px; left: 12px; flex-direction: column; justify-content: space-around; width: 40px; height: 40px; } .hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--color-gold); border-radius: 2px; transition: all 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); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: var(--color-bg); color: var(--color-text-main); border-top: 3px solid var(--color-primary); margin-top: 40px; } .footer-top-row { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; gap: 12px; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--color-gold); text-decoration: none; letter-spacing: 1px; text-transform: lowercase; } .footer-logo:hover { color: #FFD966; } .footer-description { font-size: 14px; line-height: 1.7; color: #D8C0B8; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: var(--color-gold); margin: 0 0 12px 0; 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 { color: #E8CFC7; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--color-gold); text-decoration: underline; } .footer-slot-anchor-inner { min-height: 0; } .footer-dynamic-col { min-height: 1px; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; } .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 20px; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #C9AFA6; } #copyright-year, .copyright-year { font-weight: 700; color: var(--color-gold); } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; position: relative; } .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; font-size: 24px; } .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #7E0D0D; } .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; } .hamburger-menu { display: flex; position: absolute; top: 50%; left: 12px; transform: translateY(-50%); z-index: 1002; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh; min-height: 100vh; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding-top: calc(var(--header-offset) + 10px); background-color: #1E0E0E; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; border-top: none; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; height: auto; max-width: none; width: 100%; gap: 0; } .nav-link { padding: 14px 24px; font-size: 15px; border-radius: 0; border-bottom: 1px solid var(--color-border); } .nav-link:hover { background-color: rgba(198,31,31,0.5); } .menu-overlay.active { display: block; opacity: 1; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 20px 16px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .footer-heading { font-size: 15px; } body.no-scroll { overflow: hidden; } .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;
}
