:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg-color: #FFFFFF; --text-dark: #000000; --footer-bg: #0B2239; --footer-bg-alt: #081A2C; --footer-text: #D6E4F0; --footer-heading: #FFFFFF; --header-top-bg: #0B2239; --main-nav-bg: #26A9E0; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; background-color: var(--bg-color); } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--header-top-bg); 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-left: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--secondary); font-family: Arial, Helvetica, sans-serif; text-transform: lowercase; } .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; } .btn { display: inline-block; text-decoration: none; border-radius: 8px; font-weight: 700; text-align: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: none; font-family: Arial, Helvetica, sans-serif; line-height: 1.2; } .btn:hover { transform: translateY(-2px); filter: brightness(1.08); } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 14px; } .btn-login { background-color: var(--login-color); color: #FFFFFF; box-shadow: 0 3px 10px rgba(234, 124, 7, 0.4); } .btn-register { background-color: var(--primary); color: #FFFFFF; box-shadow: 0 3px 10px rgba(38, 169, 224, 0.45); border: 2px solid #FFFFFF; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--main-nav-bg); 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; gap: 4px; flex-wrap: nowrap; } .nav-link { display: inline-block; padding: 6px 10px; font-size: 13.5px; font-weight: 600; color: var(--secondary); white-space: nowrap; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; font-family: Arial, Helvetica, sans-serif; } .nav-link:hover, .nav-link.active { background-color: rgba(255, 255, 255, 0.22); color: var(--secondary); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-direction: column; justify-content: center; align-items: center; gap: 5px; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--secondary); 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); } .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.55); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--footer-bg); color: var(--footer-text); font-family: Arial, Helvetica, sans-serif; margin-top: 0; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding: 45px 0 25px; background-color: var(--footer-bg); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; gap: 12px; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--footer-heading); text-transform: lowercase; letter-spacing: 1px; } .footer-description { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--footer-text); word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--footer-heading); position: relative; padding-bottom: 8px; } .footer-col-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background-color: var(--primary); border-radius: 2px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; } .footer-nav li { margin: 0; } .footer-nav a { color: var(--footer-text); font-size: 13.5px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--primary); padding-left: 4px; } .footer-dynamic-col { min-height: 10px; } .footer-mid { background-color: var(--footer-bg-alt); padding: 22px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { background-color: #051220; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: var(--footer-text); } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 1024px) { .nav-link { font-size: 12.5px; padding: 6px 7px; } } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); overflow-x: hidden; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; height: 100%; box-sizing: border-box; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .hamburger-menu { display: flex; position: relative; z-index: 1001; } .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-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background-color: var(--header-top-bg); } .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: calc(var(--header-offset) - 48px); left: 0; width: 280px; max-width: 85%; height: auto !important; min-height: auto !important; background-color: var(--header-top-bg); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 12px 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 4px 0 18px rgba(0, 0, 0, 0.3); overflow-y: auto; max-height: calc(100vh - var(--header-offset)); } .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; gap: 0; } .nav-link { display: block; width: 100%; padding: 13px 22px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .nav-link:hover, .nav-link.active { background-color: rgba(38, 169, 224, 0.35); padding-left: 26px; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-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;
}
