: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; }
* { 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; background-color: var(--card-bg); box-shadow: 0 4px 20px rgba(0,0,0,0.6); border-bottom: 1px solid var(--border); }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; width: 100%; border-bottom: 1px solid rgba(168,79,12,0.3); }
.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: block; font-size: 28px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 12px rgba(255,176,77,0.4); }
.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-block; text-decoration: none; text-align: center; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 14px; transition: all 0.25s ease; border: none; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.btn-login { background: transparent; color: var(--text-main); border: 1.5px solid var(--border); }
.btn-login:hover { background: rgba(255,165,58,0.12); color: var(--secondary); border-color: var(--secondary); }
.btn-register { background: var(--btn-gradient); color: #FFFFFF; border: 1px solid var(--deep-orange); box-shadow: 0 3px 14px rgba(255,140,26,0.35); }
.btn-register:hover { filter: brightness(1.1); box-shadow: 0 4px 20px rgba(255,176,77,0.5); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; width: 100%; }
.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; 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: 8px 13px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; border-radius: 6px; white-space: nowrap; transition: all 0.2s ease; }
.nav-link:hover, .nav-link.active { color: var(--secondary); background: rgba(255,165,58,0.1); box-shadow: inset 0 -2px 0 var(--secondary); }
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger-line { display: block; width: 24px; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: all 0.3s ease; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.menu-overlay.active { display: block; opacity: 1; }
.site-footer { background-color: #0D0E12; color: var(--text-main); border-top: 2px solid var(--border); margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 12px rgba(255,176,77,0.35); }
.footer-description { font-size: 13.5px; line-height: 1.7; color: #C9BDB0; word-wrap: break-word; overflow-wrap: break-word; }
.footer-col-title { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(168,79,12,0.45); }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li a { display: inline-block; font-size: 13.5px; color: #C9BDB0; text-decoration: none; transition: all 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; }
.footer-nav li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-slot-anchor-inner { width: 100%; }
.footer-mid-area { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(168,79,12,0.35); display: flex; flex-direction: column; gap: 16px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-mid-cell { min-height: 1px; }
.footer-mid-block { width: 100%; }
.footer-bottom { background-color: #17191F; border-top: 1px solid var(--border); padding: 18px 24px; text-align: center; }
.footer-copyright { font-size: 13px; color: #A99C8E; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { min-height: 60px !important; height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .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: 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); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { min-height: 48px !important; height: 48px !important; display: flex; align-items: center; position: relative; z-index: 1001; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1002; }
  .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); }
  .nav-list { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 78%; max-width: 320px; height: 100vh; background-color: #17191F; padding: 80px 20px 30px; gap: 4px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 4px 0 24px rgba(0,0,0,0.6); }
  .nav-list.active { display: flex; transform: translateX(0); }
  .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-radius: 8px; }
  .footer-container { padding: 28px 15px 16px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { padding: 16px 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 (min-width: 481px) and (max-width: 768px) {
  .footer-top-grid { grid-template-columns: repeat(2, 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;
}
