.site-header { position: fixed; top: 0; left: 0; width: 100%; background: #ffffff; box-shadow: 0 2px 15px rgba(0,0,0,0.15); z-index: 1000; border-bottom: 2px solid #26A9E0; } .header-top { background: #ffffff; width: 100%; min-height: 68px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 25px; width: 100%; } .logo { font-size: 28px; font-weight: 800; text-decoration: none; color: #26A9E0; padding: 10px 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); letter-spacing: -0.5px; line-height: 1.2; } .logo:hover { color: #26A9E0; text-decoration: none; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .mobile-nav-buttons { display: none; } .btn { display: inline-block; text-decoration: none; border: none; font-weight: 700; text-align: center; cursor: pointer; transition: all 0.3s ease; border-radius: 6px; letter-spacing: 0.5px; font-size: 14px; padding: 12px 24px; line-height: 1; min-height: 42px; box-sizing: border-box; } .btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .btn-login { background: #EA7C07; color: #ffffff; box-shadow: 0 3px 6px rgba(234,124,7,0.4); } .btn-register { background: #26A9E0; color: #ffffff; box-shadow: 0 3px 6px rgba(38,169,224,0.4); } .btn-login:hover, .btn-register:hover { color: #ffffff; } .main-nav { width: 100%; background: #26A9E0; display: flex; justify-content: center; min-height: 52px; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; align-items: center; justify-content: center; padding: 0 20px; width: 100%; overflow-x: auto; } .nav-link { color: #ffffff; text-decoration: none; padding: 14px 14px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background 0.3s; line-height: 1; } .nav-link:hover { background: rgba(0,0,0,0.2); color: #ffffff; text-decoration: none; } .hamburger-menu { display: none; width: 44px; height: 44px; background: #26A9E0; border: none; cursor: pointer; position: relative; z-index: 1001; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; box-sizing: border-box; } .hamburger-menu span { display: block; width: 24px; height: 3px; background: #ffffff; border-radius: 3px; transition: all 0.4s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background: #1a1a2e; color: #ffffff; padding-top: 40px; font-size: 14px; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 0 20px 40px; } .footer-logo { font-size: 26px; font-weight: 800; text-decoration: none; color: #ffffff; margin-bottom: 20px; display: inline-block; } .footer-logo:hover { color: #ffffff; text-decoration: none; } .footer-column p { color: #cccccc; line-height: 1.8; margin-bottom: 15px; text-align: left; } .footer-column h4 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: #ffffff; text-transform: uppercase; letter-spacing: 1px; } .footer-nav { display: flex; flex-direction: column; } .footer-nav a { color: #aaaaaa; text-decoration: none; padding: 8px 0; transition: color 0.3s; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,0.1); } .footer-nav a:hover { color: #26A9E0; text-decoration: none; } .footer-contact p { display: flex; align-items: center; gap: 8px; } .footer-contact span { color: #26A9E0; font-weight: 600; min-width: 70px; } .btn-support { background: #EA7C07; color: #ffffff; text-decoration: none; padding: 12px 30px; border-radius: 6px; font-weight: 600; display: inline-block; } .btn-support:hover { background: #ff9500; color: #ffffff; text-decoration: none; } .footer-bottom { text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); color: #aaaaaa; } .footer-bottom p { margin-bottom: 0; } .page-content { max-width: 1200px; margin: 0 auto; padding: 60px 20px; } .page-content img { max-width: 100%; height: auto; } @media (max-width: 768px) { body { overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } :root { --header-offset: 110px; } .header-container { width: 100%; max-width: none; padding: 0 15px; min-height: 60px; } .logo { font-size: 22px; } .header-top { min-height: 60px; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 10px 15px; background: #f5f5f5; border-bottom: 1px solid #e0e0e0; width: 100%; box-sizing: border-box; } .mobile-nav-buttons .btn { padding: 10px 20px; font-size: 13px; min-height: 38px; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100%; background: #ffffff; box-shadow: 2px 0 10px rgba(0,0,0,0.1); flex-direction: column; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; padding-top: 20px; overflow-y: auto; min-height: auto; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 0 10px; width: 100%; overflow-x: hidden; } .nav-link { color: #333333; padding: 15px 20px; font-size: 16px; width: 100%; box-sizing: border-box; border-bottom: 1px solid #f0f0f0; } .nav-link:hover { background: #f0f8ff; color: #26A9E0; text-decoration: none; } .hamburger-menu { display: flex; } .mobile-menu-overlay.active { display: block; } .footer-container { grid-template-columns: 1fr; gap: 25px; padding: 30px 15px; } .footer-brand p { text-align: left; } .footer-nav a { font-size: 15px; } .footer-column h4 { font-size: 16px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
