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

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

.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.2); background-color: var(--color-primary); display: flex; flex-direction: column; }

.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 20px; }

.logo { color: var(--gold-color); font-size: 24px; font-weight: bold; text-decoration: none; display: block; height: 100%; display: flex; align-items: center; 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: 12px; align-items: center; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background-color: var(--color-primary); width: 100%; padding: 0 20px; }

.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-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
.nav-list a { color: var(--text-main); text-decoration: none; font-weight: bold; font-size: 15px; padding: 5px 0; transition: color 0.3s ease; white-space: nowrap; }
.nav-list a:hover { color: var(--gold-color); }

.btn { text-decoration: none; padding: 10px 18px; border-radius: 5px; font-weight: bold; font-size: 14px; text-align: center; white-space: nowrap; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.btn-primary { background: var(--btn-gradient); color: var(--text-main); border: 1px solid var(--glow-color); }
.btn-primary:hover { opacity: 0.9; box-shadow: 0 0 10px var(--glow-color); }
.btn-secondary { background-color: var(--color-secondary); color: var(--text-main); border: 1px solid var(--color-secondary); }
.btn-secondary:hover { background-color: var(--gold-color); color: var(--deep-navy); border-color: var(--gold-color); }

.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.hamburger-icon { display: block; width: 25px; height: 3px; background-color: var(--text-main); position: relative; transition: background-color 0.3s ease; }
.hamburger-icon::before, .hamburger-icon::after { content: ''; display: block; width: 100%; height: 3px; background-color: var(--text-main); position: absolute; transition: transform 0.3s ease; }
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }
.hamburger-menu.active .hamburger-icon { background-color: transparent; }
.hamburger-menu.active .hamburger-icon::before { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .hamburger-icon::after { transform: translateY(-8px) rotate(-45deg); }

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

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

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

/* Media Queries for Mobile */
@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; }
  .logo img { 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(--color-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: auto; 
    display: none; 
    flex-direction: column; 
    position: fixed; 
    top: var(--header-offset); 
    left: 0; 
    width: 80%; 
    max-width: 300px; 
    height: calc(100% - var(--header-offset)); 
    background-color: var(--card-bg); 
    transform: translateX(-100%); 
    transition: transform 0.3s ease; 
    box-shadow: 2px 0 5px rgba(0,0,0,0.3); 
    z-index: 1000;
    align-items: flex-start;
    padding: 20px 0;
    overflow-y: auto;
  }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 0; height: auto; }
  .nav-list { flex-direction: column; width: 100%; gap: 0; }
  .nav-list li { width: 100%; }
  .nav-list a { padding: 12px 20px; display: block; border-bottom: 1px solid var(--divider-color); }
  .nav-list li:last-child a { border-bottom: none; }

  .hamburger-menu { display: block; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
  .nav-overlay { display: none; }
  .nav-overlay.active { display: block; }

  .footer-top-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-col { padding-right: 0; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
