:root { --header-offset: 122px; --primary: #FF8C1A; --secondary: #FFA53A; --bg-dark: #0D0E12; --bg-card: #17191F; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); } * { box-sizing: border-box; } body { margin: 0; padding: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--bg-dark); box-shadow: 0 4px 20px rgba(255, 140, 26, 0.25), 0 2px 8px rgba(0, 0, 0, 0.6); border-bottom: 1px solid var(--border-color); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--bg-card); 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; text-decoration: none; color: var(--primary); font-size: 24px; font-weight: 800; letter-spacing: 0.5px; text-transform: lowercase; white-space: nowrap; background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 20px rgba(255, 176, 77, 0.3); } .logo:hover { opacity: 0.9; } .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-decoration: none; border: none; cursor: pointer; font-weight: 700; border-radius: 8px; transition: all 0.3s ease; text-align: center; line-height: 1.2; } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 14px; min-height: 40px; } .btn-login { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); } .btn-login:hover { background-color: rgba(255, 140, 26, 0.15); box-shadow: 0 0 15px rgba(255, 140, 26, 0.4); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; border: 2px solid transparent; box-shadow: 0 4px 14px rgba(217, 104, 0, 0.45); } .btn-register:hover { box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6); transform: translateY(-1px); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--bg-dark); width: 100%; border-top: 1px solid rgba(168, 79, 12, 0.3); } .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; width: 100%; } .nav-menu { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; justify-content: center; } .nav-item { margin: 0; padding: 0; } .nav-link { display: inline-block; padding: 6px 12px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; transition: all 0.25s ease; white-space: nowrap; } .nav-link:hover { color: var(--glow); background-color: rgba(255, 140, 26, 0.12); } .nav-link.active { color: var(--primary); background-color: rgba(255, 140, 26, 0.18); } .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: 8px; z-index: 1002; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: var(--primary); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--bg-card); color: var(--text-main); border-top: 2px solid var(--border-color); width: 100%; } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 40px 0 20px; background-color: var(--bg-card); } .footer-slot-anchor-outer { width: 100%; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; } .footer-logo { display: inline-block; text-decoration: none; color: var(--primary); font-size: 22px; font-weight: 800; margin-bottom: 12px; background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .footer-description { color: var(--text-main); opacity: 0.85; font-size: 13px; line-height: 1.7; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { color: var(--primary); font-size: 16px; font-weight: 700; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border-color); } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; padding: 0; } .footer-nav a { color: var(--text-main); opacity: 0.85; text-decoration: none; font-size: 13px; transition: all 0.25s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow); opacity: 1; padding-left: 4px; } .footer-dynamic-col { min-height: 1px; } .footer-slot-anchor-inner { width: 100%; } .footer-mid { padding: 20px 0; background-color: var(--bg-dark); border-top: 1px solid rgba(168, 79, 12, 0.4); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 10px 0; } .footer-bottom { padding: 18px 0; background-color: var(--bg-card); border-top: 1px solid var(--border-color); text-align: center; } .footer-bottom p { margin: 0; color: var(--text-main); opacity: 0.75; font-size: 13px; 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; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; } .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; } .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; min-height: 40px; } .main-nav { height: 48px !important; min-height: 48px !important; position: fixed; top: 108px; left: 0; width: 100%; background-color: var(--bg-dark); z-index: 1001; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; } .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background-color: var(--bg-card); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 30px; gap: 4px; z-index: 1002; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.6); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; } .nav-menu.active { display: flex; transform: translateX(0); } .nav-item { width: 100%; } .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-radius: 8px; } .footer-top { padding: 30px 0 15px; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .footer-bottom p { font-size: 12px; } .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) { .nav-menu { width: 85%; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
