:root {
  --header-offset: 122px;
  --primary: #FF8C1A;
  --primary-light: #FFA53A;
  --deep-orange: #D96800;
  --card-bg: #17191F;
  --bg-dark: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow: #FFB04D;
}

body {
  padding-top: var(--header-offset);
  margin: 0;
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(216, 104, 0, 0.2);
  background-color: transparent;
}

.header-top {
  background-color: #17191F;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  min-height: 68px;
  box-sizing: border-box;
}

.logo {
  display: inline-block;
  color: #FFF3E6;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #FFA53A 0%, #FF8C1A 50%, #D96800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  text-shadow: 0 0 20px rgba(255, 176, 77, 0.4);
  z-index: 1;
  min-width: 0;
}

.logo:hover {
  opacity: 0.9;
  text-shadow: 0 0 30px rgba(255, 176, 77, 0.8);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  box-shadow: 0 4px 15px rgba(217, 104, 0, 0.4);
  border: 1px solid rgba(255, 176, 77, 0.3);
  line-height: 1.4;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 176, 77, 0.6), 0 0 20px rgba(255, 176, 77, 0.3);
}

.btn-login {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
}

.btn-login:hover {
  box-shadow: 0 6px 25px rgba(255, 176, 77, 0.6);
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  gap: 5px;
  z-index: 1002;
  position: relative;
  padding: 8px;
  box-sizing: border-box;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFF3E6;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-buttons {
  display: none;
  background-color: #0D0E12;
  padding: 8px 15px;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-height: 48px;
  box-sizing: border-box;
}

.main-nav {
  background-color: #22252E;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  border-bottom: 2px solid rgba(255, 140, 26, 0.3);
  z-index: 998;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-height: 52px;
  gap: 0;
  width: 100%;
}

.nav-link {
  color: #FFF3E6;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 16px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 0;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: #FFB04D;
  background-color: rgba(255, 140, 26, 0.1);
}

.nav-link.active {
  color: #FFA53A;
  border-bottom: 3px solid #FFA53A;
  background-color: transparent;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 997;
  opacity: 0;
  transition: opacity 0.3s ease;
}



/* Footer Styles */
.site-footer {
  background-color: #17191F;
  border-top: 2px solid rgba(255, 140, 26, 0.3);
  padding: 40px 0 0;
  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-logo {
  display: inline-block;
  color: #FFF3E6;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  text-shadow: 0 0 25px rgba(255, 140, 26, 0.3);
}

.footer-brand p {
  color: #B8B9BE;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 15px;
}

.footer-nav h4 {
  color: #FFA53A;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
}

.footer-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #FFF3E6;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFA53A;
}

.footer-about h4 {
  color: #FFA53A;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
}

.footer-about ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-about li {
  margin-bottom: 12px;
}

.footer-about a {
  color: #FFF3E6;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-about a:hover {
  color: #FFA53A;
}

.copyright {
  border-top: 1px solid rgba(168, 79, 12, 0.4);
  padding: 18px 0;
  text-align: center;
}

.copyright p {
  color: #B8B9BE;
  font-size: 13px;
  margin: 0;
}


@media (max-width: 768px) {
  .site-footer {
    padding-top: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
  }

  .mobile-nav-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 200px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .mobile-menu-overlay {
    top: 0;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }

  body {
    padding-top: var(--header-offset);
    overflow-x: hidden;
  }

  .header-top {
    background-color: #17191F;
    border-bottom: 1px solid var(--border-color);
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .logo {
    width: auto;
    text-align: center;
    padding: 0;
    font-size: 28px;
    margin: 0 auto;
    position: relative;
    z-index: 1001;
    flex: 1;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    display: block;
    padding: 14px 0 10px;
  }

  .header-actions {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    gap: 0;
  }

  .header-actions .btn {
    display: none;
  }

  .hamburger-menu {
    display: flex;
    width: 40px;
    height: 40px;
    z-index: 1001;
  }

  .mobile-nav-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 10px;
    background-color: #0D0E12;
    border-bottom: 1px solid rgba(168, 79, 12, 0.4);
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #17191F;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
    border-bottom: none;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    box-sizing: border-box;
  }

  .main-nav.active {
    display: block;
    transform: translateX(0);
  }

  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    min-height: auto;
  }

  .nav-link {
    color: #FFF3E6;
    font-size: 14px;
    padding: 14px 20px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link.active {
    border-left: 3px solid #FFA53A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFA53A;
    background-color: rgba(255, 138, 26, 0.1);
  }

  .mobile-menu-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .page-content img,
  .page-content iframe,
  .page-content video,
  .site-main img,
  .site-main iframe,
  .site-main video {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-content,
  .site-main{
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  body.no-scroll{
    overflow: hidden;
  }

  .site-header {
    background-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  }
}

@media (min-width: 1200px) {
  .main-nav {
    min-height: 52px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
