/* ============================================================
 * choihitclub.click - basefile stylesheet
 * Class prefix: g028-  |  CSS vars: --g028-*
 * Palette: #FDF5E6 (cream) | #DEB887 (gold) | #1C2833 (dark) | #8B7355 (brown)
 * Mobile-first, max 430px content width.
 * ============================================================ */

:root {
  --g028-cream:   #FDF5E6;
  --g028-gold:    #DEB887;
  --g028-dark:    #1C2833;
  --g028-brown:   #8B7355;
  --g028-gold-2:  #E8C89A;
  --g028-dark-2:  #243240;
  --g028-text:    #F5EBD7;
  --g028-muted:   #C9B79A;
  --g028-accent:  #E0B070;
  --g028-success: #6FB58A;
  --g028-danger:  #D88A7A;
  --g028-shadow:  0 6px 20px rgba(0, 0, 0, 0.28);
  --g028-radius:  14px;
  --g028-radius-sm: 10px;
  --g028-header-h: 60px;
  --g028-bottom-h: 62px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  background: var(--g028-dark);
  color: var(--g028-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g028-gold); text-decoration: none; }
a:hover { color: var(--g028-gold-2); }
ul, ol { list-style: none; }

/* Layout helpers */
.g028-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.g028-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 14px;
}
.g028-section { padding: 22px 0; }
.g028-section--alt { background: var(--g028-dark-2); }

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

/* ------------------------------------------------------- HEADER */
.g028-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g028-header-h);
  background: linear-gradient(180deg, #1b2733 0%, #1C2833 100%);
  border-bottom: 1px solid rgba(222, 184, 135, 0.25);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.g028-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.g028-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--g028-cream);
  font-weight: 700;
  font-size: 1.6rem;
}
.g028-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g028-logo .g028-logo-text { color: var(--g028-gold); }

.g028-header-actions { display: flex; align-items: center; gap: 8px; }
.g028-hamburger {
  background: transparent;
  border: 1px solid rgba(222, 184, 135, 0.35);
  color: var(--g028-gold);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* Buttons */
.g028-btn {
  display: inline-flex;
  align-items: center; justify-content: center; gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 38px;
  line-height: 1;
}
.g028-btn:active { transform: scale(.96); }
.g028-btn-primary {
  background: linear-gradient(135deg, #E8C89A 0%, #DEB887 55%, #C99B66 100%);
  color: var(--g028-dark);
  box-shadow: 0 4px 12px rgba(222, 184, 135, 0.35);
}
.g028-btn-secondary {
  background: transparent;
  color: var(--g028-gold);
  border: 1.5px solid var(--g028-gold);
}
.g028-btn-block { width: 100%; }
.g028-btn-lg { padding: 13px 18px; font-size: 1.55rem; min-height: 46px; }

/* ------------------------------------------------------- MOBILE MENU */
.g028-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--g028-dark-2);
  border-left: 1px solid rgba(222, 184, 135, 0.25);
  transform: translateX(110%);
  transition: transform .28s ease;
  z-index: 9999;
  padding: 22px 18px;
  overflow-y: auto;
}
.g028-mobile-menu.g028-menu-open { transform: translateX(0); }
.g028-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}
.g028-mobile-menu.g028-menu-open ~ .g028-menu-backdrop {
  opacity: 1; pointer-events: auto;
}
.g028-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(222, 184, 135, 0.2);
  margin-bottom: 12px;
}
.g028-menu-head h3 { font-size: 1.7rem; color: var(--g028-gold); }
.g028-menu-close {
  background: transparent; border: none; color: var(--g028-cream);
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.g028-mobile-menu a {
  display: block;
  padding: 12px 8px;
  color: var(--g028-text);
  border-bottom: 1px dashed rgba(222, 184, 135, 0.18);
  font-size: 1.45rem;
}
.g028-mobile-menu a:hover { color: var(--g028-gold); padding-left: 14px; }
.g028-menu-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ------------------------------------------------------- HERO / CAROUSEL */
.g028-main { padding-top: var(--g028-header-h); }
.g028-hero {
  position: relative;
  margin: 12px 0 0;
  border-radius: var(--g028-radius);
  overflow: hidden;
  box-shadow: var(--g028-shadow);
}
.g028-slides { position: relative; }
.g028-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.g028-slide.g028-slide-active { display: block; }
.g028-slide img { width: 100%; height: 200px; object-fit: cover; }
.g028-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(28,40,51,0.92) 0%, rgba(28,40,51,0) 100%);
}
.g028-slide-overlay h2 { color: var(--g028-gold); font-size: 1.7rem; margin-bottom: 4px; }
.g028-slide-overlay p { color: var(--g028-cream); font-size: 1.3rem; }

