/* ==========================================================================
   PG Slot Demo - Core Stylesheet
   Prefix: v0a8-
   Palette: #DA70D6 (orchid) | #4B0082 (indigo) | #0A0A0A (deep) | #9370DB (medium purple)
   Mobile-first HTML5 casino landing page (Vietnamese / vi)
   ========================================================================== */

:root {
  --v0a8-orchid: #DA70D6;
  --v0a8-indigo: #4B0082;
  --v0a8-deep: #0A0A0A;
  --v0a8-purple: #9370DB;
  --v0a8-dark: #14041f;
  --v0a8-card: #1f0a30;
  --v0a8-card-2: #2a0f44;
  --v0a8-text: #f5e9ff;
  --v0a8-muted: #c9aee2;
  --v0a8-gold: #ffcf5c;
  --v0a8-border: rgba(218, 112, 214, 0.28);
  --v0a8-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --v0a8-radius: 16px;
  --v0a8-header-h: 60px;
  --v0a8-nav-h: 64px;
}

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

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, #2a0f44 0%, #14041f 45%, #0A0A0A 100%);
  color: var(--v0a8-text);
  line-height: 1.5;
  font-size: 1.6rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--v0a8-orchid); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--v0a8-gold); }

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

/* ===================== Header ===================== */
.v0a8-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--v0a8-header-h);
  background: linear-gradient(90deg, rgba(75,0,130,.96), rgba(20,4,31,.96));
  border-bottom: 1px solid var(--v0a8-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.v0a8-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.7rem; }
