:root { --header-offset: 122px; --primary: #F2C14E; --secondary: #FFD36B; --bg-main: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-main); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0A0A0A; 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: 24px; padding-right: 24px; } .logo { display: inline-block; text-decoration: none; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: var(--primary); text-transform: none; text-shadow: 0 0 12px rgba(255, 211, 107, 0.45); } .logo:hover { color: var(--secondary); } .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-block; text-decoration: none; border: none; cursor: pointer; border-radius: 8px; font-weight: 700; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; } .btn-login { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); padding: 10px 22px; font-size: 14px; } .btn-login:hover { background: rgba(242, 193, 78, 0.12); color: var(--secondary); border-color: var(--secondary); } .btn-register { background: var(--btn-gradient); color: #1a1204; padding: 10px 22px; font-size: 14px; box-shadow: 0 2px 10px rgba(255, 211, 107, 0.35); } .btn-register:hover { filter: brightness(1.08); box-shadow: 0 4px 16px rgba(255, 211, 107, 0.55); transform: translateY(-1px); } .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-line { display: block; width: 24px; height: 2.5px; background-color: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #171104; width: 100%; border-top: 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: 4px; flex-wrap: wrap; } .nav-link { display: inline-flex; align-items: center; text-decoration: none; color: var(--text-main); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 6px; transition: color 0.2s ease, background-color 0.2s ease; white-space: nowrap; } .nav-link:hover { color: var(--primary); background-color: rgba(242, 193, 78, 0.1); } .nav-link.active { color: #1a1204; background: var(--btn-gradient); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 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(--card-bg); color: var(--text-main); border-top: 1px solid var(--border-color); margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; } .footer-top { padding: 48px 0 32px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; text-decoration: none; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: var(--primary); margin-bottom: 14px; text-shadow: 0 0 10px rgba(255, 211, 107, 0.35); } .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 14px; line-height: 1.7; color: #d8cdb0; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 16px; position: relative; padding-bottom: 10px; } .footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--btn-gradient); border-radius: 2px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li { margin: 0; } .footer-nav a { display: inline-block; text-decoration: none; color: #d8cdb0; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--primary); padding-left: 4px; } .footer-mid { padding: 16px 0 24px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 12px 0; } .footer-mid-cell { min-height: 0; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { border-top: 1px solid var(--border-color); padding: 18px 0; background-color: #0A0A0A; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #b8ad90; } @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: 12px; padding-right: 12px; 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% - 110px); font-size: 22px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .hamburger-menu { display: flex !important; position: relative; z-index: 1002; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0A0A0A; z-index: 1000; } .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; display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; background-color: #171104; border-top: none; border-right: 1px solid var(--border-color); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding-top: 70px; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 16px 12px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; height: auto; } .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-radius: 8px; white-space: normal; } .footer-top-grid { grid-template-columns: 1fr; gap: 28px; } .footer-top { padding: 32px 0 20px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .footer-container { padding: 0 16px; } .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;
}