.g028-carousel-nav {
  position: absolute; top: 50%; width: 100%;
  display: flex; justify-content: space-between;
  transform: translateY(-50%); pointer-events: none;
}
.g028-carousel-nav button {
  pointer-events: auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 40, 51, 0.7);
  color: var(--g028-gold);
  margin: 0 8px;
  cursor: pointer;
  font-size: 1.4rem;
}
.g028-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 8px 0;
  background: var(--g028-dark-2);
}
.g028-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(222, 184, 135, 0.35);
  cursor: pointer;
}
.g028-dot.g028-dot-active { background: var(--g028-gold); }

/* ------------------------------------------------------- SECTION HEADINGS */
.g028-section-head { margin-bottom: 12px; }
.g028-section-head h2 {
  font-size: 1.8rem; color: var(--g028-gold); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.g028-section-head h2::before {
  content: ""; display: inline-block;
  width: 4px; height: 18px;
  background: var(--g028-gold);
  border-radius: 2px;
}
.g028-section-head p { color: var(--g028-muted); font-size: 1.3rem; margin-top: 4px; }
.g028-h1 {
  font-size: 2rem; color: var(--g028-cream); font-weight: 800;
  line-height: 1.3; margin: 8px 0;
}
.g028-h1 span { color: var(--g028-gold); }
.g028-lead { color: var(--g028-muted); font-size: 1.4rem; margin-bottom: 12px; }

/* ------------------------------------------------------- GAME GRID */
.g028-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.g028-filter-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(222, 184, 135, 0.35);
  background: transparent;
  color: var(--g028-cream);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all .15s ease;
}
.g028-filter-btn.g028-filter-active {
  background: var(--g028-gold); color: var(--g028-dark); border-color: var(--g028-gold);
}

.g028-game-section { margin-bottom: 20px; }
.g028-game-section-title {
  font-size: 1.55rem; color: var(--g028-cream); margin-bottom: 10px;
  font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.g028-game-section-title i { color: var(--g028-gold); }
.g028-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g028-card {
  background: var(--g028-dark-2);
  border-radius: var(--g028-radius-sm);
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1px solid rgba(222, 184, 135, 0.12);
  overflow: hidden;
}
.g028-card:hover, .g028-card:active {
  transform: translateY(-3px);
  border-color: rgba(222, 184, 135, 0.5);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.g028-card-img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #0f1620;
}
.g028-card-name {
  color: var(--g028-cream);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g028-card-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 1rem;
  color: var(--g028-gold);
  background: rgba(222, 184, 135, 0.12);
  padding: 2px 6px; border-radius: 6px;
}

/* ------------------------------------------------------- INFO / FEATURE */
.g028-feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.g028-feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--g028-dark-2);
  padding: 14px;
  border-radius: var(--g028-radius-sm);
  border: 1px solid rgba(222, 184, 135, 0.12);
}
.g028-feature-ico {
  flex: 0 0 42px; width: 42px; height: 42px;
  background: rgba(222, 184, 135, 0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--g028-gold);
  font-size: 1.9rem;
}
.g028-feature h3 { color: var(--g028-cream); font-size: 1.4rem; margin-bottom: 4px; }
.g028-feature p { color: var(--g028-muted); font-size: 1.25rem; line-height: 1.4; }

