:root { --primary: #C61F1F; --secondary: #E53030; --bg: #140C0C; --card-bg: #2A1212; --text-main: #FFF1E8; --border: #6A1E1E; --gold: #F3C54D; --deep-red: #7E0D0D; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; } .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.6); background-color: var(--card-bg); border-bottom: 1px solid var(--border); } .header-top { box-sizing: border-box; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--deep-red); width: 100%; border-bottom: 1px solid var(--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: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); 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; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 20px; font-size: 14px; color: #1A0A0A; background: var(--btn-gradient); border: 1px solid #FFD58A; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.4); white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(243,197,77,0.45); filter: brightness(1.08); } .btn-login { background: transparent; color: var(--gold); border: 2px solid var(--gold); } .btn-login:hover { background: rgba(243,197,77,0.12); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-direction: column; gap: 5px; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--gold); border-radius: 2px; 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); } .main-nav { box-sizing: border-box; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; } .nav-link { display: inline-block; padding: 8px 12px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: color 0.25s ease, background-color 0.25s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: var(--gold); background-color: rgba(243,197,77,0.12); } .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; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--card-bg); color: var(--text-main); border-top: 3px solid var(--gold); margin-top: 40px; } .footer-top { padding: 50px 0 30px; background-color: #1E0D0D; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; width: 100%; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--gold); text-decoration: none; margin-bottom: 16px; letter-spacing: 1px; } .footer-description { font-size: 14px; line-height: 1.7; color: #E8CFC0; word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 16px; } .footer-title { font-size: 16px; font-weight: 700; color: var(--gold); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--border); } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #E8CFC0; text-decoration: none; font-size: 14px; transition: color 0.25s ease, padding-left 0.25s ease; display: inline-block; } .footer-nav a:hover { color: var(--gold); padding-left: 4px; } .footer-dynamic-col { min-height: 1px; } .footer-mid { padding: 30px 0; background-color: var(--card-bg); border-top: 1px solid var(--border); } .footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { background-color: var(--deep-red); padding: 20px 0; border-top: 1px solid var(--border); } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #F5D9C9; } @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; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 90px); font-size: 22px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; position: relative; z-index: 1002; } .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(--deep-red); border-bottom: 1px solid var(--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 { display: none; position: fixed; top: 0; left: 0; width: 85%; max-width: 320px; height: 100vh; min-height: 100vh; background-color: var(--card-bg); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 90px 0 30px; overflow-y: auto; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; border-right: 2px solid var(--gold); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; width: 100%; max-width: none; padding: 0 15px; gap: 0; } .nav-link { display: block; width: 100%; padding: 14px 16px; font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0; } .site-header { overflow-x: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-row { grid-template-columns: repeat(2, 1fr); } .footer-container { padding: 0 18px; } .footer-logo { font-size: 22px; } } @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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
