html { scroll-behavior: smooth; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #08162B; color: #F3F8FF; overflow-x: hidden; } :root { --header-offset: 122px; --primary-color: #113B7A; --secondary-color: #1D5FD1; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --card-bg: #10233F; --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --border-color: #244D84; --glow-color: #4FA8FF; --gold-color: #F2C14E; --divider-color: #1B3357; --deep-navy: #08162B; } /* Header Styles */ .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.3); background-color: var(--deep-navy); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background-color: var(--deep-navy); } .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(--gold-color); text-decoration: none; display: flex; align-items: center; padding: 0; } .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; /* Hidden by default on desktop */ min-height: 48px; background-color: var(--primary-color); padding: 0 20px; width: 100%; } .hamburger-menu { display: none; /* Hidden by default on desktop */ width: 30px; height: 24px; background: none; border: none; cursor: pointer; position: relative; z-index: 1001; padding: 0; } .hamburger-icon { display: block; position: absolute; width: 100%; height: 3px; background-color: var(--text-main); top: 50%; left: 0; transform: translateY(-50%); transition: background-color 0.3s ease; } .hamburger-icon::before, .hamburger-icon::after { content: ''; display: block; position: absolute; width: 100%; height: 3px; background-color: var(--text-main); transition: transform 0.3s ease, top 0.3s ease; } .hamburger-icon::before { top: -8px; } .hamburger-icon::after { top: 8px; } .hamburger-menu.active .hamburger-icon { background-color: transparent; } .hamburger-menu.active .hamburger-icon::before { top: 0; transform: rotate(45deg); } .hamburger-menu.active .hamburger-icon::after { top: 0; transform: rotate(-45deg); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background-color: var(--primary-color); } .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; } .main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 25px; } .main-nav li a { text-decoration: none; color: var(--text-main); font-weight: 600; padding: 10px 0; display: block; transition: color 0.3s ease; white-space: nowrap; } .main-nav li a:hover, .main-nav li a.active { color: var(--gold-color); } /* Buttons */ .btn { background: var(--button-gradient); color: var(--text-main); padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; border: none; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; 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(--glow-color); } /* Footer Styles */ .site-footer { background-color: var(--deep-navy); color: var(--text-secondary); padding: 40px 20px 20px; font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 30px; border-bottom: 1px solid var(--divider-color); padding-bottom: 30px; } .footer-col { display: flex; flex-direction: column; gap: 15px; } .footer-logo { font-size: 24px; font-weight: bold; color: var(--gold-color); text-decoration: none; } .footer-description { line-height: 1.6; color: var(--text-secondary); word-wrap: break-word; overflow-wrap: break-word; } .footer-col h3 { font-size: 18px; color: var(--text-main); margin-top: 0; margin-bottom: 15px; font-weight: 600; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li a { text-decoration: none; color: var(--text-secondary); padding: 5px 0; display: block; transition: color 0.3s ease; } .footer-nav li a:hover { color: var(--gold-color); } .footer-mid-slots { max-width: 1200px; margin: 0 auto 20px; display: flex; flex-wrap: wrap; gap: 10px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--divider-color); color: var(--text-secondary); max-width: 1200px; margin: 0 auto; } /* Mobile Menu Overlay */ .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 990; } .mobile-menu-overlay.active { display: block; } /* Mobile Specific Styles */ @media (max-width: 768px) { body { padding-top: var(--header-offset); overflow-x: hidden; } :root { --header-offset: 110px; } /* Mobile content overflow protection */ .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } /* Header */ .site-header { box-sizing: border-box; overflow-x: hidden; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding: 0 15px; position: relative; } .hamburger-menu { display: block; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; margin-right: 30px; } .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(--primary-color); } .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: calc(100vh - var(--header-offset)); position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 300px; background-color: var(--card-bg); flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 20px 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 995; display: none; /* Hidden by default */ overflow-y: auto; } .main-nav.active { transform: translateX(0); display: flex; /* Show when active */ } .nav-container { width: 100%; max-width: none; padding: 0 15px; flex-direction: column; align-items: flex-start; } .main-nav ul { flex-direction: column; width: 100%; gap: 0; } .main-nav li { width: 100%; } .main-nav li a { padding: 12px 15px; border-bottom: 1px solid var(--divider-color); width: 100%; box-sizing: border-box; } .main-nav li:last-child a { border-bottom: none; } /* Footer */ .footer-top-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; } .footer-col { align-items: center; text-align: center; } .footer-about { align-items: center; } .footer-col h3 { margin-bottom: 10px; } .footer-nav li a { padding: 8px 0; } .footer-bottom { padding-top: 15px; font-size: 13px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
