:root { --header-offset: 122px; --primary: #F2C14E; --secondary: #FFD36B; --card-bg: #111111; --bg: #0A0A0A; --text-main: #FFF6D6; --border: #3A2A12; --glow: #FFD36B; --header-top-bg: #1a1208; --nav-bg: #111111; }
body { padding-top: var(--header-offset); background-color: var(--bg); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; }
.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.8); border-bottom: 2px solid var(--border); }
.header-top { background-color: var(--header-top-bg); width: 100%; border-bottom: 1px solid var(--border); }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 40px; min-height: 68px; box-sizing: border-box; }
.logo { font-size: 36px; font-weight: 900; color: var(--primary); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 15px rgba(242, 193, 78, 0.3); display: inline-block; line-height: 1; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 10px 28px; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; text-align: center; border: none; cursor: pointer; transition: all 0.3s ease; min-width: 100px; box-sizing: border-box; }
.btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #1a1208; box-shadow: 0 3px 15px rgba(255, 216, 106, 0.3); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 5px 25px rgba(255, 216, 106, 0.5); }
.btn-login { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-login:hover { background: rgba(242, 193, 78, 0.1); box-shadow: 0 0 20px rgba(242, 193, 78, 0.2); }
.main-nav { background-color: var(--nav-bg); width: 100%; display: flex; align-items: center; border-top: 1px solid var(--border); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 6px 20px; width: 100%; box-sizing: border-box; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; }
.nav-menu a { color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 12px; display: block; border-bottom: 2px solid transparent; transition: border-color 0.2s ease; }
.nav-menu a:hover { border-bottom-color: var(--primary); }
.mobile-nav-buttons { display: none; }
.hamburger-menu { display: none; }
.mobile-menu-overlay { display: none; }
.site-footer { background-color: var(--card-bg); border-top: 2px solid var(--border); width: 100%; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; box-sizing: border-box; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-logo { font-size: 32px; font-weight: 900; color: var(--primary); text-decoration: none; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
.footer-brand p { color: #cccccc; font-size: 14px; line-height: 1.6; margin: 0; }
.footer-nav h4 { color: var(--primary); font-size: 16px; font-weight: 700; margin: 0 0 15px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #cccccc; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #aaaaaa; font-size: 13px; margin: 0; }
.footer-bottom .footer-link a { color: var(--primary); text-decoration: none; font-size: 13px; }
@media (max-width: 768px) { :root { --header-offset: 110px; }
  .header-container { width: 100%; max-width: none; min-height: 60px; padding: 8px 15px; position: relative; }
  .logo { font-size: 28px; }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; background: var(--primary); border: none; cursor: pointer; border-radius: 8px; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1001; padding: 10px; box-sizing: border-box; }
  .hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--bg); margin: 3px 0; transition: transform 0.3s ease, opacity 0.3s ease; border-radius: 2px; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .main-nav { display: none; position: fixed; top: 60px; left: 0; width: 260px; height: calc(100% - 60px); background-color: var(--card-bg); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1002; flex-direction: column; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; flex-direction: column; padding: 0; }
  .nav-menu { flex-direction: column; width: 100%; padding: 0; gap: 0; align-items: stretch; }
  .nav-menu a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .mobile-nav-buttons { display: flex; flex-direction: column; gap: 10px; padding: 15px 20px; }
  .mobile-nav-buttons .btn { width: 100%; padding: 12px 15px; }
  .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 999; }
  .mobile-menu-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  body { overflow-x: hidden; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; } }
@media (min-width: 769px) { .hamburger-menu { 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;
}
