/* =========================================================
   HEADER
   ========================================================= */
:root {
  --hd-red: #c8102e;
  --hd-red-dark: #8a0f1f;
  --hd-red-deep: #3a0a0e;
  --hd-gold: #f5c842;
  --hd-gold-soft: #e9b949;
  --hd-bg: #1a0606;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--hd-bg);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

/* ---------- Top bar ---------- */
.hd-topbar {
  background: linear-gradient(180deg, #2a0707 0%, #1c0505 100%);
  border-bottom: 1px solid rgba(200, 16, 46, 0.45);
  font-size: 14px;
}

.hd-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.hd-topbar p {
  margin: 0;
}

.hd-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 14px;
  border: 1px solid rgba(200, 16, 46, 0.7);
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.12);
  color: #ff5a6e;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.hd-live:hover {
  background: rgba(200, 16, 46, 0.25);
  color: #ff7a8a;
}

.hd-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff2d47;
  box-shadow: 0 0 0 0 rgba(255, 45, 71, 0.7);
  animation: hd-pulse 1.6s infinite;
}

@keyframes hd-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 45, 71, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 45, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 45, 71, 0);
  }
}

.hd-countdown {
  color: var(--hd-gold);
  text-align: center;
  white-space: nowrap;
}

.hd-countdown-time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.hd-payrate {
  color: var(--hd-gold-soft);
  white-space: nowrap;
}

.hd-payrate strong {
  color: var(--hd-gold);
  font-weight: 600;
}

/* ---------- Main bar ---------- */
.hd-main {
  background: linear-gradient(180deg, #1e0707 0%, #130404 100%);
}

.hd-main-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 12px;
}

.hd-burger {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: 6%;
  border: 1px solid rgba(245, 200, 66, 0.35);
  border-radius: 6px;
  background: linear-gradient(180deg, #6e0e1c 0%, #4a0912 100%);
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s;
}

.hd-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--hd-gold);
}

.hd-burger:hover {
  filter: brightness(1.2);
}

.hd-burger:focus-visible,
.hd-btn:focus-visible,
.hd-drawer-close:focus-visible {
  outline: 2px solid var(--hd-gold);
  outline-offset: 2px;
}

.hd-logo {
  display: block;
  line-height: 0;
}

.hd-logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 100%;
}

.hd-actions {
  justify-self: end;
  display: flex;
  gap: 12px;
  margin-right: 6%;
}

.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    filter 0.2s,
    transform 0.2s;
}

.hd-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.hd-btn-login {
  border: 1px solid var(--hd-gold);
  background: #1a0a04;
  color: var(--hd-gold);
}

.hd-btn-login:hover {
  color: var(--hd-gold);
}

.hd-btn-play {
  border: 1px solid #e3304a;
  background: linear-gradient(180deg, #d61f3a 0%, #a5101f 100%);
  color: #fff;
}

.hd-btn-play:hover {
  color: #fff;
}

/* ---------- Drawer ---------- */
.hd-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.25s;
}

.hd-overlay.show {
  opacity: 1;
}

.hd-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: 300px;
  max-width: 85vw;
  background: linear-gradient(180deg, #2a0707 0%, #120404 100%);
  border-right: 1px solid rgba(245, 200, 66, 0.25);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.6);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  overflow-y: auto;
}

.hd-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s linear 0s;
}

.hd-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
}

.hd-drawer-head img {
  height: 36px;
  width: auto;
}

.hd-drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 200, 66, 0.35);
  border-radius: 6px;
  background: transparent;
  color: var(--hd-gold);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hd-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.hd-menu a {
  display: block;
  padding: 12px 20px;
  border-left: 3px solid transparent;
  color: #f1e6c8;
  font-size: 15px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.hd-menu a:hover,
.hd-menu a.active {
  background: rgba(200, 16, 46, 0.18);
  border-left-color: var(--hd-gold);
  color: var(--hd-gold);
}

.hd-drawer-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid rgba(245, 200, 66, 0.2);
}

.hd-drawer-actions .hd-btn {
  flex: 1;
}

body.hd-lock {
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hd-payrate {
    display: none;
  }

  .hd-burger,
  .hd-actions {
    margin: 0;
  }
}

