:root { --header-offset: 124px; --primary: #F2C14E; --secondary: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --card-bg: #111111; --bg: #0A0A0A; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; }
body { padding-top: var(--header-offset); margin: 0; background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; --header-offset: 124px; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--bg); box-shadow: 0 4px 20px rgba(0,0,0,0.6); border-bottom: 1px solid var(--border-color); }
.header-top { background-color: #0D0D0D; width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding-left: 20px; padding-right: 20px; min-height: 62px; }
.logo { display: block; font-size: 26px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: 1px; background: linear-gradient(135deg, #FFD86A 0%, #F2C14E 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 20px rgba(242,193,78,0.3); }
.desktop-nav-buttons { display: flex; flex-direction: row; gap: 10px; align-items: center; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; transition: all 0.3s ease; text-align: center; border: none; }
.btn-login { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #0A0A0A; box-shadow: 0 0 15px rgba(242,193,78,0.3); }
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 0 25px rgba(242,193,78,0.5); }
.btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #0A0A0A; box-shadow: 0 0 15px rgba(242,193,78,0.3); }
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 0 25px rgba(242,193,78,0.5); }
.main-nav { background-color: #141414; display: flex; flex-direction: row; width: 100%; border-top: 1px solid var(--border-color); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; min-height: 50px; gap: 2px; }
.nav-link { color: #FFF6D6; text-decoration: none; font-size: 14px; font-weight: 500; padding: 12px 15px; transition: color 0.3s ease, background-color 0.3s ease; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link:hover { color: #F2C14E; }
.nav-link.active { color: #F2C14E; border-bottom-color: #F2C14E; }
.hamburger-menu { display: none; position: absolute; top: 18px; left: 15px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; z-index: 1001; padding: 8px; flex-direction: column; justify-content: center; gap: 6px; }
.hamburger-line { display: block; width: 100%; height: 3px; background-color: #F2C14E; border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu-overlay.visible { opacity: 1; }
.mobile-nav-buttons { display: none; }
.site-footer { background-color: #111111; color: #FFF6D6; padding: 40px 0 20px; border-top: 2px solid #F2C14E; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand { display: flex; flex-direction: column; gap: 15px; }
.footer-logo { font-size: 28px; font-weight: 800; color: #F2C14E; text-decoration: none; background: linear-gradient(135deg, #FFD86A 0%, #DDA11D 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-description { font-size: 14px; line-height: 1.6; color: #FFF6D6; opacity: 0.8; }
.footer-column { display: flex; flex-direction: column; gap: 15px; }
.footer-title { font-size: 16px; font-weight: 700; color: #F2C14E; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li a { color: #FFF6D6; text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.footer-nav li a:hover { color: #F2C14E; }
.footer-bottom { border-top: 1px solid #3A2A12; padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #FFF6D6; opacity: 0.7; margin: 8px 0; }
.footer-copyright { opacity: 0.9; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  body { --header-offset: 146px; }
  .header-container { width: 100%; max-width: none; min-height: 60px; padding-left: 50px; padding-right: 50px; justify-content: center; }
  .logo { font-size: 22px; text-align: center; }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu { display: flex; }
  .mobile-nav-buttons { display: flex; flex-direction: row; justify-content: center; gap: 10px; padding: 8px 20px; background-color: #0D0D0D; min-height: 48px; }
  .mobile-nav-buttons .btn { flex: 1; max-width: 180px; padding: 10px 16px; font-size: 13px; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 82%; height: 100vh; background-color: #111111; flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; border-right: 2px solid #F2C14E; overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: flex-start; padding: 20px 15px; gap: 0; }
  .nav-link { width: 100%; color: #FFF6D6; text-align: left; padding: 14px 15px; font-size: 15px; border-bottom: 1px solid #3A2A12; }
  .nav-link:hover { background-color: rgba(242,193,78,0.1); color: #F2C14E; }
  .nav-link.active { color: #F2C14E; border-bottom-color: #F2C14E; border-left: 3px solid #F2C14E; }
  .mobile-menu-overlay.visible { display: block; }
  .site-footer { padding: 30px 0 15px; }
  .footer-container { width: 100%; max-width: none; padding: 0 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom p { font-size: 12px; }
  .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) and (min-width: 769px) {}
@media (min-width: 769px) { .mobile-nav-buttons { display: none; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
