.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); background-color: #0A0A0A; } .header-top { background-color: #111111; border-bottom: 2px solid #3A2A12; width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; } .logo { font-size: 28px; font-weight: 800; color: #F2C14E; text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 15px rgba(242, 193, 78, 0.4); display: inline-block; } .logo:hover { color: #FFD36B; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; color: #0A0A0A; background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); transition: transform 0.2s, box-shadow 0.2s; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4); } .btn-login { background: transparent; border: 2px solid #F2C14E; color: #F2C14E; } .btn-login:hover { background-color: rgba(242, 193, 78, 0.1); } .main-nav { background-color: #111111; width: 100%; display: flex; border-top: 1px solid #3A2A12; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; gap: 5px; } .nav-link { color: #FFF6D6; text-decoration: none; padding: 8px 16px; font-size: 14px; font-weight: 500; border-radius: 4px; transition: color 0.2s, background-color 0.2s; } .nav-link:hover { color: #0A0A0A; background-color: #F2C14E; } .mobile-nav-buttons { display: none; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .site-footer { background-color: #0A0A0A; color: #FFF6D6; padding: 40px 20px 20px; border-top: 3px solid #3A2A12; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .footer-logo { font-size: 24px; font-weight: 700; color: #F2C14E; text-decoration: none; display: inline-block; margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.6; color: #FFF6D6; opacity: 0.8; } .footer-heading { color: #F2C14E; font-size: 18px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #3A2A12; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #FFF6D6; text-decoration: none; font-size: 14px; transition: color 0.2s; } .footer-nav a:hover { color: #FFD36B; text-decoration: underline; } .footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #3A2A12; font-size: 14px; color: #FFF6D6; opacity: 0.8; } body { padding-top: 122px; } :root { --header-offset: 122px; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: 110px; max-width: 100%; overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } .header-top { background-color: #111111; } .header-container { width: 100%; max-width: none; padding: 8px 15px; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 24px; flex: 1; text-align: center; } .desktop-nav-buttons { display: none; } .main-nav { display: none; position: fixed; top: 60px; left: 0; width: 80%; height: calc(100vh - 60px); background-color: #111111; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 20px 0; transform: translateX(-100%); transition: transform 0.3s ease; border-top: 2px solid #3A2A12; z-index: 1005; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; width: 100%; max-width: none; padding: 0 20px; gap: 5px; align-items: stretch; } .nav-link { padding: 12px 15px; border-radius: 4px; text-align: left; font-size: 15px; border-bottom: 1px solid rgba(242, 193, 78, 0.1); } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 8px 15px; background-color: #111111; border-top: 1px solid #3A2A12; } .mobile-nav-buttons .btn { padding: 8px 20px; font-size: 13px; } .hamburger-menu { display: block; position: fixed; top: 10px; left: 15px; z-index: 1006; width: 40px; height: 40px; background: transparent; border: 2px solid #F2C14E; border-radius: 6px; cursor: pointer; padding: 8px; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #F2C14E; margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; border-radius: 2px; } .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); } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 10, 10, 0.7); z-index: 1004; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .footer-container { grid-template-columns: 1fr; gap: 25px; } .footer-bottom { font-size: 13px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
