/* ============================================================
   f19.homes - Core Stylesheet (vb72- prefix)
   Mobile-first HTML5 casino entertainment site (Vietnamese)
   Palette: #0D1117 | #9400D3 | #BBBBBB | #8470FF
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --vb72-bg: #0D1117;
  --vb72-bg-alt: #14161f;
  --vb72-bg-card: #1b1e2a;
  --vb72-primary: #9400D3;
  --vb72-primary-soft: #b249e0;
  --vb72-accent: #8470FF;
  --vb72-text: #BBBBBB;
  --vb72-text-strong: #f2f3f7;
  --vb72-text-dim: #8b8f9c;
  --vb72-border: #2a2e3e;
  --vb72-gold: #ffd34d;
  --vb72-success: #2ecc71;
  --vb72-danger: #ff5b6e;
  --vb72-radius: 14px;
  --vb72-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --vb72-grad: linear-gradient(135deg, #9400D3 0%, #8470FF 100%);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Be Vietnam Pro", Roboto, system-ui, sans-serif;
  background: var(--vb72-bg);
  color: var(--vb72-text-strong);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--vb72-accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.9rem; font-weight: 800; color: var(--vb72-text-strong); }
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.7rem; }

/* ---------- Layout helpers ---------- */
.vb72-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; position: relative; }
.vb72-container { width: 100%; }
.vb72-section { padding: 28px 0 8px; }
.vb72-section-title {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; font-size: 2rem; color: var(--vb72-text-strong);
}
.vb72-section-title i { color: var(--vb72-primary-soft); font-size: 2.2rem; }
.vb72-section-title::after {
  content: ""; flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--vb72-primary), transparent);
}
.vb72-text-grad {
  background: var(--vb72-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-weight: 800;
}

/* ---------- Header ---------- */
.vb72-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vb72-border);
}
.vb72-header-inner {
  max-width: 430px; margin: 0 auto; padding: 8px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.vb72-logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vb72-logo img { width: 28px; height: 28px; border-radius: 7px; }
.vb72-logo span { font-size: 1.9rem; font-weight: 800; letter-spacing: 0.5px; color: var(--vb72-text-strong); }
.vb72-header-actions { display: flex; align-items: center; gap: 7px; }
.vb72-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; padding: 0 14px; border-radius: 10px;
  font-size: 1.35rem; font-weight: 700; transition: transform .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.vb72-btn:active { transform: scale(0.95); }
.vb72-btn-primary { background: var(--vb72-grad); color: #fff; box-shadow: 0 4px 14px rgba(148,0,211,0.45); }
.vb72-btn-outline { background: transparent; border: 1.5px solid var(--vb72-accent); color: var(--vb72-text-strong); }
.vb72-btn-block { width: 100%; min-height: 46px; font-size: 1.55rem; }
.vb72-menu-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--vb72-bg-card); border: 1px solid var(--vb72-border); display: flex; align-items: center; justify-content: center; color: var(--vb72-text-strong); font-size: 1.8rem; }

/* ---------- Mobile Slide Menu ---------- */
.vb72-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.vb72-menu-backdrop.vb72-open { opacity: 1; visibility: visible; }
.vb72-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--vb72-bg-alt); z-index: 9999; padding: 20px 18px; overflow-y: auto;
  transition: right .3s ease; border-left: 1px solid var(--vb72-border);
}
.vb72-mobile-menu.vb72-open { right: 0; }
.vb72-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.vb72-menu-head span { font-size: 1.8rem; font-weight: 800; }
.vb72-menu-close { width: 34px; height: 34px; border-radius: 8px; background: var(--vb72-bg-card); color: #fff; font-size: 1.7rem; }
.vb72-menu-link {
  display: flex; align-items: center; gap: 10px; padding: 13px 12px;
  border-radius: 10px; font-size: 1.45rem; color: var(--vb72-text-strong);
  border-bottom: 1px solid var(--vb72-border);
}
.vb72-menu-link i { color: var(--vb72-primary-soft); width: 22px; text-align: center; font-size: 1.7rem; }
.vb72-menu-link:active { background: var(--vb72-bg-card); }
.vb72-menu-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Hero Carousel ---------- */
.vb72-hero-wrap { margin-top: 58px; }
.vb72-carousel { position: relative; border-radius: var(--vb72-radius); overflow: hidden; box-shadow: var(--vb72-shadow); }
.vb72-carousel-track { display: flex; transition: transform .5s ease; }
.vb72-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.vb72-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.vb72-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  background: linear-gradient(transparent, rgba(13,17,23,0.92));
}
.vb72-carousel-cap h3 { font-size: 1.7rem; color: #fff; margin-bottom: 3px; }
.vb72-carousel-cap p { font-size: 1.2rem; color: var(--vb72-text); }
.vb72-carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.vb72-carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--vb72-border); transition: all .2s; }
.vb72-carousel-dots button.vb72-active { background: var(--vb72-primary); width: 22px; border-radius: 4px; }

