:root {
  --primary: #E53935;
  --primary-dark: #C62828;
  --accent: #FF5A4F;
  --accent-light: #FF8A80;
  --header-offset: 166px;
  --bg-body: #F5F7FA;
  --text-main: #333333;
  --border-light: #E0E0E0;
  --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-body); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); background-color: var(--primary); }
.header-top { background-color: #2A0A0A; width: 100%; min-height: 68px; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; min-height: 68px; }
.logo { font-size: 30px; font-weight: 800; color: var(--white) !important; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; background: linear-gradient(180deg, #FF5A4F 0%, #FFFFFF 400%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.desktop-nav-buttons .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; border: 2px solid transparent; transition: all 0.3s ease; min-width: 100px; }
.btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #fff; border: 2px solid rgba(255, 255, 255, 0.3); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4); border-color: #fff; }
.btn-login { background: transparent; color: #fff; border: 2px solid #FF5A4F; }
.btn-login:hover { background: #FF5A4F; border-color: #FF5A4F; box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3); }
.main-nav { background-color: #FFFFFF; border-bottom: 3px solid var(--primary); width: 100%; display: flex; min-height: 52px; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; }
.nav-container a { color: var(--text-main); text-decoration: none; font-weight: 700; font-size: 14px; padding: 14px 14px; border-bottom: 3px solid transparent; transition: all 0.3s ease; white-space: nowrap; }
.nav-container a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.nav-container a:first-child { color: var(--primary); }
.mobile-menu-overlay { display: none; }
.hamburger-menu { display: none; }
.mobile-logo { display: none; }
.mobile-actions-spacer { display: none; }
.mobile-header-actions { display: none; }
.mobile-nav-buttons { display: none; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  body { overflow-x: hidden; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .header-top { display: none; }
  .main-nav { display: none; position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background-color: #fff; flex-direction: column; align-items: flex-start; padding-top: 80px; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2); transform: translateX(100%); transition: transform 0.3s ease, display 0s linear 0.3s; z-index: 1002; overflow-y: auto; border-bottom: none; border-left: 3px solid var(--primary); }
  .main-nav.active { display: flex; transform: translateX(0); transition: transform 0.3s ease; }
  .nav-container { flex-direction: column; width: 100%; max-width: none; padding: 0; display: flex; }
  .nav-container a { width: 100%; text-align: left; padding: 16px 24px; border-bottom: 1px solid #f0f0f0; border-left: 4px solid transparent; font-size: 16px; display: block; }
  .nav-container a:hover { background-color: #fff5f5; border-left-color: var(--primary); border-bottom-color: #f0f0f0; }
  .nav-container a:first-child { border-bottom: 1px solid #f0f0f0; color: var(--primary); }
  .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
  .mobile-menu-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 36px; height: 36px; background: transparent; border: none; cursor: pointer; padding: 6px; gap: 5px; z-index: 1003; position: relative; }
  .hamburger-menu span { display: block; width: 24px; height: 2px; background-color: #fff; border-radius: 2px; transition: all 0.3s ease; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #FF5A4F; }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #FF5A4F; }
  .hamburger-menu:hover span { background-color: #FF8A80; }
  .mobile-header-actions { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 16px; background-color: #2A0A0A; min-height: 60px; }
  .mobile-logo { display: block; flex: 1; text-align: center; }
  .mobile-logo .logo { font-size: 24px; }
  .mobile-actions-spacer { display: block; width: 36px; }
  .mobile-nav-buttons { display: flex; gap: 8px; justify-content: center; padding: 10px 12px; background-color: #2A0A0A; border-top: 1px solid rgba(255, 255, 255, 0.1); min-height: 48px; align-items: center; width: 100%; }
  .mobile-nav-buttons .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; flex: 1; max-width: 130px; border: 2px solid transparent; transition: all 0.3s ease; }
  .mobile-nav-buttons .btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #fff; border-color: #FF5A4F; }
  .mobile-nav-buttons .btn-login { background: transparent; color: #fff; border-color: #FF5A4F; }
  .site-footer { background-color: #1a1a2e; color: #ccc; padding: 40px 0 20px; }
  .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .footer-container { width: 100%; max-width: none; padding: 0 20px; }
}
.site-footer { background-color: #1a1a2e; color: #ccc; padding: 40px 0 20px; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 32px; }
.footer-logo { display: block; font-size: 28px; font-weight: 800; color: #fff; text-decoration: none; display: block; margin-bottom: 12px; background: linear-gradient(180deg, #FF5A4F 0%, #FFFFFF 400%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
footer .footer-logo-column p { text-align: left; font-size: 14px; line-height: 1.6; margin-top: 12px; }
.footer-links-column h4 { text-align: left; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; text-align: left; }
.footer-nav li a { color: #ccc; text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.footer-nav li a:hover { color: #FF5A4F; }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.footer-bottom p { text-align: center; }
.footer-bottom a { color: #FF5A4F; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
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;
}
