:root { --primary: #F2C14E; --secondary: #FFD36B; --accent: #FFD36B; --bg-dark: #0A0A0A; --bg-card: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --btn-grad: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --header-offset: 164px; }
body { padding-top: var(--header-offset); background-color: var(--bg-dark); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; min-height: auto; display: block; box-sizing: border-box; box-shadow: 0 4px 16px rgba(0,0,0,0.7); }
.header-top { background: #1A1A1A; width: 100%; border-bottom: 2px solid var(--border-color); }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 12px; box-sizing: border-box; }
.logo { color: var(--text-main); font-size: 28px; font-weight: 800; text-decoration: none; letter-spacing: 1px; line-height: 1.2; flex-shrink: 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.logo:hover { text-decoration: none; }
.main-nav { background: #0A0A0A; width: 100%; display: flex; border-bottom: 1px solid var(--border-color); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; padding: 8px 20px; box-sizing: border-box; }
.nav-container a { color: var(--text-main); font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 14px; border-radius: 4px; white-space: nowrap; transition: color 0.2s ease, background 0.2s ease; }
.nav-container a:hover { color: var(--bg-dark); background-color: var(--primary); text-decoration: none; }
.desktop-nav-buttons { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }
.btn { display: inline-block; padding: 8px 16px; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-download { background: var(--btn-grad); color: #000; }
.btn-register { background: var(--btn-grad); color: #000; }
.btn:hover { transform: scale(1.05); box-shadow: 0 0 12px var(--glow, var(--accent)); text-decoration: none; }
.btn-download { box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.btn-register { box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; }
.hamburger-menu { display: none; }
.site-footer { background: #0A0A0A; color: var(--text-main); padding: 40px 0 0; margin-top: 40px; border-top: 4px solid var(--primary); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 24px 20px; }
.footer-column h4 { color: var(--secondary); margin: 0 0 12px; font-size: 16px; }
.footer-column a { color: var(--text-main); text-decoration: none; line-height: 2; transition: color 0.2s ease; }
.footer-column a:hover { color: var(--primary); text-decoration: underline; }
.footer-column p { line-height: 1.6; margin: 10px 0; }
.footer-logo .logo { font-size: 24px; color: var(--text-main); }
.footer-nav ul, .footer-quick-links ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom { background: #000; text-align: center; padding: 16px 20px; }
.footer-bottom p { margin: 0; font-size: 14px; }
@media (max-width: 768px) { :root { --header-offset: 146px; }
 .header-container { width: 100%; max-width: none; padding: 12px 16px; }
 .nav-container { width: 100%; max-width: none; }
 .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; width: 280px; background: var(--bg-card); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 50px; z-index: 1002; }
 .main-nav.active { display: flex; transform: translateX(0); }
 .nav-container { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 0; }
 .nav-container a { display: block; width: 100%; padding: 10px 20px; border-bottom: 1px solid var(--border-color); font-size: 16px; }
 .header-top { display: flex; }
 .header-container { flex-wrap: wrap; }
 .desktop-nav-buttons { display: none; }
 .mobile-nav-buttons { display: flex; flex-direction: row; justify-content: center; gap: 12px; padding: 8px 16px 10px; background: #141414; position: relative; z-index: 1000; border-bottom: 1px solid var(--border-color); }
 .mobile-nav-buttons .btn { flex: 0 1 auto; }
 .logo { flex: 1; text-align: left; font-size: 24px; }
 .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 32px; height: 32px; background: transparent; border: none; cursor: pointer; gap: 5px; position: absolute; left: 20px; top: 18px; z-index: 1001; }
 .hamburger-menu span { display: block; width: 24px; height: 3px; background: var(--text-main); border-radius: 2px; transition: all 0.3s ease; }
 .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
 .hamburger-menu.active span:nth-child(2) { opacity: 0; }
 .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
 .mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000; }
 .mobile-menu-overlay.active { display: block; }
 .page-content img { max-width: 100% !important; height: auto !important; display: block; }
 .page-content { overflow-x: hidden; max-width: 100%; }
 body { overflow-x: hidden; }
 .footer-container { grid-template-columns: 1fr 1fr 1fr; gap: 15px; padding: 0 16px; }
 .footer-logo { grid-column: 1 / -1; text-align: center; }
 }
@media (max-width: 480px) { .footer-container { grid-template-columns: 1fr 1fr; }
 .footer-column { margin-bottom: 10px; }
 .header-container { padding: 10px 12px; }
 .logo { font-size: 22px; }
 .mobile-nav-buttons .btn { padding: 8px 12px; 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;
}
