:root { --header-offset: 122px; --color-primary: #C61F1F; --color-secondary: #E53030; --color-card-bg: #2A1212; --color-bg: #140C0C; --color-text-main: #FFF1E8; --color-border: #6A1E1E; --color-gold: #F3C54D; --color-deep-red: #7E0D0D; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); 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-shadow: 0 4px 20px rgba(0,0,0,0.7); background-color: var(--color-bg); } .header-top { box-sizing: border-box; width: 100%; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-deep-red); border-bottom: 1px 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: 24px; padding-right: 24px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: var(--color-gold); text-decoration: none; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0,0,0,0.5); } .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; text-align: center; border-radius: 999px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; border: none; font-size: 14px; line-height: 1.2; } .btn-login { background: transparent; color: var(--color-text-main); border: 1px solid var(--color-gold); padding: 10px 20px; } .btn-login:hover { background-color: rgba(243,197,77,0.12); transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #2A1212; padding: 10px 22px; box-shadow: 0 4px 14px rgba(216,106,20,0.45); } .btn-register:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(216,106,20,0.6); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .hamburger-menu { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-border); border-radius: 8px; padding: 10px; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 2px; background-color: var(--color-gold); margin: 5px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .main-nav { box-sizing: border-box; width: 100%; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-card-bg); border-bottom: 1px solid var(--color-border); } .nav-container { box-sizing: border-box; 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-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 22px; } .nav-list li { display: inline-block; } .nav-list a { display: inline-block; text-decoration: none; color: var(--color-text-main); font-size: 15px; font-weight: 600; padding: 6px 2px; position: relative; white-space: nowrap; transition: color .2s ease; } .nav-list a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-gold); transition: width .25s ease; } .nav-list a:hover { color: var(--color-gold); } .nav-list a:hover::after { width: 100%; } .menu-overlay { position: fixed; inset: 0; background-color: rgba(0,0,0,0.65); z-index: 999; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--color-card-bg); color: var(--color-text-main); border-top: 2px solid var(--color-border); } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 44px 0 28px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: var(--color-gold); text-decoration: none; text-transform: uppercase; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: var(--color-text-main); opacity: .85; word-wrap: break-word; overflow-wrap: break-word; margin: 0; } .footer-title { font-size: 16px; font-weight: 700; color: var(--color-gold); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .5px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav a { display: inline-block; text-decoration: none; color: var(--color-text-main); font-size: 14px; opacity: .85; transition: color .2s ease, opacity .2s ease; } .footer-nav a:hover { color: var(--color-gold); opacity: 1; } .footer-mid { padding: 8px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { background-color: var(--color-deep-red); border-top: 1px solid var(--color-border); padding: 18px 0; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: var(--color-text-main); opacity: .9; } @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; 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: 6px 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; } .hamburger-menu { display: block; position: relative; z-index: 1002; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; min-height: 100vh; background-color: var(--color-card-bg); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 90px 20px 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; z-index: 1001; border-bottom: none; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; padding: 0; display: block; } .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; } .nav-list li { display: block; width: 100%; } .nav-list a { display: block; width: 100%; padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--color-border); } .nav-list a::after { display: none; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-container { padding-left: 15px; padding-right: 15px; } .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;
}
