:root { --header-offset: 122px; --primary: #FF8C1A; --secondary: #FFA53A; --bg: #0D0E12; --card-bg: #17191F; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg); color: var(--text-main); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; border-bottom: 2px solid var(--border-color); width: 100%; }
.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; position: relative; }
.logo { display: inline-block; font-size: 26px; font-weight: 900; color: var(--glow); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 12px rgba(255,176,77,0.5); }
.logo:hover { color: var(--secondary); }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.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-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 6px; transition: all 0.3s ease; cursor: pointer; text-align: center; border: none; }
.btn-login { background: transparent; color: var(--glow); border: 2px solid var(--border-color); padding: 8px 20px; font-size: 14px; }
.btn-login:hover { background: rgba(255,176,77,0.15); border-color: var(--glow); }
.btn-register { background: var(--btn-gradient); color: #0D0E12; padding: 10px 22px; font-size: 14px; box-shadow: 0 0 15px rgba(255,165,58,0.4); }
.btn-register:hover { box-shadow: 0 0 25px rgba(255,176,77,0.7); transform: translateY(-1px); }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 10px; z-index: 1001; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger-line { display: block; width: 26px; height: 3px; background-color: var(--glow); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; width: 100%; border-bottom: 1px solid var(--border-color); }
.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; width: 100%; }
.nav-list { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; width: 100%; flex-wrap: wrap; }
.nav-list li { margin: 0; }
.nav-link { display: block; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 4px; transition: all 0.25s ease; white-space: nowrap; }
.nav-link:hover { color: var(--glow); background-color: rgba(255,140,26,0.12); }
.nav-overlay { display: none; }
.site-footer { background-color: #0D0E12; color: var(--text-main); border-top: 2px solid var(--border-color); }
.footer-top { padding: 50px 20px 30px; }
.footer-container { max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 24px; font-weight: 900; color: var(--glow); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; text-shadow: 0 0 10px rgba(255,176,77,0.4); }
.footer-logo:hover { color: var(--secondary); }
.footer-description { font-size: 14px; line-height: 1.7; color: rgba(255,243,230,0.75); word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--glow); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-color); }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: rgba(255,243,230,0.8); text-decoration: none; font-size: 14px; transition: color 0.25s ease, padding-left 0.25s ease; display: inline-block; }
.footer-nav a:hover { color: var(--glow); padding-left: 4px; }
.footer-mid { padding: 20px 20px 30px; border-top: 1px solid rgba(168,79,12,0.4); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; }
.footer-bottom { padding: 20px; border-top: 1px solid var(--border-color); background-color: #0A0B0F; text-align: center; }
.footer-copyright { font-size: 13px; color: rgba(255,243,230,0.6); }
.footer-slot-anchor { width: 100%; }
.footer-slot-anchor-inner { width: 100%; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { overflow-x: hidden; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); font-size: 22px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0D0E12; }
  .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 { display: none; position: fixed; top: 0; left: 0; height: 100vh !important; min-height: 100vh !important; width: 80%; max-width: 320px; flex-direction: column; background-color: #17191F; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 80px; box-shadow: 4px 0 20px rgba(0,0,0,0.7); border-right: 2px solid var(--border-color); }
  .main-nav.active { display: flex !important; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 10px 20px; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { font-size: 16px; padding: 12px 16px; border-bottom: 1px solid rgba(168,79,12,0.25); }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 999; }
  .nav-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-top { padding: 36px 15px 24px; }
  .footer-mid { padding: 16px 15px 24px; }
}
@media (max-width: 480px) {
  .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;
}
