/* F88BEF stylesheet - mobile-first Vietnamese casino site
   Palette: charcoal #333333 / slate #36454F / slate-grey #708090
            silver #95A5A6 / light-grey #D3D3D3
   All custom classes use the v29e- prefix */

:root {
  --v29e-bg: #333333;
  --v29e-bg-2: #36454F;
  --v29e-bg-3: #708090;
  --v29e-text: #D3D3D3;
  --v29e-text-muted: #95A5A6;
  --v29e-accent: #F5C518;
  --v29e-accent-2: #E84142;
  --v29e-primary: #F5C518;
  --v29e-border: rgba(211, 211, 211, 0.12);
  --v29e-radius: 14px;
  --v29e-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: linear-gradient(180deg, #2b2b2b 0%, #333333 40%, #36454F 100%);
  color: var(--v29e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--v29e-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.v29e-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.v29e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--v29e-bg);
  min-height: 100vh;
  box-shadow: var(--v29e-shadow);
  position: relative;
}

main { padding-bottom: 80px; }

/* Header */
.v29e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #2a2a2a 0%, #36454F 100%);
  border-bottom: 1px solid var(--v29e-border);
}

.v29e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.v29e-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.4px;
}
.v29e-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v29e-logo .v29e-logo-accent { color: var(--v29e-accent); }

.v29e-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.v29e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.35rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  min-height: 38px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none;
}
.v29e-btn:hover { text-decoration: none; transform: translateY(-1px); }
.v29e-btn:active { transform: scale(0.96); }

.v29e-btn-primary { background: var(--v29e-accent); color: #1a1a1a; box-shadow: 0 4px 14px rgba(245,197,24,0.35); }
.v29e-btn-secondary { background: var(--v29e-accent-2); color: #fff; box-shadow: 0 4px 14px rgba(232,65,66,0.35); }
.v29e-btn-ghost { background: rgba(255,255,255,0.08); color: var(--v29e-text); border: 1px solid var(--v29e-border); }

.v29e-btn-sm { padding: 0.55rem 1rem; font-size: 1.25rem; min-height: 34px; }
.v29e-btn-lg { padding: 0.9rem 2rem; font-size: 1.55rem; min-height: 48px; width: 100%; }

.v29e-icon-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--v29e-border);
  color: var(--v29e-text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}

/* Mobile menu */
.v29e-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #2a2a2a;
  border-top: 1px solid var(--v29e-border);
  transition: max-height 0.3s ease;
}
.v29e-mobile-menu.v29e-menu-open { max-height: 520px; }
.v29e-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.v29e-mobile-menu-inner a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--v29e-text);
  font-size: 1.35rem;
  font-weight: 600;
}
.v29e-mobile-menu-inner a:hover { background: rgba(245,197,24,0.12); color: var(--v29e-accent); }

/* Hero carousel */
.v29e-hero {
  margin: 1rem 0 0.4rem;
  border-radius: var(--v29e-radius);
  overflow: hidden;
  position: relative;
}
.v29e-slides { position: relative; aspect-ratio: 16/9; }
.v29e-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.v29e-slide img { width: 100%; height: 100%; object-fit: cover; }
.v29e-slide.v29e-slide-active { opacity: 1; }
.v29e-slide-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* Section heading */
.v29e-section { padding: 1.4rem 0 0.4rem; }
.v29e-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v29e-section-title i { color: var(--v29e-accent); }
.v29e-section-title .v29e-pill {
  margin-left: auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  background: var(--v29e-accent);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}

/* Game grid */
.v29e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.v29e-card {
  background: linear-gradient(180deg, #3a3a3a 0%, #2c2c2c 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--v29e-border);
  text-align: center;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.v29e-card:hover { transform: translateY(-2px); border-color: rgba(245,197,24,0.5); text-decoration: none; }
.v29e-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.v29e-card-name {
  font-size: 1.2rem;
  color: var(--v29e-text);
  padding: 0.4rem 0.3rem 0.55rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Feature/feature list */
.v29e-features { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.v29e-feature {
  display: flex;
  gap: 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--v29e-border);
  border-radius: 12px;
  padding: 1rem;
  align-items: flex-start;
}
.v29e-feature-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245,197,24,0.15);
  color: var(--v29e-accent);
  flex-shrink: 0;
  font-size: 1.8rem;
}
.v29e-feature h3 { margin: 0 0 0.3rem; font-size: 1.4rem; color: #fff; }
.v29e-feature p { margin: 0; font-size: 1.25rem; color: var(--v29e-text-muted); line-height: 1.4; }

/* Steps */
.v29e-steps { display: grid; gap: 0.6rem; counter-reset: step; }
.v29e-step {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--v29e-border);
}
.v29e-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--v29e-accent);
  color: #1a1a1a;
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.v29e-step h4 { margin: 0 0 0.2rem; font-size: 1.35rem; color: #fff; }
.v29e-step p { margin: 0; font-size: 1.2rem; color: var(--v29e-text-muted); }

/* RTP / data table */
.v29e-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
}
.v29e-table th, .v29e-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--v29e-border);
}
.v29e-table th { color: var(--v29e-accent); font-weight: 700; }
.v29e-table td { color: var(--v29e-text); }
.v29e-table tr:last-child td { border-bottom: none; }

