:root { --header-offset: 124px; --primary-color: #11A84E; --secondary-color: #22C768; --btn-bg-linear: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); --card-bg: #11271B; --bg-color: #08160F; --text-main: #F2FFF6; --text-secondary: #A7D9B8; --border-color: #2E7A4E; --glow-color: #57E38D; --gold-color: #F2C14E; --divider-color: #1E3A2A; --deep-green: #0A4B2C; }
body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-color); font-family: Arial, Helvetica, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--deep-green); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); border-bottom: 2px solid var(--gold-color); min-height: auto; opacity: 1; }
.header-top { background-color: var(--deep-green); width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; box-sizing: border-box; gap: 10px; }
.logo { font-size: 32px; font-weight: 900; color: var(--gold-color); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); display: inline-flex; align-items: center; line-height: 1; white-space: nowrap; }
.logo:hover { color: #fff; text-shadow: 0 0 15px var(--gold-color); }
.main-nav { background-color: #0A4B2C; border-top: 1px solid var(--border-color); width: 100%; display: flex; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0; padding: 0 10px; box-sizing: border-box; flex-wrap: wrap; }
.main-nav a { color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; padding: 12px 16px; display: inline-flex; align-items: center; transition: all 0.3s ease; position: relative; line-height: 1.4; border-bottom: 3px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--gold-color); background-color: rgba(242, 193, 78, 0.1); }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background-color: var(--gold-color); transition: height 0.2s ease; }
.main-nav a:hover::after { height: 3px; }
.desktop-nav-buttons { display: flex; flex-direction: row; align-items: center; gap: 10px; margin-left: auto; }
.mobile-nav-buttons { display: none; background-color: #0A4B2C; padding: 10px 15px; justify-content: center; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--border-color); position: fixed; top: 60px; left: 0; width: 100%; z-index: 1000; box-sizing: border-box; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 10px 22px; border-radius: 25px; font-weight: 700; font-size: 15px; line-height: 1.2; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; }
.btn-register { background: var(--btn-bg-linear); color: #fff; }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4); background: linear-gradient(180deg, #3ce381 0%, #1aad54 100%); }
.btn-login { background: linear-gradient(180deg, #F2C14E 0%, #D49A24 100%); color: #08160F; }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4); background: linear-gradient(180deg, #ffd870 0%, #e6ad2f 100%); }
.btn-download { background: linear-gradient(180deg, #22C768 0%, #0A8A3A 100%); color: #fff; }
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(34, 199, 104, 0.4); background: linear-gradient(180deg, #2bd878 0%, #0f9e4a 100%); }
.site-footer { background-color: #0A1F12; padding: 50px 20px 0; border-top: 3px solid var(--gold-color); margin-top: 40px; color: var(--text-main); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-color), var(--glow-color), var(--gold-color)); }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-column { flex: 1; min-width: 200px; }
.footer-brand { max-width: 380px; min-width: 250px; flex: 2; }
.footer-logo { font-size: 30px; font-weight: 900; text-decoration: none; color: var(--gold-color); letter-spacing: 2px; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
.footer-description { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; }
.footer-title { color: var(--text-main); font-size: 18px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; position: relative; padding-bottom: 8px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold-color); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: all 0.2s ease; display: inline-block; position: relative; padding-left: 0; }
.footer-nav a::before { content: '›'; color: var(--gold-color); margin-right: 8px; opacity: 0.8; transition: all 0.2s ease; }
.footer-nav a:hover { color: var(--gold-color); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--divider-color); padding: 18px 0; text-align: center; font-size: 14px; color: var(--text-main); }
.footer-bottom p { margin: 0; color: var(--text-main); }

.site-header.hamburger-open { background-color: var(--deep-green); }
.mobile-menu-overlay { display: none; }

@media (min-width: 769px) {
  .mobile-nav-buttons { display: none !important; }
  .main-nav { display: flex; }
  .mobile-logo { display: none !important; }
  .hamburger-menu { display: none !important; }
}
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  body { overflow-x: hidden; }
  .site-header { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 0 15px; background-color: var(--deep-green); }
  .header-top { width: auto; flex: 1; max-width: calc(100% - 50px); }
  .header-container { width: 100%; max-width: none; padding: 10px 5px; display: flex; justify-content: center; align-items: center; }
  .header-container .logo { display: none; }
  .desktop-nav-buttons { display: none; }
  .mobile-logo { display: flex; justify-content: center; align-items: center; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); max-width: 120px; z-index: 5; }
  .mobile-logo .logo { display: block; font-size: 24px; white-space: nowrap; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; cursor: pointer; z-index: 1001; position: relative; padding: 0; border: none; background: transparent; }
  .hamburger-menu span { display: block; width: 28px; height: 3px; background-color: var(--text-main); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
  .hamburger-menu.active span { background-color: var(--gold-color); }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .main-nav { display: none; position: fixed; top: 110px; left: 0; width: 250px; height: auto; max-height: calc(100vh - 110px); background-color: var(--deep-green); transform: translateX(-100%); transition: transform 0.3s ease, box-shadow 0.3s ease; flex-direction: column; align-items: flex-start; padding: 10px 0; box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5); box-sizing: border-box; overflow-y: auto; z-index: 1001; }
  .nav-container { flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; max-width: none; padding: 0 15px; box-sizing: border-box; gap: 0; }
  .main-nav a { font-size: 15px; padding: 10px 0; width: 100%; display: block; }
  .main-nav a::after { display: none; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .main-nav.active .nav-container { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; }
  .mobile-menu-overlay.active { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.65); z-index: 999; }
  .mobile-nav-buttons { display: flex; position: fixed; top: 60px; left: 0; width: 100%; z-index: 1000; background-color: var(--deep-green); border-bottom: 1px solid var(--border-color); padding-top: 10px; padding-bottom: 10px; }
  .mobile-nav-buttons .btn { flex: 1; padding: 8px 6px; font-size: 12px; text-align: center; min-width: 0; white-space: nowrap; border-radius: 20px; }
  .footer-container { flex-direction: column; gap: 40px; }
  .footer-column { min-width: 100%; }
  .footer-brand { max-width: 100%; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
