:root { --primary: #FF8C1A; --secondary: #FFA53A; --btn-grad: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); --bg-card: #17191F; --bg-main: #0D0E12; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --header-offset: 122px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-main); color: var(--text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; overflow-x: hidden; } 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.7); background-color: var(--bg-main); } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--bg-card); 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; position: relative; } .logo { display: inline-block; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: var(--primary); background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 18px rgba(255, 140, 26, 0.35); 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; align-items: center; gap: 12px; } .mobile-nav-buttons { display: none; box-sizing: border-box; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.3px; text-decoration: none; border: 1px solid var(--border-color); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; cursor: pointer; } .btn-login { background-color: transparent; color: var(--secondary); border-color: var(--secondary); } .btn-login:hover { background-color: var(--secondary); color: var(--bg-main); box-shadow: 0 0 14px rgba(255, 165, 58, 0.5); } .btn-register { background: var(--btn-grad); color: #FFFFFF; border-color: var(--deep-orange); box-shadow: 0 4px 12px rgba(217, 104, 0, 0.45); } .btn-register:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 0 18px var(--glow); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background-color: var(--bg-main); border: 1px solid var(--border-color); border-radius: 8px; cursor: pointer; 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); } .main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--bg-main); border-bottom: 2px solid var(--primary); box-shadow: inset 0 1px 0 rgba(255, 176, 77, 0.15); } .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; gap: 4px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 13px; font-size: 14px; font-weight: 600; color: var(--text-main); border-bottom: 3px solid transparent; transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease; } .nav-link:hover { color: var(--primary); background-color: rgba(255, 140, 26, 0.1); border-bottom-color: var(--primary); } .nav-link.active { color: var(--secondary); border-bottom-color: var(--secondary); } .nav-overlay { display: none; } .site-footer { background-color: var(--bg-card); color: var(--text-main); border-top: 2px solid var(--primary); margin-top: 0; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 25px 0; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; padding-bottom: 30px; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 900; letter-spacing: 1px; color: var(--primary); background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.2; margin-bottom: 12px; } .footer-description { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #D9C9B8; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { margin: 0 0 14px; font-size: 16px; font-weight: 800; color: var(--secondary); letter-spacing: 0.4px; text-transform: uppercase; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; } .footer-nav li { margin: 0; } .footer-nav a { display: inline-block; font-size: 14px; color: #D9C9B8; line-height: 1.5; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--primary); padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-mid-area { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { border-top: 1px solid var(--border-color); padding: 18px 0 22px; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #BFAF9E; } @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; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .hamburger-menu { display: flex; position: relative; z-index: 2; flex-shrink: 0; 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: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background-color: var(--bg-card); 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 { display: none; position: fixed; top: 0; left: 0; width: 85%; max-width: 320px; height: 100vh; min-height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: var(--bg-card); border-bottom: none; border-right: 2px solid var(--primary); box-shadow: 6px 0 24px rgba(0, 0, 0, 0.8); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding: 70px 0 20px; overflow-y: auto; } .main-nav.active, .main-nav.open { 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: 0; gap: 0; } .nav-link { width: 100%; height: auto; padding: 14px 22px; font-size: 15px; border-bottom: 1px solid rgba(168, 79, 12, 0.35); border-left: 3px solid transparent; } .nav-link:hover { border-left-color: var(--primary); background-color: rgba(255, 140, 26, 0.08); } .nav-link.active { border-left-color: var(--secondary); background-color: rgba(255, 165, 58, 0.08); } .nav-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.65); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 1000; } .nav-overlay.active, .nav-overlay.visible { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-container { padding: 30px 15px 0; } .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;
}
