:root { --header-offset: 122px; --color-primary: #C91F17; --color-secondary: #E53935; --color-card-bg: #D32F2F; --color-bg: #B71C1C; --color-text-main: #FFF5E1; --color-border: #F2B544; --color-glow: #FFCC66; --color-gold: #F4D34D; --color-deep-red: #7A0E0E; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); overflow-x: hidden; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--color-bg); color: var(--color-text-main); } a { text-decoration: none; color: inherit; } .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.5); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-deep-red); border-bottom: 1px solid var(--color-border); } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 24px; padding-right: 24px; box-sizing: border-box; } .logo { display: inline-block; font-size: 26px; font-weight: 900; letter-spacing: 0.5px; color: var(--color-gold); text-transform: none; text-shadow: 0 0 10px rgba(255,204,102,0.6); white-space: nowrap; } .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; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; } .btn-login { background: transparent; color: var(--color-gold); border: 2px solid var(--color-border); } .btn-login:hover { background: rgba(242,181,68,0.15); box-shadow: 0 0 12px rgba(255,204,102,0.5); } .btn-register { background: var(--btn-gradient); color: var(--color-deep-red); border: 1px solid var(--color-border); box-shadow: 0 3px 10px rgba(230,184,0,0.4); } .btn-register:hover { filter: brightness(1.1); box-shadow: 0 0 16px rgba(255,204,102,0.8); transform: translateY(-1px); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 32px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 3px; 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(10.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); } .mobile-nav-buttons { display: none; min-height: 48px; } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-primary); border-bottom: 2px solid var(--color-border); } .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; box-sizing: border-box; gap: 4px; } .nav-link { display: inline-block; padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--color-text-main); border-radius: 6px; transition: all 0.2s ease; white-space: nowrap; } .nav-link:hover { color: var(--color-gold); background-color: rgba(255,204,102,0.12); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.6); z-index: 999; } .nav-overlay.active { display: block; } .site-footer { width: 100%; background-color: var(--color-deep-red); color: var(--color-text-main); border-top: 3px solid var(--color-border); } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .footer-top { padding: 40px 0 20px; background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 20px; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 24px; font-weight: 900; color: var(--color-gold); text-shadow: 0 0 10px rgba(255,204,102,0.5); margin-bottom: 12px; } .footer-description { font-size: 14px; line-height: 1.6; color: var(--color-text-main); word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 12px; opacity: 0.9; } .footer-heading { font-size: 16px; font-weight: 700; color: var(--color-gold); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { font-size: 14px; color: var(--color-text-main); opacity: 0.85; transition: color 0.2s ease, opacity 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--color-gold); opacity: 1; } .footer-mid { padding: 20px 0; background-color: var(--color-bg); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 16px 0; } .footer-bottom { padding: 18px 0; background-color: #5C0808; border-top: 1px solid var(--color-border); text-align: center; } .footer-copyright { font-size: 13px; color: var(--color-text-main); opacity: 0.8; margin: 0; } .footer-slot-anchor-inner { min-height: 1px; } @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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 22px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; min-height: 48px; 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-deep-red); 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 { height: auto; min-height: 48px; display: none; position: fixed; top: 0; left: 0; width: 100%; max-width: 100%; height: 100vh; background-color: var(--color-deep-red); flex-direction: column; justify-content: flex-start; padding-top: 80px; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1000; } .main-nav.active { display: flex !important; transform: translateX(0) !important; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; gap: 0; } .nav-link { display: block; width: 100%; padding: 14px 18px; font-size: 16px; border-bottom: 1px solid rgba(242,181,68,0.2); border-radius: 0; text-align: left; } .nav-overlay { display: none; } .nav-overlay.active { display: block; } .footer-top { padding: 30px 0 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; gap: 12px; } .footer-container { padding: 0 15px; } } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
