:root { --header-top-bg: #1A1000; --main-nav-bg: #0A0A0A; --header-offset: 122px; --primary: #F2C14E; --primary-light: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --text-main: #FFF6D6; --text-dark: #1A1A1A; --border-color: #3A2A12; } body { padding-top: var(--header-offset); } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--header-top-bg); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); } .header-top { width: 100%; background-color: var(--header-top-bg); } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; min-height: 68px; } .logo { display: inline-block; color: var(--primary); font-size: 34px; font-weight: 900; text-decoration: none; letter-spacing: -1px; text-shadow: 0 0 20px rgba(255, 211, 107, 0.3); line-height: 1.2; } .desktop-nav-buttons { display: flex; gap: 12px; } .btn { display: inline-block; padding: 10px 24px; border-radius: 30px; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s; border: 1px solid transparent; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 211, 107, 0.3); opacity: 0.9; } .btn-register { background: var(--btn-gradient); color: #1A1A1A; } .btn-login { background: transparent; color: var(--primary); border-color: var(--primary); } .main-nav { width: 100%; background-color: var(--main-nav-bg); display: flex; min-height: 52px; align-items: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; padding: 0 20px; } .nav-link { color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; padding: 14px 16px; transition: color 0.3s; white-space: nowrap; position: relative; } .nav-link:hover { color: var(--primary); } .nav-link::after { content: ''; display: block; width: 0; height: 3px; background: var(--primary); transition: width 0.3s; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); } .nav-link:hover::after { width: 60%; } .mobile-menu-overlay { display: none; } .site-footer { background-color: #0A0A0A; border-top: 2px solid var(--border-color); padding: 50px 0 20px; margin-top: 60px; color: var(--text-main); } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 30px; padding: 0 20px; } .footer-brand { display: flex; flex-direction: column; gap: 12px; } .footer-logo { color: var(--primary); font-size: 36px; font-weight: 900; text-decoration: none; } .footer-desc { font-size: 14px; line-height: 1.6; opacity: 0.8; } .footer-heading { color: var(--primary); font-size: 16px; font-weight: 700; margin-bottom: 15px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; display: inline-block; } .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: var(--text-main); text-decoration: none; font-size: 14px; opacity: 0.8; transition: opacity 0.3s, color 0.3s; } .footer-nav a:hover { color: var(--primary); opacity: 1; } .footer-buttons { display: flex; flex-direction: column; gap: 10px; } .footer-btn { display: inline-block; padding: 10px 20px; background: var(--btn-gradient); color: #1A1A1A; border-radius: 6px; text-decoration: none; font-weight: 700; text-align: center; transition: transform 0.3s, box-shadow 0.3s; } .footer-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3); } .footer-btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); } .footer-bottom { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid var(--border-color); text-align: center; } .footer-copyright { font-size: 13px; opacity: 0.7; color: var(--text-main); } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } .header-top { background-color: var(--header-top-bg); } .header-container { width: 100%; max-width: none; padding: 0 15px; min-height: 60px; } .logo { font-size: 28px; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex !important; justify-content: center; gap: 10px; width: 100%; padding: 8px 10px; background-color: var(--main-nav-bg); border-bottom: 1px solid var(--border-color); } .btn { display: inline-block; text-align: center; font-size: 14px; padding: 9px 22px; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background-color: var(--main-nav-bg); z-index: 1001; flex-direction: column; justify-content: flex-start; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 20px 15px; flex-direction: column; justify-content: flex-start; gap: 5px; } .nav-link { width: 100%; text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); white-space: normal; } .nav-link::after { display: none; } .nav-link:hover { background-color: rgba(242, 193, 78, 0.15); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1000; } .mobile-menu-overlay.active { display: block; } .site-footer { padding: 30px 0 15px; } .footer-container { grid-template-columns: 1fr; gap: 20px; } .footer-bottom { padding: 15px 20px 0; } .footer-copyright { text-align: left; } .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;
}
