:root { --header-offset: 122px; --primary: #C91F17; --secondary: #E53935; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); --card-bg: #D32F2F; --bg: #B71C1C; --text-main: #FFF5E1; --border-color: #F2B544; --glow: #FFCC66; --gold: #F4D34D; --deep-red: #7A0E0E; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0,0,0,0.45); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #7A0E0E; width: 100%; border-bottom: 2px solid #F2B544; } .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: 28px; font-weight: 800; letter-spacing: 1px; color: #F4D34D; text-decoration: none; text-shadow: 0 0 12px rgba(255,204,102,0.55); white-space: nowrap; } .logo:hover { color: #FFCC66; } .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; text-align: center; font-weight: 700; border-radius: 8px; border: 1px solid #F2B544; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; box-sizing: border-box; } .desktop-nav-buttons .btn { padding: 10px 24px; font-size: 15px; } .btn-login { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #5A0A0A; box-shadow: 0 2px 10px rgba(255,204,102,0.4); } .btn-register { background: linear-gradient(180deg, #FF6B5B 0%, #C91F17 100%); color: #FFF5E1; box-shadow: 0 2px 10px rgba(201,31,23,0.5); } .btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 4px 16px rgba(255,204,102,0.6); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #C91F17; 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; flex-wrap: nowrap; } .nav-link { display: inline-block; color: #FFF5E1; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background-color: #7A0E0E; color: #FFCC66; } .hamburger-menu { display: none; } .overlay { display: none; } .site-footer { background-color: #7A0E0E; color: #FFF5E1; margin-top: 0; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding-top: 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(242,181,68,0.35); } .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; color: #F4D34D; text-decoration: none; margin-bottom: 14px; text-shadow: 0 0 10px rgba(255,204,102,0.5); } .footer-logo:hover { color: #FFCC66; } .footer-description { font-size: 14px; line-height: 1.7; color: #FFF5E1; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 17px; font-weight: 700; color: #FFCC66; margin: 0 0 14px 0; padding-bottom: 8px; border-bottom: 2px solid #F2B544; display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #FFF5E1; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: #FFCC66; padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { width: 100%; } .footer-mid { padding: 24px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { background-color: #5A0A0A; border-top: 1px solid #F2B544; padding: 18px 20px; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #FFF5E1; } @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 { 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% - 110px); font-size: 22px; } .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; min-height: 48px; background-color: #7A0E0E; border-bottom: 1px solid #F2B544; } .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; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; max-width: 100%; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; overflow-x: hidden; transform: translateX(-100%); transition: transform 0.3s ease; background-color: #C91F17; z-index: 1001; height: auto !important; max-height: calc(100vh - var(--header-offset)); padding: 10px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.5); } .main-nav.active { display: flex !important; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; gap: 0; } .nav-link { display: block; width: 100%; padding: 14px 24px; font-size: 16px; border-radius: 0; border-bottom: 1px solid rgba(242,181,68,0.25); } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1002; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 0; } .hamburger-line { display: block; width: 24px; height: 3px; background-color: #F4D34D; border-radius: 2px; transition: transform 0.3s ease, opacity 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); } .overlay { display: none; position: fixed; top: var(--header-offset); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 999; } .overlay.active { display: block; } .footer-top { padding-top: 32px; padding-bottom: 24px; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .footer-bottom { padding: 16px 12px; } 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;
}
