:root { --header-offset: 122px; --primary: #FF8C1A; --secondary: #FFA53A; --btn-grad: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); --card-bg: #17191F; --bg: #0D0E12; --text-main: #FFF3E6; --border-c: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); background: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
.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.55); }
.header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #0D0E12; border-bottom: 1px solid var(--border-c); }
.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; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: var(--primary); background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-transform: lowercase; 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; 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-align: center; border-radius: 8px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,140,26,0.45); filter: brightness(1.05); }
.desktop-nav-buttons .btn { padding: 9px 22px; font-size: 14px; }
.btn-login { background: transparent; color: var(--secondary); border: 1px solid var(--secondary); }
.btn-login:hover { color: #0D0E12; background: var(--secondary); }
.btn-register { background: var(--btn-grad); color: #0D0E12; border: 1px solid var(--deep-orange); box-shadow: 0 2px 10px rgba(255,176,77,0.35); }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #17191F; border-bottom: 1px solid var(--border-c); }
.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; position: relative; }
.nav-list { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-link { display: block; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--text-main); border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background 0.2s ease; }
.nav-link:hover, .nav-link.active { color: #0D0E12; background: var(--btn-grad); }
.hamburger-menu { display: none; }
.nav-overlay { display: none; }
.site-footer { background: #0D0E12; color: var(--text-main); border-top: 1px solid var(--border-c); }
.footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top-row { padding: 18px 0 0; }
.footer-top-grid { padding: 26px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 900; letter-spacing: 1px; color: var(--primary); background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-transform: lowercase; margin-bottom: 14px; }
.footer-description { font-size: 14px; line-height: 1.7; color: rgba(255,243,230,0.78); margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 15px; font-weight: 800; color: var(--secondary); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { font-size: 14px; color: rgba(255,243,230,0.8); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--glow); }
.footer-dynamic-col { min-width: 0; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-mid { padding: 8px 0 14px; border-top: 1px solid rgba(168,79,12,0.35); }
.footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.footer-bottom-anchor { padding: 6px 0 10px; }
.footer-bottom { background: #17191F; border-top: 1px solid var(--border-c); padding: 16px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,243,230,0.7); }
.footer-bottom a { color: var(--secondary); }
@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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .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-c); }
  .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; background: #17191F; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .hamburger-menu { display: flex !important; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: transparent; border: 1px solid var(--border-c); border-radius: 6px; cursor: pointer; z-index: 1001; position: relative; }
  .hamburger-menu span { display: block; width: 100%; height: 2px; background: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-list { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 80%; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 90px 20px 30px; margin: 0; background: #17191F; border-right: 1px solid var(--border-c); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; }
  .main-nav.active .nav-list { transform: translateX(0); }
  .nav-list li { width: 100%; }
  .nav-link { width: 100%; padding: 12px 14px; font-size: 15px; border-bottom: 1px solid rgba(168,79,12,0.25); border-radius: 0; }
  .nav-overlay { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 999; }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  body.no-scroll { overflow: hidden; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-mid-row { grid-template-columns: 1fr 1fr; }
  .footer-container { padding: 0 15px; }
  .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-grid { grid-template-columns: 1fr; }
  .footer-mid-row { 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;
}
