/* ===== 123b 03 - style-ef81.css ===== */
/* Mobile-first Vietnamese casino site. All custom classes use v16a- prefix. */

:root {
  --v16a-primary: #008B8B;
  --v16a-deep: #004D40;
  --v16a-bg: #0a2a26;
  --v16a-bg-alt: #0f3d36;
  --v16a-card: #13403a;
  --v16a-text: #E6F4F1;
  --v16a-muted: #80CBC4;
  --v16a-accent: #9370DB;
  --v16a-accent-2: #B69BE6;
  --v16a-dark: #333333;
  --v16a-gold: #F2C14E;
  --v16a-border: rgba(128, 203, 196, 0.25);
  --v16a-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --v16a-radius: 12px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(circle at 50% 0%, #0f3d36 0%, #0a2a26 55%, #06201c 100%);
  color: var(--v16a-text);
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v16a-muted); text-decoration: none; }

.v16a-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v16a-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.v16a-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(0,77,64,0.98), rgba(0,139,139,0.94));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v16a-border);
  box-shadow: var(--v16a-shadow);
}
.v16a-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 56px;
}
.v16a-brand { display: flex; align-items: center; gap: 0.7rem; }
.v16a-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--v16a-gold), var(--v16a-accent));
  display: flex; align-items: center; justify-content: center;
  color: #1a1a1a; font-weight: 800; font-size: 1.3rem;
}
.v16a-brand-name {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  letter-spacing: 0.3px;
}
.v16a-brand-name span { color: var(--v16a-gold); }
.v16a-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v16a-btn {
  border: none; cursor: pointer; font-weight: 700;
  padding: 0.6rem 1.1rem; border-radius: 999px;
  font-size: 1.25rem; min-height: 36px; display: inline-flex;
  align-items: center; gap: 0.4rem; transition: transform .15s, filter .15s;
}
.v16a-btn:active { transform: scale(0.94); }
.v16a-btn-login {
  background: rgba(255,255,255,0.14); color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.v16a-btn-register {
  background: linear-gradient(135deg, var(--v16a-gold), #ff8d2b);
  color: #1a1a1a;
}
.v16a-menu-btn {
  background: transparent; border: none; color: #fff;
  font-size: 2.0rem; cursor: pointer; padding: 0.3rem 0.5rem;
  min-width: 44px; min-height: 44px;
}

/* ===== Mobile menu ===== */
.v16a-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px;
  height: 100vh; z-index: 9999;
  background: linear-gradient(180deg, #0f3d36, #06201c);
  box-shadow: -8px 0 30px rgba(0,0,0,0.5);
  padding: 5rem 1.5rem 2rem; transition: right .28s ease;
  overflow-y: auto;
}
.v16a-mobile-menu.v16a-menu-open { right: 0; }
.v16a-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; min-width: 44px; min-height: 44px;
}
.v16a-menu-title {
  font-size: 1.5rem; color: var(--v16a-gold); font-weight: 700; margin: 0 0 1rem;
}
.v16a-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.v16a-mobile-menu li { margin-bottom: 0.4rem; }
.v16a-mobile-menu a {
  display: block; color: var(--v16a-text); padding: 0.9rem 0.8rem;
  border-radius: 8px; font-size: 1.35rem; font-weight: 600;
  border-left: 3px solid transparent;
}
.v16a-mobile-menu a:hover, .v16a-mobile-menu a:active {
  background: rgba(128,203,196,0.1);
  border-left-color: var(--v16a-gold);
}
.v16a-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.v16a-menu-overlay.v16a-menu-open { opacity: 1; pointer-events: auto; }

/* ===== Page spacer (header offset) ===== */
.v16a-page { padding-top: 70px; padding-bottom: 90px; }

/* ===== Hero / Carousel ===== */
.v16a-carousel {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--v16a-shadow); margin: 1rem 0;
}
.v16a-carousel-track {
  display: flex; transition: transform .5s ease; width: 100%;
}
.v16a-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.v16a-slide img { width: 100%; height: 180px; object-fit: cover; }
.v16a-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  padding: 1.2rem 1rem 0.9rem; color: #fff;
}
.v16a-slide-cap h2 { margin: 0 0 0.3rem; font-size: 1.6rem; font-weight: 800; }
.v16a-slide-cap p { margin: 0; font-size: 1.15rem; color: var(--v16a-muted); }
.v16a-dots {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.4rem; z-index: 5;
}
.v16a-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer;
}
.v16a-dot-active { background: var(--v16a-gold); width: 18px; border-radius: 4px; }

