:root { --header-offset: 122px; --color-primary: #FF8C1A; --color-secondary: #FFA53A; --color-bg: #0D0E12; --color-card-bg: #17191F; --color-text-main: #FFF3E6; --color-border: #A84F0C; --color-glow: #FFB04D; --color-deep-orange: #D96800; --color-btn: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } * { 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', Roboto, Arial, sans-serif; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--color-bg); box-shadow: 0 4px 20px rgba(255, 140, 26, 0.25), 0 2px 8px rgba(0, 0, 0, 0.6); border-bottom: 2px solid var(--color-border); } .header-top { box-sizing: border-box; width: 100%; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-card-bg); } .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: 32px; font-weight: 800; letter-spacing: 1px; text-decoration: none; background: linear-gradient(180deg, #FFA53A 0%, #FF8C1A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #FFA53A; line-height: 1; } .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; font-weight: 700; text-align: center; cursor: pointer; border: none; border-radius: 8px; transition: all 0.25s ease; white-space: nowrap; } .desktop-nav-buttons .btn { padding: 10px 24px; font-size: 15px; } .btn-login { background: transparent; color: var(--color-secondary); border: 2px solid var(--color-secondary); } .btn-login:hover { background: rgba(255, 165, 58, 0.15); color: #fff; box-shadow: 0 0 12px rgba(255, 165, 58, 0.5); } .btn-register { background: var(--color-btn); color: #1a0d00; border: 2px solid var(--color-glow); box-shadow: 0 4px 14px rgba(255, 140, 26, 0.45); } .btn-register:hover { filter: brightness(1.1); box-shadow: 0 6px 20px rgba(255, 176, 77, 0.7); transform: translateY(-1px); } .main-nav { box-sizing: border-box; width: 100%; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-bg); border-top: 1px solid rgba(168, 79, 12, 0.4); } .nav-container { box-sizing: border-box; width: 100%; 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; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; } .nav-menu li { margin: 0; } .nav-menu li a { display: block; padding: 8px 14px; color: var(--color-text-main); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; transition: all 0.2s ease; white-space: nowrap; } .nav-menu li a:hover, .nav-menu li a.active { color: #1a0d00; background: var(--color-btn); box-shadow: 0 0 10px rgba(255, 176, 77, 0.6); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 40px; height: 40px; background: transparent; border: 2px solid var(--color-secondary); border-radius: 6px; cursor: pointer; padding: 8px; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 2px; background-color: var(--color-secondary); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.65); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } .site-footer { background-color: var(--color-card-bg); color: var(--color-text-main); border-top: 2px solid var(--color-border); padding: 40px 0 0; margin-top: 40px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 30px 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 30px; font-weight: 800; text-decoration: none; letter-spacing: 1px; background: linear-gradient(180deg, #FFA53A 0%, #FF8C1A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #FFA53A; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: #d8c8b8; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: var(--color-secondary); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border); } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav li a { color: #d8c8b8; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav li a:hover { color: var(--color-glow); } .footer-dynamic-col { min-width: 0; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 0 30px 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { background-color: var(--color-bg); border-top: 1px solid var(--color-border); padding: 18px 30px; text-align: center; } .footer-bottom p { margin: 0; font-size: 13px; color: #b8a898; } @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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 28px; } .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--color-card-bg); border-top: 1px solid rgba(168, 79, 12, 0.4); } .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; background-color: var(--color-bg); border-top: none; } .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%); } .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: var(--color-card-bg); padding: 80px 20px 30px; gap: 4px; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1000; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.7); border-right: 2px solid var(--color-border); } .nav-menu.active { display: flex; transform: translateX(0); } .nav-menu li { width: 100%; } .nav-menu li a { display: block; width: 100%; padding: 12px 16px; font-size: 15px; text-align: left; border-bottom: 1px solid rgba(168, 79, 12, 0.3); border-radius: 6px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 24px; } .footer-mid { padding: 0 20px 16px; } .footer-mid-grid { grid-template-columns: 1fr; gap: 12px; } .footer-bottom { padding: 16px 20px; } .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;
}
