:root { --header-offset: 122px; --primary: #F2C14E; --secondary: #FFD36B; --bg: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0,0,0,0.65), 0 0 0 1px var(--border-color); }
.header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0A0A0A; border-bottom: 1px solid var(--border-color); }
.header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 32px; padding-right: 32px; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 2px; text-decoration: none; color: var(--primary); text-shadow: 0 0 14px rgba(255,211,107,0.45); line-height: 1; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; cursor: pointer; border: none; }
.btn-login { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); padding: 9px 20px; font-size: 15px; }
.btn-login:hover { background: rgba(242,193,78,0.12); box-shadow: 0 0 14px rgba(255,211,107,0.45); }
.btn-register { background: var(--btn-gradient); color: #1a1206; padding: 10px 22px; font-size: 15px; box-shadow: 0 0 16px rgba(255,211,107,0.4); }
.btn-register:hover { filter: brightness(1.08); box-shadow: 0 0 24px rgba(255,211,107,0.75); transform: translateY(-1px); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; background: transparent; border: 1px solid var(--border-color); border-radius: 8px; cursor: pointer; padding: 0; }
.hamburger-menu span { display: block; width: 22px; height: 2.5px; background-color: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #140F04; border-top: 1px solid var(--border-color); }
.nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.nav-list { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav-list li { height: 100%; display: flex; align-items: center; }
.nav-list a { display: flex; align-items: center; height: 100%; padding: 0 13px; text-decoration: none; color: var(--text-main); font-size: 14.5px; font-weight: 600; white-space: nowrap; position: relative; transition: color 0.2s ease; }
.nav-list a:hover, .nav-list a.active { color: var(--primary); }
.nav-list a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 2px; background: var(--btn-gradient); border-radius: 2px; transform: scaleX(0); transition: transform 0.25s ease; }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.menu-overlay { display: none; }
.site-footer { background-color: #0A0A0A; color: var(--text-main); border-top: 2px solid var(--border-color); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 50px 24px 0; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-bottom: 36px; border-bottom: 1px solid var(--border-color); }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 2px; color: var(--primary); text-decoration: none; text-shadow: 0 0 14px rgba(255,211,107,0.4); margin-bottom: 14px; }
.footer-description { font-size: 14px; line-height: 1.75; color: #C9BFAD; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 16px; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { color: #C9BFAD; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--secondary); padding-left: 4px; }
.footer-slot-anchor-inner { min-height: 0; }
.footer-mid-zone { padding: 24px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { text-align: center; padding: 22px 0; border-top: 1px solid var(--border-color); margin-top: 12px; }
.footer-bottom p { margin: 0; font-size: 13.5px; color: #9C9284; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { font-size: 24px; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .hamburger-menu { display: flex; position: relative; z-index: 1001; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0A0A0A; border-bottom: 1px solid var(--border-color); }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: auto !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; background-color: #140F04; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; border-top: none; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; padding: 12px 16px; flex-direction: column; align-items: stretch; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; height: auto; }
  .nav-list li { height: auto; width: 100%; }
  .nav-list a { height: auto; padding: 13px 12px; font-size: 15px; border-bottom: 1px solid rgba(58,42,18,0.6); }
  .nav-list a::after { display: none; }
  .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.65); z-index: 999; }
  .menu-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { padding: 36px 16px 0; }
  .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: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-grid { grid-template-columns: 1fr; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
