:root { --header-offset: 122px; --primary: #C61F1F; --primary-light: #E53030; --btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); --card-bg: #2A1212; --bg: #140C0C; --text-main: #FFF1E8; --border-color: #6A1E1E; --gold: #F3C54D; --deep-red: #7E0D0D; }
body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--bg); color: var(--text-main); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--bg); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); }
.header-top { background: linear-gradient(135deg, #1a0505 0%, var(--deep-red) 100%); width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; min-height: 48px; }
.logo { display: inline-block; font-size: 32px; font-weight: 900; color: var(--gold); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.logo:hover { color: #fddc8a; }
.desktop-nav-buttons { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; text-align: center; }
.btn-register { background: var(--btn-gradient); color: #140C0C; box-shadow: 0 4px 15px rgba(216, 106, 20, 0.4); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(216, 106, 20, 0.6); }
.btn-login { background: var(--primary); color: #ffffff; border: 2px solid var(--gold); box-shadow: 0 4px 15px rgba(198, 31, 31, 0.4); }
.btn-login:hover { transform: translateY(-2px); }
.main-nav { background: linear-gradient(180deg, #2A1212 0%, #1a0a0a 100%); width: 100%; display: flex; align-items: center; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; gap: 4px; width: 100%; }
.nav-link { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 6px; transition: background 0.3s, color 0.3s; white-space: nowrap; }
.nav-link:hover { background: rgba(243, 197, 77, 0.15); color: var(--gold); }
.nav-link.active { color: var(--gold); background: rgba(243, 197, 77, 0.1); }
.mobile-nav-buttons { display: none; background: linear-gradient(135deg, #1a0505 0%, var(--deep-red) 100%); padding: 8px 15px; justify-content: center; gap: 10px; }
.hamburger-menu { display: none; position: fixed; top: 15px; left: 15px; z-index: 1002; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger-bar { display: block; width: 24px; height: 3px; background: var(--gold); margin: 5px 0; border-radius: 3px; transition: all 0.3s ease; }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 998; }
.site-footer { background: linear-gradient(180deg, var(--deep-red) 0%, #140C0C 100%); padding: 40px 20px 0; margin-top: 50px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; }
.footer-brand .footer-logo { font-size: 28px; font-weight: 900; color: var(--gold); text-decoration: none; }
.footer-description { color: #d4a5a5; font-size: 14px; line-height: 1.6; margin-top: 12px; }
.footer-column-title { color: var(--gold); font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #d4a5a5; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact p { color: #d4a5a5; font-size: 14px; margin: 8px 0; }
.footer-bottom { border-top: 1px solid #451414; padding: 15px 0; text-align: center; margin-top: 20px; }
.footer-bottom p { color: #aa7a7a; font-size: 13px; margin: 0; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { overflow-x: hidden; }
  .header-top { background: linear-gradient(135deg, #1a0505 0%, var(--deep-red) 100%); padding: 5px 0; }
  .header-container { width: 100%; max-width: none; padding: 8px 50px; justify-content: center; min-height: 48px; }
  .logo { display: block; font-size: 28px; }
  .mobile-nav-buttons { display: flex; width: 100%; padding: 8px 50px; justify-content: center; gap: 10px; }
  .desktop-nav-buttons { display: none; }
  .btn { padding: 8px 18px; font-size: 13px; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100%; background: #2A1212; flex-direction: column; justify-content: flex-start; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 80px; z-index: 999; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; justify-content: flex-start; padding: 10px 20px; width: 100%; max-width: none; gap: 0; }
  .nav-link { display: block; width: 100%; padding: 12px 10px; font-size: 15px; border-bottom: 1px solid #451414; }
  .hamburger-menu { display: block; width: auto; }
  .hamburger-menu.active .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
  .hamburger-menu.active .hamburger-bar:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }
  .mobile-menu-overlay.active { display: block; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .header-container { padding: 8px 45px; }
  .mobile-nav-buttons { padding: 8px 15px; }
  .footer-container { grid-template-columns: 1fr; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
