:root { --header-offset: 122px; --primary: #C91F17; --secondary: #E53935; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); --text-main: #FFF5E1; --bg-card: #D32F2F; --bg-main: #B71C1C; --border-color: #F2B544; --glow: #FFCC66; --gold: #F4D34D; --deep-red: #7A0E0E; }
body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-main); font-family: Arial, Helvetica, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.4); background-color: var(--bg-main); }
.header-top { background-color: var(--deep-red); width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; min-height: 68px; box-sizing: border-box; }
.logo { font-size: 32px; font-weight: 900; color: var(--gold); text-decoration: none; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); letter-spacing: 1px; display: block; }
.logo:hover { color: var(--glow); }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: all 0.3s ease; color: var(--deep-red); }
.btn-register { background: var(--btn-gradient); color: var(--deep-red); }
.btn-download { background: linear-gradient(180deg, #FFD86A 0%, #F2B544 100%); color: var(--deep-red); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.main-nav { background-color: 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: 8px 20px; flex-wrap: wrap; gap: 4px; width: 100%; box-sizing: border-box; }
.nav-link { display: block; color: var(--text-main); text-decoration: none; padding: 8px 14px; font-size: 14px; font-weight: 600; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; }
.nav-link:hover { background-color: var(--secondary); color: #fff; }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; }
.hamburger-menu { display: none; }
.mobile-menu { display: none; }
.site-footer { background-color: var(--deep-red); color: var(--text-main); padding: 40px 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 30px; padding: 0 30px 30px; }
.footer-column h3 { color: var(--gold); font-size: 18px; margin-bottom: 15px; }
.footer-column p { line-height: 1.6; font-size: 14px; }
.footer-logo { font-size: 28px; font-weight: 900; color: var(--gold); text-decoration: none; display: block; margin-bottom: 12px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-main); text-decoration: none; font-size: 14px; transition: all 0.3s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { background-color: #5c0a0a; padding: 15px 20px; text-align: center; font-size: 13px; }
.footer-bottom p { margin: 4px 0; }
.footer-warning { color: var(--glow); }
@media (max-width: 768px) {
:root { --header-offset: 146px; }
.header-container { width: 100%; max-width: none; min-height: 60px; padding: 8px 15px; position: relative; justify-content: center; }
.logo { font-size: 28px; position: absolute; left: 50%; transform: translateX(-50%); }
.desktop-nav-buttons { display: none; }
.main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: var(--primary); flex-direction: column; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; overflow-y: auto; padding-top: 80px; }
.main-nav.active { display: block; transform: translateX(0); }
.main-nav .nav-container { flex-direction: column; align-items: flex-start; padding: 10px; width: 100%; max-width: none; }
.main-nav .nav-link { width: 100%; padding: 12px 15px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 8px 15px; background-color: var(--bg-card); width: 100%; box-sizing: border-box; }
.mobile-nav-buttons .btn { flex: 1; text-align: center; padding: 10px 8px; font-size: 14px; max-width: 160px; }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 1001; transition: opacity 0.3s ease; }
.mobile-menu-overlay.active { display: block; }
.hamburger-menu { display: flex; position: fixed; top: 12px; left: 15px; z-index: 1003; width: 40px; height: 40px; cursor: pointer; background: transparent; border: none; padding: 8px; flex-direction: column; justify-content: space-around; align-items: center; }
.hamburger-menu span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 8px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: var(--primary); flex-direction: column; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; overflow-y: auto; padding-top: 80px; }
.mobile-menu.active { display: flex; transform: translateX(0); }
.mobile-menu .nav-link { display: block; color: var(--text-main); text-decoration: none; padding: 15px 20px; font-size: 16px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer { padding-top: 30px; }
.footer-container { grid-template-columns: 1fr; gap: 20px; padding: 0 20px 20px; }
.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; }
.btn, .footer-nav a { text-decoration: none; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
