:root {
  --primary: #F2C14E;
  --secondary: #FFD36B;
  --header-offset: 122px;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0A0A0A;
  color: #FFF6D6;
  padding-top: var(--header-offset);
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #0A0A0A;
  box-shadow: 0 4px 20px rgba(242, 193, 78, 0.2);
  border-bottom: 2px solid #3A2A12;
  min-height: auto;
}

.header-top {
  background-color: #0A0A0A;
  border-bottom: 1px solid #3A2A12;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #F2C14E;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.logo:hover {
  color: #FFD36B;
  text-shadow: 0 0 25px rgba(255, 211, 107, 0.6);
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary,
.btn-secondary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

.btn-primary:hover,
.btn-secondary:hover {
  background: linear-gradient(180deg, #FFE08A 0%, #E8B52D 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 211, 107, 0.4);
}

.main-nav {
  background: rgba(17, 17, 17, 0.98);
  border-bottom: 2px solid #3A2A12;
  display: flex;
  flex-direction: row;
  position: static;
  width: 100%;
}

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

.nav-link {
  color: #FFF6D6;
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
}

.nav-link:hover {
  color: #F2C14E;
  background-color: rgba(242, 193, 78, 0.1);
}

.hamburger-menu {
  display: none;
}

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

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

.site-footer {
  background: #111111;
  border-top: 3px solid #F2C14E;
  padding: 50px 0 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 0 30px 40px;
}

.footer-column h3 {
  color: #F2C14E;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3A2A12;
}

.footer-column p {
  color: #FFF6D6;
  line-height: 1.7;
  font-size: 14px;
}

.footer-nav {
  list-style: none;
}

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

.footer-nav a {
  color: #FFF6D6;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #FFD36B;
  padding-left: 5px;
}

.footer-bottom {
  background: #0A0A0A;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

.footer-bottom p {
  color: #FFF6D6;
  font-size: 14px;
}

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

  .header-container {
    width: 100%;
    max-width: none;
    padding: 12px 15px;
    gap: 15px;
    justify-content: center;
    position: relative;
  }

  .nav-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    font-size: 22px;
    order: 2;
    flex: 1;
    text-align: center;
  }

  .hamburger-menu {
    display: block;
    order: 1;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #F2C14E;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

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

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

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

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

  .main-nav {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    background: #111111;
    flex-direction: column;
    padding-top: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

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

  .main-nav .nav-link {
    display: block;
    padding: 15px 25px;
    color: #FFF6D6;
    border-bottom: 1px solid rgba(242, 193, 78, 0.1);
    font-size: 16px;
  }

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

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background: #0A0A0A;
    border-bottom: 2px solid #3A2A12;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 998;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    text-align: center;
    font-size: 14px;
    padding: 10px 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 20px 30px;
    gap: 25px;
  }

  body.no-scroll {
    overflow: hidden;
  }
}

body.no-scroll {
  overflow: 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;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
