:root { --header-offset: 122px; --footer-bg: #1a1a1a; --footer-text: #ccd0d3; --primary: #E53935; --accent: #FF5A4F; --text-body: #333333; --bg-page: #F5F7FA; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-page); color: var(--text-body); line-height: 1.5; padding-top: var(--header-offset); margin: 0; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; min-height: auto; display: flex; flex-direction: column; z-index: 1000; background-color: #a00000; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.35); } .header-top, .main-nav { width: 100%; } .header-top { background: linear-gradient(180deg, #D32F2F, #B71C1C); } .header-container, .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; padding-left: 25px; padding-right: 25px; } .header-container { display: flex; flex-direction: row; justify-content: space-between; align-items: center; min-height: 68px; padding-top: 5px; padding-bottom: 5px; } .desktop-nav-buttons { display: flex; flex-direction: row; justify-content: flex-end; align-items: center; gap: 10px; } .main-nav { background: linear-gradient(180deg, #ffffff, #f5f5f5); display: flex; border-top: 1px solid #e0e0e0; } .nav-container { display: flex; flex-direction: row; justify-content: center; align-items: center; min-height: 52px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; gap: 0 5px; } .site-header a { text-decoration: none; } .logo { font-size: 32px; font-weight: 900; letter-spacing: 2px; color: #FFFFFF; display: block; text-transform: uppercase; font-style: italic; text-shadow: 2px 2px 0 #FF5A4F, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333; line-height: 1.2; } .nav-container { justify-content: center; } .nav-container .nav-link { display: block; color: #333333; font-weight: 600; padding: 15px 12px; font-size: 14px; line-height: 1.2; position: relative; transition: color 0.2s ease; white-space: nowrap; } .nav-container .nav-link:hover, .nav-container .nav-link.active { color: #B71C1C; } .nav-container .nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background-color: #E53935; } .desktop-nav-buttons .btn { display: inline-block; padding: 10px 24px; text-decoration: none; color: #FFFFFF; font-weight: 700; border-radius: 50px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: all 0.2s ease; font-size: 15px; letter-spacing: 0.3px; border: none; cursor: pointer; min-width: 90px; text-align: center; } .desktop-nav-buttons .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.35); filter: brightness(1.05); } .desktop-nav-buttons .btn-register { background: linear-gradient(135deg, #FF9800, #FF5722); } .desktop-nav-buttons .btn-login { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); border: 1px solid rgba(255,255,255,0.2); } .desktop-nav-buttons .btn-download { background: linear-gradient(135deg, #4CAF50, #2E7D32); } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .mobile-nav-buttons { display: none; } @media (min-width: 769px) and (max-width: 1024px) { .nav-container { gap: 0 10px; } .logo { font-size: 28px; } .header-container { padding-left: 20px; padding-right: 20px; } .header-top { padding-left: 0; padding-right: 0; } .desktop-nav-buttons .btn { padding: 10px 16px; font-size: 14px; min-width: 80px; } } @media (max-width: 768px) { :root { --header-offset: 160px; } body { padding-top: var(--header-offset); overflow-x: hidden; } .site-header { min-height: auto; box-shadow: 0 2px 10px rgba(0,0,0,0.25); } .header-top { background: linear-gradient(180deg, #D32F2F, #B71C1C); } .header-container { width: 100% !important; max-width: none !important; min-height: 60px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding-left: 15px; padding-right: 15px; } .header-container > a.logo { position: absolute; left: 50%; transform: translateX(-50%); } .logo { display: block; font-size: 26px; letter-spacing: 2px; line-height: 1.2; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; cursor: pointer; background: transparent; border: none; z-index: 1002; padding: 0; } .hamburger-menu span { display: block; width: 28px; height: 3px; background-color: #fff; margin: 4px 0; transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.2s ease; border-radius: 3px; } .hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); background-color: #fff; } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background-color: #fff; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: #fff; z-index: 1001; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 70px; border-top: none; box-shadow: 2px 0 15px rgba(0,0,0,0.15); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100% !important; max-width: none !important; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-bottom: 30px; padding-left: 10px; padding-right: 10px; gap: 0; } .nav-container .nav-link { display: block; width: 100%; padding: 15px; font-size: 17px; color: #333; font-weight: 600; border-bottom: 1px solid #eee; text-align: left; white-space: normal; transition: all 0.2s ease; background-color: transparent; } .nav-container .nav-link:hover, .nav-container .nav-link.active { background-color: #fce4e4; color: #a00000; } .nav-container .nav-link.active::after { display: none; } .mobile-nav-buttons { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; background: linear-gradient(90deg, #B71C1C, #a00000); padding-top: 10px; padding-bottom: 10px; border-top: 1px solid rgba(255,255,255,0.2); min-height: 50px; } .mobile-nav-buttons .btn { display: inline-block; width: auto; flex: 1; max-width: 180px; text-align: center; padding: 10px 16px; text-decoration: none !important; color: #fff; font-weight: 600; font-size: 15px; border-radius: 50px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); cursor: pointer; border: none; } .mobile-nav-buttons .btn:hover { transform: none; } .mobile-nav-buttons .btn-register { background: linear-gradient(135deg, #FF9800, #FF5722); } .mobile-nav-buttons .btn-login { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); } .mobile-nav-buttons .btn-download { background: linear-gradient(135deg, #4CAF50, #2E7D32); } .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.55); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } .footer-container { flex-direction: column; } .footer-bottom-container { flex-direction: column; gap: 15px; } .footer-links, .footer-legal, .footer-contact-col { margin-top: 30px; } .footer-links .footer-nav, .footer-legal .footer-nav { flex-direction: column; gap: 12px; } .page-content { overflow-x: hidden; max-width: 100%; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } } .site-footer { background-color: #1c1e20; color: #ccd0d3; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 50px 25px 25px; display: flex; flex-direction: row; justify-content: flex-start; gap: 40px; } .footer-brand { flex: 2.5; min-width: 250px; } .footer-links, .footer-legal, .footer-contact-col { flex: 1.5; } .footer-nav-column { flex: 1.5; } .footer-links { display: flex; flex-direction: column; align-items: flex-start; } .footer-logo { font-size: 36px; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 2px; font-style: italic; text-transform: uppercase; background: linear-gradient(135deg, #FF5A4F, #E53935); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .footer-description { font-size: 13px; line-height: 1.6; color: #aaa; margin-top: 15px; } .footer-heading { color: #FFFFFF; font-size: 16px; font-weight: 700; letter-spacing: 0.8px; margin-bottom: 20px; position: relative; padding-bottom: 10px; } .footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background-color: #FF5A4F; } .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-nav a, .footer-contact-line, .footer-badge-link { color: #aaa; text-decoration: none; font-size: 14px; transition: all 0.2s ease; line-height: 1.4; } .footer-nav a:hover, .footer-badge-link:hover { color: #FF5A4F; text-decoration: none; } .footer-badges { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 15px; } .footer-badge-link { background-color: transparent; border-radius: 50px; padding: 8px 14px; font-weight: 600; color: #fff !important; background: linear-gradient(135deg, #FF5A4F, #E53935); box-shadow: 0 2px 10px rgba(255, 90, 79, 0.4); font-size: 15px; border-bottom: none; } .footer-badge-link:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 90, 79, 0.6); color: #fff !important; } .footer-bottom { margin-top: 30px; background-color: #121314; padding: 20px 0; } .footer-bottom-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding-left: 25px; padding-right: 25px; flex-wrap: wrap; } .footer-bottom p { margin: 0; color: #777; font-size: 13px; line-height: 1.5; } .footer-bottom a { color: #aaa; text-decoration: none; } .footer-bottom a:hover { color: #FF5A4F; } .site-footer { margin-top: 50px; } .footer-contact-col { display: flex; flex-direction: column; align-items: flex-start; } .footer-contact-line { margin-bottom: 5px; } .footer-links .footer-nav { width: 100%; } .footer-legal { display: flex; flex-direction: column; align-items: flex-start; } .footer-links .footer-nav a, .footer-legal .footer-nav a { border-bottom: 1px solid transparent; } .footer-brand-column { width: 33%; } .footer-links-column, .footer-legal-column { width: auto; } .footer-copyright-wrapper { padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.1); } .copyright-text { margin: 0 0 8px; font-weight: 500; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