/* Steps */
.g028-steps { display: grid; gap: 10px; }
.g028-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--g028-dark-2);
  padding: 12px; border-radius: var(--g028-radius-sm);
}
.g028-step-num {
  flex: 0 0 30px; width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--g028-gold); color: var(--g028-dark);
  font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.g028-step h4 { color: var(--g028-cream); font-size: 1.35rem; margin-bottom: 2px; }
.g028-step p { color: var(--g028-muted); font-size: 1.25rem; }

/* FAQ */
.g028-faq-item {
  background: var(--g028-dark-2);
  border: 1px solid rgba(222, 184, 135, 0.15);
  border-radius: var(--g028-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.g028-faq-q {
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 10px;
  color: var(--g028-cream); font-weight: 600; font-size: 1.35rem;
}
.g028-faq-q .g028-faq-icon { color: var(--g028-gold); transition: transform .2s ease; }
.g028-faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 14px;
  color: var(--g028-muted); font-size: 1.25rem;
  transition: max-height .25s ease, padding .25s ease;
}
.g028-faq-open .g028-faq-a { max-height: 360px; padding: 0 14px 12px; }
.g028-faq-open .g028-faq-icon { transform: rotate(45deg); }

/* Testimonial */
.g028-testi-grid { display: grid; gap: 10px; }
.g028-testi {
  background: var(--g028-dark-2);
  border-radius: var(--g028-radius-sm);
  padding: 14px;
  border-left: 3px solid var(--g028-gold);
}
.g028-testi-stars { color: var(--g028-gold); font-size: 1.2rem; margin-bottom: 6px; }
.g028-testi p { color: var(--g028-cream); font-size: 1.3rem; margin-bottom: 8px; }
.g028-testi-meta { color: var(--g028-muted); font-size: 1.2rem; }

/* Winners */
.g028-winners {
  background: var(--g028-dark-2);
  border-radius: var(--g028-radius);
  padding: 14px;
}
.g028-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(222, 184, 135, 0.18);
  font-size: 1.25rem;
}
.g028-winner-row:last-child { border-bottom: none; }
.g028-winner-name { color: var(--g028-cream); }
.g028-winner-game { color: var(--g028-muted); font-size: 1.15rem; }
.g028-winner-amount { color: var(--g028-gold); font-weight: 700; }

/* Payment */
.g028-pay-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.g028-pay {
  background: var(--g028-dark-2);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  color: var(--g028-cream);
  font-size: 1.1rem;
  border: 1px solid rgba(222, 184, 135, 0.12);
}
.g028-pay i { font-size: 1.9rem; color: var(--g028-gold); display: block; margin-bottom: 4px; }

/* RTP table */
.g028-rtp-table {
  width: 100%; border-collapse: collapse;
  background: var(--g028-dark-2);
  border-radius: var(--g028-radius-sm);
  overflow: hidden;
}
.g028-rtp-table th, .g028-rtp-table td {
  padding: 9px 10px; text-align: left;
  border-bottom: 1px solid rgba(222, 184, 135, 0.12);
  font-size: 1.25rem;
}
.g028-rtp-table th { color: var(--g028-gold); background: rgba(222, 184, 135, 0.08); }
.g028-rtp-table td { color: var(--g028-cream); }
.g028-rtp-bar {
  display: inline-block; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #8B7355, #DEB887);
  vertical-align: middle; margin-right: 6px;
}