/* ---------- Quick Stats ---------- */
.vb72-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.vb72-stat {
  background: var(--vb72-bg-card); border: 1px solid var(--vb72-border);
  border-radius: 12px; padding: 12px 6px; text-align: center;
}
.vb72-stat strong { display: block; font-size: 1.9rem; color: var(--vb72-text-grad); }
.vb72-stat span { font-size: 1.15rem; color: var(--vb72-text); }

/* ---------- Game Grid & Cards ---------- */
.vb72-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vb72-game-card {
  background: var(--vb72-bg-card); border: 1px solid var(--vb72-border);
  border-radius: 12px; padding: 8px 6px; text-align: center; cursor: pointer;
  transition: transform .15s, border-color .15s; position: relative; overflow: hidden;
}
.vb72-game-card:active { transform: scale(0.95); border-color: var(--vb72-primary); }
.vb72-game-card img { width: 100%; height: 70px; object-fit: cover; border-radius: 8px; margin-bottom: 5px; }
.vb72-game-card span { display: block; font-size: 1.1rem; color: var(--vb72-text); line-height: 1.3rem; min-height: 2.6rem; overflow: hidden; }
.vb72-game-card::before {
  content: "HOT"; position: absolute; top: 4px; right: 4px; background: var(--vb72-danger);
  color: #fff; font-size: 0.9rem; font-weight: 700; padding: 1px 5px; border-radius: 5px;
}
.vb72-cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 4px; scrollbar-width: none; }
.vb72-cat-tabs::-webkit-scrollbar { display: none; }
.vb72-cat-tab { flex: 0 0 auto; padding: 8px 14px; border-radius: 20px; background: var(--vb72-bg-card); color: var(--vb72-text); font-size: 1.25rem; font-weight: 600; border: 1px solid var(--vb72-border); }

/* ---------- Content Cards ---------- */
.vb72-card {
  background: var(--vb72-bg-card); border: 1px solid var(--vb72-border);
  border-radius: var(--vb72-radius); padding: 16px; margin-bottom: 12px;
}
.vb72-card p { font-size: 1.35rem; color: var(--vb72-text); margin-bottom: 8px; }
.vb72-card p:last-child { margin-bottom: 0; }
.vb72-card h3 { margin-bottom: 8px; }
.vb72-text-link { color: var(--vb72-accent); font-weight: 700; }
.vb72-text-link:hover { text-decoration: underline; }

/* ---------- Steps / How to Play ---------- */
.vb72-steps { display: flex; flex-direction: column; gap: 10px; }
.vb72-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--vb72-bg-card); border: 1px solid var(--vb72-border);
  border-radius: 12px; padding: 12px;
}
.vb72-step-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--vb72-grad); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.vb72-step-body strong { display: block; font-size: 1.4rem; color: var(--vb72-text-strong); margin-bottom: 2px; }
.vb72-step-body span { font-size: 1.25rem; color: var(--vb72-text); }

/* ---------- Feature Grid ---------- */
.vb72-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vb72-feature {
  background: var(--vb72-bg-card); border: 1px solid var(--vb72-border);
  border-radius: 12px; padding: 14px 10px; text-align: center;
}
.vb72-feature i { font-size: 2.6rem; color: var(--vb72-primary-soft); margin-bottom: 6px; display: block; }
.vb72-feature strong { display: block; font-size: 1.35rem; color: var(--vb72-text-strong); margin-bottom: 3px; }
.vb72-feature span { font-size: 1.15rem; color: var(--vb72-text); }

/* ---------- Promo Banner ---------- */
.vb72-promo {
  background: linear-gradient(135deg, rgba(148,0,211,0.25), rgba(132,112,255,0.18));
  border: 1px solid var(--vb72-primary); border-radius: var(--vb72-radius);
  padding: 16px; display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
}
.vb72-promo-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--vb72-grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.2rem; }
.vb72-promo-body strong { display: block; font-size: 1.5rem; color: var(--vb72-text-strong); }
.vb72-promo-body span { font-size: 1.2rem; color: var(--vb72-text); }

