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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background-color: var(--bg-color);
}

.header-top {
  background-color: #1a1c23;
  width: 100%;
  min-height: 68px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  min-height: 68px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary-color);
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
  white-space: nowrap;
}

.logo:hover {
  color: var(--glow-color);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 58, 0.3);
}

.btn-register {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(217, 104, 0, 0.4);
}

.btn-download {
  background: linear-gradient(180deg, #FF8C1A 0%, #A84F0C 100%);
  color: #FFFFFF;
  border: 1px solid var(--border-color);
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.main-nav {
  background-color: var(--bg-color);
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 52px;
  border-bottom: 2px solid var(--border-color);
}

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

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list li {
  display: inline-block;
}

.nav-list a {
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--secondary-color);
  background-color: rgba(255, 140, 26, 0.15);
}

.nav-list a[aria-current="page"] {
  color: var(--secondary-color);
  font-weight: 700;
}

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

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

body {
  padding-top: var(--header-offset, 166px);
  background-color: var(--bg-color);
  color: var(--text-main);
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1024px) {
  .nav-list {
    gap: 4px;
  }

  .nav-list a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .header-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .nav-container {
    padding: 0 10px;
  }
}

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

  .header-top {
    min-height: 60px;
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 60px;
    justify-content: space-between;
  }

  .logo {
    font-size: 22px;
    display: block;
    flex: 1;
    text-align: center;
    margin: 0;
    order: 1;
  }

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

  .hamburger-menu {
    display: block;
    order: 0;
    z-index: 1002;
  }

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

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

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

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    z-index: 1001;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    padding-top: 60px;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
  }

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

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    padding-bottom: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    color: var(--text-main);
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 140, 26, 0.1);
    box-sizing: border-box;
  }

  .nav-list a:hover {
    background-color: rgba(255, 140, 26, 0.1);
    color: var(--secondary-color);
    padding-left: 24px;
  }

  .mobile-nav-buttons {
    display: flex;
    gap: 8px;
    padding: 16px 12px;
    padding-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    font-size: 12px;
    padding: 8px 12px;
    min-height: 36px;
  }

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

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

  body {
    overflow-x: hidden;
  }

  body.no-scroll {
    overflow: hidden;
  }

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

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

  body {
    overflow-x: hidden;
  }
}

.site-footer {
  background-color: #17191F;
  color: #FFF3E6;
  width: 100%;
  border-top: 2px solid #A84F0C;
  font-size: 14px;
  line-height: 1.7;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-brand .footer-logo {
  font-size: 26px;
  font-weight: 800;
  color: #FFA53A;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-description {
  font-size: 13px;
  color: #FFF3E6;
  opacity: 0.9;
  margin: 10px 0;
}

.footer-age-notice {
  display: block;
  color: #FFA53A;
  font-weight: 700;
  margin-top: 10px;
  font-size: 14px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 165, 58, 0.3);
  color: #FF8C1A;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav {
  width: 100%;
}

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

.footer-nav li {
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #FFF3E6;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-size: 15px;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FF8C1A;
  text-decoration: none;
}

.footer-contact p {
  margin-bottom: 8px;
  color: #FFF3E6;
}

.footer-bottom {
  background: #0D0E12;
  padding: 5px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 165, 58, 0.2);
}

.footer-copyright {
  margin: 0;
  font-size: 14px;
  color: #FFF3E6;
  padding: 0;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px 15px 30px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .footer-brand .footer-logo {
    font-size: 24px;
  }

  .footer-heading {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 12px;
  }
  .footer-bottom {
    margin: 0 10px;
  }
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .footer-container {
    width: 100%;
    max-width: none;
    overflow-x: hidden;
  }
}

.footer-column {
  min-width: 0;
}

@media (max-width: 480px) {
  .header-container {
    padding: 8px 10px;
  }

  .logo {
    font-size: 20px;
  }

  .btn {
    padding: 8px 10px;
    font-size: 13px;
  }

  .mobile-nav-buttons {
    gap: 6px;
    padding: 12px 8px;
    flex-wrap: nowrap;
  }

  .mobile-nav-buttons .btn {
    min-width: 100px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 17px;
    text-align: center;
  }

  .header-container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .hamburger-menu {
    padding: 8px;
  }

  .mobile-nav-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-nav-buttons .btn {
    min-width: 100%;
  }
}

@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
  }
  .mobile-menu-overlay {
    display: none !important;
  }
  .hamburger-menu {
    display: none !important;
  }
  .mobile-nav-buttons {
    display: none !important;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
