:root { --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%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .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 { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; } .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: 26px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; text-shadow: 0 0 12px rgba(255,140,26,0.4); } .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; } .btn { display: inline-block; text-decoration: none; font-weight: 700; text-align: center; border-radius: 8px; transition: all 0.3s ease; cursor: pointer; border: none; box-sizing: border-box; } .btn-login { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 9px 20px; font-size: 15px; } .btn-login:hover { background: var(--primary); color: #0D0E12; } .btn-register { background: var(--btn-gradient); color: #1a0f00; padding: 11px 22px; font-size: 15px; box-shadow: 0 3px 14px rgba(255,140,26,0.45); border: 1px solid var(--glow); } .btn-register:hover { filter: brightness(1.12); box-shadow: 0 5px 20px rgba(255,176,77,0.7); transform: translateY(-1px); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1a1208; width: 100%; border-top: 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; position: relative; } .nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 2px; height: 100%; } .nav-item { height: 100%; display: flex; align-items: center; } .nav-link { display: flex; align-items: center; height: 100%; padding: 0 13px; color: var(--text-main); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: color 0.25s ease, background-color 0.25s ease; border-bottom: 3px solid transparent; } .nav-link:hover, .nav-link.active { color: var(--primary); background-color: rgba(255,140,26,0.08); border-bottom-color: var(--primary); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .site-footer { background-color: var(--card-bg); color: var(--text-main); border-top: 3px solid var(--primary); } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding-top: 45px; padding-bottom: 30px; border-bottom: 1px solid var(--border); } .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: var(--primary); text-decoration: none; margin-bottom: 14px; text-shadow: 0 0 10px rgba(255,140,26,0.35); } .footer-description { font-size: 14px; line-height: 1.7; color: rgba(255,243,230,0.78); margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 17px; font-weight: 700; color: var(--glow); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border); display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; } .footer-nav li a { color: rgba(255,243,230,0.82); text-decoration: none; font-size: 14px; transition: color 0.25s ease, padding-left 0.25s ease; display: inline-block; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav li a:hover { color: var(--primary); padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { padding: 25px 0; border-bottom: 1px solid var(--border); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { padding: 20px 0; text-align: center; background-color: rgba(0,0,0,0.25); } .footer-copyright { margin: 0; font-size: 13.5px; color: rgba(255,243,230,0.65); } .footer-copyright span { color: var(--primary); font-weight: 700; } @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; position: relative; height: 100%; } .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% - 100px); flex: none !important; font-size: 21px; } .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 { min-height: 48px !important; height: 48px !important; } .nav-container { width: 100%; max-width: none; padding-left: 12px; padding-right: 12px; justify-content: center; } .hamburger-menu { display: flex; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 1002; } .nav-list { position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; background-color: #17191F; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 30px; gap: 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 4px 0 24px rgba(0,0,0,0.7); border-right: 1px solid var(--border); overflow-y: auto; } .nav-list.active { transform: translateX(0); } .nav-item { height: auto; width: 100%; display: block; border-bottom: 1px solid rgba(168,79,12,0.35); } .nav-link { height: auto; display: block; padding: 14px 12px; font-size: 16px; border-bottom: none; border-left: 3px solid transparent; } .nav-link:hover, .nav-link.active { border-left-color: var(--primary); border-bottom-color: transparent; background-color: rgba(255,140,26,0.1); } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding: 0 18px; } .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: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-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;
}
