:root { --header-offset: 122px; --color-primary: #113B7A; --color-secondary: #1D5FD1; --color-card: #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; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--color-deep-navy); color: var(--color-text-main); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 6px 24px rgba(0,0,0,0.55); border-bottom: 1px solid var(--color-border); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #0F2B57 0%, #113B7A 100%); }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 24px; padding-right: 24px; position: relative; }
.logo { display: inline-block; font-size: 28px; font-weight: 900; letter-spacing: 1px; color: var(--color-text-main); text-decoration: none; text-transform: lowercase; line-height: 1; }
.logo:hover { color: var(--color-glow); }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.hamburger-menu { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: center; }
.hamburger-menu span { display: block; width: 100%; height: 3px; border-radius: 2px; background-color: var(--color-text-main); transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: 1px solid transparent; cursor: pointer; }
.btn-login { background: transparent; color: var(--color-gold); border: 1px solid var(--color-gold); }
.btn-login:hover { background: rgba(242,193,78,0.12); transform: translateY(-1px); }
.btn-register { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #FFFFFF; box-shadow: 0 4px 14px rgba(79,168,255,0.35); }
.btn-register:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(79,168,255,0.5); }
.mobile-nav-buttons { display: none; box-sizing: border-box; min-height: 48px; width: 100%; max-width: 100%; background: #0F2B57; border-top: 1px solid var(--color-divider); }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0B1E3A; border-top: 1px solid var(--color-divider); }
.nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; align-items: center; justify-content: center; padding: 0 16px; }
.nav-menu { display: flex; flex-direction: row; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: nowrap; }
.nav-link { display: inline-block; padding: 8px 14px; color: var(--color-text-main); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover { background-color: rgba(79,168,255,0.15); color: var(--color-glow); }
.nav-link.active { color: var(--color-gold); background-color: rgba(242,193,78,0.10); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(4,10,20,0.65); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
.site-footer { background: linear-gradient(180deg, #0B1E3A 0%, #08162B 100%); color: var(--color-text-main); border-top: 2px solid var(--color-border); padding: 40px 0 0; width: 100%; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top-row { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px 12px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--color-divider); }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 900; color: var(--color-text-main); text-decoration: none; margin-bottom: 12px; letter-spacing: 1px; }
.footer-logo:hover { color: var(--color-gold); }
.footer-description { color: var(--color-text-secondary); font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { color: var(--color-gold); font-size: 16px; font-weight: 800; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--color-text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--color-glow); padding-left: 4px; }
.footer-mid { padding: 22px 0 8px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.footer-bottom { margin-top: 24px; padding: 20px 24px; background-color: #050E1B; border-top: 1px solid var(--color-divider); text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; }
.footer-slot-anchor-inner { display: block; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .hamburger-menu { display: flex; z-index: 1002; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; 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; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; border-top: 1px solid var(--color-divider); }
  .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; border-radius: 6px; }
  .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 100%; max-width: 320px; height: 100vh !important; flex-direction: column; align-items: stretch; justify-content: flex-start; background-color: #0B1E3A; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; padding-top: 70px; box-shadow: 6px 0 24px rgba(0,0,0,0.6); }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 10px 12px; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .nav-menu { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: 100%; }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 16px; border-bottom: 1px solid var(--color-divider); border-radius: 0; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-container, .footer-top-row { padding-left: 16px; padding-right: 16px; }
  .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;
}
