:root { --header-offset: 122px; --color-primary: #FF8C1A; --color-secondary: #FFA53A; --color-bg: #0D0E12; --color-card-bg: #17191F; --color-text-main: #FFF3E6; --color-border: #A84F0C; --color-glow: #FFB04D; --color-deep-orange: #D96800; --color-btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } 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 20px rgba(0,0,0,0.6); background-color: #0D0E12; } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; width: 100%; border-bottom: 1px solid #A84F0C; } .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: 30px; font-weight: 800; color: #FF8C1A; text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 12px rgba(255,140,26,0.45); } .logo:hover { color: #FFA53A; } .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-decoration: none; font-weight: 700; border-radius: 8px; border: 1px solid #A84F0C; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; white-space: nowrap; } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 14px; } .btn-login { background: transparent; color: #FFB04D; border: 1px solid #FF8C1A; } .btn-login:hover { background: rgba(255,140,26,0.12); transform: translateY(-1px); } .btn-register { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #1A0E00; border: 1px solid #FFB04D; box-shadow: 0 4px 14px rgba(255,140,26,0.35); } .btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,140,26,0.5); opacity: 0.95; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #FFA53A; 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; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; width: 100%; border-bottom: 1px solid #A84F0C; } .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; gap: 6px; padding: 0 20px; } .nav-link { display: inline-block; padding: 8px 14px; color: #FFF3E6; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; transition: color 0.2s ease, background-color 0.2s ease; white-space: nowrap; } .nav-link:hover { color: #FFB04D; background-color: rgba(255,140,26,0.12); } .nav-link.active { color: #FF8C1A; background-color: rgba(255,140,26,0.16); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0D0E12; color: #FFF3E6; border-top: 1px solid #A84F0C; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; box-sizing: border-box; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FF8C1A; text-decoration: none; margin-bottom: 12px; letter-spacing: 1px; } .footer-about .footer-logo:hover { color: #FFA53A; } .footer-description { font-size: 13px; line-height: 1.7; color: #C9BCA9; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { font-size: 15px; font-weight: 700; color: #FFA53A; margin: 0 0 14px; position: relative; padding-bottom: 8px; } .footer-col-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: linear-gradient(90deg, #FF8C1A, transparent); } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #C9BCA9; text-decoration: none; font-size: 13px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #FFB04D; padding-left: 4px; } .footer-mid { margin-bottom: 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; } .footer-slot-anchor, .footer-slot-anchor-inner { display: block; min-height: 1px; } .footer-bottom { border-top: 1px solid #A84F0C; padding-top: 18px; text-align: center; } .footer-bottom p { margin: 0; font-size: 13px; color: #8A7E6E; } @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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; } .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; align-items: center; justify-content: center; min-height: 48px; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0D0E12; border-bottom: 1px solid #A84F0C; } .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; height: 100vh; min-height: 100vh; width: 280px; max-width: 82vw; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 16px 24px; background-color: #17191F; border-right: 1px solid #A84F0C; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-sizing: border-box; z-index: 1001; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; width: 100%; max-width: none; padding: 0; gap: 4px; } .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; box-sizing: border-box; border-bottom: 1px solid rgba(168,79,12,0.3); } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .footer-container { padding: 30px 16px 16px; } .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;
}
