:root { --primary: #FF8C1A; --secondary: #FFA53A; --bg: #0D0E12; --card-bg: #17191F; --text-main: #FFF3E6; --border: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --btn-grad: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); --header-offset: 122px; } * { box-sizing: border-box; margin: 0; padding: 0; } body { padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } a { text-decoration: none; color: inherit; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--bg); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); border-bottom: 1px solid var(--border); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #101218; box-sizing: border-box; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; } .logo { font-size: 28px; font-weight: 900; color: var(--secondary); letter-spacing: 1px; text-transform: uppercase; display: inline-block; text-shadow: 0 0 10px rgba(255, 140, 26, 0.5); } .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-flex; align-items: center; justify-content: center; text-align: center; border-radius: 6px; font-weight: 700; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: 1px solid transparent; white-space: nowrap; font-family: inherit; } .btn-login { background: transparent; color: var(--text-main); border: 1px solid var(--border); padding: 10px 20px; font-size: 15px; } .btn-login:hover { background-color: rgba(255, 140, 26, 0.1); border-color: var(--primary); color: var(--secondary); } .btn-register { background: var(--btn-grad); color: #0D0E12; padding: 10px 24px; font-size: 15px; box-shadow: 0 0 15px rgba(255, 165, 58, 0.3); } .btn-register:hover { box-shadow: 0 0 25px rgba(255, 165, 58, 0.6); transform: translateY(-1px); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1A1C23; box-sizing: border-box; border-top: 1px solid rgba(168, 79, 12, 0.3); } .nav-container { 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: wrap; } .nav-link { display: inline-block; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--text-main); line-height: 52px; height: 52px; transition: color 0.2s ease, background-color 0.2s ease; border-bottom: 2px solid transparent; } .nav-link:hover, .nav-link.active { color: var(--secondary); border-bottom-color: var(--primary); background-color: rgba(255, 140, 26, 0.05); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 0; width: 28px; height: 24px; position: relative; flex-direction: column; justify-content: space-between; z-index: 1002; } .hamburger-line { display: block; height: 3px; width: 100%; background-color: var(--text-main); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(10px) rotate(45deg); background-color: var(--secondary); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background-color: var(--secondary); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); 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: #101218; border-top: 1px solid var(--border); color: var(--text-main); padding-top: 30px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(168, 79, 12, 0.3); } .footer-col { display: flex; flex-direction: column; gap: 12px; } .footer-logo { font-size: 26px; font-weight: 900; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; } .footer-description { font-size: 13px; line-height: 1.6; color: #b0b0b0; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; display: flex; flex-direction: column; gap: 8px; } .footer-nav li a { font-size: 13px; color: #b0b0b0; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav li a:hover { color: var(--primary); padding-left: 4px; } .footer-slot-anchor-inner { width: 100%; } .footer-middle-row { display: flex; gap: 20px; padding: 20px 0; } .footer-middle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(168, 79, 12, 0.3); } .footer-bottom { padding: 20px 0; text-align: center; } .footer-copyright { font-size: 12px; color: #888888; } @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; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; } .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-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 !important; min-height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; background-color: #1A1C23; flex-direction: column; align-items: stretch; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; border-top: none; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.8); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; padding: 20px 15px; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 0; } .nav-link { display: block; width: 100%; height: auto; line-height: 1.5; padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(168, 79, 12, 0.2); border-left: 3px solid transparent; text-align: left; } .nav-link:hover, .nav-link.active { border-bottom-color: rgba(168, 79, 12, 0.2); border-left-color: var(--primary); background-color: rgba(255, 140, 26, 0.08); } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .footer-middle-grid { grid-template-columns: 1fr 1fr; gap: 15px; } .footer-middle-row { flex-direction: column; gap: 15px; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-middle-grid { grid-template-columns: 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;
}
