/* ============================================================
   layout-f0ef.css
   Shared stylesheet for af 88 website (vi-VN)
   All custom classes use the "vf6c-" prefix.
   Palette: #F08080 | #FF69B4 | #F8F9FA | #0A0A0A | #FF8A80
   Dark background, light text. Mobile-first. Root font: 62.5% (10px).
   ============================================================ */

:root {
  --vf6c-primary: #F08080;
  --vf6c-secondary: #FF69B4;
  --vf6c-bg: #0A0A0A;
  --vf6c-bg-soft: #141418;
  --vf6c-bg-card: #1c1c22;
  --vf6c-text: #F8F9FA;
  --vf6c-text-muted: #B88A95;
  --vf6c-accent: #FF8A80;
  --vf6c-border: rgba(240, 128, 128, 0.22);
  --vf6c-ring: rgba(255, 105, 180, 0.35);
  --vf6c-gold: #FFD66E;
  --vf6c-radius: 12px;
  --vf6c-radius-lg: 18px;
  --vf6c-z-header: 1000;
  --vf6c-z-bottomnav: 1000;
  --vf6c-z-menu: 9999;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vf6c-bg);
  color: var(--vf6c-text);
  font-family: "Segoe UI", "Helvetica Neue", "Inter", system-ui, sans-serif;
  line-height: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--vf6c-secondary); text-decoration: none; }

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

/* ========== Header ========== */
.vf6c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: var(--vf6c-z-header);
  background: linear-gradient(180deg, rgba(20,20,24,0.98), rgba(10,10,10,0.94));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vf6c-border);
  padding: 0 1.2rem;
  height: 5.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.vf6c-brand {
  display: flex; align-items: center; gap: 0.6rem;
  min-width: 0;
}
.vf6c-brand-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--vf6c-primary), var(--vf6c-secondary));
  display: flex; align-items: center; justify-content: center;
  color: #0A0A0A; font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 0 12px var(--vf6c-ring);
}
.vf6c-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(120deg, var(--vf6c-primary), var(--vf6c-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.vf6c-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.vf6c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  min-height: 36px; padding: 0 1.2rem;
  font-size: 1.3rem; font-weight: 700;
  border: none; border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.vf6c-btn:focus-visible { outline: 2px solid var(--vf6c-secondary); outline-offset: 2px; }
.vf6c-btn-register {
  background: linear-gradient(135deg, var(--vf6c-primary), var(--vf6c-accent));
  color: #0A0A0A;
  box-shadow: 0 3px 10px rgba(240,128,128,0.35);
}
.vf6c-btn-register:hover { transform: translateY(-1px); }
.vf6c-btn-login {
  background: transparent; color: var(--vf6c-text);
  border: 1px solid var(--vf6c-border);
}
.vf6c-btn-login:hover { border-color: var(--vf6c-secondary); }
.vf6c-menu-btn {
  background: transparent; color: var(--vf6c-text);
  border: none; font-size: 1.8rem; padding: 0.4rem;
  cursor: pointer; min-width: 36px; min-height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ========== Mobile dropdown menu ========== */
.vf6c-mobile-menu {
  position: fixed; top: 5.8rem; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: var(--vf6c-bg-soft);
  border-bottom: 1px solid var(--vf6c-border);
  padding: 1rem 1.4rem;
  transform: translateY(-130%);
  transition: transform .25s ease;
  z-index: var(--vf6c-z-menu);
  max-height: 70vh; overflow-y: auto;
}
.vf6c-mobile-menu.vf6c-menu-open { transform: translateY(0); }
.vf6c-mobile-menu a {
  display: block; padding: 1rem 0.6rem;
  color: var(--vf6c-text);
  border-bottom: 1px solid rgba(240,128,128,0.10);
  font-size: 1.4rem; font-weight: 500;
}
.vf6c-mobile-menu a:last-child { border-bottom: none; }
.vf6c-mobile-menu a:hover { color: var(--vf6c-secondary); padding-left: 1rem; }

/* ========== Main ========== */
.vf6c-main { padding-top: 5.8rem; }
@media (max-width: 768px) { .vf6c-main { padding-bottom: 80px; } }

/* ========== Hero carousel ========== */
.vf6c-carousel { position: relative; overflow: hidden; margin: 1rem 0 1.4rem; }
.vf6c-carousel-track { display: flex; transition: transform .45s ease; }
.vf6c-carousel-slide {
  flex: 0 0 100%; position: relative;
  cursor: pointer;
}
.vf6c-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.vf6c-carousel-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: linear-gradient(120deg, rgba(240,128,128,0.85), rgba(255,105,180,0.85));
  color: #0A0A0A; font-weight: 700; font-size: 1.4rem;
  padding: 0.6rem 1rem; border-radius: 10px;
}
.vf6c-carousel-dots {
  display: flex; gap: 0.5rem; justify-content: center;
  position: absolute; bottom: 0.4rem; left: 0; right: 0;
}
.vf6c-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(248,249,250,0.45); cursor: pointer; border: none;
}
.vf6c-carousel-dot.vf6c-carousel-dot-active {
  background: var(--vf6c-primary); width: 22px; border-radius: 6px;
}

/* ========== Section ========== */
.vf6c-section {
  padding: 1.6rem 1.2rem;
  margin-bottom: 1.2rem;
}
.vf6c-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.vf6c-section-title {
  font-size: 1.9rem; font-weight: 800; color: var(--vf6c-text);
  position: relative; padding-left: 1rem;
}
.vf6c-section-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; border-radius: 6px;
  background: linear-gradient(180deg, var(--vf6c-primary), var(--vf6c-secondary));
}
.vf6c-more-link { font-size: 1.2rem; color: var(--vf6c-secondary); }

