:root { --header-offset: 122px; --color-primary: #113B7A; --color-accent: #1D5FD1; --color-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --color-card-bg: #10233F; --color-text-main: #F3F8FF; --color-text-secondary: #AFC4E8; --color-border: #244D84; --color-glow: #4FA8FF; --color-gold: #F2C14E; --color-divider: #1B3357; --color-deep-navy: #08162B; }

body { font-family: 'Arial', sans-serif; margin: 0; padding-top: var(--header-offset); background-color: var(--color-deep-navy); color: var(--color-text-main); overflow-x: hidden; }

.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.2); }

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

.logo { font-size: 28px; font-weight: bold; color: var(--color-gold); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.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; background-color: var(--color-card-bg); width: 100%; padding: 0 20px; justify-content: center; align-items: center; }

.btn { text-decoration: none; padding: 10px 20px; border-radius: 25px; font-weight: bold; text-align: center; white-space: nowrap; cursor: pointer; transition: all 0.3s ease; border: none; color: var(--color-text-main); background: var(--color-button-gradient); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow); }

.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-primary); 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; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
.nav-menu li a { text-decoration: none; color: var(--color-text-main); font-size: 16px; font-weight: 500; padding: 5px 0; position: relative; transition: color 0.3s ease; }
.nav-menu li a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: var(--color-gold); transition: width 0.3s ease; }
.nav-menu li a:hover::after, .nav-menu li a.active::after { width: 100%; }
.nav-menu li a:hover, .nav-menu li a.active { color: var(--color-gold); }

.hamburger-menu { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; z-index: 1001; background: none; border: none; padding: 0; }
.hamburger-icon { display: block; position: absolute; height: 3px; width: 100%; background: var(--color-text-main); border-radius: 3px; left: 0; transition: all 0.3s ease; top: 50%; transform: translateY(-50%); }
.hamburger-icon::before, .hamburger-icon::after { content: ''; position: absolute; height: 3px; width: 100%; background: var(--color-text-main); border-radius: 3px; left: 0; transition: all 0.3s ease; }
.hamburger-icon::before { top: -10px; }
.hamburger-icon::after { top: 10px; }
.hamburger-menu.active .hamburger-icon { background: transparent; }
.hamburger-menu.active .hamburger-icon::before { top: 0; transform: rotate(45deg); }
.hamburger-menu.active .hamburger-icon::after { top: 0; transform: 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; }

.site-footer { background-color: var(--color-card-bg); padding: 40px 0 20px; color: var(--color-text-secondary); font-size: 14px; }
.footer-grid-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-col { padding: 10px 0; }
.footer-logo { font-size: 24px; font-weight: bold; color: var(--color-gold); text-decoration: none; margin-bottom: 15px; display: block; }
.footer-description { line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; margin-bottom: 15px; }
.footer-col h3 { color: var(--color-text-main); font-size: 18px; margin-bottom: 15px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav li a { text-decoration: none; color: var(--color-text-secondary); transition: color 0.3s ease; }
.footer-nav li a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid var(--color-divider); text-align: center; padding-top: 20px; margin-top: 30px; font-size: 13px; color: var(--color-text-secondary); }
.footer-bottom a { text-decoration: none; color: var(--color-text-secondary); }
.footer-slot-anchor-inner { min-height: 1px; }

/* Mobile Styles */
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { overflow-x: hidden; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }

  .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; max-width: calc(100% - 100px); }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 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: block; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }

  .main-nav { min-height: 48px !important; height: auto; position: fixed; top: var(--header-offset); left: 0; width: 280px; max-width: 80%; background-color: var(--color-card-bg); transform: translateX(-100%); transition: transform 0.3s ease; flex-direction: column; align-items: flex-start; padding: 20px 0; box-shadow: 4px 0 10px rgba(0,0,0,0.3); overflow-y: auto; height: calc(100vh - var(--header-offset)); display: none; /* Default hidden state */ }
  .main-nav.active { transform: translateX(0); display: flex; /* Active visible state */ }
  .nav-container { width: 100%; max-width: none; padding: 0; height: auto; }
  .nav-menu { flex-direction: column; width: 100%; gap: 0; }
  .nav-menu li { width: 100%; }
  .nav-menu li a { padding: 12px 20px; display: block; font-size: 15px; border-bottom: 1px solid var(--color-divider); }
  .nav-menu li:last-child a { border-bottom: none; }
  .nav-menu li a::after { display: none; }
  .nav-menu li a:hover { background-color: rgba(255, 255, 255, 0.05); }

  .overlay.active { display: block; }

  .site-footer { padding: 30px 0 15px; }
  .footer-grid-container { grid-template-columns: 1fr; gap: 15px; padding: 0 15px; }
  .footer-col h3 { font-size: 16px; margin-bottom: 10px; }
  .footer-nav li { margin-bottom: 6px; }
  .footer-bottom { padding-top: 15px; margin-top: 20px; font-size: 12px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
