:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login: #EA7C07; --bg: #FFFFFF; --dark: #000000; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Arial, sans-serif; background: var(--bg); color: var(--dark); }
a { text-decoration: none; }
/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--secondary); box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.header-top { min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--primary); width: 100%; }
.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: flex; align-items: center; font-size: 26px; font-weight: 800; color: var(--secondary); letter-spacing: 1px; text-transform: lowercase; text-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.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; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; }
.btn-login { background: var(--login); color: #FFFFFF; padding: 10px 22px; font-size: 14px; box-shadow: 0 4px 12px rgba(234,124,7,0.45); }
.btn-register { background: var(--dark); color: #FFFFFF; padding: 10px 22px; font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.35); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background: var(--secondary); width: 100%; border-bottom: 2px solid rgba(38,169,224,0.25); }
.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; width: 100%; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { display: inline-flex; }
.nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--dark); border-radius: 6px; transition: background 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-link.active { background: var(--primary); color: var(--secondary); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; padding: 6px; cursor: pointer; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background: var(--dark); 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; }
/* ===== FOOTER ===== */
.site-footer { background: #0B2233; color: #E6F4FB; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top-grid { padding: 48px 0 24px; background: #0B2233; }
.footer-top-row { margin-bottom: 12px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: 1px; text-transform: lowercase; margin-bottom: 12px; }
.footer-description { font-size: 14px; line-height: 1.6; color: #C4DDEA; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--secondary); 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 { font-size: 14px; color: #C4DDEA; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--primary); }
.footer-slot-anchor-inner { min-height: 0; }
.footer-mid-section { padding: 12px 0 8px; background: #0B2233; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.footer-bottom-anchor { background: #0B2233; }
.footer-bottom { background: #081A26; border-top: 1px solid rgba(38,169,224,0.25); padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #9FC3D5; }
@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; justify-content: center; position: relative; }
  .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; }
  .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; background: 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 { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; right: 0; width: 100%; background: var(--secondary); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; max-height: calc(100vh - var(--header-offset)); border-bottom: none; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; padding: 12px 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .hamburger-menu { display: flex; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
  .hamburger-menu.active { position: fixed; top: 12px; left: 12px; transform: none; }
  .nav-menu { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; margin-top: 8px; }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .footer-top-grid { padding: 32px 0 16px; }
  .footer-mid-grid { grid-template-columns: 1fr; }
}
@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; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