/* ========== Filter tabs (touch-friendly) ========== */
.vf6c-filter-row {
  display: flex; gap: 0.6rem; overflow-x: auto;
  padding-bottom: 0.6rem; margin-bottom: 1rem;
}
.vf6c-filter-row::-webkit-scrollbar { display: none; }
.vf6c-filter-tab {
  flex: 0 0 auto; min-height: 36px; padding: 0 1.2rem;
  border-radius: 999px; background: var(--vf6c-bg-card);
  color: var(--vf6c-text); border: 1px solid transparent;
  font-size: 1.25rem; font-weight: 600; cursor: pointer;
}
.vf6c-filter-tab-active {
  border-color: var(--vf6c-primary);
  background: linear-gradient(135deg, rgba(240,128,128,0.2), rgba(255,105,180,0.18));
  color: var(--vf6c-primary);
}

/* ========== Game grid ========== */
.vf6c-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.vf6c-game-card {
  background: var(--vf6c-bg-card);
  border: 1px solid var(--vf6c-border);
  border-radius: var(--vf6c-radius);
  overflow: hidden; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vf6c-game-card:hover, .vf6c-game-card:focus {
  transform: translateY(-2px);
  border-color: var(--vf6c-secondary);
  box-shadow: 0 6px 18px rgba(255,105,180,0.18);
}
.vf6c-game-card img {
  width: 100%; height: 88px; object-fit: cover;
  background: var(--vf6c-bg-soft);
}
.vf6c-game-card-name {
  font-size: 1.1rem; line-height: 1.3rem;
  padding: 0.4rem 0.45rem 0.55rem;
  color: var(--vf6c-text); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vf6c-game-card-type {
  display: inline-block; font-size: 0.95rem;
  color: var(--vf6c-text-muted); margin: -2px 0 0.4rem; width: 100%; text-align: center;
}

/* ========== Promo CTA strip ========== */
.vf6c-cta-strip {
  margin: 1.2rem; padding: 1.2rem;
  border-radius: var(--vf6c-radius-lg);
  background: linear-gradient(120deg, rgba(240,128,128,0.18), rgba(255,105,180,0.12));
  border: 1px solid var(--vf6c-border);
  display: flex; align-items: center; gap: 1rem;
}
.vf6c-cta-strip i { font-size: 2.4rem; color: var(--vf6c-gold); }
.vf6c-cta-text { flex: 1; font-size: 1.3rem; line-height: 1.6rem; }
.vf6c-cta-btn {
  flex: 0 0 auto; background: var(--vf6c-primary); color: #0A0A0A;
  font-weight: 700; font-size: 1.2rem; border-radius: 999px;
  padding: 0.7rem 1.2rem; border: none; cursor: pointer;
  min-height: 40px;
}

/* ========== Feature list / info cards ========== */
.vf6c-info-card {
  background: var(--vf6c-bg-card);
  border: 1px solid var(--vf6c-border);
  border-radius: var(--vf6c-radius);
  padding: 1.2rem;
  margin-bottom: 0.9rem;
}
.vf6c-info-card h3 {
  margin: 0 0 0.6rem; font-size: 1.55rem; font-weight: 700;
  color: var(--vf6c-primary);
}
.vf6c-info-card p { margin: 0 0 0.5rem; font-size: 1.25rem; color: var(--vf6c-text); }
.vf6c-info-card p:last-child { margin-bottom: 0; }

/* numeric stats / compact ranking */
.vf6c-stat-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.vf6c-stat {
  flex: 1 1 120px;
  background: var(--vf6c-bg-soft);
  border: 1px solid var(--vf6c-border);
  border-radius: var(--vf6c-radius);
  padding: 0.9rem 1rem; text-align: center;
}
.vf6c-stat-num {
  font-size: 2rem; font-weight: 800;
  color: var(--vf6c-secondary);
}
.vf6c-stat-label { font-size: 1.1rem; color: var(--vf6c-text-muted); }

/* ========== Winner / payment grid ========== */
.vf6c-two-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.vf6c-pill {
  background: var(--vf6c-bg-card);
  border: 1px solid var(--vf6c-border);
  border-radius: 999px; padding: 0.7rem 1rem;
  font-size: 1.15rem; color: var(--vf6c-text);
  display: flex; align-items: center; gap: 0.5rem;
}
.vf6c-pill i { color: var(--vf6c-gold); font-size: 1.4rem; }

/* testimonials */
.vf6c-quote {
  background: var(--vf6c-bg-card);
  border-left: 4px solid var(--vf6c-primary);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
}
.vf6c-quote-text { font-size: 1.25rem; color: var(--vf6c-text); margin: 0 0 0.4rem; }
.vf6c-quote-name { font-size: 1.1rem; color: var(--vf6c-secondary); font-weight: 600; }

/* ========== Footer ========== */
.vf6c-footer {
  padding: 1.6rem 1.2rem 2rem;
  border-top: 1px solid var(--vf6c-border);
  background: var(--vf6c-bg-soft);
}
.vf6c-footer-brand { font-size: 1.3rem; line-height: 1.7rem; color: var(--vf6c-text); margin-bottom: 1rem; }
.vf6c-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}
.vf6c-footer-links a {
  color: var(--vf6c-text); font-size: 1.2rem;
  padding: 0.3rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--vf6c-border);
}
.vf6c-footer-links a:hover { color: var(--vf6c-secondary); border-color: var(--vf6c-secondary); }
.vf6c-footer-copy { font-size: 1.1rem; color: var(--vf6c-text-muted); }

