:root { --primary: #FF8C1A; --secondary: #FFA53A; --btn-grad: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); --card-bg: #17191F; --bg-dark: #0D0E12; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --header-offset: 122px; } * { box-sizing: border-box; } html, body { overflow-x: hidden; } body { padding-top: var(--header-offset); margin: 0; background-color: var(--bg-dark); color: var(--text-main); font-family: 'Segoe UI', 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.6), 0 1px 0 var(--border-color); background-color: #0D0E12; } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; width: 100%; 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: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: var(--secondary); text-decoration: none; text-transform: lowercase; text-shadow: 0 0 10px rgba(255,165,58,0.5); white-space: nowrap; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 22px; height: 2px; background-color: var(--text-main); 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); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; width: 100%; max-width: 100%; overflow: hidden; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; cursor: pointer; padding: 10px 22px; font-size: 14px; line-height: 1.2; color: #FFFFFF; background: var(--btn-grad); box-shadow: 0 3px 12px rgba(217,104,0,0.45); white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,176,77,0.65); filter: brightness(1.08); } .btn-login { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } .btn-register { background: linear-gradient(180deg, #FFB04D 0%, #C25E00 100%); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; width: 100%; border-bottom: 1px solid var(--border-color); } .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: 22px; } .nav-link { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 4px 2px; white-space: nowrap; transition: color 0.2s ease, text-shadow 0.2s ease; position: relative; } .nav-link:hover, .nav-link.active { color: var(--glow); text-shadow: 0 0 8px rgba(255,176,77,0.7); } .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--btn-grad); transform: scaleX(0); transition: transform 0.25s ease; } .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); } .menu-overlay { display: none; } .site-footer { background-color: #17191F; color: var(--text-main); border-top: 2px solid var(--border-color); padding: 40px 20px 0; margin-top: 40px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); } .footer-col { min-width: 0; } .footer-about { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--secondary); text-decoration: none; text-transform: lowercase; text-shadow: 0 0 10px rgba(255,165,58,0.5); margin-bottom: 14px; } .footer-description { font-size: 13px; line-height: 1.7; color: #D9C9B8; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 15px; font-weight: 700; color: var(--glow); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { color: #D9C9B8; text-decoration: none; font-size: 13px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow); padding-left: 4px; } .footer-slot-anchor-inner { display: block; min-height: 1px; } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 25px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0 25px; border-top: 1px solid var(--border-color); text-align: center; } .footer-bottom p { margin: 0; font-size: 12px; color: #B8A896; 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; justify-content: space-between; } .hamburger-menu { display: flex; flex: 0 0 auto; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 120px); font-size: 22px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .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: #0D0E12; 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 { height: auto !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh !important; background-color: #17191F; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 90px 0 30px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; border-right: 1px solid var(--border-color); border-bottom: none; } .main-nav.active, .main-nav.open { display: flex !important; 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 { display: block; width: 100%; padding: 14px 24px; font-size: 15px; border-bottom: 1px solid rgba(168,79,12,0.35); box-sizing: border-box; } .nav-link::after { display: none; } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.65); z-index: 999; } .menu-overlay.active, .menu-overlay.visible { display: block; } .site-footer { padding: 30px 15px 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 22px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 15px; } .footer-bottom p { font-size: 11px; } body.no-scroll { overflow: hidden; } .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;
}
