:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --bg: #0D0E12;
  --card-bg: #17191F;
  --text-main: #FFF3E6;
  --border: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
  --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --header-offset: 122px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { padding-top: var(--header-offset); overflow-x: hidden; background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 18px rgba(0,0,0,0.55), 0 1px 0 rgba(255,140,26,0.25); }
.header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #0D0E12 0%, #1A1410 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: 24px; padding-right: 24px; }
.logo { display: inline-block; color: var(--text-main); font-weight: 800; font-size: 19px; line-height: 1.1; letter-spacing: 0.3px; text-decoration: none; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; text-shadow: 0 2px 8px rgba(255,140,26,0.45); }
.logo:hover { color: var(--glow); }
.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 { display: none; min-height: 48px; box-sizing: border-box; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px; line-height: 1.2; padding: 10px 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-login { background: transparent; color: var(--glow); border: 2px solid var(--primary); box-shadow: 0 0 0 rgba(255,176,77,0); }
.btn-login:hover { box-shadow: 0 0 14px rgba(255,176,77,0.45); }
.btn-register { background: var(--btn-gradient); color: #1A0D00; border: 2px solid #FFC27A; box-shadow: 0 4px 14px rgba(217,104,0,0.5); }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 40px; height: 32px; padding: 6px; background: transparent; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; z-index: 1001; box-sizing: border-box; }
.hamburger-menu span { display: block; width: 100%; height: 2px; 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); }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #1A1410 0%, #231A12 50%, #1A1410 100%); border-top: 1px solid rgba(255,140,26,0.15); }
.nav-container { box-sizing: border-box; width: 100%; 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; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav-menu li { height: 100%; display: flex; align-items: center; }
.nav-menu a { display: flex; align-items: center; height: 100%; padding: 0 10px; color: var(--text-main); text-decoration: none; font-size: 13.5px; font-weight: 600; border-radius: 6px; transition: color 0.2s ease, background-color 0.2s ease; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { color: #1A0D00; background: var(--btn-gradient); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
.site-footer { background: linear-gradient(180deg, #0D0E12 0%, #14161C 100%); color: var(--text-main); border-top: 2px solid var(--border); margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; width: 100%; }
.footer-top { padding: 44px 0 30px; border-bottom: 1px solid rgba(168,79,12,0.35); }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { display: inline-block; color: var(--primary); font-size: 18px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(255,140,26,0.35); }
.footer-about .footer-logo:hover { color: var(--glow); }
.footer-description { color: #C9BCAD; font-size: 13.5px; line-height: 1.7; margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { color: var(--glow); font-size: 15px; font-weight: 700; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a { color: #D8CCC0; text-decoration: none; font-size: 13.5px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--primary); padding-left: 4px; }
.footer-dynamic-col { min-height: 20px; }
.footer-slot-row, .footer-slot-anchor-inner { width: 100%; }
.footer-slot-row:empty, .footer-slot-anchor-inner:empty { display: block; }
.footer-mid { padding: 30px 0; border-bottom: 1px solid rgba(168,79,12,0.35); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom-slot { padding: 10px 0 0; }
.footer-bottom { padding: 20px 0 26px; text-align: center; }
.footer-copyright { margin: 0; color: #A99C8E; font-size: 13px; line-height: 1.6; }
.footer-copyright span { color: var(--primary); font-weight: 700; }
.no-scroll { overflow: hidden !important; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { padding-top: var(--header-offset); }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 14px; padding-right: 14px; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; max-width: calc(100% - 100px); font-size: 14px; text-align: center; white-space: normal; overflow: visible; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; }
  .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: 14px; padding-right: 14px; overflow: hidden; gap: 10px; flex-wrap: nowrap; }
  .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: 1001; }
  .main-nav { display: none; position: fixed; top: var(--header-offset); left: 0; right: 0; bottom: 0; width: 100%; height: auto; min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; padding: 16px 0 40px; transform: translateX(-100%); transition: transform 0.3s ease; background: #14161C; z-index: 1000; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; min-height: 0; padding: 0 14px; display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; height: auto; width: 100%; }
  .nav-menu li { height: auto; width: 100%; }
  .nav-menu a { display: block; width: 100%; height: auto; padding: 13px 14px; font-size: 15px; border-radius: 8px; border-bottom: 1px solid rgba(168,79,12,0.2); }
  .footer-top-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top { padding: 32px 0 24px; }
  .footer-mid { padding: 24px 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: 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;
}
