@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&family=Kanit:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #dba309;
  --gold-glow: rgba(219, 163, 9, 0.4);
  --bg: #000000;
  --bg-box: #000000;
  --white: #ffffff;
  --text: #ffffff;
  --gray: #888;
  --max-w: 1290px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Kanit', 'Prompt', 'Sarabun', sans-serif;
  background: #0b0b0f; /* Changed to premium dark black */
  color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: var(--gold); transition: .25s; }
a:hover { color: #ffe566; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #000000;
  border-top: 1px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 20px;
}
.nav-row {
  display: flex; align-items: center;
  height: 70px; /* Fixed height for hanging tabs */
}

/* LOGO - ~163px wide to match original */
.logo {
  display: flex; align-items: center; justify-content: center;
  margin-right: 30px;
}
.logo img {
  max-height: 70px; width: auto;
  filter: drop-shadow(0 0 4px rgba(219, 163, 9, 0.3));
}

/* NAV LINKS */
.nav-links {
  display: flex; list-style: none;
  margin-left: 0; gap: 4px;
  height: 100%;
}
.nav-links li {
  display: flex; align-items: stretch;
  height: 100%;
}
.nav-links li a {
  display: flex; align-items: center; justify-content: center;
  padding: 0 30px;
  height: 100%;
  font-family: 'Kanit', sans-serif;
  font-size: 16px; font-weight: 400;
  color: var(--white);
  transition: all 0.3s ease;
  border-radius: 0 0 12px 12px;
  border: 1px solid transparent; 
  border-top: none;
}
.nav-links li a:hover {
  color: var(--gold);
  border-color: rgba(252,192,17,0.5);
  background: linear-gradient(180deg, rgba(40,30,5,.2) 0%, rgba(15,10,2,.5) 100%);
  box-shadow: inset 0 0 8px rgba(252,192,17,.1);
}
.nav-links li a.active {
  color: var(--gold);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(40,30,5,.4) 0%, rgba(15,10,2,.8) 100%);
  box-shadow: inset 0 0 12px rgba(252,192,17,.2), 0 0 6px rgba(252,192,17,.15);
}

/* HEADER BTNS */
.header-btns {
  display: flex; justify-content: center;
  align-items: center;
  gap: 15px;
  height: 70px;
}
.header-btns {
  display: flex; justify-content: center;
  align-items: center;
  gap: 15px;
  height: 70px;
}

