:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --text-dark: #000000; --bg-light: #FFFFFF; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); overflow-x: hidden; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
img { max-width: 100%; height: auto; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.header-top { width: 100%; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0B3C5D; }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; }
.logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 0.5px; text-transform: lowercase; line-height: 1; white-space: nowrap; }
.logo:hover { color: var(--primary); }
.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 { display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.btn-login { background-color: var(--login-color); color: #FFFFFF; }
.btn-login:hover { background-color: #c96500; color: #FFFFFF; }
.btn-register { background-color: var(--primary); color: #FFFFFF; }
.btn-register:hover { background-color: #1a8bbd; color: #FFFFFF; }
.main-nav { width: 100%; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0F4C75; }
.nav-container { width: 100%; height: 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-block; color: #E6F4FA; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-link.active { background-color: var(--primary); color: #FFFFFF; }
.hamburger-menu { display: none; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; z-index: 1001; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 8px; }
.hamburger-menu span { display: block; width: 26px; 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); }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: 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: #0B3C5D; color: #D6E9F2; padding: 40px 20px 0; }
.footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 30px; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; text-transform: lowercase; }
.footer-about .footer-logo:hover { color: var(--primary); }
.footer-description { font-size: 14px; line-height: 1.7; color: #C5DDE8; 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 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a { display: inline-block; color: #C5DDE8; text-decoration: none; font-size: 14px; line-height: 1.5; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-nav a:hover { color: var(--primary); padding-left: 4px; }
.footer-slot-anchor, .footer-slot-anchor-inner { min-height: 1px; }
.footer-mid-section { max-width: 1200px; margin: 0 auto; padding: 8px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 6px 0; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.18); text-align: center; }
.footer-bottom p { margin: 0 0 6px; font-size: 14px; color: #C5DDE8; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-disclaimer { font-size: 13px !important; color: #9FC3D4 !important; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px; min-height: 60px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 22px; max-width: calc(100% - 120px); }
  .logo img { display: block !important; max-height: 56px !important; max-width: 100%; height: auto; }
  .hamburger-menu { display: flex; }
  .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; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0B3C5D; }
  .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; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; min-height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: #0F4C75; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 130px; box-shadow: 4px 0 20px rgba(0,0,0,0.35); }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; padding: 0 15px; gap: 4px; }
  .nav-link { display: block; font-size: 15px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr; gap: 14px; }
  .site-footer { padding: 32px 16px 0; }
  .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: 480px) {
  .logo { font-size: 19px; max-width: calc(100% - 110px); }
  .footer-heading { font-size: 15px; }
  .footer-nav a { font-size: 13px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
