:root { --header-offset: 122px; --primary: #F2C14E; --secondary: #FFD36B; --bg-main: #0A0A0A; --bg-card: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; }
* { 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-main); color: var(--text-main); }
img { max-width: 100%; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(242, 193, 78, 0.25), 0 2px 8px rgba(0, 0, 0, 0.6); background-color: var(--bg-main); border-bottom: 1px solid var(--border-color); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.header-container { width: 100%; max-width: 1200px; height: 100%; 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: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 18px rgba(242, 193, 78, 0.55); }
.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-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; border: none; cursor: pointer; transition: all 0.25s ease; text-align: center; line-height: 1.2; }
.desktop-nav-buttons .btn { padding: 10px 22px; font-size: 14px; }
.btn-login { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-login:hover { background: rgba(242, 193, 78, 0.12); box-shadow: 0 0 16px rgba(255, 211, 107, 0.45); }
.btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #1a1200; border: 2px solid #FFD86A; box-shadow: 0 4px 16px rgba(255, 211, 107, 0.4); }
.btn-register:hover { filter: brightness(1.08); box-shadow: 0 6px 22px rgba(255, 211, 107, 0.65); }
.mobile-nav-buttons { display: none; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 48px; }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--bg-main); background-image: linear-gradient(180deg, rgba(242, 193, 78, 0.08) 0%, transparent 100%); }
.nav-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; gap: 4px; margin: 0; padding: 0; }
.nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; border-radius: 6px; transition: color 0.2s ease, background-color 0.2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background-color: rgba(242, 193, 78, 0.12); text-shadow: 0 0 12px rgba(255, 211, 107, 0.5); }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary); margin: 5px 0; 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; position: fixed; inset: 0; background-color: 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: var(--bg-card); color: var(--text-main); border-top: 2px solid var(--border-color); margin-top: 40px; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-top { padding: 50px 0 30px; background-image: linear-gradient(180deg, rgba(242, 193, 78, 0.05) 0%, transparent 60%); }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 16px; letter-spacing: 1px; text-shadow: 0 0 16px rgba(242, 193, 78, 0.5); }
.footer-description { font-size: 14px; line-height: 1.7; color: #d8cba8; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li a { display: inline-block; font-size: 14px; color: #d8cba8; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-nav li a:hover { color: var(--primary); padding-left: 4px; }
.footer-dynamic-col { min-width: 0; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-mid { padding: 20px 0 10px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { background-color: #050505; border-top: 1px solid var(--border-color); padding: 20px 0; }
.footer-copyright { text-align: center; font-size: 13px; color: #a89a78; 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 { 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 !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-color: var(--bg-card); border-bottom: 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: block; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 1001; }
  .main-nav { height: 48px !important; min-height: 48px !important; position: relative; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .main-nav .nav-container { display: none; }
  .main-nav.active .nav-container { display: block; }
  .nav-menu { position: fixed; top: 0; left: 0; width: 78%; max-width: 320px; height: 100vh; background-color: var(--bg-card); flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 80px 0 30px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; box-shadow: 4px 0 24px rgba(0, 0, 0, 0.7); border-right: 1px solid var(--border-color); }
  .main-nav.active .nav-menu { transform: translateX(0); }
  .nav-menu li { width: 100%; border-bottom: 1px solid rgba(58, 42, 18, 0.6); }
  .nav-link { display: block; padding: 15px 24px; font-size: 15px; width: 100%; border-radius: 0; }
  .nav-overlay.active { display: block; opacity: 1; }
  .footer-container { padding: 0 15px; }
  .footer-top { padding: 30px 0 20px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-heading { margin-bottom: 12px; }
  .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;
}
