:root { --header-top-bg: #0A0A0A; --header-nav-bg: #1A1A1A; --header-text: #F1D27D; --header-text-hover: #FFD86A; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --btn-text: #111111; --btn-hover-bg: linear-gradient(180deg, #EBC45A 0%, #C88E16 100%); --footer-bg: #0A0A0A; --footer-text: #FFF6D6; --footer-heading-text: #F2C14E; --footer-link-text: #D5C09A; --footer-border: #3A2A12; --header-height-top: 68px; --header-height-nav: 52px; --header-offset: 122px; --header-offset-mobile: 110px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #0A0A0A; color: #FFF6D6; font-family: 'system-ui', -apple-system, 'Segoe UI', Roboto, Verdana, Arial, sans-serif; line-height: 1.5; padding-top: var(--header-offset); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #0A0A0A; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); } .header-top { background-color: var(--header-top-bg); width: 100%; min-height: 68px; display: flex; align-items: center; border-bottom: 1px solid #3A2A12; } .header-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding-left: 20px; padding-right: 20px; flex-wrap: wrap; } .logo { display: inline-block; font-size: 1.9rem; font-weight: 800; color: #F2C14E; text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); } .logo:hover { color: #FFD86A; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; padding: 10px 22px; font-size: 0.9rem; font-weight: 700; border-radius: 6px; border: none; cursor: default; transition: all 0.3s ease; letter-spacing: 1px; } .btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; box-shadow: 0 0 6px rgba(255, 211, 107, 0.4); } .btn-register:hover { background: linear-gradient(180deg, #FFD36B 0%, #DDA11D 100%); box-shadow: 0 0 8px rgba(255, 211, 107, 0.7); } .btn-download { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; } .btn-download:hover { background: linear-gradient(180deg, #FFD36B 0%, #C88E16 100%); } .main-nav { background-color: var(--header-nav-bg); width: 100%; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid #3A2A12; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 10px 20px; flex-wrap: wrap; } .nav-link { display: inline-block; padding: 8px 24px; color: #FFF6D6; font-size: 0.95rem; font-weight: 600; text-decoration: none; border-radius: 4px; transition: color 0.3s ease, background-color 0.3s ease; letter-spacing: 0.5px; } .nav-link:hover { color: #111111; background-color: #F2C14E; text-shadow: 0 0 4px rgba(242, 193, 78, 0.8); } .mobile-nav-buttons { display: none; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } @media (max-width: 768px) { body { padding-top: 110px; } .site-header { background-color: #0A0A0A; } .header-top { min-height: 60px; } .header-container { width: 100%; max-width: none; padding: 8px 12px; } .logo { flex: 1; text-align: center; font-size: 1.6rem; } .desktop-nav-buttons { display: none; } .main-nav { display: none; flex-direction: column; position: fixed; top: 108px; left: 0; width: 80%; max-width: 320px; height: calc(100vh - 108px); background-color: #111; z-index: 1000; transform: translateX(-100%); transition: transform 0.35s ease; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.7); border-right: 1px solid #3A2A12; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 12px 8px; flex-direction: column; align-items: flex-start; } .nav-link { padding: 14px 24px; width: 100%; border-bottom: 1px solid #3A2A12; color: #FFF6D6; } .nav-link:hover { background-color: #F2C14E; color: #111; } .mobile-nav-buttons { display: flex; padding: 8px 20px; background-color: #111; border-bottom: 1px solid #3A2A12; gap: 12px; z-index: 1000; } .mobile-nav-buttons .btn { flex: 1; text-align: center; padding: 10px 16px; font-size: 0.9rem; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 34px; height: 34px; cursor: default; z-index: 1002; background: transparent; border: 1px solid #3A2A12; border-radius: 8px; } .hamburger-menu span { display: block; width: 22px; height: 2px; background-color: #F2C14E; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.65); z-index: 999; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { visibility: visible; opacity: 1; } .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;
}
