:root { --primary: #26A9E0; --primary-dark: #1C7FB0; --primary-light: #E6F4FB; --white: #FFFFFF; --text-dark: #333333; --text-light: #666666; --accent: #EA7C07; --black: #000000; --header-offset: 122px; --header-offset-mobile: 110px; --header-top-bg: #26A9E0; --main-nav-bg: #FFFFFF; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #FFFFFF; color: #333333; } html { scroll-behavior: smooth; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--header-top-bg); box-shadow: 0 2px 8px rgba(0,0,0,0.15); border-bottom: 2px solid var(--white); } .header-top { background-color: var(--header-top-bg); width: 100%; min-height: 68px; display: flex; align-items: center; } .header-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 40px; padding-right: 40px; box-sizing: border-box; } .logo { font-size: 32px; font-weight: 900; color: var(--white); text-decoration: none; text-transform: lowercase; letter-spacing: 1px; line-height: 1.2; display: inline-block; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); } .logo:hover { color: var(--white); opacity: 0.9; text-decoration: none; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; padding: 10px 24px; border-radius: 25px; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: all 0.3s ease; border: none; line-height: 1.4; box-shadow: 0 2px 6px rgba(0,0,0,0.15); } .btn-login { background: var(--accent); color: var(--white); border: 2px solid var(--accent); } .btn-login:hover { background: #D96C00; border-color: #D96C00; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(234,124,7,0.4); } .btn-register { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: var(--black); border: 2px solid #FFC107; } .btn-register:hover { background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,193,7,0.4); } .main-nav { background-color: var(--main-nav-bg); width: 100%; min-height: 52px; display: flex; align-items: center; border-top: 1px solid #e0e0e0; } .nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; box-sizing: border-box; gap: 4px; flex-wrap: wrap; } .nav-link { color: var(--text-dark); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; line-height: 1.4; } .nav-link:hover { color: var(--primary); background-color: var(--primary-light); text-decoration: none; } .nav-link:first-child { color: var(--primary); font-weight: 700; } .mobile-nav-buttons { display: none; padding: 8px 15px; gap: 10px; background-color: var(--white); border-top: 2px solid var(--primary); width: 100%; box-sizing: border-box; z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .mobile-nav-buttons .btn { flex: 1; text-align: center; font-size: 14px; padding: 8px 10px; } .hamburger-menu { display: none; position: fixed; top: 10px; left: 15px; z-index: 1001; background: transparent; border: none; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; box-sizing: border-box; } .hamburger-line { display: block; width: 22px; height: 3px; background-color: var(--white); border-radius: 3px; transition: all 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--white); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--white); } .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; pointer-events: none; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; pointer-events: auto; } .main-nav.active { display: flex !important; transform: translateX(0) !important; } .site-footer { background-color: #263238; padding: 40px 20px 20px; margin-top: 0; color: #ECEFF1; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 30px; } .footer-column h4.footer-heading { color: var(--white); font-size: 16px; font-weight: 600; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #3D4A53; } .footer-brand { display: flex; flex-direction: column; gap: 15px; } .footer-logo { font-size: 28px; font-weight: 800; color: var(--white); text-decoration: none; display: inline-block; letter-spacing: 0.5px; } .footer-logo:hover { color: var(--primary); text-decoration: none; } .footer-desc { font-size: 14px; line-height: 1.7; margin: 0; } .footer-nav a, .footer-contact .footer-link { display: block; color: #B0BEC5; text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 0.3s ease, padding-left 0.3s ease; line-height: 1.5; } .footer-nav a:hover, .footer-contact .footer-link:hover { color: var(--primary); padding-left: 5px; } .footer-contact p { margin: 5px 0; font-size: 14px; line-height: 1.6; color: #B0BEC5; } .footer-bottom { text-align: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid #37474F; font-size: 13px; color: #B0BEC5; } .footer-bottom p { margin: 0; } @media (max-width: 768px) { :root { --header-offset: 110px; } .site-header { min-height: auto; } .header-top { min-height: 60px; } .header-container { max-width: none; width: 100%; padding-left: 15px; padding-right: 60px; justify-content: center; position: relative; } .hamburger-menu { display: flex; top: 12px; left: 10px; background-color: var(--primary); border-radius: 6px; width: 36px; height: 36px; } .hamburger-line { background-color: var(--white); } .logo { font-size: 26px; margin: 0 auto; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; position: relative; z-index: 1000; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 260px; height: 100%; background-color: var(--white); box-shadow: 2px 0 12px rgba(0,0,0,0.2); z-index: 1000; flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; } .nav-container { flex-direction: column; align-items: flex-start; padding: 20px 15px; gap: 5px; width: 100%; max-width: none; } .nav-link { display: block; width: 100%; font-size: 15px; padding: 10px 0; text-align: left; } .nav-link:hover { background-color: var(--primary-light); color: var(--primary); } .mobile-menu-overlay { display: block; } .site-footer { padding: 30px 15px 15px; } .footer-container { grid-template-columns: 1fr; gap: 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: 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;
}
