:root { --primary: #26A9E0; --primary-dark: #1C7AA9; --primary-light: #E6F7FF; --secondary: #FFFFFF; --accent-login: #EA7C07; --accent-register: #E85D3F; --text-dark: #1A1A2E; --text-light: #FFFFFF; --text-muted: #5A6B7B; --bg-light: #F2F8FC; --header-offset: 122px; --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08); --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12); --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15); --radius-sm: 8px; --radius-md: 12px; --radius-lg: 24px; --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; --gradient-login: linear-gradient(135deg, #FF9A3D, #EA7C07); --gradient-register: linear-gradient(135deg, #FF6B4A, #E8452C); } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: var(--font-main); background: var(--secondary); color: var(--text-dark); line-height: 1.6; padding-top: var(--header-offset); overflow-x: hidden; } a { text-decoration: none; color: inherit; transition: color 0.3s ease; } ul { list-style: none; } .site-header { position: fixed; top: 0; left: 0; width: 100%; min-height: auto; background: var(--secondary); box-shadow: var(--shadow-md); z-index: 1000; display: block; } .header-top { background: var(--primary-dark); width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; min-height: 68px; padding: 6px 20px; gap: 15px; } .logo { display: inline-flex; align-items: center; font-size: 1.8rem; font-weight: 800; color: var(--text-light); background: linear-gradient(135deg, #fff, #E6F7FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.5px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 2px 0; } .logo:hover { opacity: 0.9; } .desktop-nav-buttons { display: flex; align-items: center; gap: 10px; } .btn { display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-size: 0.95rem; font-weight: 600; padding: 10px 20px; border-radius: 50px; border: none; cursor: pointer; text-decoration: none; transition: all 0.3s ease; letter-spacing: 0.3px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); white-space: nowrap; line-height: 1.2; } .btn:active { transform: translateY(1px) scale(0.98); } .btn-login { background: var(--gradient-login); color: var(--text-light); } .btn-login:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(234, 124, 7, 0.4); } .btn-register { background: var(--gradient-register); color: var(--text-light); } .btn-register:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(232, 69, 44, 0.4); } .main-nav { background: var(--secondary); border-top: 1px solid rgba(38, 169, 224, 0.2); border-bottom: 1px solid rgba(38, 169, 224, 0.2); width: 100%; display: flex; flex-direction: row; position: static; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; padding: 0 20px; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0; } .nav-menu li { position: relative; } .nav-menu li a { display: block; padding: 14px 16px; font-size: 0.95rem; font-weight: 600; color: var(--text-dark); text-decoration: none; transition: color 0.3s ease, background 0.3s ease; white-space: nowrap; } .nav-menu li a:hover { color: var(--primary); } .nav-menu li a::after { content: ''; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary); transition: width 0.3s ease; } .nav-menu li a:hover::after { width: 60%; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; border-radius: 8px; z-index: 1002; flex-direction: column; justify-content: center; align-items: center; gap: 5px; } .hamburger-line { width: 24px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: all 0.35s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 998; opacity: 0; transition: opacity 0.3s ease; } .mobile-nav-buttons { display: none; } .site-footer { background: #1e2a38; color: #cbd5e0; padding: 60px 20px 24px; border-top: 4px solid var(--primary); } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; } .footer-brand .footer-logo { font-size: 2rem; font-weight: 800; color: var(--text-light); text-decoration: none; display: inline-block; margin-bottom: 16px; } .footer-description { font-size: 0.9rem; line-height: 1.7; color: #9fb3c8; max-width: 320px; } .footer-title { font-size: 1.2rem; color: var(--text-light); font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; } .footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); border-radius: 2px; } .footer-links .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-links .footer-nav a { font-size: 0.9rem; color: #9fb3c8; text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; } .footer-links .footer-nav a:hover { color: var(--primary); padding-left: 5px; } .footer-contact p { margin-bottom: 8px; font-size: 0.9rem; color: #9fb3c8; } .footer-contact .btn-footer { background: var(--gradient-login); color: var(--text-light); padding: 10px 20px; font-size: 0.85rem; } .footer-contact .btn-footer:hover { background: var(--primary); transform: translateY(-2px); } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 20px; text-align: center; max-width: 1200px; margin: 0 auto; } .footer-bottom p { font-size: 0.85rem; color: #9fb3c8; } .page-content { overflow-x: hidden; max-width: 100%; } @media (max-width: 900px) { .nav-menu li a { padding: 14px 12px; font-size: 0.85rem; } } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } .site-header { background: var(--secondary); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .header-top { min-height: 60px; } .header-container { justify-content: space-between; min-height: 60px; padding: 6px 15px; } .logo { font-size: 1.5rem; flex: 0 0 auto; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: flex; order: -1; } .main-nav { display: none; position: fixed; top: 0; right: auto; left: 0; width: 280px; height: 100%; background: #1c2b3a; flex-direction: column; padding-top: 60px; transform: translateX(-100%); transition: transform 0.35s ease; z-index: 1001; border-radius: 0; box-shadow: none; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { max-width: none; width: 100%; padding: 0; flex-direction: column; align-items: stretch; } .nav-menu { flex-direction: column; width: 100%; align-items: flex-start; gap: 0; padding: 0; } .nav-menu li { width: 100%; } .nav-menu li a { color: #e2e8f0; padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.95rem; display: block; } .nav-menu li a:hover { background: rgba(38, 169, 224, 0.1); color: var(--text-light); padding-left: 25px; } .nav-menu li a::after { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; align-items: center; gap: 10px; background: var(--secondary); border-bottom: 1px solid rgba(38, 169, 224, 0.2); padding: 8px 15px; min-height: 48px; z-index: 999; position: relative; } .mobile-nav-buttons .btn { flex: 1; max-width: 180px; padding: 8px 16px; font-size: 0.85rem; } .mobile-menu-overlay { display: block; pointer-events: none; } .mobile-menu-overlay.active { opacity: 1; pointer-events: auto; } .footer-container { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; } .footer-brand .footer-description { max-width: 100%; } .footer-bottom { text-align: center; font-size: 0.8rem; } .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;
}
