:root { --header-offset: 122px; --primary: #26A9E0; --primary-dark: #1d8bbd; --white: #FFFFFF; --black: #000000; --btn-login: #EA7C07; } * { box-sizing: border-box; margin: 0; padding: 0; } body { padding-top: var(--header-offset); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); border-bottom: 3px solid var(--primary); background: var(--white); } .header-top { width: 100%; background: var(--primary); border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; width: 100%; } .logo { font-family: 'Segoe UI', Arial, sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); display: block; line-height: 1.2; white-space: nowrap; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .btn { display: inline-block; padding: 8px 22px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; transition: transform 0.2s; text-align: center; white-space: nowrap; color: var(--white); } .btn:hover { transform: translateY(-2px); filter: brightness(1.1); } .btn-login { background: var(--btn-login); } .btn-register { background: var(--primary-dark); } .btn-download { background: linear-gradient(135deg, #f7971e, #ffd200); color: var(--black); } .main-nav { width: 100%; background: linear-gradient(135deg, #FFFFFF, #F0F8FF); display: flex; border-top: 1px solid var(--primary); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 15px; width: 100%; gap: 4px; } .nav-container a { color: var(--black); text-decoration: none; font-size: 0.95rem; font-weight: 700; padding: 12px 16px; display: block; border-radius: 0; transition: background-color 0.3s, color 0.3s; border-bottom: 3px solid transparent; text-align: center; white-space: nowrap; } .nav-container a:hover { background: rgba(38, 169, 224, 0.15); color: var(--primary-dark); border-bottom-color: var(--primary); } .mobile-nav-buttons { display: none; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .site-footer { background: var(--black); color: var(--white); padding: 40px 0 0; margin-top: auto; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } .footer-info .footer-logo { color: var(--white); font-size: 1.6rem; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; text-shadow: 2px 2px 5px rgba(38, 169, 224, 0.3); } .footer-desc { color: #888; line-height: 1.6; font-size: 0.9rem; max-width: 300px; } .footer-title { color: var(--white); font-size: 1rem; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; position: relative; padding-bottom: 8px; } .footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); } .footer-nav, .legal-nav { display: flex; flex-direction: column; gap: 5px; } .footer-nav a, .legal-nav a { color: #aaa; text-decoration: none; font-size: 0.85rem; padding: 5px 0; transition: color 0.3s, padding-left 0.3s; } .footer-nav a:hover, .legal-nav a:hover { color: var(--primary); padding-left: 8px; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 20px; text-align: center; margin-top: 35px; } .footer-bottom p { font-size: 0.85rem; color: #666; } @media (max-width: 768px) { :root { --header-offset: 146px; } body { overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } .site-header { flex-direction: row; flex-wrap: wrap; border-bottom: 2px solid var(--primary); } .header-top { order: 1; width: 100%; background: var(--primary); } .header-container { width: 100%; max-width: none; padding: 6px 15px; justify-content: center; position: relative; } .logo { font-size: 1.4rem; text-align: center; } .desktop-nav-buttons { display: none; } .btn { padding: 8px 15px; font-size: 0.8rem; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100vh; background: var(--white); overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease, display 0.1s ease; z-index: 1002; order: 5; } .main-nav.active { display: block; transform: translateX(0); } .main-nav .nav-container { flex-direction: column; align-items: stretch; padding: 60px 20px 20px; width: 100%; max-width: none; } .nav-container a { padding: 12px 10px; border-bottom: 1px solid rgba(38, 169, 224, 0.1); text-align: left; color: var(--black); } .nav-container a:hover { background: rgba(38, 169, 224, 0.1); border-bottom: 1px solid var(--primary); border-left: 3px solid var(--primary); padding-left: 15px; } .mobile-nav-buttons { display: flex; order: 2; width: 100%; background: var(--white); justify-content: center; gap: 5px; padding: 8px 5px; flex-wrap: wrap; border: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); position: relative; z-index: 900; } .mobile-nav-buttons .btn { flex: 1; text-align: center; padding: 8px 5px; font-size: 0.85rem; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; cursor: pointer; z-index: 1003; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); background: transparent; border: none; padding: 0; } .hamburger-menu span { width: 24px; height: 3px; background: var(--white); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; margin-left: 0; } .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); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1001; opacity: 1; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; } .footer-container { grid-template-columns: 1fr; gap: 30px; padding: 0 15px; } .footer-info .footer-logo { font-size: 1.3rem; } .footer-nav, .legal-nav { flex-direction: column; } .footer-bottom { padding: 15px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
