:root {
  --header-offset: 122px;
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --page-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-gold: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
}
body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--page-bg);
  color: var(--text-main);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--page-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 2px 4px rgba(122,14,14,0.6);
  border-bottom: 2px solid var(--border-gold);
}
.header-top {
  width: 100%;
  background: linear-gradient(135deg, var(--deep-red) 0%, var(--primary-color) 100%);
  border-bottom: 1px solid var(--border-gold);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  padding: 8px 24px;
  box-sizing: border-box;
}
.logo {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 var(--gold-color), 0 0 12px var(--glow-color);
  border: 2px solid var(--gold-color);
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
  background: rgba(122,14,14,0.6);
  transition: all 0.3s ease;
}
.logo:hover {
  transform: scale(1.03);
  text-shadow: 2px 2px 0 var(--glow-color), 0 0 18px var(--gold-color);
  border-color: var(--glow-color);
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.btn-register {
  background: var(--btn-gradient);
  color: #7A0E0E;
  border: 2px solid var(--glow-color);
}
.btn-register:hover {
  background: linear-gradient(180deg, #FFE082 0%, #F4D34D 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,204,102,0.5);
}
.btn-login {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #FFF5E1;
  border: 2px solid var(--border-gold);
}
.btn-login:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197,31,23,0.6);
}
.main-nav {
  width: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--deep-red) 100%);
  display: flex;
  flex-direction: row;
  position: static;
  transform: none;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 20px;
  box-sizing: border-box;
  width: 100%;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 16px;
  margin: 0 2px;
  border-radius: 6px;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-color);
  background: rgba(0,0,0,0.3);
  text-shadow: 0 0 8px var(--glow-color);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold-color);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}
.hamburger-menu {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background: linear-gradient(180deg, var(--deep-red) 0%, #5c0606 100%);
  color: var(--text-main);
  padding-top: 40px;
  border-top: 3px solid var(--border-gold);
  margin-top: 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
}
.footer-about .footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--gold-color), 0 0 12px var(--glow-color);
  border: 2px solid var(--gold-color);
  padding: 4px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 15px;
}
.footer-description {
  line-height: 1.7;
  color: #f0d9a8;
  font-size: 0.95rem;
  margin: 0;
}
.footer-column h4.footer-heading {
  color: var(--gold-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(242,181,68,0.4);
  padding-bottom: 6px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  color: #f0d9a8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s, padding-left 0.3s;
  padding: 4px 0;
  display: inline-block;
}
.footer-nav a:hover {
  color: var(--gold-color);
  padding-left: 8px;
  text-shadow: 0 0 8px var(--glow-color);
}
.footer-bottom {
  text-align: center;
  padding: 18px 20px;
  border-top: 1px solid rgba(242,181,68,0.3);
  margin-top: 30px;
}
.footer-bottom p {
  margin: 0;
  color: #f0d9a8;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: 60px;
    padding: 8px 15px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 10px 15px;
  }
  .logo {
    font-size: 1.8rem;
    padding: 4px 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  .logo:hover {
    transform: translateX(-50%) scale(1.03);
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--gold-color);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    padding: 6px;
    margin-right: auto;
    position: relative;
    order: -1;
  }
  .hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gold-color);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, var(--deep-red) 0%, rgba(122,14,14,0.98) 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 80px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1002;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .nav-link {
    font-size: 1rem;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(242,181,68,0.2);
  }
  .nav-link::after {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 15px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--deep-red) 100%);
    border-top: 1px solid rgba(242,181,68,0.5);
    box-sizing: border-box;
    min-height: 48px;
  }
  .mobile-nav-buttons .btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  .footer-nav a {
    font-size: 0.9rem;
  }
  .footer-column h4.footer-heading {
    font-size: 1rem;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
