:root { --primary: #F2C14E; --secondary: #FFD36B; --bg: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --header-offset: 122px; } * { box-sizing: border-box; margin: 0; padding: 0; } body { 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; box-shadow: 0 4px 20px rgba(0,0,0,0.7); } .header-top { min-height: 68px; height: 68px; background-color: #0A0A0A; display: flex; align-items: center; overflow: hidden; width: 100%; border-bottom: 2px solid var(--border-color); } .header-container { 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: 32px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; background: var(--btn-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 20px rgba(242,193,78,0.3); } .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 { display: none; min-height: 48px; } .btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; border: none; transition: all 0.3s ease; white-space: nowrap; } .btn-login { background: transparent; color: var(--primary); border: 2px solid var(--primary); } .btn-login:hover { background: var(--primary); color: #0A0A0A; } .btn-register { background: var(--btn-gradient); color: #0A0A0A; border: 2px solid transparent; box-shadow: 0 4px 15px rgba(242,193,78,0.4); } .btn-register:hover { box-shadow: 0 6px 20px rgba(242,193,78,0.7); transform: translateY(-2px); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 28px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--primary); border-radius: 3px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } .main-nav { min-height: 52px; height: 52px; background-color: var(--card-bg); display: flex; align-items: center; overflow: hidden; width: 100%; border-bottom: 1px solid var(--border-color); } .nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; } .nav-link { display: block; padding: 8px 14px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; } .nav-link:hover { color: var(--primary); background-color: rgba(242,193,78,0.1); } .nav-link.active { color: var(--primary); border-bottom: 2px solid var(--primary); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); z-index: 999; } .menu-overlay.active { display: block; } .site-footer { background-color: var(--bg); color: var(--text-main); border-top: 2px solid var(--border-color); padding: 50px 0 0; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 15px; letter-spacing: 2px; background: var(--btn-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .footer-description { font-size: 14px; line-height: 1.7; color: #B0A88A; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #B0A88A; text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary); } .footer-mid { margin-bottom: 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { border-top: 1px solid var(--border-color); padding: 25px 0; text-align: center; } .footer-bottom p { font-size: 13px; color: #8A8268; margin: 0; } @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); font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; } .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; min-height: 48px; background-color: #0A0A0A; } .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 { display: none; position: fixed; top: 0; left: 0; min-height: 100vh; height: 100vh; width: 280px; max-width: 80%; background-color: #111111; flex-direction: column; justify-content: flex-start; padding-top: 80px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; border-right: 2px solid var(--border-color); } .main-nav.active { display: flex; transform: translateX(0); } .main-nav .nav-container { height: auto; max-width: none; width: 100%; flex-direction: column; justify-content: flex-start; padding: 0 20px; gap: 0; } .main-nav .nav-link { display: block; width: 100%; padding: 14px 10px; font-size: 16px; border-bottom: 1px solid var(--border-color); border-radius: 0; } .menu-overlay { z-index: 999; } .footer-top-grid { grid-template-columns: 1fr; gap: 25px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding: 0 15px; } .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: 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;
}