/* ===== Section / Headings ===== */
.v16a-section { margin: 1.8rem 0; }
.v16a-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.55rem; font-weight: 800; color: #fff;
  margin: 0 0 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v16a-border);
}
.v16a-section-title i, .v16a-section-title span.material-icons,
.v16a-section-title span.bi { color: var(--v16a-gold); font-size: 1.8rem; }
.v16a-h1 {
  font-size: 1.8rem; font-weight: 800; color: #fff;
  margin: 0 0 0.8rem; line-height: 2.4rem;
}
.v16a-lead { color: var(--v16a-muted); font-size: 1.25rem; margin: 0 0 1rem; }

/* ===== Game grid ===== */
.v16a-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.v16a-card {
  background: var(--v16a-card); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--v16a-border); cursor: pointer;
  transition: transform .15s, box-shadow .15s; position: relative;
}
.v16a-card:active { transform: scale(0.95); }
.v16a-card-img { width: 100%; height: 90px; object-fit: cover; background: #0a2a26; }
.v16a-card-name {
  padding: 0.4rem 0.5rem; font-size: 1.0rem; color: #fff;
  text-align: center; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v16a-card-tag {
  position: absolute; top: 4px; left: 4px;
  background: var(--v16a-accent); color: #fff;
  font-size: 0.85rem; padding: 1px 6px; border-radius: 4px;
  font-weight: 700;
}
.v16a-card-tag.hot { background: linear-gradient(135deg, #ff5e62, #ff9966); }

/* Inline promo link text */
.v16a-promo-link {
  color: var(--v16a-gold); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--v16a-gold);
}

/* ===== Info / feature blocks ===== */
.v16a-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.v16a-tile {
  background: var(--v16a-card); padding: 1rem; border-radius: 10px;
  border: 1px solid var(--v16a-border);
}
.v16a-tile h3 { margin: 0 0 0.4rem; font-size: 1.3rem; color: #fff; }
.v16a-tile p { margin: 0; font-size: 1.15rem; color: var(--v16a-muted); }
.v16a-tile .icon, .v16a-tile .material-icons, .v16a-tile .bi {
  font-size: 2rem; color: var(--v16a-accent-2); margin-bottom: 0.3rem; display: inline-block;
}

/* ===== Article body ===== */
.v16a-article p { font-size: 1.2rem; color: var(--v16a-text); margin: 0 0 0.9rem; }
.v16a-article h2 { font-size: 1.4rem; color: #fff; margin: 1.4rem 0 0.6rem; }
.v16a-article h3 { font-size: 1.25rem; color: var(--v16a-accent-2); margin: 1rem 0 0.4rem; }
.v16a-article a { color: var(--v16a-gold); border-bottom: 1px dotted var(--v16a-gold); }

/* ===== FAQ ===== */
.v16a-faq { display: flex; flex-direction: column; gap: 0.6rem; }
.v16a-faq-item {
  background: var(--v16a-card); border-radius: 10px; border: 1px solid var(--v16a-border);
  overflow: hidden;
}
.v16a-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1rem; cursor: pointer; font-weight: 700; color: #fff;
  font-size: 1.2rem; background: none; border: none; width: 100%; text-align: left;
}
.v16a-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  padding: 0 1rem; color: var(--v16a-muted); font-size: 1.1rem;
}
.v16a-faq-open .v16a-faq-a { max-height: 400px; padding: 0 1rem 0.9rem; }

/* ===== Testimonials ===== */
.v16a-quote {
  background: var(--v16a-card); border-left: 4px solid var(--v16a-accent);
  padding: 0.8rem 1rem; border-radius: 8px; margin-bottom: 0.7rem;
}
.v16a-quote p { margin: 0 0 0.3rem; font-size: 1.15rem; color: var(--v16a-text); }
.v16a-quote span { font-size: 1.0rem; color: var(--v16a-gold); font-weight: 700; }

/* ===== Payment / partners strip ===== */
.v16a-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v16a-chip {
  background: rgba(128,203,196,0.12); padding: 0.5rem 0.9rem;
  border-radius: 999px; font-size: 1.1rem; color: var(--v16a-muted);
  border: 1px solid var(--v16a-border); font-weight: 600;
}

/* ===== CTA banner ===== */
.v16a-cta {
  background: linear-gradient(135deg, var(--v16a-deep), var(--v16a-primary));
  border-radius: 14px; padding: 1.3rem; text-align: center;
  border: 1px solid var(--v16a-border); margin: 1.4rem 0;
}
.v16a-cta h3 { color: #fff; margin: 0 0 0.4rem; font-size: 1.4rem; }
.v16a-cta p { color: var(--v16a-muted); margin: 0 0 0.9rem; font-size: 1.15rem; }
.v16a-cta .v16a-btn { font-size: 1.3rem; padding: 0.8rem 1.6rem; }

/* ===== Footer ===== */
.v16a-footer {
  background: linear-gradient(180deg, #06201c, #03110f);
  border-top: 1px solid var(--v16a-border);
  padding: 1.8rem 1.2rem 2.5rem; margin-top: 1.5rem;
}
.v16a-footer h4 { color: #fff; font-size: 1.3rem; margin: 1rem 0 0.5rem; }
.v16a-footer p { color: var(--v16a-muted); font-size: 1.1rem; line-height: 1.6rem; }
.v16a-footer a { color: var(--v16a-muted); display: block; padding: 0.25rem 0; font-size: 1.1rem; }
.v16a-footer a:hover { color: var(--v16a-gold); }
.v16a-footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
}
.v16a-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.v16a-footer-promos .v16a-btn { font-size: 1.1rem; padding: 0.5rem 0.9rem; }
.v16a-copy {
  text-align: center; color: rgba(230,244,241,0.5); font-size: 1.0rem;
  border-top: 1px solid var(--v16a-border); padding-top: 1rem; margin-top: 1rem;
}

/* ===== Mobile bottom navigation ===== */
.v16a-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(0,77,64,0.98), rgba(3,17,15,0.99));
  border-top: 1px solid var(--v16a-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.v16a-bottom-nav a, .v16a-bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 60px;
  background: transparent; border: none; cursor: pointer;
  color: var(--v16a-muted); font-size: 1.0rem; font-weight: 600;
  gap: 2px; transition: color .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.v16a-bottom-nav a:active, .v16a-bottom-nav button:active { transform: scale(0.9); }
.v16a-bottom-nav .v16a-nav-icon { font-size: 2.2rem; line-height: 1; }
.v16a-bottom-nav .v16a-nav-icon .material-icons { font-size: 2.2rem; }
.v16a-bottom-nav .v16a-nav-label { font-size: 1.0rem; }
.v16a-bottom-nav .v16a-active { color: var(--v16a-gold); }
.v16a-bottom-nav .v16a-promo {
  color: var(--v16a-gold);
}
.v16a-bottom-nav .v16a-promo .v16a-nav-icon {
  background: linear-gradient(135deg, var(--v16a-gold), #ff8d2b);
  color: #1a1a1a; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -10px; box-shadow: 0 3px 10px rgba(242,193,78,0.45);
}
.v16a-bottom-nav .v16a-promo .v16a-nav-icon .material-icons,
.v16a-bottom-nav .v16a-promo .v16a-nav-icon i { font-size: 1.8rem; }

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .v16a-bottom-nav { display: none; }
  .v16a-page { padding-bottom: 2rem; }
}

/* Larger phones */
@media (min-width: 480px) {
  .v16a-grid { grid-template-columns: repeat(4, 1fr); }
}
