/*!
 * go8 vip - design-8340.css
 * Mobile-first stylesheet for go8vip.click (Vietnamese market).
 * All custom classes use the "v0a3-" prefix.
 * Root font-size set to 62.5% so 1rem = 10px.
 * Color palette: #FFCC33 (gold) + #0D1117 (deep ink) per brand spec.
 * Code comments are written in English per project convention.
 */

:root {
  --v0a3-primary: #FFCC33;
  --v0a3-primary-dark: #e0a800;
  --v0a3-bg: #0D1117;
  --v0a3-bg-2: #131a24;
  --v0a3-bg-3: #1b2330;
  --v0a3-text: #f5f7fa;
  --v0a3-text-mute: #aeb6c2;
  --v0a3-border: #232c3a;
  --v0a3-danger: #ff5a5f;
  --v0a3-success: #2ecc71;
  --v0a3-accent: #ff8a3d;
  --v0a3-radius: 1.2rem;
  --v0a3-shadow: 0 .4rem 1.6rem rgba(0,0,0,.45);
  --v0a3-header-h: 6rem;
  --v0a3-bottom-h: 6.4rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  background: var(--v0a3-bg);
  color: var(--v0a3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

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

a { color: var(--v0a3-primary); text-decoration: none; }

.v0a3-wrapper { width: 100%; overflow-x: hidden; }
.v0a3-container { width: 100%; padding: 0 1.2rem; }

/* ============ HEADER ============ */
.v0a3-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0b1018 0%, #0D1117 100%);
  border-bottom: .1rem solid var(--v0a3-border);
  box-shadow: var(--v0a3-shadow);
}
.v0a3-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--v0a3-header-h);
  padding: 0 1rem;
}
.v0a3-brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--v0a3-text);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .02rem;
}
.v0a3-brand img { width: 2.8rem; height: 2.8rem; border-radius: .6rem; }
.v0a3-brand .v0a3-brand-accent { color: var(--v0a3-primary); }

.v0a3-header-actions { display: flex; align-items: center; gap: .6rem; }
.v0a3-menu-toggle {
  background: transparent; border: 0; color: var(--v0a3-text);
  font-size: 2.2rem; width: 4.4rem; height: 4.4rem; border-radius: .8rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ============ BUTTONS ============ */
.v0a3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1.3rem; min-height: 3.6rem;
  padding: 0 1.2rem; border-radius: 1rem; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-decoration: none; line-height: 1;
}
.v0a3-btn:active { transform: scale(.96); }
.v0a3-btn-primary {
  background: linear-gradient(135deg, var(--v0a3-primary) 0%, var(--v0a3-accent) 100%);
  color: #1a1300;
  box-shadow: 0 .3rem .9rem rgba(255,204,51,.35);
}
.v0a3-btn-outline {
  background: transparent;
  color: var(--v0a3-primary);
  border: .15rem solid var(--v0a3-primary);
}
.v0a3-btn-block { width: 100%; }
.v0a3-btn-lg { min-height: 4.6rem; font-size: 1.5rem; border-radius: 1.2rem; }
.v0a3-text-link {
  color: var(--v0a3-primary); font-weight: 700; cursor: pointer;
  border-bottom: .15rem dashed var(--v0a3-primary);
}

/* ============ MOBILE MENU ============ */
.v0a3-mobile-menu {
  position: fixed;
  top: var(--v0a3-header-h); left: 0; right: 0;
  background: var(--v0a3-bg-2);
  border-bottom: .1rem solid var(--v0a3-border);
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
}
.v0a3-mobile-menu.v0a3-menu-open { max-height: 60rem; }
.v0a3-mobile-menu-inner {
  max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem 1.4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
}
.v0a3-mobile-menu a {
  display: flex; align-items: center; gap: .6rem;
  background: var(--v0a3-bg-3);
  color: var(--v0a3-text);
  padding: 1rem; border-radius: .8rem; font-size: 1.3rem; font-weight: 600;
  min-height: 4.4rem;
}
.v0a3-mobile-menu a i { color: var(--v0a3-primary); font-size: 1.8rem; }

/* ============ HERO / CAROUSEL ============ */
.v0a3-main { padding-top: var(--v0a3-header-h); }
.v0a3-carousel {
  position: relative;
  width: 100%;
  margin: 0 0 1.6rem;
}
.v0a3-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.v0a3-slide.v0a3-slide-active { display: block; }
.v0a3-slide img {
  width: 100%; height: 18rem; object-fit: cover;
  border-radius: var(--v0a3-radius);
}
.v0a3-slide-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(13,17,23,.6);
  padding: .6rem .9rem; border-radius: .8rem;
  font-size: 1.3rem; font-weight: 700;
}
.v0a3-slide-caption span { color: var(--v0a3-primary); }
.v0a3-dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: .8rem;
}
.v0a3-dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: #44505f; cursor: pointer; border: 0;
}
.v0a3-dot.v0a3-dot-active { background: var(--v0a3-primary); }