.v0a8-logo .v0a8-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--v0a8-orchid), var(--v0a8-purple));
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: 0 4px 12px rgba(218,112,214,.5);
}
.v0a8-logo small { display: block; font-size: 1rem; color: var(--v0a8-muted); font-weight: 500; }
.v0a8-header-actions { display: flex; align-items: center; gap: 8px; }
.v0a8-btn {
  border: none; cursor: pointer; font-weight: 700; border-radius: 999px;
  padding: 9px 16px; font-size: 1.35rem; transition: transform .15s ease, box-shadow .2s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.v0a8-btn:hover { transform: translateY(-1px); }
.v0a8-btn-login { background: transparent; color: #fff; border: 1px solid var(--v0a8-orchid); }
.v0a8-btn-register {
  background: linear-gradient(90deg, var(--v0a8-orchid), var(--v0a8-purple));
  color: #fff; box-shadow: 0 6px 16px rgba(218,112,214,.45);
}
.v0a8-menu-toggle {
  background: transparent; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer;
  display: inline-flex; align-items: center; padding: 4px;
}

/* ===================== Mobile Menu ===================== */
.v0a8-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 84%; max-width: 340px; height: 100vh;
  background: linear-gradient(160deg, #1f0a30, #0A0A0A);
  border-left: 1px solid var(--v0a8-border);
  padding: 80px 18px 30px; z-index: 9999;
  transition: right .3s ease; overflow-y: auto;
}
.v0a8-mobile-menu.v0a8-open { right: 0; }
.v0a8-mobile-menu h4 { color: var(--v0a8-orchid); font-size: 1.4rem; margin: 18px 4px 8px; text-transform: uppercase; letter-spacing: 1px; }
.v0a8-mobile-menu a {
  display: block; padding: 11px 12px; border-radius: 10px;
  color: var(--v0a8-text); font-size: 1.45rem; border-bottom: 1px solid rgba(218,112,214,.12);
}
.v0a8-mobile-menu a:hover { background: rgba(218,112,214,.12); color: var(--v0a8-gold); }
.v0a8-menu-close { position: absolute; top: 16px; right: 16px; background: transparent; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }
.v0a8-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.v0a8-overlay.v0a8-open { opacity: 1; visibility: visible; }

/* ===================== Layout ===================== */
.v0a8-main { padding-top: calc(var(--v0a8-header-h) + 8px); padding-bottom: 30px; }
.v0a8-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 14px; }
.v0a8-section { padding: 30px 0; }
.v0a8-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.v0a8-section-title {
  font-size: 2.1rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.v0a8-section-title::before {
  content: ""; width: 5px; height: 22px; border-radius: 4px;
  background: linear-gradient(180deg, var(--v0a8-orchid), var(--v0a8-purple));
}
.v0a8-section-more { font-size: 1.3rem; color: var(--v0a8-orchid); font-weight: 600; }

/* ===================== Hero / Carousel ===================== */
.v0a8-hero { position: relative; overflow: hidden; border-radius: 20px; box-shadow: var(--v0a8-shadow); }
.v0a8-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; }
.v0a8-carousel::-webkit-scrollbar { display: none; }
.v0a8-slide {
  flex: 0 0 100%; scroll-snap-align: center; position: relative;
  border-radius: 20px; overflow: hidden; min-height: 220px;
}
.v0a8-slide img { width: 100%; height: 100%; object-fit: cover; }
.v0a8-slide-body {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, transparent 35%, rgba(10,10,10,.85) 100%);
}
.v0a8-slide-tag { align-self: flex-start; background: var(--v0a8-orchid); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.v0a8-slide-title { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.v0a8-slide-text { font-size: 1.35rem; color: var(--v0a8-muted); margin-bottom: 10px; }
.v0a8-hero-cta {
  align-self: flex-start; background: linear-gradient(90deg, var(--v0a8-orchid), var(--v0a8-purple));
  color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 1.35rem; border: none; cursor: pointer;
}

/* ===================== Quick Stats ===================== */
.v0a8-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v0a8-stat {
  background: var(--v0a8-card); border: 1px solid var(--v0a8-border);
  border-radius: 14px; padding: 14px; text-align: center;
}
.v0a8-stat-num { font-size: 2rem; font-weight: 800; color: var(--v0a8-orchid); }
.v0a8-stat-label { font-size: 1.2rem; color: var(--v0a8-muted); margin-top: 2px; }

/* ===================== Category Pills ===================== */
.v0a8-pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.v0a8-pills::-webkit-scrollbar { display: none; }
.v0a8-pill {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px;
  background: var(--v0a8-card); color: var(--v0a8-text);
  font-size: 1.3rem; font-weight: 600; border: 1px solid var(--v0a8-border); cursor: pointer;
  transition: all .2s ease; white-space: nowrap;
}
.v0a8-pill.v0a8-active, .v0a8-pill:hover {
  background: linear-gradient(90deg, var(--v0a8-orchid), var(--v0a8-purple));
  color: #fff; border-color: transparent;
}

/* ===================== Game Grid ===================== */
.v0a8-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v0a8-card {
  background: var(--v0a8-card); border: 1px solid var(--v0a8-border);
  border-radius: 14px; overflow: hidden; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.v0a8-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(218,112,214,.25); }
.v0a8-card-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #0A0A0A; }
.v0a8-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v0a8-card-badge {
  position: absolute; top: 6px; left: 6px; background: rgba(218,112,214,.92);
  color: #fff; font-size: 1rem; font-weight: 700; padding: 2px 7px; border-radius: 6px;
}
.v0a8-card-hot {
  position: absolute; top: 6px; right: 6px; background: var(--v0a8-gold);
  color: #4B0082; font-size: 1rem; font-weight: 800; padding: 2px 7px; border-radius: 6px;
}
.v0a8-card-body { padding: 8px 10px 12px; }
.v0a8-card-title { font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1.25; height: 3.2em; overflow: hidden; }
.v0a8-card-play {
  margin-top: 8px; display: block; width: 100%; text-align: center;
  background: linear-gradient(90deg, var(--v0a8-orchid), var(--v0a8-purple));
  color: #fff; padding: 7px 0; border-radius: 8px; font-size: 1.2rem; font-weight: 700; border: none; cursor: pointer;
}

/* ===================== Featured ===================== */
.v0a8-featured {
  background: linear-gradient(135deg, rgba(75,0,130,.4), rgba(147,112,219,.18));
  border: 1px solid var(--v0a8-border); border-radius: 20px; padding: 18px;
}
.v0a8-featured-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.v0a8-featured-card {
  display: flex; gap: 12px; background: rgba(10,10,10,.5); border-radius: 14px; padding: 10px;
  border: 1px solid var(--v0a8-border); align-items: center;
}
.v0a8-featured-card img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.v0a8-featured-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.v0a8-featured-info p { color: var(--v0a8-muted); font-size: 1.25rem; margin-bottom: 8px; }
.v0a8-featured-link { color: var(--v0a8-gold); font-weight: 700; font-size: 1.25rem; }

/* ===================== Promo Banner ===================== */
.v0a8-promo {
  background: linear-gradient(135deg, #4B0082, #DA70D6);
  border-radius: 20px; padding: 22px 18px; text-align: center; color: #fff;
  box-shadow: var(--v0a8-shadow);
}
.v0a8-promo h2 { font-size: 2.2rem; margin-bottom: 6px; }
.v0a8-promo p { font-size: 1.35rem; margin-bottom: 14px; opacity: .95; }
.v0a8-promo-btn {
  background: #fff; color: #4B0082; padding: 12px 26px;
  border-radius: 999px; font-weight: 800; font-size: 1.5rem; border: none; cursor: pointer;
}

/* ===================== SEO Long text ===================== */
.v0a8-seo {
  background: var(--v0a8-card); border: 1px solid var(--v0a8-border);
  border-radius: 18px; padding: 22px 18px;
}
.v0a8-seo h2 { color: #fff; font-size: 2rem; margin: 18px 0 10px; }
.v0a8-seo h2:first-child { margin-top: 0; }
.v0a8-seo h3 { color: var(--v0a8-orchid); font-size: 1.6rem; margin: 14px 0 6px; }
.v0a8-seo p { color: var(--v0a8-text); font-size: 1.4rem; margin-bottom: 10px; }
.v0a8-seo ul { padding-left: 18px; margin-bottom: 12px; }
.v0a8-seo li { font-size: 1.4rem; margin-bottom: 6px; color: var(--v0a8-muted); }
.v0a8-seo a { color: var(--v0a8-gold); font-weight: 600; }

/* ===================== FAQ ===================== */
.v0a8-faq-item {
  background: var(--v0a8-card-2); border: 1px solid var(--v0a8-border);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.v0a8-faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 14px 16px; color: #fff; font-size: 1.4rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.v0a8-faq-q .v0a8-faq-icon { color: var(--v0a8-orchid); transition: transform .25s ease; }
.v0a8-faq-item.v0a8-open .v0a8-faq-icon { transform: rotate(45deg); }
.v0a8-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 16px; }
.v0a8-faq-item.v0a8-open .v0a8-faq-a { max-height: 600px; padding: 0 16px 14px; }
.v0a8-faq-a p { color: var(--v0a8-muted); font-size: 1.35rem; }

/* ===================== Footer ===================== */
.v0a8-footer {
  background: linear-gradient(180deg, #14041f, #0A0A0A);
  border-top: 1px solid var(--v0a8-border);
  padding: 30px 14px 24px; margin-top: 20px;
}
.v0a8-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1200px; margin: 0 auto; }
.v0a8-footer-col h4 { color: var(--v0a8-orchid); font-size: 1.4rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.v0a8-footer-col a { display: block; color: var(--v0a8-muted); font-size: 1.3rem; padding: 4px 0; }
.v0a8-footer-col a:hover { color: var(--v0a8-gold); }
.v0a8-footer-bottom { max-width: 1200px; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid var(--v0a8-border); text-align: center; color: var(--v0a8-muted); font-size: 1.2rem; }
.v0a8-disclaimer { background: rgba(75,0,130,.25); border-radius: 10px; padding: 10px 12px; margin-top: 14px; font-size: 1.2rem; color: var(--v0a8-muted); }

/* ===================== Mobile Bottom Nav ===================== */
.v0a8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--v0a8-nav-h);
  background: linear-gradient(180deg, rgba(31,10,48,.98), rgba(10,10,10,.99));
  border-top: 1px solid var(--v0a8-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; padding: 4px 0;
}
.v0a8-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 56px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--v0a8-muted); font-size: 1.05rem; gap: 2px; cursor: pointer; padding: 4px;
  transition: color .2s ease, transform .15s ease;
}
.v0a8-bottom-nav-btn .material-icons,
.v0a8-bottom-nav-btn .fas,
.v0a8-bottom-nav-btn .bi,
.v0a8-bottom-nav-btn ion-icon { font-size: 24px; }
.v0a8-bottom-nav-btn:hover { color: var(--v0a8-orchid); transform: translateY(-2px); }
.v0a8-bottom-nav-btn.v0a8-active { color: var(--v0a8-orchid); }
.v0a8-bottom-nav-btn.v0a8-promo-btn {
  position: relative; color: #fff;
}
.v0a8-bottom-nav-btn.v0a8-promo-btn::before {
  content: ""; position: absolute; top: -10px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--v0a8-orchid), var(--v0a8-purple));
  box-shadow: 0 6px 16px rgba(218,112,214,.55); z-index: -1;
}
.v0a8-bottom-nav-btn.v0a8-promo-btn .v0a8-promo-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--v0a8-orchid), var(--v0a8-purple));
  color: #fff; margin-top: -16px; box-shadow: 0 6px 16px rgba(218,112,214,.55);
}

