:root { --primary: #E53935; --secondary: #FF5A4F; --bg: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border-color: #E0E0E0; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); --header-offset: 122px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-main); background-color: var(--bg); } a { text-decoration: none; } ul { list-style: none; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.15); background-color: var(--card-bg); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-decoration: none; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,0.2); } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 6px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; white-space: nowrap; } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 15px; } .btn-login { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; } .btn-login:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 10px rgba(229,57,53,0.35); } .btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(229,57,53,0.5); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1A1A1A; width: 100%; } .nav-container { box-sizing: border-box; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 30px; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; height: 100%; } .nav-menu li { display: flex; height: 100%; } .nav-menu a { display: inline-flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 600; color: #FFFFFF; text-decoration: none; height: 100%; position: relative; transition: color 0.2s ease, background-color 0.2s ease; } .nav-menu a:hover { color: var(--secondary); background-color: rgba(255,255,255,0.06); } .menu-overlay { display: none; } .site-footer { background-color: #1A1A1A; color: #CCCCCC; font-size: 14px; line-height: 1.7; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding: 50px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-transform: uppercase; margin-bottom: 14px; text-shadow: 0 2px 4px rgba(0,0,0,0.25); } .footer-description { color: #BBBBBB; font-size: 14px; line-height: 1.7; word-wrap: break-word; overflow-wrap: break-word; margin: 0; } .footer-col-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 16px; position: relative; padding-bottom: 10px; } .footer-col-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--btn-gradient); border-radius: 2px; } .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-nav li { margin: 0; } .footer-nav a { color: #CCCCCC; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--secondary); padding-left: 4px; } .footer-mid { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; } .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { border-top: 1px solid #333333; padding: 20px 0; text-align: center; } .footer-copyright { color: #999999; font-size: 13px; margin: 0; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 12px; padding-right: 12px; position: relative; } .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% - 110px); font-size: 22px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; position: relative; z-index: 1002; } .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; background-color: var(--primary); padding-top: 8px; padding-bottom: 8px; } .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; } .main-nav { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 85%; max-width: 360px; height: 100vh !important; min-height: 100vh !important; background-color: #1A1A1A; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding-top: 80px; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; display: block; height: auto; } .nav-menu { flex-direction: column; align-items: stretch; gap: 0; height: auto; } .nav-menu li { height: auto; } .nav-menu a { display: block; padding: 14px 12px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 999; } .menu-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 28px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-container { padding-left: 15px; padding-right: 15px; } .footer-top { padding: 36px 0 20px; } .footer-col-title { margin-bottom: 12px; } .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;
}