/* Testimonial / winners */
.v29e-testimonials { display: grid; gap: 0.7rem; }
.v29e-testimonial {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--v29e-border);
}
.v29e-testimonial-stars { color: var(--v29e-accent); font-size: 1.3rem; margin-bottom: 0.3rem; }
.v29e-testimonial p { margin: 0 0 0.4rem; font-size: 1.25rem; color: var(--v29e-text); }
.v29e-testimonial .v29e-author { font-size: 1.15rem; color: var(--v29e-text-muted); }

/* Payment methods */
.v29e-payments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.v29e-payment {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--v29e-border);
  border-radius: 10px;
  padding: 0.7rem 0.3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--v29e-text);
  font-weight: 600;
}
.v29e-payment i { display: block; font-size: 1.8rem; color: var(--v29e-accent); margin-bottom: 0.3rem; }

/* CTA banner */
.v29e-cta {
  background: linear-gradient(120deg, #36454F 0%, #708090 100%);
  border-radius: var(--v29e-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid rgba(245,197,24,0.3);
}
.v29e-cta h3 { margin: 0 0 0.4rem; color: #fff; font-size: 1.7rem; }
.v29e-cta p { margin: 0 0 1rem; color: var(--v29e-text); font-size: 1.3rem; }

/* FAQ */
.v29e-faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--v29e-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
}
.v29e-faq-item h4 { margin: 0 0 0.3rem; font-size: 1.3rem; color: #fff; }
.v29e-faq-item p { margin: 0; font-size: 1.2rem; color: var(--v29e-text-muted); }

/* Promo text link (inline SEO link) */
.v29e-promolink {
  color: var(--v29e-accent);
  font-weight: 700;
  cursor: pointer;
}
.v29e-promolink:hover { text-decoration: underline; }

/* Footer */
.v29e-footer {
  background: #2a2a2a;
  border-top: 1px solid var(--v29e-border);
  padding: 1.6rem 0 1rem;
  margin-top: 1rem;
}
.v29e-footer-brand { color: var(--v29e-text-muted); font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.5; }
.v29e-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.v29e-footer-links a { font-size: 1.2rem; color: var(--v29e-text); }
.v29e-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.v29e-copyright { font-size: 1.1rem; color: var(--v29e-text-muted); text-align: center; padding-top: 0.8rem; border-top: 1px solid var(--v29e-border); }

/* Bottom nav */
.v29e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2c2c2c 0%, #1f1f1f 100%);
  border-top: 1px solid rgba(245,197,24,0.25);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
}
.v29e-bottomnav-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  width: 100%;
  justify-content: space-around;
}
.v29e-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v29e-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.3rem 0;
  transition: color 0.15s ease, transform 0.12s ease;
}
.v29e-bottomnav-btn i { font-size: 22px; }
.v29e-bottomnav-btn:hover { color: var(--v29e-accent); }
.v29e-bottomnav-btn:active { transform: scale(0.92); }
.v29e-bottomnav-btn.v29e-bottomnav-active { color: var(--v29e-accent); }
.v29e-bottomnav-btn.v29e-bottomnav-active i { transform: translateY(-1px); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v29e-bottomnav { display: none; }
  main { padding-bottom: 1rem; }
}

/* Mobile padding safety */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Utility */
.v29e-text-accent { color: var(--v29e-accent); }
.v29e-mt-1 { margin-top: 0.5rem; }
.v29e-mt-2 { margin-top: 1rem; }
.v29e-muted { color: var(--v29e-text-muted); }
.v29e-p { font-size: 1.3rem; color: var(--v29e-text); line-height: 1.55; margin: 0.4rem 0 0.8rem; }
