:root { --header-offset: 122px; --color-primary: #FF8C1A; --color-secondary: #FFA53A; --color-bg: #0D0E12; --color-card: #17191F; --color-text: #FFF3E6; --color-border: #A84F0C; --color-glow: #FFB04D; --color-deep: #D96800; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--color-bg); color: var(--color-text); overflow-x: hidden; } .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(0,0,0,0.7), 0 1px 0 var(--color-border); } .header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; width: 100%; border-bottom: 1px solid var(--color-border); } .header-container { position: relative; 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 { font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 0.5px; text-transform: capitalize; white-space: nowrap; text-shadow: 0 0 12px rgba(255,140,26,0.55); } .logo:hover { color: var(--color-secondary); } .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; border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.25s ease; border: 1px solid transparent; } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 14px; letter-spacing: 0.3px; } .btn-login { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); } .btn-login:hover { border-color: var(--color-secondary); color: var(--color-secondary); box-shadow: 0 0 12px rgba(255,165,58,0.4); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; border: none; box-shadow: 0 4px 15px rgba(217,104,0,0.5); } .btn-register:hover { box-shadow: 0 6px 22px rgba(255,176,77,0.7); transform: translateY(-1px); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; height: 3px; width: 26px; background-color: var(--color-text); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--color-secondary); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--color-secondary); } .main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; 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; gap: 4px; width: 100%; } .nav-container a { display: inline-block; color: var(--color-text); 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-container a:hover { color: var(--color-secondary); background-color: rgba(255,140,26,0.12); } .site-footer { background-color: #0A0B0E; color: var(--color-text); border-top: 1px solid var(--color-border); padding-top: 40px; } .footer-top { max-width: 1200px; margin: 0 auto; padding: 0 30px 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; text-transform: capitalize; text-shadow: 0 0 10px rgba(255,140,26,0.5); } .footer-description { font-size: 14px; line-height: 1.7; color: #C9BEB5; word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 16px; } .footer-col-title { font-size: 16px; font-weight: 700; color: var(--color-secondary); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--color-border); display: inline-block; } .footer-nav { list-style: none; margin: 0 0 16px; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #C9BEB5; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--color-secondary); padding-left: 4px; } .footer-dynamic-col { min-height: 10px; } .footer-slot-anchor-inner, .footer-slot-anchor-outer { min-height: 0; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 10px 30px 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { background-color: #050608; border-top: 1px solid var(--color-border); text-align: center; padding: 20px 15px; } .footer-bottom p { margin: 0; font-size: 13px; color: #9C9088; } .nav-overlay { display: none; } @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; justify-content: space-between; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; font-size: 20px; max-width: calc(100% - 110px); overflow: hidden; text-overflow: ellipsis; } .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; } .hamburger-menu { display: flex; position: relative; z-index: 1001; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; min-height: 100vh; background-color: #17191F; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 80px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; overflow-y: auto; box-shadow: 4px 0 25px rgba(0,0,0,0.8); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 10px 20px; gap: 2px; width: 100%; max-width: none; height: auto; } .nav-container a { padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(168,79,12,0.35); border-radius: 0; } .nav-container a:hover { padding-left: 20px; } .nav-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.7); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { 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; } .footer-top, .footer-mid { padding-left: 15px; padding-right: 15px; } .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;
}