/* Promo CTA */
.g028-cta {
  background: linear-gradient(135deg, #2a3a4c 0%, #1C2833 100%);
  border: 1px solid rgba(222, 184, 135, 0.3);
  border-radius: var(--g028-radius);
  padding: 18px;
  text-align: center;
  margin: 16px 0;
}
.g028-cta h3 { color: var(--g028-gold); font-size: 1.7rem; margin-bottom: 6px; }
.g028-cta p { color: var(--g028-cream); font-size: 1.3rem; margin-bottom: 12px; }

/* SEO long text */
.g028-seo-text {
  background: var(--g028-dark-2);
  padding: 16px;
  border-radius: var(--g028-radius);
  color: var(--g028-cream);
  font-size: 1.35rem;
  line-height: 1.6;
}
.g028-seo-text h2 { color: var(--g028-gold); font-size: 1.6rem; margin: 12px 0 6px; }
.g028-seo-text h2:first-child { margin-top: 0; }
.g028-seo-text p { margin-bottom: 10px; color: var(--g028-muted); }
.g028-seo-text strong { color: var(--g028-gold); }
.g028-seo-text a { color: var(--g028-gold); border-bottom: 1px dashed currentColor; }

/* Inline link list */
.g028-link-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 0;
}
.g028-link-list a {
  font-size: 1.25rem;
  color: var(--g028-gold);
  padding: 4px 8px;
  background: rgba(222, 184, 135, 0.08);
  border-radius: 6px;
}

/* ------------------------------------------------------- FOOTER */
.g028-footer {
  background: #161f2a;
  border-top: 1px solid rgba(222, 184, 135, 0.2);
  padding: 22px 0 90px;
  margin-top: 20px;
}
.g028-footer-brand {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  color: var(--g028-gold); font-weight: 700; font-size: 1.5rem;
}
.g028-footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g028-footer p { color: var(--g028-muted); font-size: 1.25rem; margin-bottom: 12px; line-height: 1.5; }
.g028-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.g028-footer-links a {
  color: var(--g028-cream); font-size: 1.2rem;
  padding: 5px 9px;
  background: rgba(222, 184, 135, 0.08);
  border-radius: 6px;
}
.g028-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.g028-copy {
  border-top: 1px dashed rgba(222, 184, 135, 0.2);
  padding-top: 10px;
  color: var(--g028-muted); font-size: 1.15rem;
}

/* ------------------------------------------------------- BOTTOM NAV */
.g028-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g028-bottom-h);
  background: linear-gradient(180deg, #1b2733 0%, #11181f 100%);
  border-top: 1px solid rgba(222, 184, 135, 0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.g028-bottom-nav a, .g028-bottom-nav button {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  color: var(--g028-muted);
  font-size: 1.05rem;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.g028-bottom-nav a i,
.g028-bottom-nav button i { font-size: 2.1rem; }
.g028-bottom-nav a:hover, .g028-bottom-nav button:hover { color: var(--g028-gold); }
.g028-bottom-nav a:active, .g028-bottom-nav button:active { transform: scale(.9); }
.g028-bottom-nav .g028-active { color: var(--g028-gold); }
.g028-bottom-nav .g028-badge {
  position: relative;
}
.g028-bottom-nav .g028-badge::after {
  content: "5"; position: absolute; top: 6px; right: 18px;
  background: var(--g028-danger); color: #fff;
  font-size: .9rem; padding: 1px 5px; border-radius: 10px;
  line-height: 1.2;
}

/* Back-to-top */
.g028-totop {
  position: fixed; right: 14px; bottom: calc(var(--g028-bottom-h) + 12px);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g028-gold); color: var(--g028-dark);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 999;
  box-shadow: var(--g028-shadow);
}
.g028-totop.g028-totop-show { opacity: 1; pointer-events: auto; }
.g028-totop:active { transform: scale(.92); }

/* ------------------------------------------------------- DESKTOP */
@media (min-width: 769px) {
  body { background: #0f1620; }
  .g028-bottom-nav { display: none; }
  .g028-hamburger { display: none; }
  .g028-footer { padding-bottom: 26px; }
  .g028-wrapper, .g028-container, .g028-header-inner { max-width: 430px; }
  .g028-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .g028-main { padding-bottom: calc(var(--g028-bottom-h) + 16px); }
}
