:root { --header-offset: 122px; --primary: #FF8C1A; --primary-light: #FFA53A; --deep-orange: #D96800; --glow: #FFB04D; --bg-site: #0D0E12; --bg-card: #17191F; --text-main: #FFF3E6; --border-color: #A84F0C; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } *, *::before, *::after { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; background-color: var(--bg-site); 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; box-shadow: 0 4px 20px rgba(0,0,0,0.6); background-color: var(--bg-site); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; border-bottom: 2px solid var(--border-color); } .header-container { width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; 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(--primary); text-decoration: none; text-transform: lowercase; text-shadow: 0 0 12px rgba(255, 140, 26, 0.5); } .logo:hover { color: var(--primary-light); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; text-align: center; border-radius: 8px; font-weight: 700; cursor: pointer; border: none; transition: all 0.3s ease; } .btn-login { background: transparent; color: var(--primary-light); border: 2px solid var(--border-color); padding: 9px 22px; font-size: 15px; } .btn-login:hover { background-color: rgba(255,165,58,0.15); border-color: var(--primary-light); color: #fff; } .btn-register { background: var(--btn-gradient); color: #0D0E12; border: 2px solid var(--glow); padding: 9px 22px; font-size: 15px; box-shadow: 0 0 14px rgba(255,176,77,0.45); } .btn-register:hover { box-shadow: 0 0 22px rgba(255,176,77,0.8); transform: translateY(-2px); } .mobile-nav-buttons { display: none; min-height: 48px; } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0D0E12; border-bottom: 1px solid var(--border-color); } .nav-container { width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; } .nav-menu { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; } .nav-link { display: block; padding: 8px 14px; color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 6px; white-space: nowrap; transition: all 0.25s ease; } .nav-link:hover, .nav-link.active { color: #0D0E12; background: var(--btn-gradient); box-shadow: 0 0 10px rgba(255,176,77,0.5); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary-light); border-radius: 3px; margin: 5px 0; 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); } .menu-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.visible { display: block; opacity: 1; } .site-footer { background-color: #17191F; border-top: 3px solid var(--border-color); color: var(--text-main); } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 50px 0 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: 26px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 14px; text-shadow: 0 0 12px rgba(255,140,26,0.5); } .footer-description { font-size: 14px; line-height: 1.7; color: #c9bba9; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 17px; font-weight: 700; color: var(--primary-light); margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { color: #c9bba9; text-decoration: none; font-size: 14px; transition: color 0.25s ease; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: var(--primary-light); padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-mid { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; } .footer-slot-anchor, .footer-slot-anchor-inner { display: block; min-height: 1px; width: 100%; } .footer-bottom { border-top: 1px solid var(--border-color); padding: 20px 0; background-color: #0D0E12; } .footer-copyright { margin: 0; text-align: center; font-size: 13.5px; color: #9a8b7a; } @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; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 24px; max-width: calc(100% - 100px); } .hamburger-menu { display: block; position: relative; z-index: 1002; } .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: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; 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: 48px !important; min-height: 48px !important; display: flex; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .nav-menu { position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background-color: #17191F; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 90px 20px 30px; gap: 6px; display: none; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.5); } .nav-menu.active { display: flex; transform: translateX(0); } .nav-menu li { width: 100%; } .nav-link { display: block; width: 100%; padding: 13px 16px; font-size: 16px; border-radius: 8px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding: 0 15px; } .footer-logo { font-size: 24px; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: 1fr; } } .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;
}
