:root { --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%); --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
.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; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; border-bottom: 1px solid var(--border-color); }
.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 { text-decoration: none; color: var(--primary); font-size: 24px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; display: block; white-space: nowrap; text-shadow: 0 0 10px rgba(255,140,26,0.4); }
.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; }
.btn { display: inline-block; text-decoration: none; text-align: center; font-weight: 700; border-radius: 6px; transition: all 0.25s ease; cursor: pointer; border: none; }
.btn-login { background: transparent; color: var(--primary); border: 1px solid var(--primary); padding: 9px 20px; font-size: 14px; text-transform: uppercase; }
.btn-login:hover { background: rgba(255,140,26,0.15); color: var(--secondary); border-color: var(--secondary); }
.btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 10px 22px; font-size: 14px; text-transform: uppercase; box-shadow: 0 4px 14px rgba(217,104,0,0.45); }
.btn-register:hover { filter: brightness(1.12); box-shadow: 0 6px 20px rgba(255,176,77,0.55); transform: translateY(-1px); }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.hamburger-menu { display: none; background: transparent; border: 1px solid var(--border-color); border-radius: 6px; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-line { display: block; width: 22px; height: 2px; background-color: var(--primary); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1A1C23; border-bottom: 2px solid var(--primary); }
.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; gap: 4px; flex-wrap: nowrap; }
.nav-link { display: inline-block; text-decoration: none; color: var(--text-main); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 4px; transition: all 0.2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--secondary); background-color: rgba(255,140,26,0.12); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
.site-footer { background-color: #0A0B0E; color: var(--text-main); border-top: 2px solid var(--border-color); padding-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; }
.footer-slot-top, .footer-slot-anchor-inner { min-height: 0; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 20px 0 30px; border-bottom: 1px solid rgba(168,79,12,0.4); }
.footer-col { display: flex; flex-direction: column; }
.footer-about { gap: 12px; }
.footer-logo { text-decoration: none; color: var(--primary); font-size: 22px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.footer-logo:hover { color: var(--secondary); }
.footer-description { font-size: 13px; line-height: 1.7; color: #C9BEB2; margin: 0; overflow-wrap: break-word; word-wrap: break-word; }
.footer-heading { font-size: 15px; font-weight: 700; 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: 8px; }
.footer-nav li { margin: 0; }
.footer-nav a { text-decoration: none; color: #C9BEB2; font-size: 13px; transition: color 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--primary); }
.footer-dynamic-col { min-height: 10px; }
.footer-mid { padding: 20px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { border-top: 1px solid rgba(168,79,12,0.4); padding: 18px 0 8px; text-align: center; }
.footer-copyright { font-size: 12px; color: #8A8078; margin: 0; }
.no-scroll { overflow: hidden; }
@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 { 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: 18px; }
.logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; }
.hamburger-menu { display: flex; position: relative; z-index: 2; }
.desktop-nav-buttons { display: none !important; }
.mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; }
.mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); 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; display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh !important; background-color: #17191F; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; border-bottom: none; border-right: 2px solid var(--primary); padding-top: 20px; }
.main-nav.active { display: block; transform: translateX(0); }
.nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 60px 16px 20px; gap: 2px; width: 100%; max-width: none; overflow-y: auto; height: 100%; }
.nav-link { padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(168,79,12,0.3); border-radius: 0; white-space: normal; }
.footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
.footer-mid-grid { grid-template-columns: 1fr; }
.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;
}