@media (max-width: 767px) {
  .hd-topbar {
    font-size: 12px;
  }

  .hd-topbar-inner {
    justify-content: center;
  }

  .hd-live {
    display: none;
  }

  .hd-main-inner {
    min-height: 64px;
    gap: 8px;
  }

  .hd-logo img {
    height: 38px;
  }

  /* Buttons live in the drawer + mobile bottom nav on small screens */
  .hd-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .hd-burger {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .hd-logo img {
    height: 32px;
  }
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero-banner {
  position: relative;
  overflow: hidden;
  background-color: #120404;
  background-image: url("../assets/img/background-banner-hero.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(245, 200, 66, 0.15);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: 460px;
}

.hero-content {
  padding: 48px 0;
  text-align: center;
}

.hero-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  color: #fff;
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto 26px;
  color: #d9cfc4;
  font-size: 15px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  min-height: 46px;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    filter 0.2s,
    box-shadow 0.2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--hd-gold);
  outline-offset: 3px;
}

.hero-btn-ic {
  font-size: 18px;
  line-height: 1;
}

.hero-btn-red {
  border: 1px solid #e3304a;
  background: linear-gradient(180deg, #d61f3a 0%, #a5101f 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35);
}

.hero-btn-red:hover {
  color: #fff;
}

.hero-btn-gold {
  border: 1px solid #ffd76a;
  background: linear-gradient(180deg, #f8c63d 0%, #e09c12 100%);
  color: #2a1402;
  box-shadow: 0 6px 18px rgba(245, 200, 66, 0.3);
}

.hero-btn-gold:hover {
  color: #2a1402;
}

.hero-btn-outline {
  border: 1px solid var(--hd-gold);
  background: rgba(26, 10, 4, 0.85);
  color: var(--hd-gold);
}

.hero-btn-outline:hover {
  color: var(--hd-gold);
  box-shadow: 0 0 16px rgba(245, 200, 66, 0.3);
}

.hero-visual {
  align-self: end;
  display: flex;
  justify-content: center;
  line-height: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 16px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr 0.8fr;
    min-height: 400px;
  }

  .hero-visual img {
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .hero-banner {
    background-position: 75% center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 240px;
    margin-top: 12px;
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  }

  .hero-content {
    padding: 8px 0 36px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-btn {
    font-size: 16px;
  }
}

/* =========================================================
   CHECK HANOI LOTTERY (ตรวจหวยฮานอย)
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.check-huay {
  padding: 24px 0;
}

.ch-panel {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 10px;
  background: linear-gradient(180deg, #2a0a0c 0%, #1a0607 100%);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.ch-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--hd-gold);
  font-size: 18px;
  font-weight: 600;
}

.ch-title-ic {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

/* ---------- Quick check form ---------- */
.ch-form {
  display: grid;
  grid-template-columns: 1fr 200px 110px;
  gap: 14px;
  margin-top: 14px;
}

.ch-input,
.ch-select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  background: #120404;
  color: #f5e6c4;
  font-family: inherit;
  font-size: 15px;
}

.ch-input {
  text-align: center;
}

.ch-input::placeholder {
  color: #8d7a6a;
}

.ch-input:focus,
.ch-select:focus {
  outline: none;
  border-color: var(--hd-gold);
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.15);
}

.ch-select-wrap {
  position: relative;
}

.ch-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--hd-gold);
  border-bottom: 1.5px solid var(--hd-gold);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.ch-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  color: var(--hd-gold);
  text-align: center;
  cursor: pointer;
}

.ch-select option {
  background: #1a0607;
  color: #f5e6c4;
}

.ch-submit {
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8c63d 0%, #e09c12 100%);
  color: #2a1402;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s;
}

.ch-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ch-submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.ch-check-result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  font-size: 15px;
}

.ch-check-result.is-error {
  color: #ff8a8a;
}

.ch-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-check-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
  color: #d9cfc4;
}

.ch-check-list li:last-child {
  border-bottom: 0;
}

.ch-check-num {
  min-width: 52px;
  padding: 2px 10px;
  border-radius: 6px;
  background: #120404;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fff;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}

.ch-win {
  color: #6ee28a;
  font-weight: 600;
}

.ch-lose {
  color: #b9a99a;
}

.ch-tag {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(110, 226, 138, 0.12);
  border: 1px solid rgba(110, 226, 138, 0.45);
  color: #a9f5bd;
  font-size: 13px;
}

/* ---------- Results ---------- */
.ch-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  margin-bottom: 14px;
}

.ch-results-desc {
  margin: 0;
  color: var(--hd-gold);
  font-size: 13px;
}

.ch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ch-card {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  background: linear-gradient(180deg, #2e0b0d 0%, #1c0607 100%);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.ch-card:hover,
.ch-card.is-latest {
  border-color: var(--hd-gold);
  box-shadow: 0 0 18px rgba(245, 200, 66, 0.15);
}

.ch-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.35);
}

