:root { --header-offset: 122px; --color-primary: #11A84E; --color-secondary: #22C768; --color-btn-gradient-top: #2AD16F; --color-btn-gradient-bottom: #13994A; --color-card-bg: #11271B; --color-bg: #08160F; --color-text-main: #F2FFF6; --color-text-secondary: #A7D9B8; --color-border: #2E7A4E; --color-glow: #57E38D; --color-gold: #F2C14E; --color-divider: #1E3A2A; --color-deep-green: #0A4B2C; } body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--color-bg); color: var(--color-text-main); padding-top: var(--header-offset); } * { box-sizing: border-box; } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--color-bg); box-shadow: 0 4px 12px rgba(0,0,0,0.6); border-bottom: 1px solid var(--color-border); } .header-top { background-color: var(--color-deep-green); border-bottom: 1px solid var(--color-border); width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; min-height: 44px; } .logo { font-size: 28px; font-weight: 800; color: var(--color-gold); text-transform: uppercase; letter-spacing: 1px; display: inline-block; line-height: 1.2; } .logo:hover { color: var(--color-glow); } .desktop-nav-buttons { display: flex; align-items: center; gap: 10px; } .main-nav { background-color: #0A1F14; width: 100%; display: flex; justify-content: center; min-height: 40px; } .nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 6px 16px; gap: 4px; overflow-x: auto; } .nav-link { color: var(--color-text-main); font-size: 15px; font-weight: 500; padding: 6px 14px; border-radius: 4px; transition: background-color 0.3s, color 0.3s; white-space: nowrap; display: inline-block; } .nav-link:hover { background-color: var(--color-primary); color: #fff; } .btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-weight: 700; font-size: 14px; line-height: 1.2; color: #fff; border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-align: center; white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); } .btn-register, .btn-login, .btn-download { background-image: linear-gradient(180deg, var(--color-btn-gradient-top) 0%, var(--color-btn-gradient-bottom) 100%); } .mobile-nav-buttons, .hamburger-menu, .mobile-menu-overlay { display: none; } .site-footer { background-color: #0A1F14; border-top: 2px solid var(--color-primary); margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 40px 20px 20px; } .footer-column h4 { color: var(--color-gold); font-size: 18px; margin-bottom: 15px; font-weight: 600; } .footer-brand p { font-size: 14px; color: var(--color-text-secondary); margin-top: 10px; line-height: 1.6; } .footer-logo { font-size: 28px; font-weight: 800; color: var(--color-gold); text-transform: uppercase; letter-spacing: 1px; } .footer-logo:hover { color: var(--color-glow); } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: var(--color-text-secondary); font-size: 14px; transition: color 0.3s; } .footer-nav a:hover { color: var(--color-glow); } .footer-bottom { border-top: 1px solid var(--color-divider); margin-top: 20px; text-align: center; padding: 20px; } .footer-bottom p { font-size: 14px; color: var(--color-text-secondary); } @media (max-width: 768px) { :root { --header-offset: 110px; } body { overflow-x: hidden; } .site-header { padding-bottom: 0; } .header-top { position: relative; } .header-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 8px 15px; max-width: none; width: 100%; gap: 8px; } .logo { order: 2; text-align: center; font-size: 24px; flex: 1; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: flex; order: 1; flex-direction: column; justify-content: center; align-items: center; width: 34px; height: 34px; cursor: pointer; z-index: 1001; background: none; border: none; padding: 4px; gap: 5px; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: var(--color-text-main); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .mobile-nav-buttons { display: flex; order: 3; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 8px 0 10px; flex-wrap: wrap; } .mobile-nav-buttons .btn { flex: 1; min-width: 90px; display: inline-block; text-align: center; padding: 10px 8px; font-size: 13px; } .main-nav { display: none; position: fixed; top: 60px; left: 0; width: 85%; max-width: 320px; height: auto; max-height: calc(100% - 110px); background-color: #0A1F14; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; flex-direction: column; padding-bottom: 20px; border-right: 2px solid var(--color-primary); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 0; max-width: none; width: 100%; } .nav-link { display: block; width: 100%; padding: 12px 20px; color: var(--color-text-main); font-size: 15px; border-bottom: 1px solid var(--color-divider); text-align: left; } .nav-link:hover { background-color: var(--color-primary); color: #fff; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 999; } .mobile-menu-overlay.active { display: block; } .footer-container { grid-template-columns: 1fr 1fr; gap: 20px; padding: 30px 15px 15px; } .footer-brand { grid-column: 1 / -1; } .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;
}
