:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --header-bg-top: #0A0A0A;
  --header-bg-nav: #1A1A1A;
  --header-text-color: #FFF6D6;
  --header-text-hover: #FFD36B;
  --header-border-color: #3A2A12;
  --header-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-btn-text-color: #111111;
  --footer-bg: #0A0A0A;
  --footer-text-color: #FFF6D6;
  --footer-text-muted: #B8A97E;
  --footer-border-color: #3A2A12;
  --header-offset-desktop: 122px;
  --header-offset-mobile: 152px;
  --header-offset: 122px;
  --header-top-height-desktop: 68px;
  --header-nav-height-desktop: 52px;
  --header-top-height-mobile: 60px;
  --header-mobile-btn-area-height: 44px;
}
body {
  margin: 0;
  padding-top: var(--header-offset);
  background-color: #0A0A0A;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 152px;
  }
  body {
    overflow-x: hidden;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: block;
}
.header-top {
  background-color: var(--header-bg-top);
  border-bottom: 1px solid var(--header-border-color);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
  min-height: var(--header-top-height-desktop);
  position: relative;
}
.logo {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  white-space: nowrap;
}
.logo:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  background: var(--header-btn-gradient);
  color: var(--header-btn-text-color);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255, 211, 107, 0.2);
  border: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 13px rgba(255, 211, 107, 0.4);
  color: #1a1a1a;
  text-decoration: none;
}
.main-nav {
  background-color: var(--header-bg-nav);
  border-bottom: 1px solid var(--header-border-color);
  width: 100%;
  display: flex;
  position: static;
  flex-direction: row;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-height: var(--header-nav-height-desktop);
  gap: 0;
}
.nav-link {
  color: var(--header-text-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--header-text-hover);
  background-color: rgba(255, 211, 107, 0.15);
  text-decoration: none;
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
@keyframes navPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 211, 107, 0.4);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(255, 211, 107, 0);
  }
}
.btn-register {
  animation: navPulse 2s infinite;
}
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
  border-top: 2px solid var(--footer-border-color);
  padding: 40px 20px 0 20px;
  margin-top: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  flex-wrap: wrap;
}
.footer-column {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.footer-brand {
  flex: 1.5;
}
.footer-logo {
  color: var(--secondary-color);
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
}
.footer-logo:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.footer-description {
  color: var(--footer-text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  max-width: 350px;
}
.footer-title {
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  border-bottom: 2px solid var(--footer-border-color);
  padding-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--footer-text-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  padding: 2px 0;
}
.footer-nav a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid var(--footer-border-color);
  padding: 12px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.footer-bottom p {
  color: var(--footer-text-muted);
  font-size: 13px;
  margin: 0;
  padding: 8px 0;
}
@media (max-width: 768px) {
  .site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: var(--header-top-height-mobile);
    padding-left: 60px;
    padding-right: 60px;
    justify-content: center;
  }
  .logo {
    font-size: 22px;
    display: block;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background-color: #111111;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1002;
    display: none;
    overflow-y: auto;
    box-shadow: none;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 70px 15px 20px 15px;
    width: 100%;
    max-width: none;
    gap: 4px;
  }
  .nav-link {
    font-size: 15px;
    padding: 12px 10px;
    width: 100%;
    color: #FFF6D6;
    border-bottom: 1px solid #222;
  }
  .nav-link:hover {
    background-color: rgba(255, 211, 107, 0.2);
    color: #FFD36B;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: absolute;
    top: 12px;
    left: 15px;
    z-index: 1001;
    gap: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 6px;
    border: 1px solid rgba(255, 211, 107, 0.3);
    box-sizing: border-box;
  }
  .hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #FFD36B;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    cursor: pointer;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    width: 100%;
    background-color: #0A0A0A;
    border-bottom: 1px solid #3A2A12;
    box-sizing: border-box;
    min-height: var(--header-mobile-btn-area-height);
    flex-wrap: nowrap;
    overflow-x: auto;
    position: relative;
    order: 2;
    z-index: 1000;
  }
  .mobile-nav-buttons .btn {
    flex: 0 0 auto;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
  }
  .site-footer {
    padding: 30px 10px 0 10px;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .footer-column {
    align-items: center;
    min-width: 100%;
  }
  .footer-brand {
    margin-bottom: 10px;
  }
  .footer-description {
    margin: 0 auto;
    max-width: 90%;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
  .footer-nav a {
    padding: 3px 0;
  }
  .footer-title {
    text-align: center;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
