:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --register-color: #000000; --bg-color: #FFFFFF; --header-offset: 122px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-color); color: #333333; }
.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.18); background-color: var(--secondary); }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #26A9E0 0%, #1a8bbf 100%); width: 100%; }
.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; position: relative; }
.logo { display: inline-block; font-size: 32px; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); white-space: nowrap; }
.logo:hover { color: #FFFFFF; opacity: 0.92; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; letter-spacing: 0.3px; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22); opacity: 0.95; }
.btn-login { background-color: var(--login-color); color: #FFFFFF; box-shadow: 0 4px 12px rgba(234, 124, 7, 0.4); }
.btn-register { background-color: var(--register-color); color: #FFFFFF; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 8px; cursor: pointer; z-index: 1001; transition: background 0.2s ease; }
.hamburger-menu:hover { background: rgba(255, 255, 255, 0.3); }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #FFFFFF; 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); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0B2A3D; width: 100%; border-top: 2px solid rgba(38, 169, 224, 0.5); }
.nav-container { box-sizing: border-box; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 14px; font-size: 14px; font-weight: 600; color: #E0F2FE; text-decoration: none; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background-color: rgba(38, 169, 224, 0.28); color: #FFFFFF; }
.menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.menu-overlay.active { display: block; opacity: 1; }
.site-footer { background-color: #0B2A3D; color: #D6E6F2; margin-top: 0; }
.footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 30px; font-weight: 900; color: #26A9E0; text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; }
.footer-logo:hover { color: #FFFFFF; }
.footer-description { font-size: 14px; line-height: 1.7; color: #B8D4E8; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 17px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #26A9E0; display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #B8D4E8; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: #26A9E0; padding-left: 5px; }
.footer-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-info li { font-size: 14px; color: #B8D4E8; line-height: 1.6; }
.footer-mid { padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom-wrap { padding: 16px 0; }
.footer-bottom { background-color: #061E2C; padding: 16px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #9BBFD9; }
.footer-slot-anchor-inner { min-height: 0; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { min-height: 60px !important; 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; text-align: center; font-size: 26px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .hamburger-menu { display: flex; position: relative; z-index: 1001; order: -1; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0B2A3D; }
  .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 { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: auto !important; min-height: 0 !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; flex-direction: column; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; border-top: none; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 10px 15px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; height: auto; }
  .nav-link { height: auto; padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; }
  .nav-link:hover, .nav-link.active { background-color: rgba(38, 169, 224, 0.28); }
  .footer-top { padding: 36px 0 20px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-container { padding: 0 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; }
}
body.no-scroll { overflow: 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;
}
