:root { --primary: #11A84E; --secondary: #22C768; --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); --bg: #08160F; --card-bg: #11271B; --text-main: #F2FFF6; --text-secondary: #A7D9B8; --border-color: #2E7A4E; --glow: #57E38D; --gold: #F2C14E; --divider: #1E3A2A; --deep-green: #0A4B2C; --header-offset: 122px; } html { scroll-behavior: smooth; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg); color: var(--text-main); line-height: 1.6; } .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.6); background-color: var(--deep-green); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--deep-green); 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: 26px; font-weight: 800; color: var(--text-main); text-decoration: none; letter-spacing: 1px; text-transform: lowercase; display: inline-block; text-shadow: 0 0 8px var(--glow); transition: color 0.3s ease; } .logo:hover { color: var(--gold); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 22px; border-radius: 6px; transition: all 0.3s ease; text-align: center; border: none; cursor: pointer; letter-spacing: 0.5px; } .btn-primary { background: var(--btn-gradient); color: #fff; box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4); } .btn-primary:hover { background: linear-gradient(180deg, #13994A 0%, #0E7A3A 100%); box-shadow: 0 4px 15px rgba(42, 209, 111, 0.6); transform: translateY(-1px); } .btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); } .btn-outline:hover { background: var(--gold); color: #08160F; box-shadow: 0 0 12px rgba(242, 193, 78, 0.5); } .mobile-nav-buttons { display: none; box-sizing: border-box; min-height: 48px; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; border-top: 1px solid var(--divider); } .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; position: relative; } .nav-list { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; justify-content: center; height: 100%; } .nav-list li { margin: 0; padding: 0; height: 100%; display: flex; align-items: center; } .nav-link { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: var(--gold); background-color: rgba(242, 193, 78, 0.1); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-around; width: 40px; height: 40px; position: absolute; left: 15px; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--text-main); border-radius: 2px; 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); } .nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.7); z-index: 999; display: none; } .nav-overlay.active { display: block; } .site-footer { background-color: var(--card-bg); color: var(--text-secondary); border-top: 3px solid var(--primary); font-size: 14px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top { padding: 50px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { display: flex; flex-direction: column; } .footer-logo { font-size: 24px; font-weight: 800; color: var(--text-main); text-decoration: none; margin-bottom: 15px; display: inline-block; text-transform: lowercase; text-shadow: 0 0 6px var(--glow); } .footer-logo:hover { color: var(--gold); } .footer-description { margin: 0 0 15px; line-height: 1.7; word-wrap: break-word; overflow-wrap: break-word; color: var(--text-secondary); } .footer-title { font-size: 16px; font-weight: 700; color: var(--gold); margin: 0 0 18px; position: relative; padding-bottom: 10px; } .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary); } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li { margin: 0; } .footer-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; display: inline-block; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: var(--gold); padding-left: 5px; } .footer-mid { padding: 10px 0; } .footer-slot-anchor-inner { display: block; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 15px; } .footer-bottom { border-top: 1px solid var(--divider); padding: 20px 0; text-align: center; background-color: var(--bg); } .copyright { margin: 0; color: var(--text-secondary); font-size: 13px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .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: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--card-bg); border-bottom: 1px solid var(--divider); } .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 { height: 48px !important; min-height: 48px !important; overflow: visible; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; } .hamburger-menu { display: flex; } .nav-list { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background-color: var(--card-bg); padding: 100px 20px 40px; box-sizing: border-box; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.5); overflow-y: auto; justify-content: flex-start; gap: 0; } .nav-list.active { display: flex; transform: translateX(0); } .nav-list li { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--divider); } .nav-list li:last-child { border-bottom: none; } .nav-link { display: block; padding: 14px 10px; font-size: 16px; border-radius: 0; color: var(--text-main); } .nav-link:hover, .nav-link.active { color: var(--gold); background-color: rgba(242, 193, 78, 0.1); padding-left: 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 30px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top { padding: 30px 0 20px; } .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;
}
