:root { --primary: #FF8C1A; --secondary: #FFA53A; --bg: #0D0E12; --card-bg: #17191F; --text-main: #FFF3E6; --border: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --header-offset: 122px; }
body { padding-top: var(--header-offset); margin: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: #0D0E12; box-shadow: 0 4px 20px rgba(255,140,26,0.35); border-bottom: 1px solid var(--border); }
.header-top { box-sizing: border-box; height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #17191F 0%, #0D0E12 100%); border-bottom: 1px solid var(--border); }
.header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; }
.logo { display: inline-block; font-size: 32px; font-weight: 900; letter-spacing: 2px; color: var(--text-main); text-decoration: none; text-shadow: 0 0 14px rgba(255,176,77,0.65); }
.logo:hover { color: var(--glow); }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; text-align: center; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; }
.btn-login { background: transparent; color: var(--glow); border: 2px solid var(--glow); }
.btn-login:hover { background: rgba(255,176,77,0.12); transform: translateY(-2px); }
.btn-register { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #1A0D00; box-shadow: 0 4px 16px rgba(255,140,26,0.45); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,176,77,0.6); }
.main-nav { box-sizing: border-box; height: 52px; display: flex; align-items: center; overflow: hidden; background: #17191F; width: 100%; border-top: 1px solid #2A2D36; }
.nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-menu { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.nav-menu li { margin: 0; }
.nav-menu a { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.nav-menu a:hover { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #1A0D00; }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background: var(--text-main); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-overlay { display: none; }
.site-footer { background: #0D0E12; color: var(--text-main); border-top: 2px solid var(--border); }
.footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top { padding: 40px 0 24px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about { overflow-wrap: break-word; word-wrap: break-word; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 900; letter-spacing: 2px; color: var(--text-main); text-decoration: none; text-shadow: 0 0 14px rgba(255,176,77,0.65); margin-bottom: 14px; }
.footer-logo:hover { color: var(--glow); }
.footer-description { font-size: 14px; line-height: 1.6; color: #C9B8A8; margin: 0 0 12px; overflow-wrap: break-word; word-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 800; color: var(--glow); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #D8C8B8; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--glow); }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-slot-anchor { min-height: 1px; }
.footer-mid { border-top: 1px solid #2A2D36; padding: 20px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #2A2D36; padding: 18px 0; text-align: center; }
.copyright { margin: 0; font-size: 13px; color: #A89888; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 26px; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #17191F; border-bottom: 1px solid var(--border); }
  .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; display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; padding-top: 70px; background: #0D0E12; flex-direction: column; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 999; overflow-y: auto; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 0 20px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; }
  .nav-menu { flex-direction: column; width: 100%; gap: 0; align-items: stretch; margin-top: 10px; }
  .nav-menu li { width: 100%; border-bottom: 1px solid #2A2D36; }
  .nav-menu a { display: block; padding: 14px 12px; font-size: 16px; border-radius: 0; }
  .hamburger-menu { display: flex; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: 998; }
  .nav-overlay.active { display: block; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-mid-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 30px 0 20px; }
  .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 (min-width: 769px) {
  .hamburger-menu { display: none; }
  .nav-overlay { 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;
}
