:root {
  --primary: #F2C14E;
  --secondary: #FFD36B;
  --bg-dark: #0A0A0A;
  --card-bg: #111111;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --glow: #FFD36B;
  --header-offset: 166px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  padding-top: var(--header-offset);
  margin: 0;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(242, 193, 78, 0.2), 0 0 15px rgba(255, 211, 107, 0.3);
  display: flex;
  flex-direction: column;
}
.header-top {
  width: 100%;
  background-color: #171310;
  border-bottom: 1px solid var(--border-color);
  min-height: 68px;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  min-height: 68px;
}
.logo {
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 3px;
  display: inline-block;
  background: linear-gradient(180deg, #F2C14E, #DDA11D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(255, 211, 107, 0.55), 0 0 15px rgba(242, 193, 78, 0.3);
  white-space: nowrap;
}
.logo:hover {
  text-shadow: 0 0 25px rgba(255, 211, 107, 0.8), 0 0 15px rgba(242, 193, 78, 0.5);
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #1A1206;
  background: var(--btn-gradient);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(255, 211, 107, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  border: 1px solid #FFC860;
  min-height: 38px;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0.96;
}
.btn:active {
  transform: translateY(0px);
}
.btn-dang-nhap {
  background: transparent;
  color: #F2C14E;
  border: 1px solid #F2C14E;
  box-shadow: none;
}
.btn-dang-nhap:hover {
  background: rgba(242, 193, 78, 0.15);
  box-shadow: 0 0 12px rgba(242, 193, 78, 0.4);
  color: #FFD36B;
}
.btn-tai-app {
  background: #C9A227;
}
.main-nav {
  width: 100%;
  display: flex;
  background-color: #0D0D0D;
  border-top: 1px solid #2B200E;
  border-bottom: 1px solid #2B200E;
  min-height: 52px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 20px;
  width: 100%;
  min-height: 52px;
}
.nav-link {
  display: block;
  color: #EDE0C0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 15px 13px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #F2C14E;
  border-bottom-color: #F2C14E;
  background-color: rgba(242, 193, 78, 0.06);
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: #0D0D0D;
  color: #E0D0B0;
  border-top: 3px solid #2B1F08;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 30px 30px;
}
.footer-column {
  flex: 1;
}
.footer-about {
  max-width: 380px;
}
.footer-logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #F2C14E, #DDA11D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}
.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: #C8B698;
  margin-bottom: 14px;
}
.footer-certify {
  font-size: 13px;
  color: #96783E;
  border-left: 3px solid #96783E;
  padding-left: 10px;
}
.footer-title {
  color: #F2C14E;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #C8B698;
  font-size: 14px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-links a:hover {
  color: #F2C14E;
  padding-left: 5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  border-top: 1px solid #2B1F08;
  padding: 16px 20px;
  text-align: center;
  background-color: #070707;
}
.footer-bottom p {
  font-size: 13px;
  color: #9A8B70;
}
.footer-disclaimer {
  margin-top: 6px;
  font-size: 12px;
  color: #6E5B38;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  body {
    padding-top: var(--header-offset);
    overflow-x: hidden;
  }
  .site-header {
    background-color: #0D0D0D;
  }
  .header-top {
    background-color: #171310;
    min-height: 60px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6px 15px;
    min-height: 60px;
  }
  .logo {
    font-size: 28px;
    margin: 0 auto;
    padding: 0;
    order: 2;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(242, 193, 78, 0.08);
    border: 1px solid #3A2E1A;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: border-color 0.3s ease, background 0.3s ease;
    order: 1;
  }
  .hamburger-menu:hover {
    border-color: #F2C14E;
    background: rgba(242, 193, 78, 0.15);
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #F2C14E;
    border-radius: 2px;
    transition: all 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: flex;
    justify-content: center;
    align-items: center;
    background-color: #0A0A0A;
    border-top: 1px solid #1F1A10;
    padding: 7px 12px;
    gap: 8px;
    position: relative;
    z-index: 1000;
    min-height: 48px;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-buttons .btn {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 34px;
    flex-shrink: 0;
  }
  .mobile-nav-buttons::-webkit-scrollbar {
    display: none;
  }
  .mobile-nav-buttons {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .btn-dang-nhap {
    margin-left: auto;
  }
  .btn-tai-app {
    margin-right: auto;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #111111;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    border-right: 1px solid #3A2E1A;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    overflow-y: auto;
    min-height: auto;
    gap: 0;
  }
  .nav-container:first-child {
    padding-top: 20px;
  }
  .nav-link {
    font-size: 14px;
    padding: 13px 10px;
    border-bottom: none;
    border-left: 3px solid transparent;
    width: 100%;
    text-align: left;
  }
  .nav-link:hover {
    background-color: rgba(242, 193, 78, 0.1);
    border-left-color: #F2C14E;
  }
  .mobile-menu-overlay {
    display: none;
  }
  .mobile-menu-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1050;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body.no-scroll {
    overflow: hidden;
  }
  .footer-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px 20px;
  }
  .footer-about {
    max-width: 100%;
  }
  .footer-title {
    margin-bottom: 14px;
  }
  .footer-links li {
    margin-bottom: 10px;
  }
  .footer-bottom {
    padding: 15px;
  }
  .footer-bottom p {
    font-size: 12px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
