:root { --primary: #FF8C1A; --secondary: #FFA53A; --bg-dark: #0D0E12; --card-bg: #17191F; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --header-offset: 122px; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-dark); 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; background-color: var(--bg-dark); box-shadow: 0 4px 20px rgba(255, 140, 26, 0.35); border-bottom: 1px solid var(--border-color); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; 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; }
.logo { display: inline-block; font-size: 28px; font-weight: 900; color: var(--primary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 12px rgba(255, 140, 26, 0.6); }
.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; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s ease; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,0.3); }
.btn-login { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); }
.btn-login:hover { background: var(--secondary); color: #0D0E12; }
.btn-register { background: var(--btn-gradient); color: #0D0E12; border: 1px solid var(--glow); }
.btn-register:hover { box-shadow: 0 0 18px var(--glow); transform: translateY(-1px); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1F232C; width: 100%; border-top: 1px solid var(--border-color); }
.nav-container { box-sizing: border-box; height: 100%; width: 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; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 6px; height: 100%; }
.nav-menu li { height: 100%; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 14px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s ease, background 0.2s ease; border-radius: 4px; }
.nav-link:hover, .nav-link.active { color: var(--primary); background-color: rgba(255, 140, 26, 0.12); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; 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(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-color: var(--card-bg); border-top: 2px solid var(--border-color); color: var(--text-main); }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-top { padding: 48px 0 28px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 900; color: var(--primary); text-decoration: none; margin-bottom: 14px; text-shadow: 0 0 10px rgba(255,140,26,0.5); }
.footer-logo:hover { color: var(--secondary); }
.footer-description { font-size: 14px; line-height: 1.7; color: rgba(255, 243, 230, 0.8); margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 0 0 16px; position: relative; padding-bottom: 8px; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--primary); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: rgba(255, 243, 230, 0.82); text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-nav a:hover { color: var(--primary); padding-left: 4px; }
.footer-dynamic-col { min-height: 20px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-mid { padding: 10px 0 24px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 18px 0; background-color: #0D0E12; }
.copyright { margin: 0; text-align: center; font-size: 13px; color: rgba(255, 243, 230, 0.65); }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
  .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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; max-width: calc(100% - 120px); }
  .logo img { max-height: 56px !important; display: block !important; max-width: 100%; height: auto; }
  .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background-color: #1F232C; border-top: 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; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; margin-right: auto; }
  .main-nav { height: 48px !important; min-height: 48px !important; background-color: transparent; border-top: none; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background-color: #17191F; z-index: 1001; padding: 80px 20px 20px; gap: 4px; align-items: stretch; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.5); overflow-y: auto; }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-menu li { height: auto; }
  .nav-link { height: auto; padding: 14px 16px; border-radius: 6px; font-size: 15px; }
  .nav-overlay { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.6); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  .footer-container { padding: 0 15px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { padding: 32px 0 20px; }
  .logo { justify-content: center !important; }
}
body.no-scroll { overflow: hidden; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
