:root { --primary: #E53935; --secondary: #FF5A4F; --bg: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border: #E0E0E0; --gradient-btn: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background-color: var(--bg); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); background-color: #B71C1C; } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #8E0000; } .header-container { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; } .logo { display: inline-block; text-decoration: none; font-size: 30px; font-weight: 800; line-height: 1; color: #FFFFFF; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); } .logo:hover { color: #FFCDD2; } .logo img { display: block; max-height: 60px; width: auto; max-width: 280px; height: auto; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; text-decoration: none; text-align: center; font-weight: 700; border-radius: 6px; cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(229, 57, 53, 0.45); filter: brightness(1.06); } .btn-login { background-color: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; padding: 9px 20px; font-size: 15px; } .btn-login:hover { background-color: #FFFFFF; color: #B71C1C; } .btn-register { background: var(--gradient-btn); color: #FFFFFF; border: 2px solid transparent; padding: 9px 22px; font-size: 15px; box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35); } .mobile-nav-buttons { display: none; box-sizing: border-box; min-height: 48px; } .hamburger-menu { display: none; } .main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #E53935; } .nav-container { box-sizing: border-box; display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: nowrap; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; gap: 4px; } .nav-link { display: inline-block; text-decoration: none; color: #FFFFFF; font-size: 14.5px; font-weight: 600; padding: 7px 10px; border-radius: 5px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover { background-color: #FFFFFF; color: #B71C1C; } .nav-link.active { background-color: #FFCDD2; color: #8E0000; } .mobile-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.55); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .mobile-overlay.active { opacity: 1; visibility: visible; } .site-footer { background-color: #1A1A1A; color: #C9C9C9; padding-top: 0; } .footer-top { padding: 48px 20px 30px; } .footer-container { max-width: 1200px; margin: 0 auto; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; text-decoration: none; font-size: 28px; font-weight: 800; color: #FFFFFF; margin-bottom: 14px; letter-spacing: 1px; } .footer-logo:hover { color: #FF8A80; } .footer-description { font-size: 14px; line-height: 1.7; color: #B0B0B0; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 17px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid #E53935; display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { text-decoration: none; color: #C9C9C9; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #FF8A80; padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { width: 100%; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 16px 0; } .footer-bottom { border-top: 1px solid #333333; padding: 20px; text-align: center; background-color: #111111; } .footer-copyright { margin: 0; font-size: 13.5px; color: #9E9E9E; } @media (max-width: 768px) { :root { --header-offset: 110px; } .site-header { width: 100%; max-width: 100%; overflow-x: hidden; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { position: relative; width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 120px); font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background-color: #8E0000; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; position: relative; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .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); } .main-nav { position: fixed; top: 0; left: 0; width: 85%; max-width: 320px; height: 100vh; min-height: 100vh; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; background-color: #8E0000; z-index: 1001; padding-top: 80px; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; max-width: none; height: auto; padding: 0 15px 30px; gap: 4px; } .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 6px; } .footer-top { padding: 36px 15px 24px; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid { padding: 0 15px 16px; } .footer-mid-grid { grid-template-columns: 1fr; gap: 14px; } } .page-content img { max-width: 100%; height: auto; display: block; } @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.no-scroll { overflow: 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;
}
