: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%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--color-bg); color: var(--color-text-main); font-family: 'Segoe UI', Arial, sans-serif; } .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 { height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0A0A0A; border-bottom: 1px solid var(--color-border); width: 100%; } .header-container { 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: 24px; font-weight: 800; color: var(--color-primary); text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; } .logo:hover { color: var(--color-secondary); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; width: 100%; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 6px; padding: 9px 18px; border: none; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; line-height: 1.2; } .btn-primary { background: var(--btn-gradient); color: #1A1200; box-shadow: 0 2px 10px rgba(242, 193, 78, 0.35); } .btn-primary:hover { filter: brightness(1.08); box-shadow: 0 4px 16px rgba(255, 211, 107, 0.55); transform: translateY(-1px); } .btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); } .btn-outline:hover { background: rgba(242, 193, 78, 0.12); color: var(--color-secondary); } .main-nav { height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #111111; border-top: 1px solid var(--color-border); border-bottom: 2px solid var(--color-primary); width: 100%; } .nav-container { 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-menu { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 4px; height: 100%; align-items: center; } .nav-menu li { height: 100%; display: flex; align-items: center; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: var(--color-text-main); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s ease, background-color 0.2s ease; border-radius: 4px; } .nav-link:hover, .nav-link.active { color: var(--color-primary); background-color: rgba(242, 193, 78, 0.08); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-between; height: 40px; width: 40px; z-index: 1002; } .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: var(--color-primary); border-radius: 2px; transition: all 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); } .nav-overlay { display: none; position: fixed; inset: 0; 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: #0A0A0A; color: var(--color-text-main); border-top: 2px solid var(--color-primary); margin-top: 40px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 45px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-about { grid-column: span 1; } .footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--color-primary); text-decoration: none; text-transform: uppercase; margin-bottom: 14px; } .footer-logo:hover { color: var(--color-secondary); } .footer-description { font-size: 14px; line-height: 1.7; color: #C9BE9B; margin: 0 0 10px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: var(--color-primary); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); 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 a { color: #C9BE9B; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--color-primary); padding-left: 4px; } .footer-mid { padding: 20px 0; } .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { background-color: #050505; border-top: 1px solid var(--color-border); padding: 18px 0; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #8F8670; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px; min-height: 60px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { font-size: 18px; } .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 { height: 48px; min-height: 48px; background-color: #111111; } .nav-container { width: 100%; max-width: none; padding-left: 10px; padding-right: 10px; justify-content: flex-start; } .hamburger-menu { display: flex; } .nav-menu { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 320px; height: calc(100vh - var(--header-offset)); background-color: #111111; padding: 20px 0; gap: 0; align-items: stretch; overflow-y: auto; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; border-right: 2px solid var(--color-primary); } .nav-menu.active { display: flex; transform: translateX(0); } .nav-menu li { display: block; height: auto; } .nav-link { display: block; padding: 14px 24px; font-size: 15px; border-radius: 0; height: auto; border-bottom: 1px solid var(--color-border); } .nav-link:hover, .nav-link.active { background-color: rgba(242, 193, 78, 0.12); color: var(--color-primary); } .footer-top { padding: 30px 0 20px; } .footer-top-grid { grid-template-columns: 1fr; gap: 25px; } .footer-container { padding: 0 15px; } .footer-title { 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 (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;
}