/* ============ SECTIONS ============ */
.v0a3-section { padding: 1.6rem 1.2rem; }
.v0a3-section-alt { background: var(--v0a3-bg-2); }
.v0a3-section-title {
  font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.v0a3-section-title i { color: var(--v0a3-primary); font-size: 2rem; }
.v0a3-section-title .v0a3-hl { color: var(--v0a3-primary); }
.v0a3-lead { color: var(--v0a3-text-mute); margin-bottom: 1rem; font-size: 1.35rem; line-height: 1.7rem; }
.v0a3-h1 {
  font-size: 2.1rem; font-weight: 900; line-height: 2.6rem;
  margin: 0 0 1rem;
}
.v0a3-h1 .v0a3-hl { color: var(--v0a3-primary); }
.v0a3-p { margin-bottom: 1rem; color: var(--v0a3-text); line-height: 1.8rem; }

/* ============ GAME FILTER ============ */
.v0a3-filters {
  display: flex; gap: .5rem; overflow-x: auto; padding: .4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.v0a3-filter-btn {
  flex: 0 0 auto;
  background: var(--v0a3-bg-3);
  color: var(--v0a3-text-mute);
  border: .1rem solid var(--v0a3-border);
  padding: .7rem 1.1rem; border-radius: 2rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  white-space: nowrap;
}
.v0a3-filter-btn.v0a3-filter-active {
  background: var(--v0a3-primary); color: #1a1300; border-color: var(--v0a3-primary);
}

/* ============ GAME GRID ============ */
.v0a3-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.v0a3-game-card {
  background: var(--v0a3-bg-3);
  border: .1rem solid var(--v0a3-border);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.v0a3-game-card:active { transform: scale(.96); border-color: var(--v0a3-primary); }
.v0a3-game-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #0a0e14;
}
.v0a3-game-name {
  font-size: 1.05rem; font-weight: 600; color: var(--v0a3-text);
  padding: .5rem .4rem; text-align: center;
  line-height: 1.3rem; min-height: 2.8rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ FEATURE CARDS ============ */
.v0a3-card {
  background: var(--v0a3-bg-3);
  border: .1rem solid var(--v0a3-border);
  border-radius: var(--v0a3-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.v0a3-card-title {
  font-size: 1.4rem; font-weight: 800; margin-bottom: .6rem; color: var(--v0a3-primary);
}
.v0a3-feature-row {
  display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem;
}
.v0a3-feature-row i { color: var(--v0a3-primary); font-size: 2rem; flex: 0 0 auto; }
.v0a3-feature-row h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: .2rem; }
.v0a3-feature-row p { font-size: 1.2rem; color: var(--v0a3-text-mute); line-height: 1.6rem; }

/* ============ RTP / STATS BARS ============ */
.v0a3-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; border-bottom: .1rem dashed var(--v0a3-border);
  font-size: 1.25rem;
}
.v0a3-stat-row:last-child { border-bottom: 0; }
.v0a3-stat-row .v0a3-stat-label { color: var(--v0a3-text-mute); }
.v0a3-stat-row .v0a3-stat-val { color: var(--v0a3-primary); font-weight: 800; }
.v0a3-bar {
  height: .7rem; background: #2a3545; border-radius: 1rem; overflow: hidden; margin-top: .3rem;
}
.v0a3-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--v0a3-primary), var(--v0a3-accent)); }

/* ============ TESTIMONIALS ============ */
.v0a3-quote {
  background: var(--v0a3-bg-2);
  border-left: .3rem solid var(--v0a3-primary);
  border-radius: .8rem;
  padding: 1rem;
  margin-bottom: .8rem;
}
.v0a3-quote p { font-size: 1.25rem; line-height: 1.7rem; margin-bottom: .4rem; }
.v0a3-quote .v0a3-quote-author { font-size: 1.15rem; color: var(--v0a3-primary); font-weight: 700; }
.v0a3-stars { color: var(--v0a3-primary); font-size: 1.2rem; letter-spacing: .1rem; }

/* ============ PAYMENT / APP ============ */
.v0a3-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.v0a3-chip {
  background: var(--v0a3-bg-3); border: .1rem solid var(--v0a3-border);
  color: var(--v0a3-text); padding: .6rem 1rem; border-radius: 2rem;
  font-size: 1.2rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem;
}
.v0a3-chip i { color: var(--v0a3-primary); }

.v0a3-app-card {
  background: linear-gradient(135deg, #1a2330 0%, #0D1117 100%);
  border: .1rem solid var(--v0a3-primary);
  border-radius: var(--v0a3-radius);
  padding: 1.4rem; text-align: center;
}
.v0a3-app-card h3 { font-size: 1.5rem; color: var(--v0a3-primary); margin-bottom: .5rem; }
.v0a3-app-card p { color: var(--v0a3-text-mute); margin-bottom: 1rem; font-size: 1.25rem; }

/* ============ WINNERS ============ */
.v0a3-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem .8rem; background: var(--v0a3-bg-3); border-radius: .6rem;
  margin-bottom: .5rem; font-size: 1.2rem;
}
.v0a3-winner .v0a3-winner-name { font-weight: 700; }
.v0a3-winner .v0a3-winner-amt { color: var(--v0a3-success); font-weight: 800; }

