:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --text-dark: #000000; --text-body: #333333; --bg-light: #f5f7fa; --header-top-bg: #0B3C5D; --nav-bg: #26A9E0; --footer-bg: #0B3C5D; --footer-bottom-bg: #082a42; }
*, *::before, *::after { box-sizing: border-box; }
body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-body); background: var(--secondary); }
a { text-decoration: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--header-top-bg); box-shadow: 0 4px 18px rgba(0,0,0,0.25); }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--header-top-bg); width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); }
.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; gap: 16px; }
.logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--secondary); line-height: 1; text-shadow: 0 2px 6px rgba(0,0,0,0.35); 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: 10px; align-items: center; flex-shrink: 0; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; font-weight: 700; border-radius: 8px; padding: 10px 20px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-login { background: var(--login-color); color: var(--secondary); box-shadow: 0 3px 10px rgba(234,124,7,0.45); }
.btn-register { background: linear-gradient(135deg, #26A9E0 0%, #0B7FB5 100%); color: var(--secondary); box-shadow: 0 3px 10px rgba(38,169,224,0.45); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 8px; cursor: pointer; z-index: 1002; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--secondary); 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: var(--nav-bg); width: 100%; }
.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: 4px; flex-wrap: nowrap; }
.nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 11px; font-size: 14px; font-weight: 700; color: var(--secondary); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: background 0.2s ease, border-color 0.2s ease; }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); border-bottom-color: var(--secondary); }
.menu-overlay { display: none; }
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.85); margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-top { padding: 50px 0 30px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--secondary); letter-spacing: 1px; margin-bottom: 14px; }
.footer-description { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.75); margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(38,169,224,0.6); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: rgba(255,255,255,0.78); font-size: 14px; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--primary); padding-left: 4px; }
.footer-slot-anchor, .footer-slot-anchor-inner { display: block; }
.footer-mid { padding: 10px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { background: var(--footer-bottom-bg); border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.72); }
@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; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; text-align: center; }
  .logo img { max-height: 56px !important; max-width: 100%; height: auto; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; flex-shrink: 0; }
  .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background: var(--header-top-bg); border-bottom: 1px solid rgba(255,255,255,0.12); }
  .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; text-align: center; }
  .main-nav { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh !important; max-height: 100vh; background: var(--header-top-bg); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 120px; z-index: 1001; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 0 15px 30px; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; }
  .nav-link { display: block; height: auto; padding: 15px 10px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); border-left: 3px solid transparent; }
  .nav-link:hover, .nav-link.active { border-bottom-color: rgba(255,255,255,0.12); border-left-color: var(--primary); background: rgba(255,255,255,0.08); }
  .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 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; }
  .footer-container { padding: 0 15px; }
  .footer-top { padding: 35px 0 20px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 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;
}
