:root { --header-offset: 122px; --color-primary: #F2C14E; --color-secondary: #FFD36B; --color-bg: #0A0A0A; --color-card-bg: #111111; --color-text-main: #FFF6D6; --color-border: #3A2A12; --color-glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; background-color: var(--color-bg); color: var(--color-text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } a { text-decoration: none; color: inherit; } .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.85); border-bottom: 1px solid var(--color-border); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0A0A0A; width: 100%; } .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 { display: inline-block; font-size: 26px; font-weight: 900; letter-spacing: 0.5px; color: var(--color-primary); text-transform: none; white-space: nowrap; text-shadow: 0 0 14px rgba(242,193,78,0.35); } .logo:hover { color: var(--color-secondary); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 10px 22px; font-size: 15px; font-weight: 700; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease; color: #1a1206; background: var(--btn-gradient); box-shadow: 0 4px 14px rgba(0,0,0,0.45); white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,211,107,0.35); } .btn-login { background: var(--btn-gradient); color: #1a1206; } .btn-register { background: linear-gradient(180deg, #FFD36B 0%, #C98F14 100%); color: #1a1206; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-direction: column; justify-content: space-between; width: 44px; height: 44px; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--color-primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-card-bg); border-top: 1px solid var(--color-border); 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; } .nav-list { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; flex-wrap: nowrap; } .nav-list li { height: 100%; display: flex; align-items: center; } .nav-link { display: flex; align-items: center; height: 100%; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--color-text-main); white-space: nowrap; transition: color 0.2s ease; border-bottom: 2px solid transparent; } .nav-link:hover, .nav-link.active { color: var(--color-secondary); border-bottom-color: var(--color-primary); } .mobile-menu-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; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #050505; color: var(--color-text-main); border-top: 2px solid var(--color-border); padding-top: 30px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 20px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 900; color: var(--color-primary); margin-bottom: 14px; } .footer-logo:hover { color: var(--color-secondary); } .footer-description { font-size: 14px; line-height: 1.7; color: #d8c9a3; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: var(--color-primary); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li a { font-size: 14px; color: #d8c9a3; transition: color 0.2s ease; } .footer-nav li a:hover { color: var(--color-secondary); } .footer-contact-text { font-size: 14px; line-height: 1.7; color: #d8c9a3; word-wrap: break-word; overflow-wrap: break-word; } .footer-dynamic-col { min-width: 0; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 10px 30px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { text-align: center; padding: 20px 15px; margin-top: 10px; border-top: 1px solid var(--color-border); font-size: 13px; color: #b9a97f; } .footer-bottom p { margin: 0; } @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: 12px; padding-right: 12px; position: relative; height: 100%; } .hamburger-menu { display: flex; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .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 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0A0A0A; border-bottom: 1px solid var(--color-border); } .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; display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 300px; height: 100vh !important; padding-top: 80px; background-color: #111111; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; border-top: none; border-right: 1px solid var(--color-border); } .main-nav.active { display: block !important; transform: translateX(0) !important; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; height: auto; display: block; } .nav-list { flex-direction: column; align-items: stretch; height: auto; gap: 0; } .nav-list li { height: auto; width: 100%; } .nav-link { height: auto; padding: 14px 10px; border-bottom: 1px solid var(--color-border); font-size: 15px; width: 100%; } .nav-link:hover, .nav-link.active { border-bottom-color: var(--color-border); background-color: rgba(242,193,78,0.08); } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding: 20px 18px; } .footer-mid { padding: 10px 18px; } .footer-mid-grid { grid-template-columns: 1fr 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;
}
