:root { --header-offset: 122px; /* Desktop: 68px (header-top) + 52px (main-nav) + 2px buffer */ --primary-color: #113B7A; --secondary-color: #1D5FD1; --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --card-bg: #10233F; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --border-color: #244D84; --glow-color: #4FA8FF; --gold-color: #F2C14E; --divider-color: #1B3357; --deep-navy-color: #08162B; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; margin: 0; padding-top: var(--header-offset); background-color: var(--deep-navy-color); color: var(--text-secondary); line-height: 1.6; overflow-x: hidden; } a { color: var(--secondary-color); text-decoration: none; } a:hover { text-decoration: underline; color: var(--glow-color); } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-weight: bold; text-decoration: none; cursor: pointer; white-space: nowrap; transition: all 0.3s ease; border: none; font-size: 15px; color: var(--text-main); background: var(--button-gradient); } .btn:hover { opacity: 0.9; text-decoration: none; box-shadow: 0 0 10px var(--glow-color); } .btn.primary-btn { background: var(--button-gradient); } .btn.secondary-btn { background-color: var(--primary-color); border: 1px solid var(--border-color); } .btn.secondary-btn:hover { background-color: var(--secondary-color); box-shadow: 0 0 10px var(--glow-color); } .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.3); background-color: transparent; } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #08162B; width: 100%; padding: 0 20px; } .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; } .logo { font-size: 28px; font-weight: bold; color: var(--gold-color); text-decoration: none; display: block; padding: 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); } .logo:hover { color: var(--glow-color); text-decoration: none; } .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(--deep-navy-color); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #113B7A; width: 100%; padding: 0 20px; } .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; } .nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; } .nav-links li a { color: var(--text-main); font-weight: 600; padding: 5px 0; transition: color 0.3s ease; position: relative; } .nav-links li a:hover { color: var(--gold-color); text-decoration: none; } .nav-links li a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background-color: var(--gold-color); transition: width 0.3s ease; } .nav-links li a:hover::after { width: 100%; } .hamburger-menu { display: none; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; position: relative; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--text-main); border-radius: 2px; position: absolute; left: 0; transition: all 0.3s ease; } .hamburger-menu span:nth-child(1) { top: 0; } .hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); } .hamburger-menu span:nth-child(3) { bottom: 0; } .hamburger-menu.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) 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: 999; cursor: pointer; } .overlay.active { display: block; } .site-footer { background-color: var(--card-bg); color: var(--text-secondary); padding: 60px 20px 20px; font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 40px; } .footer-col h3 { color: var(--text-main); font-size: 18px; margin-bottom: 20px; } .footer-logo { font-size: 28px; font-weight: bold; color: var(--gold-color); text-decoration: none; display: block; margin-bottom: 15px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); } .footer-logo:hover { color: var(--glow-color); text-decoration: none; } .footer-description { margin-bottom: 20px; color: var(--text-secondary); word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav li a { color: var(--text-secondary); transition: color 0.3s ease; } .footer-nav li a:hover { color: var(--gold-color); text-decoration: underline; } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--divider-color); color: var(--text-secondary); margin-top: 20px; } .footer-bottom p { margin: 0; } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; /* Mobile: 60px (header-top) + 48px (main-nav) + 2px buffer */ } body { padding-top: var(--header-offset); 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; padding: 0 15px; } .header-container { width: 100%; max-width: none; justify-content: space-between; position: relative; } .hamburger-menu { display: block; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; position: absolute; left: 50%; transform: translateX(-50%); width: calc(100% - 90px); z-index: 1; } .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-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; } .main-nav { 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: #08162B; transform: translateX(-100%); transition: transform 0.3s ease-in-out; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5); z-index: 1000; overflow-y: auto; padding: 20px 0; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: flex-start; padding: 0 15px; } .nav-links { flex-direction: column; width: 100%; gap: 0; } .nav-links li { width: 100%; border-bottom: 1px solid var(--divider-color); } .nav-links li:last-child { border-bottom: none; } .nav-links li a { padding: 15px 0; display: block; width: 100%; color: var(--text-main); } .nav-links li a::after { display: none; } .overlay { z-index: 999; } .site-footer { padding: 40px 15px 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; } .footer-col { text-align: center; } .footer-col h3 { text-align: center; margin-bottom: 10px; } .footer-nav li { text-align: center; } .footer-logo { font-size: 24px; text-align: center; } .footer-description { text-align: center; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