/* ============ FAQ ============ */
.v0a3-faq-item {
  background: var(--v0a3-bg-3); border-radius: .8rem; margin-bottom: .6rem;
  border: .1rem solid var(--v0a3-border); overflow: hidden;
}
.v0a3-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem; font-weight: 700; font-size: 1.3rem; cursor: pointer;
}
.v0a3-faq-q i { color: var(--v0a3-primary); }
.v0a3-faq-a { padding: 0 1rem 1rem; color: var(--v0a3-text-mute); font-size: 1.2rem; line-height: 1.7rem; }

/* ============ FOOTER ============ */
.v0a3-footer {
  background: var(--v0a3-bg-2);
  border-top: .1rem solid var(--v0a3-border);
  padding: 1.8rem 1.2rem 2rem;
  color: var(--v0a3-text-mute);
}
.v0a3-footer-brand {
  font-size: 1.5rem; font-weight: 800; color: var(--v0a3-text); margin-bottom: .5rem;
}
.v0a3-footer-brand .v0a3-hl { color: var(--v0a3-primary); }
.v0a3-footer p { font-size: 1.2rem; line-height: 1.7rem; margin-bottom: 1rem; }
.v0a3-footer-links {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-bottom: 1rem;
}
.v0a3-footer-links a {
  color: var(--v0a3-text-mute); font-size: 1.15rem;
}
.v0a3-footer-links a:hover { color: var(--v0a3-primary); }
.v0a3-footer-promo {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0;
}
.v0a3-footer-copy {
  font-size: 1.1rem; color: #6b7382; padding-top: 1rem;
  border-top: .1rem solid var(--v0a3-border);
}

/* ============ MOBILE BOTTOM NAV ============ */
.v0a3-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--v0a3-bottom-h);
  background: linear-gradient(180deg, #0b1018 0%, #06090d 100%);
  border-top: .1rem solid var(--v0a3-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -.3rem 1rem rgba(0,0,0,.4);
}
.v0a3-bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--v0a3-text-mute);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  min-width: 60px; min-height: 60px; padding: .4rem;
  gap: .2rem; position: relative;
  transition: color .15s ease, transform .15s ease;
}
.v0a3-bottom-nav-item i { font-size: 2.2rem; }
.v0a3-bottom-nav-item .material-icons { font-size: 2.4rem; }
.v0a3-bottom-nav-item:active { transform: scale(.92); color: var(--v0a3-primary); }
.v0a3-bottom-nav-item.v0a3-active { color: var(--v0a3-primary); }
.v0a3-bottom-nav-item.v0a3-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.4rem; height: .25rem; background: var(--v0a3-primary); border-radius: 0 0 .3rem .3rem;
}
.v0a3-bottom-nav-item.v0a3-promo {
  color: var(--v0a3-primary);
}

/* Floating back-to-top button */
.v0a3-to-top {
  position: fixed; right: 1.2rem; bottom: calc(var(--v0a3-bottom-h) + 1.2rem);
  width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--v0a3-primary); color: #1a1300; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .15s ease;
  z-index: 999; box-shadow: var(--v0a3-shadow); font-size: 2rem;
}
.v0a3-to-top.v0a3-to-top-show { opacity: 1; pointer-events: auto; }
.v0a3-to-top:active { transform: scale(.9); }

/* Reveal on scroll */
.v0a3-reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity .5s ease, transform .5s ease; }
.v0a3-reveal.v0a3-revealed { opacity: 1; transform: none; }

/* CTA banner */
.v0a3-cta-banner {
  background: linear-gradient(135deg, var(--v0a3-primary) 0%, var(--v0a3-accent) 100%);
  color: #1a1300; border-radius: var(--v0a3-radius);
  padding: 1.4rem; text-align: center; margin: 1rem 0;
}
.v0a3-cta-banner h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: .4rem; }
.v0a3-cta-banner p { font-size: 1.25rem; margin-bottom: .8rem; }

/* Desktop rules: hide bottom nav, widen container */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .v0a3-bottom-nav { display: none; }
  .v0a3-to-top { bottom: 1.5rem; }
}

/* Bottom padding so fixed nav never covers content on mobile */
@media (max-width: 768px) {
  .v0a3-main { padding-bottom: calc(var(--v0a3-bottom-h) + 1.2rem); }
  .v0a3-footer { padding-bottom: calc(var(--v0a3-bottom-h) + 1.5rem); }
}

/* Utility */
.v0a3-mt-1 { margin-top: .5rem; } .v0a3-mt-2 { margin-top: 1rem; }
.v0a3-text-center { text-align: center; }
.v0a3-hidden { display: none !important; }
.v0a3-row { display: flex; gap: .6rem; }
.v0a3-badge {
  display: inline-block; background: var(--v0a3-danger); color: #fff;
  font-size: 1rem; font-weight: 700; padding: .15rem .5rem; border-radius: .6rem;
}