/* ---------- Payment & Winners ---------- */
.vb72-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vb72-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  background: var(--vb72-bg-card); border: 1px solid var(--vb72-border);
  border-radius: 20px; font-size: 1.2rem; color: var(--vb72-text-strong);
}
.vb72-chip i { color: var(--vb72-gold); }
.vb72-winners { display: flex; flex-direction: column; gap: 8px; }
.vb72-winner { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; background: var(--vb72-bg-card); border: 1px solid var(--vb72-border); border-radius: 10px; }
.vb72-winner-name { font-size: 1.3rem; color: var(--vb72-text-strong); font-weight: 600; }
.vb72-winner-game { font-size: 1.1rem; color: var(--vb72-text-dim); }
.vb72-winner-amount { font-size: 1.35rem; font-weight: 800; color: var(--vb72-gold); }

/* ---------- Testimonials ---------- */
.vb72-testimonial { background: var(--vb72-bg-card); border: 1px solid var(--vb72-border); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.vb72-testimonial-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vb72-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--vb72-grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.4rem; }
.vb72-testimonial-head strong { font-size: 1.35rem; color: var(--vb72-text-strong); }
.vb72-stars { color: var(--vb72-gold); font-size: 1.2rem; }
.vb72-testimonial p { font-size: 1.25rem; color: var(--vb72-text); }

/* ---------- FAQ ---------- */
.vb72-faq-item { background: var(--vb72-bg-card); border: 1px solid var(--vb72-border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.vb72-faq-q { display: flex; align-items: center; justify-content: space-between; padding: 14px; font-size: 1.4rem; font-weight: 700; color: var(--vb72-text-strong); width: 100%; text-align: left; min-height: 44px; }
.vb72-faq-q i { transition: transform .25s; color: var(--vb72-primary-soft); }
.vb72-faq-item.vb72-open .vb72-faq-q i { transform: rotate(180deg); }
.vb72-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.vb72-faq-a-inner { padding: 0 14px 14px; font-size: 1.25rem; color: var(--vb72-text); }

/* ---------- App Download CTA ---------- */
.vb72-app-cta {
  background: linear-gradient(135deg, rgba(132,112,255,0.2), rgba(148,0,211,0.2));
  border: 1px solid var(--vb72-accent); border-radius: var(--vb72-radius); padding: 18px; text-align: center;
}
.vb72-app-cta h3 { margin-bottom: 6px; }
.vb72-app-cta p { font-size: 1.25rem; color: var(--vb72-text); margin-bottom: 14px; }
.vb72-app-btns { display: flex; gap: 10px; justify-content: center; }

/* ---------- Footer ---------- */
.vb72-footer { background: var(--vb72-bg-alt); border-top: 1px solid var(--vb72-border); padding: 26px 0 100px; margin-top: 24px; }
.vb72-footer-brand p { font-size: 1.25rem; color: var(--vb72-text); margin: 8px 0 14px; }
.vb72-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vb72-footer-links a { font-size: 1.2rem; color: var(--vb72-text-strong); padding: 6px 10px; background: var(--vb72-bg-card); border-radius: 8px; border: 1px solid var(--vb72-border); }
.vb72-footer-copy { font-size: 1.15rem; color: var(--vb72-text-dim); border-top: 1px solid var(--vb72-border); padding-top: 14px; text-align: center; }

/* ---------- Mobile Bottom Nav ---------- */
.vb72-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: rgba(13,17,23,0.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--vb72-border);
  display: flex; justify-content: space-around; align-items: stretch;
  padding: 4px 0;
}
.vb72-bottom-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--vb72-text-dim); font-size: 1.05rem; min-width: 60px; min-height: 54px;
  position: relative; transition: color .2s;
}
.vb72-bottom-nav-btn i { font-size: 2.2rem; }
.vb72-bottom-nav-btn .material-icons-outlined,
.vb72-bottom-nav-btn .material-icons { font-size: 2.4rem; }
.vb72-bottom-nav-btn:active { color: var(--vb72-primary-soft); transform: scale(0.92); }
.vb72-bottom-nav-btn.vb72-active { color: var(--vb72-primary-soft); }
.vb72-bottom-nav-btn.vb72-active::before {
  content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--vb72-grad);
}
.vb72-bottom-nav-btn.vb72-promo-btn i { color: var(--vb72-gold); }

/* ---------- Desktop: hide bottom nav, show wider header ---------- */
@media (min-width: 769px) {
  .vb72-bottom-nav { display: none; }
  .vb72-wrapper { max-width: 720px; }
  .vb72-footer { padding-bottom: 30px; }
}
@media (max-width: 768px) {
  body { padding-bottom: 70px; }
  main { padding-bottom: 80px; }
}

/* ---------- Utility ---------- */
.vb72-hidden { display: none !important; }
.vb72-mt { margin-top: 14px; }
.vb72-mb { margin-bottom: 14px; }
.vb72-center { text-align: center; }
