:root { --header-offset: 122px; --primary: #FF8C1A; --secondary: #FFA53A; --bg: #0D0E12; --card-bg: #17191F; --text-main: #FFF3E6; --border: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; overflow-x: hidden; } .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.55); background-color: var(--card-bg); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background-color: var(--card-bg); border-bottom: 1px solid var(--border); } .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: 30px; font-weight: 800; letter-spacing: 1px; color: var(--primary); text-decoration: none; text-shadow: 0 0 12px rgba(255, 176, 77, 0.35); } .logo:hover { color: var(--secondary); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; font-weight: 700; text-align: center; border-radius: 8px; padding: 10px 20px; font-size: 14px; line-height: 1.2; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; } .btn-login { background: transparent; color: var(--secondary); border: 1px solid var(--border); } .btn-login:hover { background: rgba(255, 165, 58, 0.12); color: var(--glow); } .btn-register { background: var(--btn-gradient); color: #1A0D00; box-shadow: 0 3px 14px rgba(255, 140, 26, 0.45); } .btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 176, 77, 0.65); filter: brightness(1.06); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; min-width: 44px; background: transparent; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 22px; height: 2px; background-color: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 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); } .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; width: 100%; background-color: var(--bg); border-bottom: 1px solid var(--border); } .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; gap: 4px; flex-wrap: nowrap; } .nav-link { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--glow); background-color: rgba(255, 140, 26, 0.12); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--card-bg); color: var(--text-main); border-top: 2px solid var(--border); } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 50px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; text-shadow: 0 0 12px rgba(255, 176, 77, 0.3); } .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 14px; line-height: 1.7; color: #D8C7B5; margin: 0 0 10px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 0 0 16px; letter-spacing: 0.5px; padding-bottom: 8px; border-bottom: 1px solid var(--border); } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li { margin: 0; padding: 0; } .footer-nav a { color: #E5D5C5; text-decoration: none; font-size: 14px; line-height: 1.5; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow); padding-left: 4px; } .footer-dynamic-col { min-height: 10px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; } .footer-bottom { margin-top: 10px; padding: 20px 0 26px; border-top: 1px solid var(--border); background-color: #101218; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #B9A896; line-height: 1.6; } @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; height: 100%; } .logo { font-size: 26px; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; } .hamburger-menu { display: flex; position: relative; z-index: 1002; order: -1; } .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; min-height: 48px; background-color: var(--card-bg); border-bottom: 1px solid var(--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: 85%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: var(--card-bg); z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 80px; overflow-y: auto; border-right: 1px solid var(--border); box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 10px 15px 30px; gap: 4px; } .nav-link { display: block; width: 100%; font-size: 16px; padding: 14px 16px; border-radius: 8px; border-bottom: 1px solid rgba(168, 79, 12, 0.3); } .nav-link:hover, .nav-link.active { background-color: rgba(255, 140, 26, 0.15); } .footer-top { padding: 36px 0 20px; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .footer-title { margin-bottom: 12px; } .footer-bottom { padding: 18px 0 22px; } .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;
}
