:root { --primary: #F2C14E; --secondary: #FFD36B; --bg-dark: #0A0A0A; --bg-card: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-dark); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } a { text-decoration: none; color: inherit; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--bg-card); box-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 1px 0 var(--border-color); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #111111; 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 { font-size: 32px; font-weight: 900; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; display: inline-block; transition: color 0.3s ease; line-height: 1; } .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; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; font-size: 15px; font-weight: 700; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; white-space: nowrap; border: none; cursor: pointer; line-height: 1.2; } .btn-login { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); } .btn-login:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 10px rgba(242,193,78,0.3); } .btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #0A0A0A; box-shadow: 0 4px 15px rgba(242,193,78,0.4); } .btn-register:hover { background: linear-gradient(180deg, #FFE08A 0%, #E8B030 100%); box-shadow: 0 6px 20px rgba(242,193,78,0.6); transform: translateY(-1px); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0A0A0A; 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; } .nav-menu { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 4px; } .nav-item { margin: 0; } .nav-link { display: block; padding: 8px 14px; color: var(--text-main); font-size: 15px; font-weight: 600; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: var(--primary); background-color: rgba(242,193,78,0.1); text-shadow: 0 0 8px rgba(255,211,107,0.5); } .hamburger-menu { display: none; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1001; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; } .hamburger-line { display: block; width: 24px; height: 2px; background-color: var(--primary); transition: all 0.3s ease; border-radius: 2px; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--bg-card); border-top: 1px solid var(--border-color); padding: 50px 20px 0; color: var(--text-main); } .footer-top-row { max-width: 1200px; margin: 0 auto; } .footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); } .footer-col { display: flex; flex-direction: column; } .footer-about .footer-logo { font-size: 28px; font-weight: 900; color: var(--primary); text-transform: uppercase; margin-bottom: 15px; display: inline-block; } .footer-about .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 14px; line-height: 1.6; color: #cccccc; margin: 0 0 15px; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { font-size: 18px; font-weight: 700; color: var(--primary); margin: 0 0 15px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #cccccc; font-size: 14px; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary); padding-left: 3px; } .footer-dynamic-col { display: flex; flex-direction: column; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 30px 0; border-bottom: 1px solid var(--border-color); } .footer-mid-anchor { min-height: 1px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; } .footer-mid-cell { min-height: 1px; } .footer-bottom-anchor { max-width: 1200px; margin: 0 auto; min-height: 1px; } .footer-bottom { text-align: center; padding: 25px 0; max-width: 1200px; margin: 0 auto; } .footer-bottom p { margin: 0; font-size: 14px; color: #999999; } @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 { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; margin: 0; font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 300px; height: 100vh; min-height: 100vh; background-color: #111111; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 20px; border-right: 1px solid var(--border-color); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 20px 15px; flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; } .nav-menu { flex-direction: column; width: 100%; gap: 0; } .nav-item { width: 100%; border-bottom: 1px solid var(--border-color); } .nav-item:last-child { border-bottom: none; } .nav-link { padding: 14px 20px; font-size: 16px; } .mobile-nav-buttons { display: flex !important; min-height: 48px; height: 48px; 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; background-color: #0A0A0A; 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; } .footer-top-grid { grid-template-columns: 1fr; gap: 25px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-col-title { font-size: 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;
}
