:root { --header-offset: 122px; --primary: #F2C14E; --secondary: #FFD36B; --bg-dark: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-dark); color: var(--text-main); } .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.7); background-color: var(--card-bg); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; 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: 25px; padding-right: 25px; } .logo { font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 10px rgba(242, 193, 78, 0.4); white-space: nowrap; display: block; } .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: 6px; transition: all 0.3s ease; cursor: pointer; box-sizing: border-box; text-align: center; border: none; } .btn-primary { background: var(--btn-gradient); color: #1a1a1a; padding: 10px 24px; font-size: 15px; box-shadow: 0 2px 10px rgba(255, 211, 107, 0.3); } .btn-primary:hover { box-shadow: 0 4px 18px rgba(255, 211, 107, 0.6); transform: translateY(-1px); } .btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 8px 22px; font-size: 15px; } .btn-secondary:hover { background: rgba(242, 193, 78, 0.15); color: var(--secondary); border-color: var(--secondary); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; flex-direction: column; gap: 5px; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); } .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: #1a1508; width: 100%; border-bottom: 1px solid var(--border-color); } .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 15px; gap: 2px; flex-wrap: wrap; } .nav-link { color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 4px; transition: color 0.2s ease, background 0.2s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: var(--secondary); background: rgba(242, 193, 78, 0.1); } .nav-overlay { display: none; } @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; 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: 24px; } .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%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--card-bg); 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; } .main-nav { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh !important; max-width: 80vw; background-color: #1a1508; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 20px; gap: 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; box-sizing: border-box; border-right: 1px solid var(--border-color); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; width: 100%; max-width: none; padding: 0; align-items: stretch; height: auto; gap: 0; } .nav-link { display: block; padding: 14px 16px; font-size: 16px; border-bottom: 1px solid rgba(58, 42, 18, 0.5); border-radius: 0; width: 100%; box-sizing: border-box; } .nav-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } } .site-footer { background-color: var(--card-bg); color: var(--text-main); border-top: 2px solid var(--border-color); padding: 50px 20px 0; font-size: 14px; line-height: 1.6; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 30px; } .footer-col { display: flex; flex-direction: column; } .footer-about { gap: 15px; } .footer-logo { font-size: 26px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 8px rgba(242, 193, 78, 0.3); } .footer-description { color: var(--text-main); opacity: 0.85; margin: 0; word-wrap: break-word; overflow-wrap: break-word; font-size: 14px; } .footer-heading { color: var(--secondary); font-size: 16px; margin: 0 0 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: var(--text-main); text-decoration: none; opacity: 0.85; transition: color 0.2s ease, opacity 0.2s ease; font-size: 14px; } .footer-nav a:hover { color: var(--primary); opacity: 1; } .footer-mid-area { max-width: 1200px; margin: 0 auto 20px; border-top: 1px solid var(--border-color); padding-top: 20px; } .footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 15px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { background-color: #050505; border-top: 1px solid var(--border-color); text-align: center; padding: 20px 15px; font-size: 13px; color: var(--text-main); opacity: 0.8; } .footer-bottom p { margin: 0; } @media (max-width: 768px) { .site-footer { padding: 30px 15px 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 25px; } .footer-mid-row { grid-template-columns: 1fr 1fr; } .footer-dynamic-col { display: flex; flex-direction: column; } .footer-nav { gap: 8px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
