:root { --header-offset: 122px; --primary-color: #113B7A; --secondary-color: #1D5FD1; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --card-bg: #10233F; --border-color: #244D84; --glow-color: #4FA8FF; --gold-color: #F2C14E; --divider-color: #1B3357; --deep-navy: #08162B; }

body { font-family: 'Arial', sans-serif; margin: 0; padding-top: var(--header-offset); background-color: var(--deep-navy); color: var(--text-secondary); line-height: 1.6; }

/* Shared Header Styles */
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); background-color: var(--deep-navy); }

.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--deep-navy); 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: 0 30px; }

.logo { font-size: 28px; font-weight: bold; color: var(--gold-color); text-decoration: none; display: flex; align-items: center; text-transform: uppercase; letter-spacing: 1px; }
.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; width: 100%; background-color: var(--card-bg); padding: 0 15px; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; text-align: center; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: none; }
.btn-primary { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: var(--text-main); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); }
.btn-secondary { background: var(--secondary-color); color: var(--text-main); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.btn-secondary:hover { background: #1a54c0; transform: translateY(-1px); }

.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); 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: 20px; }

.nav-link { color: var(--text-main); text-decoration: none; font-weight: bold; padding: 5px 0; position: relative; transition: color 0.3s ease; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background-color: var(--gold-color); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--gold-color); }

.hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; padding: 5px; position: relative; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--text-main); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 998; }

/* Shared Footer Styles */
.site-footer { background-color: var(--card-bg); padding: 40px 0 20px; color: var(--text-secondary); font-size: 14px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 30px; border-bottom: 1px solid var(--divider-color); padding-bottom: 30px; }
.footer-col { display: flex; flex-direction: column; }
.footer-logo { font-size: 24px; font-weight: bold; color: var(--gold-color); text-decoration: none; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.footer-description { margin-bottom: 20px; line-height: 1.8; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 18px; color: var(--text-main); margin-bottom: 15px; font-weight: bold; }
.site-footer .footer-nav { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-nav li { margin-bottom: 8px; }
.site-footer .footer-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.site-footer .footer-nav a:hover { color: var(--gold-color); }

.footer-mid-section { max-width: 1200px; margin: 20px auto; padding: 0 30px; display: flex; flex-wrap: wrap; justify-content: space-around; }

.footer-bottom-nav { max-width: 1200px; margin: 0 auto; padding: 20px 30px; border-top: 1px solid var(--divider-color); }
.footer-bottom-nav .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 30px; }
.footer-bottom-nav .footer-nav li { margin-bottom: 0; }

.footer-bottom { text-align: center; padding-top: 20px; max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; color: var(--text-secondary); }
.footer-bottom p { margin: 0; }

.footer-slot-anchor-inner { min-height: 1px; }

/* Responsive Styles */
@media (max-width: 1024px) {
  .header-container, .nav-container, .footer-top-grid, .footer-bottom-nav, .footer-bottom, .footer-mid-section { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { overflow-x: hidden; }

  .site-header { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }

  .header-top { min-height: 60px !important; height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding: 0 15px; position: relative; }

  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .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; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--card-bg); }
  .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: absolute; left: 15px; top: 50%; transform: translateY(-50%); }

  .main-nav { min-height: 48px !important; height: auto !important; position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: var(--card-bg); flex-direction: column; align-items: flex-start; padding: 20px 0; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; display: none; z-index: 999; }
  .main-nav.active { transform: translateX(0); display: flex; }

  .nav-container { flex-direction: column; align-items: flex-start; width: 100%; max-width: none; padding: 0; gap: 0; }
  .nav-link { width: 100%; padding: 12px 20px; border-bottom: 1px solid var(--divider-color); }
  .nav-link::after { display: none; }
  .nav-link:hover { color: var(--gold-color); background-color: rgba(255, 255, 255, 0.05); }

  .overlay.active { display: block; }

  .footer-top-grid { grid-template-columns: 1fr; padding-bottom: 20px; }
  .footer-col { margin-bottom: 20px; }
  .footer-col:last-child { margin-bottom: 0; }
  .footer-bottom-nav .footer-nav { flex-direction: column; align-items: center; gap: 10px; }
  .footer-bottom-nav .footer-nav li { text-align: center; }

  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
