:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --header-bg-top: #17191F;
  --header-bg-nav: #0D0E12;
  --header-border: #A84F0C;
  --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --text-main: #FFF3E6;
  --text-muted: #B4A696;
  --footer-bg: #17191F;
  --footer-text: #FFF3E6;
  --header-offset: 122px;
}

body {
  padding-top: var(--header-offset);
  margin: 0;
  background-color: #0D0E12;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  min-height: 60px;
}

.logo {
  display: inline-block;
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #FFA53A, #FF8C1A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(255, 140, 26, 0.5);
  line-height: 1.2;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-height: 40px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.btn-register, .btn-login, .btn-footer {
  background: var(--btn-gradient);
}

.btn-register:hover, .btn-login:hover, .btn-footer:hover {
  box-shadow: 0 4px 20px rgba(255, 140, 26, 0.6);
}

.main-nav {
  display: flex;
  background-color: var(--header-bg-nav);
  width: 100%;
  border-bottom: 1px solid var(--header-border);
}

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

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  display: block;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-link.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
  width: 44px;
  height: 44px;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  margin: 5px auto;
  transition: all 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(7px, -7px);
}

.mobile-nav-buttons {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-top: 3px solid var(--header-border);
  margin-top: 60px;
  clear: both;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 30px 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-brand {
  flex: 1.2;
}

.footer-logo {
  display: inline-block;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #FFA53A, #FF8C1A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--header-border);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-footer {
  padding: 10px 20px;
  font-size: 14px;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(168, 79, 12, 0.3);
  padding: 20px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.footer-policy {
  font-size: 13px;
  color: #777;
  margin: 0;
}

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

  .header-container {
    width: 100%;
    max-width: none;
    padding: 8px 15px;
    justify-content: flex-start;
    min-height: 56px;
  }

  .logo {
    font-size: 26px;
    order: 2;
    margin: 0 auto;
    text-align: center;
    flex: 1;
  }

  .desktop-nav-buttons {
    display: none;
  }

  .hamburger-menu {
    display: block;
    order: 1;
  }

  .nav-container {
    width: 100%;
    max-width: none;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 8px 15px;
    background-color: #17191F;
    border-bottom: 1px solid var(--header-border);
    margin-top: 0;
  }

  .mobile-nav-buttons .btn {
    padding: 8px 18px;
    font-size: 13px;
    min-height: 36px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background-color: #0D0E12;
    z-index: 1000;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    padding-top: 70px;
  }

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

  .main-nav .nav-link {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(168, 79, 12, 0.3);
    border-left: 3px solid transparent;
  }

  .main-nav .nav-link:hover {
    background-color: rgba(255, 140, 26, 0.1);
    border-left-color: var(--secondary);
    padding-left: 22px;
  }

  .main-nav .nav-link.active {
    color: var(--secondary);
    background-color: rgba(255, 140, 26, 0.1);
    border-left-color: var(--secondary);
    border-bottom: none;
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .footer-container {
    flex-direction: column;
    padding: 30px 20px 20px;
    gap: 25px;
  }

  .footer-column {
    width: 100%;
    flex: none;
    min-width: auto;
  }

  .footer-bottom-container {
    flex-direction: column;
    padding: 0;
    text-align: center;
    justify-content: center;
  }

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

  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  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;
}
