:root { --header-offset: 122px; --primary: #2F6BFF; --secondary: #6FA3FF; --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border: #D6E2FF; --glow: #A5C4FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(47, 107, 255, 0.15); background-color: #FFFFFF; } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-bottom: 1px solid var(--border); } .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-left: 24px; padding-right: 24px; position: relative; } .logo { display: inline-block; font-size: 30px; font-weight: 900; font-style: italic; letter-spacing: 1px; text-decoration: none; color: var(--primary); background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; background-color: #FFFFFF; border-bottom: 1px solid var(--border); } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 8px; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; line-height: 1.2; } .btn:hover { transform: translateY(-2px); filter: brightness(1.05); } .btn-login { background-color: var(--card-bg); color: var(--primary); border: 2px solid var(--primary); box-shadow: 0 2px 8px rgba(47, 107, 255, 0.15); } .btn-login:hover { background-color: var(--glow); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 14px rgba(47, 107, 255, 0.4); } .btn-register:hover { box-shadow: 0 6px 20px rgba(47, 107, 255, 0.55); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #F0F5FF; width: 100%; border-bottom: 2px solid var(--primary); } .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; gap: 4px; } .nav-link { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--text-main); text-decoration: none; border-radius: 20px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover { background-color: var(--primary); color: #FFFFFF; } .nav-link.active { background-color: var(--primary); color: #FFFFFF; } .site-footer { background-color: #0A1A3A; color: #FFFFFF; margin-top: 40px; } .footer-top { padding: 48px 20px 24px; background: linear-gradient(180deg, #0A1A3A 0%, #132B5E 100%); } .footer-container { max-width: 1200px; margin: 0 auto; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: 1px; text-decoration: none; background: linear-gradient(135deg, #6FA3FF 0%, #A5C4FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: #C7D5F0; margin: 0 0 16px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 17px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; position: relative; padding-bottom: 10px; } .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--secondary); border-radius: 2px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #C7D5F0; font-size: 14px; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow); padding-left: 4px; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { background-color: #061027; border-top: 1px solid rgba(111, 163, 255, 0.25); padding: 20px; text-align: center; } .footer-bottom p { margin: 0; font-size: 13px; color: #9FB3D9; line-height: 1.6; } .nav-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(10, 26, 58, 0.6); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } @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; justify-content: center; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; } .logo img { max-height: 56px !important; display: block !important; max-width: 100%; height: auto; } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1002; } .hamburger-menu.active { transform: translateY(-50%); } .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: 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; } .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: #FFFFFF; z-index: 1001; padding: 80px 0 30px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2); border-bottom: none; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0 16px; gap: 4px; } .nav-link { width: 100%; height: 46px; justify-content: flex-start; padding: 0 16px; font-size: 15px; border-radius: 8px; border-bottom: 1px solid var(--border); } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-top { padding: 36px 16px 20px; } .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: 480px) { .footer-top-grid { grid-template-columns: 1fr; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