/* ========== Mobile bottom nav ========== */
.vf6c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 62px;
  z-index: var(--vf6c-z-bottomnav);
  background: linear-gradient(180deg, rgba(20,20,24,0.98), rgba(10,10,10,1));
  border-top: 1px solid var(--vf6c-border);
  display: flex; justify-content: space-around; align-items: center;
}
.vf6c-bottom-nav-btn {
  flex: 1 1 0; min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--vf6c-text-muted);
  cursor: pointer; transition: transform .15s ease, color .15s ease;
}
.vf6c-bottom-nav-btn .vf6c-nav-icon { font-size: 22px; line-height: 1; }
.vf6c-bottom-nav-btn .vf6c-nav-label { font-size: 11px; line-height: 1; }
.vf6c-bottom-nav-btn:hover, .vf6c-bottom-nav-btn:active { transform: scale(1.08); color: var(--vf6c-text); }
.vf6c-bottom-nav-btn-active { color: var(--vf6c-primary); }
.vf6c-bottom-nav-btn-active .vf6c-nav-icon { text-shadow: 0 0 10px var(--vf6c-ring); }

/* hidden on desktop */
@media (min-width: 769px) { .vf6c-bottom-nav { display: none; } }
@media (min-width: 769px) { .vf6c-wrapper { max-width: 430px; } }

/* desktop companion nav (shown on wider screens) */
.vf6c-desktop-nav { display: none; }
@media (min-width: 769px) {
  .vf6c-desktop-nav {
    display: flex; gap: 1rem; align-items: center;
  }
  .vf6c-desktop-nav a {
    color: var(--vf6c-text); font-size: 1.2rem; font-weight: 500;
  }
  .vf6c-desktop-nav a:hover { color: var(--vf6c-secondary); }
}

/* utility */
.vf6c-hidden { display: none !important; }
.vf6c-pull-right { margin-left: auto; }
.vf6c-prose p { font-size: 1.25rem; line-height: 1.7rem; color: var(--vf6c-text); margin: 0 0 0.8rem; }
.vf6c-prose strong { color: var(--vf6c-primary); }
.vf6c-bullet { list-style: none; padding: 0; margin: 0; }
.vf6c-bullet li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem;
  font-size: 1.2rem; color: var(--vf6c-text);
}
.vf6c-bullet li::before {
  content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0; color: var(--vf6c-gold); font-size: 1rem;
}