:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --bg-color: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --header-offset: 164px;
}

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

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

/* Header styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border-color);
}

.header-top {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  width: 100%;
}

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

.logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
  letter-spacing: 1px;
  display: block;
}

.logo:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 25px rgba(255, 211, 107, 0.5);
}

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

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.main-nav {
  background: linear-gradient(90deg, #1a1a1a 0%, #0f0f0f 100%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  border-top: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 6px;
  transition: color 0.3s, background-color 0.3s;
  display: block;
  white-space: nowrap;
}

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

.nav-content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-primary {
  background: var(--btn-gradient);
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.btn-secondary {
  background: linear-gradient(180deg, #333333 0%, #1a1a1a 100%);
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #444444 0%, #222222 100%);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
}

/* Mobile-specific elements */
.hamburger-menu {
  display: none;
}

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

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

/* Footer styles */
.site-footer {
  background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
  color: var(--text-main);
  border-top: 2px solid var(--border-color);
  padding-top: 50px;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 0 20px;
}

.footer-column {
  padding: 0 10px;
}

.footer-logo {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: #CFBC8B;
}

.footer-title {
  color: var(--secondary-color);
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  color: var(--text-main);
  font-size: 14px;
  line-height: 2;
}

.footer-contact .contact-icon {
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(58, 42, 18, 0.5);
  margin-top: 30px;
  text-align: center;
  padding: 15px 15px;
}

.footer-bottom p {
  color: var(--text-main);
  font-size: 14px;
}

.footer-links-title {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* No-scroll class */
body.no-scroll {
  overflow: hidden;
}

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

  .site-header .header-container {
    width: 100%;
    max-width: none;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .site-header .header-top {
    order: 1;
    flex: 0 0 100%;
  }

  .site-header .logo-container {
    display: flex;
    flex: 1;
    order: 2;
    justify-content: center;
    align-items: center;
  }

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

  .mobile-drawer {
    display: block;
    order: 1;
    margin-right: 10px;
  }

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

  .hamburger-menu {
    display: block;
    order: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
  }

  .hamburger-menu span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

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

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

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

  .main-nav {
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    z-index: 1001;
    transition: all 0.3s ease-out;
    overflow-y: auto;
    padding-top: 60px;
    border-left: 1px solid var(--border-color);
    padding-bottom: 30px;
  }

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

  .main-nav .nav-container {
    width: 100%;
    max-width: none;
    display: none;
  }

  .nav-link {
    display: block;
    width: 100%;
    color: var(--text-main);
    font-size: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(58, 42, 18, 0.3);
    transition: background-color 0.3s;
  }

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

  .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: 1000;
    backdrop-filter: blur(2px);
  }

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

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    order: 3;
    padding: 8px 0;
    background-color: #0f0f0f;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    margin: 0 2px;
    padding: 12px 12px;
    font-size: 14px;
  }

  /* Add hamburger menu to header-top on mobile */
  .header-top {
    width: 100%;
  }

  .header-top .header-container {
    flex-wrap: nowrap;
  }

  .logo {
    flex: 1;
    text-align: center;
    order: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }

  .hamburger-menu {
    display: block;
    flex-shrink: 0;
  }

  /* Keep the main-nav desktop hidden on mobile */
  .main-nav .nav-link {
    display: block;
    width: 100%;
    color: var(--text-main);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(58, 42, 18, 0.2);
  }

  /* Ensure hamburger menu and logo layout */
  .header-top .header-container {
    justify-content: space-between;
    align-items: center;
  }

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

  .nav-title {
    color: var(--primary-color);
    padding: 15px 20px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
  }

  /* Footer mobile styles */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .footer-column {
    padding: 0;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-description {
    text-align: center;
  }

  .footer-title {
    text-align: left;
    font-size: 18px;
  }

  .footer-bottom {
    margin-top: 20px;
  }

  .site-footer {
    padding-top: 30px;
  }

  body.no-scroll {
    overflow: hidden;
  }

  /* Mobile nav links container */
  .mobile-menu-cnt {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Ensure main-nav has nav-title hidden on desktop */
  .nav-title {
    display: none;
  }

  .mobile-hidden-btn {
    display: none;
  }

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

  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
