:root { --header-offset: 166px; --header-top-bg: #1F3A8A; --main-nav-bg: #FFFFFF; --nav-link-color: #1F2D3D; --nav-link-hover-color: #2F6BFF; --footer-bg: #0F1A33; }
body { padding-top: var(--header-offset); margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #F4F7FB; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #FFFFFF; box-shadow: 0 4px 20px rgba(0,0,0,0.25); border-bottom: 3px solid #2F6BFF; }
.header-top { background-color: #1F3A8A; width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; min-height: 68px; box-sizing: border-box; }
.logo { font-size: 2.2rem; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 2px; display: inline-block; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.desktop-nav-buttons { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-block; padding: 8px 22px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.95rem; color: #FFFFFF; background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(47,107,255,0.3); text-align: center; line-height: 1.4; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(47,107,255,0.5); color: #FFFFFF; }
.btn-login { background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%); box-shadow: 0 4px 15px rgba(255,107,53,0.3); }
.btn-login:hover { box-shadow: 0 6px 25px rgba(255,107,53,0.5); color: #FFFFFF; }
.btn-download { background: linear-gradient(135deg, #00d2ff, #0091ff); box-shadow: 0 4px 15px rgba(0,145,255,0.3); }
.btn-download:hover { box-shadow: 0 6px 25px rgba(0,145,255,0.5); color: #FFFFFF; }
.main-nav { background-color: #FFFFFF; width: 100%; display: flex; min-height: 52px; border-top: 1px solid #D6E2FF; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; gap: 4px; width: 100%; box-sizing: border-box; flex-wrap: wrap; }
.nav-link { color: #1F2D3D; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: 8px; transition: all 0.3s ease; line-height: 1.2; white-space: nowrap; position: relative; }
.nav-link:hover { color: #2F6BFF; background: rgba(47,107,255,0.08); }
.nav-link::after { content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px; height: 2px; background: #2F6BFF; transform: scaleX(0); transition: transform 0.3s ease; border-radius: 2px; }
.nav-link:hover::after { transform: scaleX(1); }
.hamburger-menu { display: none; }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; }
.color-scheme-strip { height: 3px; background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 40%, #FFD700 70%, #A5C4FF 100%); }
.site-footer { background-color: #0F1A33; color: #E0E7FF; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1fr; gap: 40px; padding: 60px 30px 30px; box-sizing: border-box; }
.footer-column h4 { color: #FFFFFF; font-size: 1.15rem; margin-bottom: 20px; font-weight: 700; border-left: 4px solid #2F6BFF; padding-left: 12px; }
.footer-logo { font-size: 2rem; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 2px; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin: 0 0 18px; color: #B8C7E5; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #B8C7E5; text-decoration: none; font-size: 0.9rem; padding: 3px 0; transition: all 0.3s ease; display: inline-block; }
.footer-nav a:hover { color: #6FA3FF; padding-left: 8px; text-decoration: none; }
.btn-footer { display: inline-block; padding: 8px 20px; border-radius: 6px; text-decoration: none; background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; font-size: 0.9rem; font-weight: 600; text-align: center; transition: all 0.3s ease; border: none; }
.btn-footer:hover { opacity: 0.9; transform: translateY(-2px); color: #FFFFFF; }
.footer-bottom { background-color: #0A1226; border-top: 1px solid rgba(47,107,255,0.2); padding: 20px 0; }
.footer-bottom-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; flex-wrap: wrap; gap: 10px; box-sizing: border-box; }
.copyright { font-size: 0.85rem; color: #B8C7E5; margin: 0; }
.footer-age-warning { font-size: 0.85rem; color: #FFD700; text-align: center; margin: 0; font-weight: 600; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; min-height: 60px; position: relative; display: flex; align-items: center; justify-content: space-between; }
  .logo { display: inline-block; position: absolute; left: 50%; transform: translateX(-50%); font-size: 1.8rem; }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; cursor: pointer; z-index: 1001; background: transparent; border: none; padding: 6px; box-sizing: border-box; }
  .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: #FFFFFF; border-radius: 3px; 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(5px, -5px); }
  .mobile-nav-buttons { display: flex !important; flex-direction: row; justify-content: center; align-items: center; gap: 8px; background-color: #1F3A8A; padding: 8px 10px; width: 100%; box-sizing: border-box; border-top: 1px solid rgba(255,255,255,0.1); }
  .btn { padding: 8px 14px; font-size: 0.8rem; width: auto; min-width: 0; flex: 1; max-width: 150px; }
  .main-nav { display: none; width: 70%; height: 100vh; height: calc(100vh - 110px); background-color: #FFFFFF; flex-direction: column; justify-content: flex-start; align-items: center; position: fixed; top: 110px; left: 0; overflow-y: auto; padding: 30px 0 20px; z-index: 999; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.15); border-top: none; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; width: 100%; padding: 10px 15px; gap: 4px; align-items: stretch; flex-wrap: nowrap; }
  .nav-link { padding: 10px 15px; font-size: 0.95rem; text-align: center; border-bottom: 1px solid #F0F4FF; width: 100%; box-sizing: border-box; font-weight: 600; }
  .nav-link::after { display: none; }
  .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 998; opacity: 0; transition: opacity 0.3s ease; }
  .mobile-menu-overlay.active { display: block; opacity: 1; }
  body.no-scroll { overflow: hidden; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px 20px; }
  .footer-bottom-container { flex-direction: column; text-align: center; padding: 0 10px; }
  .site-footer { margin-top: 40px; }
  .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;
}
