:root { --header-offset: 122px; --primary: #11A84E; --secondary: #22C768; --card-bg: #11271B; --bg: #08160F; --text-main: #F2FFF6; --text-secondary: #A7D9B8; --border-color: #2E7A4E; --glow: #57E38D; --gold: #F2C14E; --divider: #1E3A2A; --deep-green: #0A4B2C; } 
body { padding-top: var(--header-offset); margin: 0; font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif; background-color: var(--bg); color: var(--text-main); } 
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; flex-direction: column; background-color: var(--bg); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); border-bottom: 1px solid var(--border-color); } 
.header-top { background: linear-gradient(135deg, #0A4B2C 0%, #0D6B3F 100%); width: 100%; border-bottom: 1px solid var(--border-color); } 
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 40px; padding-right: 40px; min-height: 68px; } 
.logo { font-size: 32px; font-weight: 900; color: var(--gold); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; background: linear-gradient(135deg, #F2C14E, #FFE4A1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; } 
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } 
.btn { display: inline-block; padding: 8px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; font-size: 14px; letter-spacing: 0.5px; } 
.btn-register { background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #F2FFF6; } 
.btn-login { background: linear-gradient(180deg, #F2C14E, #E0A92F); color: #08160F; } 
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(87, 227, 141, 0.3); } 
.nav-wrapper { background: #08160F; border-bottom: 1px solid var(--divider); } 
.main-nav { display: flex; background: #08160F; } 
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 4px 20px; width: 100%; } 
.nav-link { color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 500; padding: 10px 16px; transition: color 0.3s, background-color 0.3s; position: relative; white-space: nowrap; } 
.nav-link:hover { color: var(--glow); } 
.nav-link::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--glow); transform: scaleX(0); transition: transform 0.3s; } 
.nav-link:hover::after { transform: scaleX(1); } 
.mobile-nav-buttons { display: none; } 
.mobile-menu-overlay { display: none; } 
.hamburger-menu { display: none; } 
.site-footer { background-color: #06110A; border-top: 2px solid var(--deep-green); color: var(--text-main); position: relative; } 
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding: 50px 20px 30px; } 
.footer-logo { font-size: 34px; font-weight: 900; color: #F2C14E; text-decoration: none; display: inline-block; margin-bottom: 18px; text-transform: uppercase; } 
.footer-description { color: var(--text-secondary); font-size: 14px; line-height: 1.8; margin: 0 0 24px; } 
.footer-heading { color: #F2FFF6; font-size: 16px; font-weight: 600; text-transform: uppercase; margin-bottom: 18px; position: relative; padding-bottom: 10px; } 
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); } 
.footer-nav { display: flex; flex-direction: column; gap: 10px; } 
.footer-nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; line-height: 1.6; transition: color 0.3s, padding-left 0.3s; } 
.footer-nav a:hover { color: var(--glow); padding-left: 4px; } 
.footer-certificates { display: flex; gap: 10px; } 
.certificate-badge { background: rgba(242, 193, 78, 0.15); border: 1px solid var(--gold); color: var(--gold); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; } 
.footer-contact-info { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--divider); } 
.footer-contact-item { font-size: 13px; color: var(--text-secondary); margin: 8px 0; line-height: 1.6; } 
.footer-bottom-bar { background-color: #040A06; padding: 20px 0; border-top: 1px solid rgba(17, 39, 27, 0.8); } 
.footer-bottom-container { display: flex; justify-content: space-between; align-items: center; padding-top: 0; padding-bottom: 0; } 
.footer-copyright { color: var(--text-secondary); font-size: 13px; margin: 0; } 
.footer-safe { color: var(--gold); font-size: 13px; margin: 0; font-weight: 600; } 
@media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { background: linear-gradient(135deg, #0A4B2C 0%, #0D6B3F 100%); border-bottom: 1px solid var(--border-color); } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; min-height: 60px; } .logo { font-size: 26px; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 8px; padding: 8px 15px; background: #08160F; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .mobile-nav-buttons .btn { flex: 1; text-align: center; padding: 8px 10px; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; min-height: 100%; background-color: #08160F; border-right: 2px solid var(--deep-green); box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5); flex-direction: column; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 20px 0; gap: 0; } .nav-link { display: block; width: 100%; text-align: left; padding: 14px 20px; border-bottom: 1px solid rgba(46, 122, 78, 0.1); color: var(--text-main); font-size: 15px; } .nav-link:hover::after { transform: scaleX(0); } .nav-link:hover { background: rgba(17, 39, 27, 0.6); color: var(--glow); } .mobile-menu-overlay { display: none; } .mobile-menu-overlay.active { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1001; } .mobile-menu-overlay.active { animation: fadeInOverlay 0.3s ease-in-out; } .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.no-scroll { overflow: hidden; } .footer-container { grid-template-columns: 1fr; gap: 30px; padding: 40px 15px 20px; } .footer-bottom-container { flex-direction: column; gap: 8px; text-align: center; } .footer-copyright { font-size: 12px; } } @keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } } .site-footer { background-color: #06110A; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