.ch-card-title {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ch-card-time {
  padding: 1px 8px;
  border: 1px solid rgba(227, 48, 74, 0.6);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffb4b4;
  font-size: 12px;
  white-space: nowrap;
}

.ch-card-date {
  margin: 8px 0 0;
  color: #b9a99a;
  font-size: 12px;
  text-align: right;
}

.ch-card-date.is-old {
  color: #d39b6a;
}

.ch-rows {
  flex: 1;
  margin: 4px 0 14px;
}

.ch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
}

.ch-row dt {
  color: #e5d9c8;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.ch-row dd {
  margin: 0;
}

.ch-balls {
  display: inline-flex;
  gap: 3px;
}

.ch-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.ch-ball-gold {
  background-image: url("../assets/icon/icon-yellow-ball.webp");
  background-color: #f2b705;
  color: #2a1402;
}

.ch-ball-red {
  background-image: url("../assets/icon/icon-red-ball.webp");
  background-color: #d10f1f;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.ch-card-link {
  display: block;
  padding: 9px 8px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 6px;
  background: linear-gradient(180deg, #3a2405 0%, #241503 100%);
  color: var(--hd-gold);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition:
    filter 0.2s,
    background 0.2s;
}

.ch-card-link:hover {
  filter: brightness(1.25);
  color: var(--hd-gold);
}

.ch-credit {
  margin: 12px 0 0;
  color: #8d7a6a;
  font-size: 12px;
  text-align: right;
}

.ch-credit a {
  color: #b9a99a;
}

@media (max-width: 1199px) {
  .ch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ch-panel {
    padding: 14px;
  }

  .ch-title {
    font-size: 16px;
  }

  .ch-form {
    grid-template-columns: 1fr 1fr;
  }

  .ch-input {
    grid-column: 1 / -1;
  }

  .ch-results-desc {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .ch-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top: 32px;
  padding-top: 40px;
  background: linear-gradient(180deg, #160405 0%, #0d0203 100%);
  border-top: 1px solid rgba(200, 16, 46, 0.35);
  color: #d4c8be;
  font-size: 14px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1.2fr;
  gap: 32px 28px;
  padding-bottom: 32px;
}

.ft-logo {
  display: inline-block;
  margin-bottom: 14px;
  line-height: 0;
}

.ft-logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 100%;
}

.ft-desc {
  margin: 0 0 18px;
  color: #cfc3b8;
  font-size: 13.5px;
  line-height: 1.65;
}

.ft-banks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ft-banks img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.ft-heading {
  position: relative;
  margin: 6px 0 16px;
  padding-left: 10px;
  border-left: 2px solid var(--hd-red);
  color: var(--hd-gold);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

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

.ft-links a {
  color: #d4c8be;
  font-size: 13.5px;
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.ft-links a:hover {
  color: var(--hd-gold);
  padding-left: 4px;
}

.ft-sec-text {
  margin: 0 0 16px;
  color: #cfc3b8;
  font-size: 13.5px;
  line-height: 1.6;
}

.ft-line-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(110, 168, 220, 0.22);
  border-radius: 10px;
  background: linear-gradient(180deg, #1b2230 0%, #121722 100%);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.ft-line-card:hover {
  border-color: rgba(6, 199, 85, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.ft-line-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ft-line-label {
  color: #63c5e8;
  font-size: 12.5px;
  font-weight: 500;
}

.ft-line-id {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

.ft-line-ic {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

/* ---------- Bottom copyright bar ---------- */
.site-footer .footer-copyright {
  background: transparent;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.ft-copy {
  margin: 0;
  color: #b5a79b;
  font-size: 12.5px;
}

.ft-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #b5a79b;
  font-size: 12.5px;
}

.ft-ssl {
  display: block;
  width: auto;
  height: 50px;
}

.ft-vn {
  letter-spacing: 0.5px;
  color: #c8bcb1;
  font-weight: 500;
}

.ft-privacy {
  color: #b5a79b;
}

@media (max-width: 991px) {
  .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 32px;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ft-logo img {
    height: 44px;
  }

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hd-content {
  color: var(--hd-gold);
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.maroon-table-container {
  width: 100%;
  /* max-width: 950px;
  min-width: 680px; */
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #6b111e;
  background-color: #120306;
}

.maroon-table {
  width: 100%;
  border-collapse: collapse;
  color: #ffffff;
}

.maroon-table thead tr {
  background-color: #3b050d;
  border-bottom: 2px solid #e5a93c;
}

.maroon-table th {
  color: #f5b027;
  font-weight: 700;
  font-size: 1.15em;
  padding: 16px 20px;
  text-align: left;
  border-right: none;
}

.maroon-table th:nth-child(1),
.maroon-table td:nth-child(1) {
  width: 25%;
  padding-left: 28px;
}

.maroon-table th:nth-child(2),
.maroon-table td:nth-child(2) {
  width: 32%;
}

.maroon-table th:nth-child(3),
.maroon-table td:nth-child(3) {
  width: 43%;
  padding-right: 28px;
}

.maroon-table td {
  padding: 15px 20px;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  border-bottom: 1px solid rgba(107, 17, 30, 0.4);
}

.maroon-table tbody tr:last-child td {
  border-bottom: none;
}

.maroon-table tbody tr:hover {
  background-color: #1f060b;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.faq-item {
  border: 1px solid rgba(155, 45, 55, 0.48);
  border-radius: 10px;
  background: linear-gradient(180deg, #21070a 0%, #160406 100%);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(245, 200, 66, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  color: var(--hd-gold);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(233, 185, 73, 0.72);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background-color 0.2s ease;
}

.faq-icon::before {
  width: 14px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 14px;
}

.faq-item:hover .faq-icon::before,
.faq-item:hover .faq-icon::after {
  background: var(--hd-gold);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 16px 22px 20px;
  border-top: 1px solid rgba(155, 45, 55, 0.38);
}

.faq-answer p {
  margin: 0;
  color: #e0d6ce;
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .faq-list {
    gap: 12px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 14px 16px 16px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

/* =========================================================
   RESULTS PAGE CONTENT
   ========================================================= */
.results-article .ch-panel {
  padding: 24px 26px;
}

.results-hero-img,
.results-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.results-hero-img {
  margin-bottom: 20px;
}

.results-banner-img {
  margin-top: 20px;
}

.results-h1 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
}

.results-lead {
  max-width: 960px;
  margin: 0 auto;
  color: #e5dcd4;
  font-size: 0.98rem;
  line-height: 1.75;
}

.results-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.results-heading h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.results-heading-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9262e;
  box-shadow: 0 0 8px rgba(217, 38, 46, 0.7);
}

.results-text {
  margin: 0 0 12px;
  color: #e5dcd4;
  font-size: 0.96rem;
  line-height: 1.75;
}

.results-text:last-child {
  margin-bottom: 0;
}

.results-list {
  margin: 10px 0 0;
  padding: 0;
  color: #e5dcd4;
  font-size: 0.95rem;
  line-height: 1.75;
}

.results-list li {
  margin-bottom: 8px;
}

.results-list li:last-child {
  margin-bottom: 0;
}

/* ---------- 6-column Results Table ---------- */
.hanoi-content-table-container {
  max-width: 100%;
  /* min-width: 620px; */
}

.hanoi-content-table th:nth-child(1),
.hanoi-content-table td:nth-child(1) {
  width: 24%;
  padding-left: 24px;
  text-align: left;
}

.hanoi-content-table th:nth-child(2),
.hanoi-content-table td:nth-child(2) {
  width: 16%;
  text-align: center;
}

.hanoi-content-table th:nth-child(3),
.hanoi-content-table td:nth-child(3),
.hanoi-content-table th:nth-child(4),
.hanoi-content-table td:nth-child(4),
.hanoi-content-table th:nth-child(5),
.hanoi-content-table td:nth-child(5),
.hanoi-content-table th:nth-child(6),
.hanoi-content-table td:nth-child(6) {
  width: 15%;
  padding-right: 16px;
  text-align: center;
}

.hanoi-content-table-link {
  color: #f5e6c4;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hanoi-content-table-link:hover {
  color: var(--hd-gold);
  text-decoration: underline;
}

.hanoi-content-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
}

/* ---------- 4 Round Info Cards ---------- */
.hanoi-content-rounds-grid {
  margin-top: 8px;
}

.hanoi-content-round-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 20px 16px 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, #2d0b0d 0%, #190506 100%);
  text-align: center;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hanoi-content-round-card:hover {
  border-color: var(--hd-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hanoi-content-round-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  margin-bottom: 12px;
}

.hanoi-content-round-icon img {
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hanoi-content-round-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.hanoi-content-round-title a {
  color: var(--hd-gold);
  text-decoration: none;
}

.hanoi-content-round-title a:hover {
  text-decoration: underline;
}

.hanoi-content-round-desc {
  flex: 1;
  margin: 0 0 14px;
  color: #dfd5cc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.hanoi-content-round-time {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.2);
  border: 1px solid rgba(227, 48, 74, 0.55);
  color: #ff9fa8;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Feature Images ---------- */
.hanoi-content-feature-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
  .hanoi-content-article .ch-panel {
    padding: 18px 16px;
  }

  .hanoi-content-lead,
  .hanoi-content-text,
  .hanoi-content-list {
    font-size: 0.92rem;
  }

  .hanoi-content-round-card {
    padding: 16px 14px;
  }
}
