:root { --primary: #26A9E0; --primary-dark: #1A7BA6; --white: #FFFFFF; --dark: #000000; --header-offset: 122px; --login-color: #EA7C07; --login-dark: #D47000; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); font-family: Arial, Helvetica, sans-serif; min-height: auto; }
.header-top { background: var(--primary); 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; }
.logo { font-size: 28px; font-weight: 900; color: var(--white); text-decoration: none; letter-spacing: 1px; background: linear-gradient(135deg, #fff, #e0f7ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; white-space: nowrap; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.desktop-nav-buttons { display: flex; gap: 12px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 25px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--white); border: none; cursor: pointer; transition: all 0.3s ease; text-align: center; white-space: nowrap; }
.btn-login { background: var(--login-color); box-shadow: 0 4px 12px rgba(234, 124, 7, 0.4); }
.btn-login:hover { background: var(--login-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(234, 124, 7, 0.5); }
.btn-register { background: linear-gradient(135deg, #FF8A00, #FF5500); box-shadow: 0 4px 12px rgba(255, 85, 0, 0.4); }
.btn-register:hover { background: linear-gradient(135deg, #FF9900, #FF6600); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 85, 0, 0.5); }
.main-nav { background: var(--dark); width: 100%; display: flex; }
.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%; }
.nav-link { padding: 8px 14px; color: var(--white); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; }
.nav-link:hover { background: var(--primary); color: var(--white); }
.nav-link.active { background: var(--primary); color: var(--white); }
.hamburger-menu { display: none; }
.mobile-menu-overlay { display: none; }
.mobile-nav-buttons { display: none; }
body { padding-top: var(--header-offset); margin: 0; font-family: Arial, Helvetica, sans-serif; }
.page-content { width: 100%; overflow-x: hidden; }
.site-footer { background: var(--dark); color: var(--white); padding: 40px 0 0; font-family: Arial, Helvetica, sans-serif; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding: 0 30px; }
.footer-column h3 { color: var(--primary); font-size: 20px; margin-bottom: 20px; text-transform: uppercase; }
.footer-logo { font-size: 32px; font-weight: 900; color: var(--primary); text-decoration: none; display: block; margin-bottom: 20px; }
.footer-column p { line-height: 1.8; font-size: 14px; color: #aaa; margin-bottom: 15px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: #ccc; text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--primary); }
.btn-support { background: var(--primary); margin-top: 10px; }
.btn-support:hover { background: var(--primary-dark); }
.footer-bottom { background: #000; border-top: 1px solid #222; text-align: center; padding: 20px; margin-top: 40px; color: #888; font-size: 13px; }
.footer-bottom p { margin: 5px 0; }
@media (max-width: 768px) { :root { --header-offset: 110px; }
  .header-container { width: 100%; max-width: none; padding: 8px 15px; min-height: 60px; justify-content: space-between; }
  .nav-container { width: 100%; max-width: none; padding: 8px 15px; flex-direction: column; gap: 0; align-items: flex-start; }
  .logo { font-size: 24px; order: 2; margin: 0 auto; }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu { display: block; width: 30px; height: 22px; cursor: pointer; position: relative; z-index: 1001; order: 1; }
  .hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--white); margin-bottom: 5px; transition: all 0.3s ease; border-radius: 2px; }
  .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); }
  .main-nav { display: none; position: fixed; top: 60px; left: 0; width: 85%; max-width: 85%; height: calc(100vh - 60px); background: var(--dark); flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-bottom: 20px; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-link { width: calc(100% - 30px); padding: 14px 15px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; }
  .mobile-nav-buttons { display: flex; width: 100%; padding: 8px 15px; background: var(--primary); gap: 10px; justify-content: center; }
  .mobile-nav-buttons .btn { flex: 1; max-width: 180px; padding: 8px 16px; font-size: 13px; }
  .mobile-nav-buttons.expaned { display: none; }
  .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 999; }
  .mobile-menu-overlay.active { display: block; }
  body { padding-top: var(--header-offset); }
  .mobile-nav-buttons { align-items: center; min-height: 48px; }
  .site-footer { padding: 30px 0 0; }
  .footer-container { width: 100%; max-width: none; grid-template-columns: 1fr; padding: 0 20px; gap: 30px; }
  .footer-bottom { padding: 15px; }
  .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 (min-width: 769px) and (max-width: 1024px) { .header-container { padding: 10px 20px; }
  .nav-container { justify-content: center; padding: 8px 10px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 20px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