/* ===================== Desktop ===================== */
.v0a8-desktop-nav { display: none; }
@media (min-width: 769px) {
  .v0a8-bottom-nav { display: none; }
  .v0a8-menu-toggle { display: none; }
  .v0a8-desktop-nav { display: flex; gap: 18px; align-items: center; }
  .v0a8-desktop-nav a { color: var(--v0a8-text); font-size: 1.35rem; font-weight: 600; }
  .v0a8-desktop-nav a:hover { color: var(--v0a8-gold); }
  .v0a8-grid { grid-template-columns: repeat(6, 1fr); }
  .v0a8-stats { grid-template-columns: repeat(4, 1fr); }
  .v0a8-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .v0a8-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .v0a8-slide { flex: 0 0 50%; }
}

/* Mobile bottom padding so content isn't hidden by bottom nav */
@media (max-width: 768px) {
  .v0a8-main { padding-bottom: calc(var(--v0a8-nav-h) + 24px); }
  .v0a8-footer { padding-bottom: calc(var(--v0a8-nav-h) + 18px); }
}

/* ===================== Helpers ===================== */
.v0a8-text-center { text-align: center; }
.v0a8-mt-20 { margin-top: 20px; }
.v0a8-hide { display: none; }
.v0a8-breadcrumb { font-size: 1.2rem; color: var(--v0a8-muted); padding: 8px 0; }
.v0a8-breadcrumb a { color: var(--v0a8-orchid); }

/* === Mobile fine-tune: small phones <= 430px === */
@media (max-width: 430px) {
  html { font-size: 14px; -webkit-text-size-adjust: 100%; }
  body { font-size: 14px; line-height: 1.5; overflow-x: hidden; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  img { max-width: 100%; height: auto; }
  .v0a8-slide-title { font-size: 1.8rem; }
  .v0a8-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .v0a8-card { border-radius: 12px; }
  .v0a8-section { padding: 20px 0; }
  .v0a8-bottom-nav { height: 60px; }
  .v0a8-bottom-nav-btn { font-size: 1rem; }
}
