:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg-color: #FFFFFF; --text-dark: #000000; --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 3px 12px rgba(0,0,0,0.18); background-color: var(--secondary); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); 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; }
.logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; }
.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-block; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 22px; font-size: 15px; line-height: 1.2; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.btn-login { background-color: var(--login-color); color: var(--secondary); }
.btn-register { background-color: #000000; color: var(--secondary); }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-between; width: 42px; height: 40px; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--secondary); width: 100%; border-top: 1px solid rgba(0,0,0,0.08); }
.nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 24px; }
.nav-link { color: var(--text-dark); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav-link:hover, .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-overlay { display: none; }
.site-footer { background-color: #0b1f2a; color: #e8f4fa; width: 100%; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top { padding: 40px 0 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 12px; }
.footer-description { font-size: 14px; line-height: 1.6; color: #b9d4e0; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 0 0 14px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #b9d4e0; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--primary); }
.footer-mid { padding: 10px 0 20px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-slot-anchor, .footer-slot-anchor-inner { display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #9fbccb; }
@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: 12px; padding-right: 12px; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; white-space: normal; font-size: 20px; }
  .logo img { max-height: 56px !important; display: block !important; max-width: 100%; height: auto; }
  .desktop-nav-buttons { display: none !important; }
  .hamburger-menu { display: flex; order: -1; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--primary); }
  .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 { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; background-color: var(--secondary); z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding: 20px 0; border-top: none; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; max-width: none; width: 100%; padding: 10px 20px; gap: 0; }
  .nav-link { display: block; padding: 14px 8px; font-size: 16px; border-bottom: 1px solid rgba(0,0,0,0.08); border-left: 3px solid transparent; }
  .nav-link:hover, .nav-link.active { border-bottom-color: rgba(0,0,0,0.08); border-left-color: var(--primary); }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 999; }
  .nav-overlay.active { display: block; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .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;
}
