:root { --header-offset: 122px; --c-primary: #F2C14E; --c-secondary: #FFD36B; --c-btn-grad: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --c-card-bg: #111111; --c-bg: #0A0A0A; --c-text: #FFF6D6; --c-border: #3A2A12; --c-glow: #FFD36B; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--c-bg); color: var(--c-text); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--c-card-bg); box-shadow: 0 4px 18px rgba(0,0,0,0.6), 0 1px 0 var(--c-border); border-bottom: 1px solid var(--c-border); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #0A0A0A; border-bottom: 1px solid var(--c-border); box-sizing: border-box; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 28px; padding-right: 28px; } .logo { display: inline-block; color: var(--c-primary); font-size: 22px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; text-transform: none; text-shadow: 0 0 12px rgba(242,193,78,0.35); white-space: nowrap; } .logo:hover { color: var(--c-secondary); } .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 { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 14px; font-weight: 700; border-radius: 8px; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; white-space: nowrap; } .btn-login { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); } .btn-login:hover { background: rgba(242,193,78,0.12); transform: translateY(-1px); } .btn-register { background: var(--c-btn-grad); color: #1A1206; box-shadow: 0 4px 14px rgba(221,161,29,0.45), 0 0 0 1px rgba(255,216,106,0.25) inset; } .btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(242,193,78,0.6); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #1A1206 0%, #111111 100%); box-sizing: border-box; border-top: 1px solid var(--c-border); } .nav-container { 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(--c-text); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background 0.2s ease; } .nav-link:hover { color: var(--c-secondary); background: rgba(242,193,78,0.1); } .nav-link.active { color: var(--c-primary); background: rgba(242,193,78,0.14); } .hamburger-menu { display: none; } .mobile-hamburger-wrap { display: none; } .nav-overlay { display: none; } .site-footer { background: var(--c-bg); color: var(--c-text); border-top: 1px solid var(--c-border); margin-top: 60px; } .footer-top { padding: 50px 20px 20px; } .footer-container { max-width: 1200px; margin: 0 auto; } .footer-top-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; color: var(--c-primary); font-size: 22px; font-weight: 800; text-decoration: none; margin-bottom: 14px; text-shadow: 0 0 12px rgba(242,193,78,0.3); } .footer-logo:hover { color: var(--c-secondary); } .footer-description { color: #C9BFA6; font-size: 14px; line-height: 1.7; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: var(--c-primary); font-size: 16px; font-weight: 700; margin: 0 0 16px; letter-spacing: 0.3px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #C9BFA6; font-size: 14px; text-decoration: none; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--c-secondary); } .footer-slot-anchor, .footer-slot-anchor-inner { width: 100%; min-height: 0; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 10px 20px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .footer-mid .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { text-align: center; padding: 22px 20px; border-top: 1px solid var(--c-border); background: #0A0A0A; } .footer-bottom p { margin: 0; color: #9A8F76; font-size: 13px; } @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; font-size: 19px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .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: 8px 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background: #0A0A0A; border-bottom: 1px solid var(--c-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; } .mobile-hamburger-wrap { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1001; } .hamburger-menu { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--c-primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 20px; background: #111111; border-right: 1px solid var(--c-border); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; max-width: none; height: auto; padding: 0; gap: 6px; } .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--c-border); border-radius: 0; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.65); z-index: 999; } .nav-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid { grid-template-columns: 1fr; padding: 10px 15px 15px; } .footer-top { padding: 36px 15px 15px; } .footer-bottom { padding: 18px 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; } body.no-scroll { overflow: 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;
}
