:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --bg: #0D0E12;
  --text-main: #FFF3E6;
  --border: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
  --header-offset: 122px;
}
.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.7);
  border-bottom: 1px solid var(--border);
}
.header-top {
  background: var(--bg);
  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;
  background: var(--bg);
}
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--button-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-shadow: 0 0 20px rgba(255,140,26,0.4);
  line-height: 1.2;
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  background: var(--button-gradient);
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255,140,26,0.3);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  min-width: 100px;
  line-height: 1.4;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,176,77,0.4);
}
.btn-register {
  background: var(--button-gradient);
}
.btn-login {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  box-shadow: none;
  background: #17191F;
}
.main-nav {
  background: var(--card-bg);
  width: 100%;
  display: flex;
  border-top: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 20px;
  width: 100%;
}
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
}
.nav-item a {
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
  line-height: 1.4;
}
.nav-item a:hover,
.nav-item.active a {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,176,77,0.5);
}
.nav-item.active a {
  color: #fff;
}
.hamburger-menu {
  display: none;
  position: absolute;
  top: 12px;
  left: 15px;
  z-index: 1001;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 0;
  box-sizing: border-box;
}
.hamburger-menu span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 3px 0;
  transition: all 0.3s ease;
  display: block;
}
.mobile-nav-buttons {
  display: none;
  background: var(--bg);
  padding: 10px 15px;
  border-top: 1px solid var(--border);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}
.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;
}
body {
  padding-top: var(--header-offset);
  background: var(--bg);
  color: var(--text-main);
  margin: 0;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 60px;
    padding-right: 15px;
    min-height: 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .logo {
    font-size: 1.5rem;
    text-align: center;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
  }
  .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-nav-buttons {
    display: flex;
    position: relative;
    z-index: 1000;
    margin-top: 0;
    padding-bottom: 12px;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.95rem;
    min-width: 0;
    white-space: nowrap;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    min-height: 100vh;
    height: 100vh;
    background: var(--card-bg);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease, display 0.3s ease;
    flex-direction: column;
    align-items: stretch;
    border-right: 1px solid var(--border);
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 0;
    display: block;
    margin: 0;
  }
  .nav-menu {
    list-style: none;
    flex-direction: column;
    gap: 4px;
    padding: 20px 15px 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item a {
    padding: 12px 20px;
    font-size: 1rem;
    text-align: left;
    border-left: 3px solid transparent;
  }
  .nav-item a:hover,
  .nav-item.active a {
    border-left-color: var(--primary);
    background: rgba(255,140,26,0.1);
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  body.no-scroll {
    overflow: hidden;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
.site-footer {
  background: var(--card-bg);
  color: var(--text-main);
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
  margin-top: 60px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 20px 30px;
}
.footer-column h3 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-column p {
  color: rgba(255,243,230,0.8);
  line-height: 1.7;
}
.footer-logo {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav li a {
  color: rgba(255,243,230,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s, padding-left 0.3s;
  line-height: 1.5;
}
.footer-nav li a:hover {
  color: var(--secondary);
  padding-left: 4px;
}
.footer-bottom {
  background: var(--bg);
  padding: 15px 20px;
  text-align: center;
  color: rgba(255,243,230,0.7);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.footer-bottom a {
  color: var(--secondary);
  text-decoration: none;
}
.footer-contact p {
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .footer-bottom {
    padding: 12px 15px;
  }
  .footer-nav {
    gap: 8px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
