:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg: #FFFFFF; --text-dark: #000000; --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text-dark); }
.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); }
.header-top { display: flex; align-items: center; width: 100%; height: 68px; min-height: 68px; overflow: hidden; background: linear-gradient(135deg, #1c8fc0 0%, #26A9E0 100%); }
.header-container { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; padding-left: 28px; padding-right: 28px; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.logo:hover { color: #e6f7ff; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; }
.mobile-nav-buttons { display: none; min-height: 48px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: none; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.22); filter: brightness(1.06); }
.btn-login { background: #FFFFFF; color: #1c8fc0; border: 2px solid #FFFFFF; }
.btn-register { background: var(--login-color); color: #FFFFFF; border: 2px solid var(--login-color); box-shadow: 0 3px 10px rgba(234,124,7,0.45); }
.main-nav { display: flex; align-items: center; width: 100%; height: 52px; min-height: 52px; overflow: hidden; background: #FFFFFF; border-top: 1px solid #d9eef8; }
.nav-container { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 20px; position: relative; }
.nav-menu { display: flex; flex-direction: row; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: nowrap; }
.nav-menu li { margin: 0; }
.nav-menu li a { display: block; padding: 8px 12px; font-size: 15px; font-weight: 600; color: #0b3d52; text-decoration: none; border-radius: 5px; transition: background 0.2s ease, color 0.2s ease; white-space: nowrap; }
.nav-menu li a:hover { background: #e6f4fb; color: #1c8fc0; }
.nav-menu li a.active { background: var(--primary); color: #FFFFFF; }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background: #0b3d52; 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); }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 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; }
body.no-scroll { overflow: hidden; }
.site-footer { background: #0b3d52; color: #d6e8f0; width: 100%; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.footer-top { padding: 48px 0 36px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about { color: #d6e8f0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 1px; }
.footer-logo:hover { color: var(--primary); }
.footer-description { font-size: 14px; line-height: 1.7; color: #b9d4e2; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav li a { color: #b9d4e2; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav li a:hover { color: #FFFFFF; padding-left: 4px; }
.footer-dynamic-col { min-width: 0; }
.footer-mid { padding: 10px 0 30px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-slot-anchor-inner { min-height: 0; }
.footer-bottom { background: #072a39; padding: 18px 0; border-top: 1px solid #14506b; }
.footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #9db8c6; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-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; font-size: 22px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background: #eaf7fd; }
  .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 { height: 48px !important; min-height: 48px !important; background: #ffffff; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .hamburger-menu { display: flex; position: relative; z-index: 1001; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 78%; max-width: 320px; height: 100vh; background: #0b3d52; padding: 80px 20px 24px; margin: 0; gap: 4px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; align-items: stretch; justify-content: flex-start; box-shadow: 4px 0 18px rgba(0,0,0,0.3); }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-menu li a { display: block; width: 100%; padding: 12px 16px; font-size: 15px; color: #e6f4fb; white-space: normal; }
  .nav-menu li a:hover { background: #14506b; color: #FFFFFF; }
  .nav-menu li a.active { background: var(--primary); color: #FFFFFF; }
  .footer-top { padding: 32px 0 24px; }
  .footer-container { padding-left: 15px; padding-right: 15px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-heading { font-size: 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 (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;
}
