:root { --header-offset: 122px; --primary: #F2C14E; --secondary: #FFD36B; --bg-main: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-main: #3A2A12; --glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); }
body { padding-top: var(--header-offset); margin: 0; font-family: 'Inter', 'Segoe UI', Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); overflow-x: hidden; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--bg-main); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(242, 193, 78, 0.1); border-bottom: 2px solid var(--border-main); }
.header-top { background-color: #0A0A0A; width: 100%; border-bottom: 1px solid #1E1A12; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; min-height: 68px; gap: 16px; }
.logo { display: inline-block; font-size: 32px; font-weight: 900; text-decoration: none; background: linear-gradient(135deg, #FFE28A 0%, #F2C14E 40%, #B8860B 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 12px rgba(242, 193, 78, 0.3); letter-spacing: 2px; font-family: 'Poppins', sans-serif; line-height: 1.2; flex-shrink: 0; }
.header-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; font-weight: 700; transition: all 0.3s ease; text-align: center; min-width: 90px; padding: 10px 20px; border-radius: 8px; font-size: 14px; }
.btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #0A0A0A; box-shadow: 0 4px 15px rgba(221, 161, 29, 0.4); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6); filter: brightness(1.1); }
.btn-login { background: transparent; color: #FFD86A; border: 2px solid #F2C14E; }
.btn-login:hover { background: rgba(242, 193, 78, 0.1); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3); }
.btn-download { background: transparent; color: #FFD86A; border: 2px solid #FFD36B; }
.btn-download:hover { background: rgba(255, 211, 107, 0.1); transform: translateY(-2px); }
.main-nav { display: flex; flex-direction: row; position: static; width: 100%; background-color: #111111; border-top: 1px solid #2A1E0A; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; min-height: 52px; gap: 4px; flex-wrap: wrap; }
.nav-container a { display: inline-block; padding: 10px 14px; text-decoration: none; color: #FFF6D6; font-size: 14px; font-weight: 500; border-radius: 6px; transition: all 0.25s ease; position: relative; white-space: nowrap; }
.nav-container a:hover { color: #FFD86A; text-shadow: 0 0 12px rgba(242, 193, 78, 0.6); }
.nav-container a::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: linear-gradient(90deg, #FFD36B, #F2C14E); border-radius: 2px; transition: width 0.3s ease; }
.nav-container a:hover::after { width: 60%; }
.hamburger-menu { display: none; }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; }
.site-footer { background-color: var(--card-bg); color: var(--text-main); padding: 50px 20px 20px; border-top: 2px solid var(--border-main); margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-logo { font-size: 28px; font-weight: 900; text-decoration: none; background: linear-gradient(135deg, #FFE28A 0%, #F2C14E 40%, #B8860B 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; margin-bottom: 15px; }
.footer-desc { color: #A89F91; font-size: 14px; line-height: 1.6; }
.footer-column h4 { color: #FFD86A; font-size: 16px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; border-left: 3px solid #F2C14E; padding-left: 12px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #A89F91; text-decoration: none; font-size: 14px; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-nav a:hover { color: #F2C14E; padding-left: 5px; }
.footer-bottom { border-top: 1px solid var(--border-main); text-align: center; padding-top: 20px; color: #777; font-size: 13px; }
#copyright-year { color: #F2C14E; font-weight: 700; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .site-header { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
  .header-container { max-width: none; width: 100%; min-height: 60px; padding-left: 12px; padding-right: 12px; }
  .logo { font-size: 26px; flex: 1; text-align: center; margin-left: 0; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 8px; gap: 4px; z-index: 1005; order: 1; }
  .hamburger-menu span { display: block; width: 24px; height: 2px; background: #FFD86A; border-radius: 2px; transition: all 0.35s ease; }
  .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .header-actions { display: none; }
  .mobile-nav-buttons { display: flex; justify-content: center; gap: 8px; padding: 8px 10px; background-color: #0D0B08; border-bottom: 1px solid var(--border-main); flex-wrap: wrap; }
  .mobile-nav-buttons .btn { min-width: 0; padding: 8px 12px; font-size: 13px; flex: 1; max-width: 150px; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; height: 100dvh; background: #0F0E0C; transform: translateX(-100%); transition: transform 0.3s ease; border-right: 2px solid var(--border-main); overflow-y: auto; padding-top: 70px; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: none; padding-left: 20px; padding-right: 20px; gap: 2px; }
  .nav-container a { width: 100%; padding: 12px 10px; color: #FFF6D6; border-bottom: 1px solid rgba(242, 193, 78, 0.1); position: relative; }
  .nav-container a::after { bottom: 8px; }
  .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(2px); z-index: 998; }
  .mobile-menu-overlay.active { display: block; }
  .footer-container { display: flex; flex-direction: column; gap: 30px; }
  .footer-bottom { font-size: 12px; }
  .site-footer { padding-top: 30px; }
}
.header-top { order: 1; }
.main-nav { order: 2; }
.mobile-nav-buttons { order: 3; }
.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 (min-width: 769px) {
  .hamburger-menu { display: none !important; }
  .mobile-nav-buttons { display: none !important; }
}
@media (max-width: 768px) {
  .nav-container a:hover { color: #F2C14E; }
  .nav-container a { text-align: left; }
  .nav-container a:last-child { border-bottom: none; }
  .main-nav.active { box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6); }
}
.mobile-nav-buttons a { text-decoration: none; }
.site-header + * { max-width: 100%; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