/* ===== 3D BUTTONS (used in header and hero) ===== */
.btn-3d {
  padding: 8px 20px;
  border: 1px solid #a67c00;
  border-radius: 5px;
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  color: #fcc011;
  font-family: 'Prompt', sans-serif;
  font-size: 15px;
  box-shadow: inset 1px 1px 1px #ffe57f, inset -1px -1px 1px #5c4500, 0 0 10px rgba(252, 192, 17, 0.4);
}
.btn-3d:hover {
  background: linear-gradient(180deg, #2a2a2a 0%, #050505 100%);
  box-shadow: inset 1px 1px 1px #fff0b3, inset -1px -1px 1px #5c4500, 0 0 14px rgba(252, 192, 17, 0.6);
}
.btn-3d svg { 
  fill: #fcc011;
  width: 18px;
  height: 18px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 22px; border-radius: 8px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px; font-weight: 400;
  cursor: pointer; transition: .25s;
  text-decoration: none; border: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-o {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-o svg { fill: var(--gold); }
.btn-o:hover {
  background: rgba(219,163,9,0.1);
  box-shadow: 0 0 8px var(--gold-glow);
}
.btn-outlined-3d {
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  color: #fff; font-weight: 500;
  border: 1px solid var(--gold);
  box-shadow: inset 1px 1px 1px rgba(255,255,255,0.1), 0 0 10px rgba(219, 163, 9, 0.3);
}
.btn-outlined-3d svg { fill: #fff; }
.btn-outlined-3d:hover { 
  box-shadow: inset 1px 1px 1px rgba(255,255,255,0.2), 0 0 15px rgba(219, 163, 9, 0.5);
  filter: brightness(1.1);
}

/* ===== HERO SPECIFIC GLOW BUTTONS ===== */
.btn-hero-glow {
  padding: 10px 24px;
  border: 1px solid #d4a017;
  border-radius: 6px;
  background: linear-gradient(180deg, #2a2a2a 0%, #000000 100%);
  color: #ffffff;
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-width: 170px;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 0 13px #e69100;
  transition: all 0.3s ease;
}
.btn-hero-glow:hover {
  background: linear-gradient(180deg, #3a3a3a 0%, #050505 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 0 18px #ffab00;
}
.btn-hero-glow svg {
  fill: #ffffff;
  width: 20px;
  height: 20px;
}

/* Hero buttons - bigger */
.hero-cta .btn-3d {
  padding: 10px 30px;
  font-size: 16px;
}

/* ===== CONTENT CONTAINER ===== */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 20px;
}

/* Gold box (borderless by default) */
.gold-box {
  border: none;
  border-radius: 10px;
  background: #000 !important;
  padding: 30px 35px;
  box-shadow: none;
}

/* Specific box with border (for TOC) */
.toc-box {
  background: #000 !important;
  border: 1px solid rgba(219, 163, 9, 0.3);
  box-shadow: 0 0 10px rgba(219, 163, 9, 0.1);
}

/* Main Frame (Left/Right/Top borders) */
.main-frame {
  max-width: var(--max-w);
  margin: 0 auto;
  border-left: 1px solid rgba(219, 163, 9, 0.3);
  border-right: 1px solid rgba(219, 163, 9, 0.3);
  border-top: 1px solid rgba(219, 163, 9, 0.3);
  background: var(--bg);
  flex: 1;
  width: 100%;
}

/* ===== HERO ===== */
.hero-title {
  font-family: 'Prompt', sans-serif;
  font-size: 37px; font-weight: 600;
  color: var(--gold); text-align: center;
  margin-top: 30px;
  margin-bottom: 25px; line-height: 1.5;
  text-transform: none;
  
  /* New glowing 3D box style with solid black bg */
  padding: 12px 20px;
  background: #000 !important;
  border: 1px solid rgba(219, 163, 9, 0.4);
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(219, 163, 9, 0.15);
}
.hero-cols {
  display: flex; gap: 30px; align-items: flex-start;
}
.hero-txt {
  flex: 1; font-family: 'Sarabun', sans-serif;
  font-size: 16px; color: var(--text); line-height: 1.65;
}
.hero-txt a, .hero-txt strong { color: var(--gold); font-weight: 600; }
.hero-cta {
  display: flex; flex-direction: column;
  gap: 15px; margin-top: 25px; align-items: center;
}

/* ===== SLIDER ===== */
.slider-wrap {
  flex: 0 0 600px; max-width: 600px;
  position: relative; border-radius: 10px; overflow: hidden;
}
.slider-track {
  display: flex; transition: transform .5s ease;
}
.slider-track img {
  min-width: 100%; width: 100%; border-radius: 10px;
}
.sl-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.5);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff; font-size: 15px;
  cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.sl-btn:hover { background: rgba(252,192,17,.25); }
.sl-btn.prev { left: 8px; }
.sl-btn.next { right: 8px; }

/* ===== TOC ===== */
.toc-title {
  font-family: 'Kanit', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--gold); text-align: center;
  margin-bottom: 18px; text-transform: uppercase;
}
.toc-list { list-style: disc; padding-left: 25px; }
.toc-list li { margin-bottom: 5px; }
.toc-list li a {
  color: var(--gold); font-size: 15px; font-weight: 500;
  font-family: 'Kanit', sans-serif;
}
.toc-list ul {
  list-style: circle; padding-left: 22px; margin-top: 3px;
}

/* ===== SECTION TITLE (outside gold-box) ===== */
.sec-heading {
  font-family: 'Prompt', sans-serif;
  font-size: 32px; font-weight: 600;
  color: var(--gold); text-align: center;
  padding: 40px 0 25px; line-height: 1.5;
  text-transform: none;
}

/* ===== CONTENT COLS ===== */
.sec-cols {
  display: flex; gap: 30px; align-items: flex-start;
}
.sec-cols.flip { flex-direction: row-reverse; }
.sec-txt {
  flex: 1; font-family: 'Sarabun', sans-serif;
  font-size: 16px; color: var(--text); line-height: 1.65;
}
.sec-txt a, .sec-txt strong { color: var(--gold); font-weight: 600; }
.sec-img {
  flex: 0 0 600px; max-width: 600px;
  border-radius: 10px; overflow: hidden;
}
.sec-img img { width: 100%; border-radius: 10px; }
.sec-btns {
  display: flex; flex-direction: row;
  gap: 15px; margin-top: 30px;
  justify-content: center;
}

/* ===== DIVIDER ===== */
.gold-divider {
  text-align: center; padding: 12px 0; overflow: hidden;
}
.gold-divider span {
  font-family: monospace; font-size: 12px;
  color: var(--gold); opacity: .45;
  letter-spacing: -2px;
  white-space: nowrap; user-select: none;
}

/* ===== SUB-HEADINGS ===== */
.sub-h {
  font-family: 'Kanit', sans-serif;
  font-size: 19px; font-weight: 600;
  color: var(--gold); text-align: center;
  margin: 25px 0 15px;
}
.dot-list { list-style: disc; padding-left: 25px; }
.dot-list li, .num-list li {
  font-family: 'Sarabun', sans-serif;
  font-size: 15px; color: var(--text);
  line-height: 1.85; margin-bottom: 8px;
}
.num-list { list-style: decimal; padding-left: 25px; }

/* ===== FAQ ===== */
.faq-wrap { padding: 10px 0 20px; }
.faq-q {
  font-family: 'Kanit', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--gold); text-align: center;
  margin: 28px 0 10px;
}
.faq-a {
  font-family: 'Sarabun', sans-serif;
  font-size: 14px; color: var(--text);
  text-align: center; line-height: 1.8;
  max-width: 950px; margin: 0 auto;
}

/* ===== SOCIAL ===== */
.social-row {
  display: flex; justify-content: center;
  gap: 10px; padding: 30px 0 15px;
}
.soc {
  width: 42px; height: 42px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.soc svg { width: 20px; height: 20px; fill: #fff; }
.soc.fb { background: #3b5998; }
.soc.tw { background: #000; border: 1px solid #333; }
.soc.pin { background: #bd081c; }
.soc:hover { opacity: .8; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.foot-nav {
  display: flex; justify-content: center;
  gap: 28px; padding: 10px 0 20px; flex-wrap: wrap;
}
.foot-nav a {
  color: #bbb; font-size: 14px;
  font-family: 'Kanit', sans-serif;
}
.foot-nav a:hover { color: var(--gold); }

.footer {
  background: #0d0d0d;
  border-top: 1px solid #222;
  padding: 20px 15px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
}
.footer-logo img { height: 42px; }
.footer-fb {
  display: flex; align-items: center; gap: 8px;
  color: #bbb; font-size: 13px;
  font-family: 'Kanit', sans-serif;
}
.footer-fb svg { width: 26px; height: 26px; }
.copyright {
  text-align: center; font-size: 12px;
  color: #666; padding: 12px 0 5px;
  font-family: 'Sarabun', sans-serif;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mob-nav {
  display: none; position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 999;
  background: #000;
  border-top: 2px solid var(--gold);
}
.mob-nav ul {
  display: flex; list-style: none;
  justify-content: space-around; padding: 6px 0;
}
.mob-nav li {
  border-right: 1px dashed rgba(252,192,17,.3);
  flex: 1; text-align: center;
}
.mob-nav li:last-child { border-right: none; }
.mob-nav li a {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  color: var(--gold); font-size: 10px;
  font-family: 'Kanit', sans-serif;
  padding: 4px 2px;
}
.mob-nav li a svg { width: 20px; height: 20px; fill: var(--gold); }

/* ===== FOOTER (Step 804 Style) ===== */
.footer {
  width: 100%;
  background: #0b0b0f;
  border-top: 1px solid rgba(219, 163, 9, 0.5);
  padding-bottom: 20px;
}
.footer-nav {
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(219, 163, 9, 0.5);
}
.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-nav a {
  color: #dba309;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav a:hover {
  text-shadow: 0 0 8px rgba(219, 163, 9, 0.5);
}
.footer-brand-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px 10px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-logo img {
  height: 35px;
}
.fb-full {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Prompt', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.fb-full svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.copyright {
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding-bottom: 30px;
  font-family: 'Sarabun', sans-serif;
}

/* ===== PROMOTIONS PAGE ===== */
.promo-header-container {
  text-align: center;
  padding: 40px 0 30px;
}
.promo-title-box {
  background: #000 !important;
  border: 1px solid rgba(219, 163, 9, 0.4);
  border-radius: 6px;
  padding: 12px 60px;
  display: inline-block;
  box-shadow: 0 0 8px rgba(219, 163, 9, 0.15);
}
.promo-title-box h1 {
  color: #fff;
  font-family: 'Prompt', sans-serif;
  font-size: 37px;
  font-weight: 600;
  margin: 0;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 0 0 60px;
}
.promo-item a { display: block; }
.promo-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(219, 163, 9, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  display: block;
}
.promo-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(219, 163, 9, 0.5);
  border-color: #dba309;
}

/* ===== INTERNAL PAGES (Articles, Contact, Slots) ===== */
.page-container-box {
  max-width: 1000px;
  margin: 40px auto;
  background: transparent !important;
  box-shadow: none;
  border: none;
}
.page-header-banner {
  background: linear-gradient(180deg, #1f1f24 0%, #0b0b0f 100%);
  border: 1px solid rgba(219, 163, 9, 0.5);
  border-radius: 6px;
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 0 15px rgba(219, 163, 9, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}
.page-header-banner h1 {
  color: #dba309;
  font-family: 'Prompt', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.page-body {
  padding: 0 20px 80px;
  text-align: center;
  min-height: 250px;
}
.no-results-text {
  color: #e0e0e0;
  font-size: 15px;
  margin-bottom: 30px;
  font-family: 'Prompt', sans-serif;
}
.page-search {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
.page-search input {
  width: 100%;
  background: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 40px 14px 20px;
  border-radius: 4px;
  font-family: 'Prompt', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}
.page-search input:hover,
.page-search input:focus {
  border-color: #dba309;
  box-shadow: 0 0 12px rgba(219, 163, 9, 0.25);
  background: #111;
}
.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: #888;
}
.contact-line-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
}
.contact-line-img:hover {
  transform: scale(1.05);
}
.contact-share {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.share-btn:hover { opacity: 0.8; }
.share-btn.fb { background: #3b5998; }
.share-btn.x { background: #000; border: 1px solid #333; }
.share-btn.pin { background: #bd081c; }
.share-btn svg { fill: #fff; width: 16px; height: 16px; }


/* ===== MOBILE RESPONSIVE (MAX 768PX) ===== */
@media (max-width: 768px) {
  /* General Global Fixes */
  .page-wrap { padding: 0 15px; }
  .main-frame { border: none; } /* Remove side borders on mobile for full width */
  
  /* Header & Navigation */
  .header { padding: 10px 0; }
  .nav-row { height: auto; flex-direction: column; gap: 10px; }
  .logo { margin-right: 0; }
  .logo img { max-height: 50px; }
  
  /* Hide Desktop Nav and Btns in Header */
  .nav-links, .header-btns { display: none; }
  
  /* Mobile Menu Trigger (Hamburger) */
  .hamburger { 
    display: flex !important; 
    flex-direction: column; gap: 5px; 
    cursor: pointer;
    position: absolute; right: 20px; top: 25px;
  }
  .hamburger span {
    width: 25px; height: 3px; background: var(--gold);
    border-radius: 2px;
  }
  
  /* Mobile Bottom Nav - Show it */
  .mob-nav { display: block; }

  /* Hero Section */
  .hero-title { font-size: 24px; margin-top: 15px; line-height: 1.4; padding: 10px; }
  .hero-cols { flex-direction: column; gap: 20px; }
  .slider-wrap { flex: 1 1 auto; max-width: 100%; width: 100%; border-radius: 8px; }
  .hero-txt { text-align: center; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; margin: 15px 0; }
  .btn-hero-glow { min-width: 45%; padding: 12px 15px; font-size: 14px; }
  
  /* Content Sections */
  .sec-heading { font-size: 22px; padding: 30px 0 15px; }
  .gold-box { padding: 20px 15px; }
  .sec-cols, .sec-cols.flip { flex-direction: column; gap: 20px; }
  .sec-img { flex: 1 1 auto; max-width: 100%; width: 100%; }
  .sec-txt { text-align: center; }
  .sec-btns { flex-direction: column; width: 100%; }
  .btn-outlined-3d { width: 100%; justify-content: center; }
  
  /* TOC */
  .toc-title { font-size: 18px; }
  .toc-list li a { font-size: 13px; }
  
  /* FAQ */
  .faq-q { font-size: 14px; margin-top: 20px; }
  .faq-a { font-size: 13px; }
  
  /* Footer */
  .footer-nav ul { gap: 15px; }
  .footer-nav a { font-size: 13px; }
  .footer-brand-social { flex-direction: column; gap: 20px; text-align: center; }
  
  /* Promotions */
  .promo-grid { grid-template-columns: 1fr; gap: 15px; }
  .promo-title-box { padding: 8px 30px; width: 100%; }
  .promo-title-box h1 { font-size: 24px; }
  
  /* Internal Pages */
  .page-container-box { margin: 20px auto; }
  .page-header-banner h1 { font-size: 22px; }
  .page-body { padding: 0 15px 100px; }

  /* New mobile menu navigation overlay */
  .nav-links.open {
    display: flex !important;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 0;
  }
  .nav-links.open li { width: 100%; height: auto; }
  .nav-links.open li a {
    height: 60px; font-size: 20px;
    border: none; border-bottom: 1px solid rgba(219, 163, 9, 0.2);
    border-radius: 0;
  }
  .nav-links.open li:last-child a { border-bottom: none; }
}

