:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --card-bg: #17191F;
  --bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
  --header-offset: 122px;
}
body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0D0E12;
  color: #FFF3E6;
}
/* Header styles - Desktop first */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  background: #0D0E12;
  min-height: auto;
}
.header-top {
  background: #17191F;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  min-height: 68px;
}
.logo {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255,140,26,0.5);
}
.logo:hover {
  color: var(--secondary);
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
.btn-register {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #17191F;
  box-shadow: 0 4px 15px rgba(255,140,26,0.3);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,26,0.5);
}
.btn-login {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #17191F;
  box-shadow: 0 4px 15px rgba(255,140,26,0.3);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,26,0.5);
}
.main-nav {
  background: #0D0E12;
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1px;
  min-height: 52px;
  padding: 0;
}
.nav-container a {
  display: inline-block;
  padding: 15px 18px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}
.nav-container a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-container a:hover {
  color: var(--primary);
}
.nav-container a:hover::after {
  transform: scaleX(1);
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
/* Footer styles */
.site-footer {
  background: #17191F;
  border-top: 3px solid var(--border-color);
  padding: 50px 20px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-brand .footer-logo {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255,140,26,0.4);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,243,230,0.7);
}
.footer-links h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin: 8px 0;
}
.footer-nav a {
  color: rgba(255,243,230,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}
.footer-nav a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,243,230,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,243,230,0.6);
  font-size: 13px;
}
.footer-bottom p {
  margin: 5px 0;
}
.footer-disclaimer {
  color: var(--secondary);
  font-weight: bold;
}
/* Mobile styles */
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .site-header {
    background: #0D0E12;
  }
  .header-top {
    background: #17191F;
    min-height: 60px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    position: relative;
    min-height: 60px;
  }
  .logo {
    font-size: 24px;
    text-align: center;
    display: block;
    margin: 0 auto;
    order: 2;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    position: absolute;
    left: 10px;
    top: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }
  .hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 4px 0;
    transition: all 0.3s ease;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #0D0E12;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 160px;
    font-size: 13px;
    padding: 8px 12px;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: auto;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100% - 48px);
    background: #17191F;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 15px rgba(0,0,0,0.5);
    overflow-y: auto;
    border-top: none;
    z-index: 1001;
    top: 48px;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 10px 0;
    margin: 0;
  }
  .nav-container a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,140,26,0.2);
    text-align: left;
  }
  .nav-container a::after {
    display: none;
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links h3 {
    font-size: 15px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
