:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg: #FFFFFF; --text-dark: #000000; }
* { box-sizing: border-box; }
body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.header-top { box-sizing: border-box; min-height: 68px; 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; position: relative; }
.logo { display: inline-block; font-size: 32px; font-weight: 900; color: var(--secondary); text-decoration: none; letter-spacing: 1px; line-height: 1; }
.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; padding: 10px 24px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; white-space: nowrap; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.2); border: none; cursor: pointer; }
.btn-login { background-color: var(--login-color); color: #FFFFFF; }
.btn-register { background-color: #FFFFFF; color: var(--primary); border: 2px solid var(--secondary); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); opacity: 0.95; }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--secondary); width: 100%; border-bottom: 2px solid var(--primary); }
.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; }
.nav-link { display: inline-flex; align-items: center; padding: 0 12px; height: 100%; font-size: 14px; font-weight: 600; color: var(--text-dark); text-decoration: none; white-space: nowrap; transition: color 0.3s ease, background-color 0.3s ease; border-radius: 4px; }
.nav-link:hover { color: var(--primary); background-color: rgba(38, 169, 224, 0.1); }
.nav-link.active { color: var(--primary); background-color: rgba(38, 169, 224, 0.12); }
.nav-overlay { display: none; }
.site-footer { background-color: #0B2E3F; color: #E0E0E0; padding: 50px 0 0; font-size: 14px; line-height: 1.6; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.footer-col { min-width: 0; }
.footer-about { padding-right: 10px; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 900; color: #FFFFFF; text-decoration: none; margin-bottom: 15px; letter-spacing: 1px; }
.footer-description { margin: 0 0 15px; color: #B0C4CE; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #B0C4CE; text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; display: inline-block; }
.footer-nav a:hover { color: var(--primary); padding-left: 5px; }
.footer-mid { margin-bottom: 30px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 20px 0; text-align: center; color: #90A4AE; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-slot-anchor-inner { min-height: 1px; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
  .header-top { min-height: 60px !important; 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: 26px; }
  .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; }
  .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; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 270px; max-width: 80vw; height: 100vh; min-height: 100vh; background-color: var(--secondary); z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 20px; box-shadow: 2px 0 15px rgba(0,0,0,0.2); border-bottom: none; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 10px 0; height: auto; max-width: none; width: 100%; gap: 0; }
  .nav-link { display: block; width: 100%; padding: 14px 20px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(0,0,0,0.05); height: auto; text-align: left; }
  .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; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-dynamic-col { grid-column: 1 / -1; }
  .site-footer { padding-top: 30px; }
}
@media (max-width: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-grid { grid-template-columns: 1fr; }
  .footer-dynamic-col { grid-column: auto; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
