/* =========================================================
 * Bingo Plus Website - design-eb5f.css
 * Mobile-first (max 430px), dark palette.
 * All custom classes use the vfa4- prefix.
 * Palette: #0E1621 background | #AFEEEE accent text
 * =======================================================*/

:root {
  --vfa4-primary: #AFEEEE;
  --vfa4-bg: #0E1621;
  --vfa4-bg-soft: #131f2e;
  --vfa4-bg-card: #182738;
  --vfa4-text: #AFEEEE;
  --vfa4-text-muted: #8aa3b5;
  --vfa4-text-light: #eafcff;
  --vfa4-accent: #ffd479;
  --vfa4-accent-2: #ff7e5f;
  --vfa4-gold: #f5c26b;
  --vfa4-success: #6dd6c4;
  --vfa4-border: rgba(175, 238, 238, 0.14);
  --vfa4-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --vfa4-radius: 14px;
  --vfa4-radius-sm: 10px;
  --vfa4-header-h: 58px;
  --vfa4-bottom-h: 62px;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  background: var(--vfa4-bg);
  color: var(--vfa4-text-light);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--vfa4-primary); text-decoration: none; }
a:hover { color: var(--vfa4-accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

main { display: block; padding-bottom: 90px; }

/* ---------------- Header ---------------- */
.vfa4-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--vfa4-header-h);
  background: rgba(14, 22, 33, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vfa4-border);
  z-index: 1000;
  transition: box-shadow .25s ease, background .25s ease;
}
.vfa4-header.vfa4-is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.vfa4-header-inner {
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.vfa4-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--vfa4-text-light);
  font-weight: 700;
}
.vfa4-brand img {
  width: 28px; height: 28px;
  border-radius: 8px;
  object-fit: cover;
}
.vfa4-brand-text { font-size: 1.45rem; line-height: 1; }
.vfa4-brand-text small {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--vfa4-text-muted);
}

.vfa4-header-actions { display: flex; align-items: center; gap: 0.4rem; }
.vfa4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--vfa4-radius-sm);
  padding: 0.7rem 1.1rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  min-height: 36px;
}
.vfa4-btn:hover { transform: translateY(-1px); }
.vfa4-btn-primary {
  background: linear-gradient(135deg, var(--vfa4-accent) 0%, var(--vfa4-accent-2) 100%);
  color: #2a1500;
}
.vfa4-btn-ghost {
  background: transparent;
  color: var(--vfa4-primary);
  border: 1px solid var(--vfa4-primary);
}
.vfa4-btn-block {
  display: flex;
  width: 100%;
  padding: 1.1rem;
  font-size: 1.5rem;
}

.vfa4-menu-toggle {
  background: transparent;
  border: none;
  color: var(--vfa4-primary);
  font-size: 2rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Mobile menu drawer ---------------- */
.vfa4-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}
.vfa4-menu-backdrop.vfa4-is-visible {
  opacity: 1;
  pointer-events: auto;
}
.vfa4-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 78%;
  height: 100vh;
  background: var(--vfa4-bg-soft);
  padding: 2rem 1.4rem;
  transform: translateX(0);
  transition: right .3s ease;
  z-index: 9999;
  overflow-y: auto;
}
.vfa4-mobile-menu.vfa4-is-open { right: 0; }
.vfa4-mobile-menu h3 {
  color: var(--vfa4-primary);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.vfa4-menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.6rem;
  color: var(--vfa4-text-light);
  border-bottom: 1px solid var(--vfa4-border);
  font-size: 1.4rem;
}
.vfa4-menu-link .material-icons,
.vfa4-menu-link i { font-size: 1.8rem; color: var(--vfa4-primary); }
.vfa4-menu-link.vfa4-is-current { color: var(--vfa4-accent); }
.vfa4-menu-close {
  background: transparent;
  border: none;
  color: var(--vfa4-text-muted);
  font-size: 2.2rem;
  position: absolute;
  top: 0.8rem; right: 1rem;
  cursor: pointer;
}

/* ---------------- Carousel ---------------- */
.vfa4-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-top: calc(var(--vfa4-header-h) + 1rem);
  box-shadow: var(--vfa4-shadow);
}
.vfa4-carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.vfa4-carousel-slide {
  min-width: 100%;
  position: relative;
}
.vfa4-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.vfa4-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(14,22,33,.88) 0%, transparent 100%);
  color: var(--vfa4-text-light);
}
.vfa4-carousel-caption strong {
  display: block;
  font-size: 1.5rem;
  color: var(--vfa4-accent);
}
.vfa4-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: var(--vfa4-text-light);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}
.vfa4-carousel-arrow.vfa4-prev { left: 8px; }
.vfa4-carousel-arrow.vfa4-next { right: 8px; }
.vfa4-carousel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  padding: 0.6rem 0;
  background: var(--vfa4-bg-soft);
}
.vfa4-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vfa4-border);
  border: none;
  cursor: pointer;
}
.vfa4-carousel-dot.vfa4-is-active { background: var(--vfa4-accent); }

/* ---------------- Sections ---------------- */
.vfa4-section { padding: 2rem 0; }
.vfa4-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.vfa4-section-title {
  font-size: 1.7rem;
  color: var(--vfa4-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vfa4-section-title i,
.vfa4-section-title .material-icons { font-size: 2rem; }
.vfa4-section-more {
  font-size: 1.2rem;
  color: var(--vfa4-accent);
}

.vfa4-lead {
  background: var(--vfa4-bg-soft);
  border: 1px solid var(--vfa4-border);
  border-radius: var(--vfa4-radius);
  padding: 1.4rem;
  color: var(--vfa4-text-light);
}
.vfa4-lead h1 {
  color: var(--vfa4-accent);
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.vfa4-lead p { font-size: 1.35rem; color: var(--vfa4-text-muted); }

/* ---------------- Filter bar ---------------- */
.vfa4-filter {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  scrollbar-width: none;
}
.vfa4-filter::-webkit-scrollbar { display: none; }
.vfa4-filter-btn {
  flex: 0 0 auto;
  border: 1px solid var(--vfa4-border);
  background: transparent;
  color: var(--vfa4-text-muted);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.vfa4-filter-btn.vfa4-is-active {
  background: var(--vfa4-primary);
  color: #07111b;
  border-color: var(--vfa4-primary);
  font-weight: 700;
}

/* ---------------- Game grid ---------------- */
.vfa4-game-section h2 {
  font-size: 1.5rem;
  color: var(--vfa4-accent);
  margin: 1.4rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vfa4-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.vfa4-game-card {
  background: var(--vfa4-bg-card);
  border: 1px solid var(--vfa4-border);
  border-radius: var(--vfa4-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
  display: block;
}
.vfa4-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--vfa4-primary);
}
.vfa4-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0a1320;
}
.vfa4-game-name {
  padding: 0.45rem 0.5rem;
  font-size: 1.1rem;
  color: var(--vfa4-text-light);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ---------------- Info cards ---------------- */
.vfa4-card {
  background: var(--vfa4-bg-card);
  border: 1px solid var(--vfa4-border);
  border-radius: var(--vfa4-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.vfa4-card h3 {
  color: var(--vfa4-primary);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.vfa4-card p { color: var(--vfa4-text-muted); font-size: 1.3rem; }
.vfa4-card a { font-weight: 700; }

.vfa4-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.vfa4-grid-2 .vfa4-mini {
  background: var(--vfa4-bg-soft);
  border-radius: var(--vfa4-radius-sm);
  padding: 1rem;
  text-align: center;
}
.vfa4-mini i,
.vfa4-mini .material-icons { color: var(--vfa4-accent); font-size: 2.2rem; }
.vfa4-mini strong { display: block; color: var(--vfa4-text-light); margin-top: 0.4rem; font-size: 1.2rem; }
.vfa4-mini span { color: var(--vfa4-text-muted); font-size: 1.1rem; }

/* ---------------- Steps ---------------- */
.vfa4-steps { counter-reset: step; }
.vfa4-step {
  position: relative;
  padding: 0.8rem 0 0.8rem 3.2rem;
  border-left: 2px dashed var(--vfa4-border);
  margin-left: 1rem;
}
.vfa4-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.4rem;
  top: 0.6rem;
  width: 2.6rem; height: 2.6rem;
  background: var(--vfa4-primary);
  color: #07111b;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vfa4-step strong { color: var(--vfa4-accent); }

/* ---------------- Testimonials ---------------- */
.vfa4-testimonials { display: grid; gap: 0.8rem; }
.vfa4-testimonial {
  background: var(--vfa4-bg-card);
  border-left: 4px solid var(--vfa4-accent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--vfa4-radius-sm) var(--vfa4-radius-sm) 0;
}
.vfa4-testimonial p { color: var(--vfa4-text-light); font-size: 1.25rem; font-style: italic; }
.vfa4-testimonial small { color: var(--vfa4-text-muted); display: block; margin-top: 0.5rem; }

/* ---------------- Payment row ---------------- */
.vfa4-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.vfa4-pay-chip {
  background: var(--vfa4-bg-soft);
  border: 1px solid var(--vfa4-border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 1.15rem;
  color: var(--vfa4-text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.vfa4-pay-chip i,
.vfa4-pay-chip .material-icons { color: var(--vfa4-primary); }

/* ---------------- Winners ticker ---------------- */
.vfa4-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--vfa4-border);
  font-size: 1.2rem;
}
.vfa4-winner:last-child { border-bottom: none; }
.vfa4-winner strong { color: var(--vfa4-accent); }
.vfa4-winner small { color: var(--vfa4-text-muted); }

/* ---------------- CTA banner ---------------- */
.vfa4-cta {
  background: linear-gradient(135deg, #1b2c43 0%, #0E1621 100%);
  border: 1px solid var(--vfa4-primary);
  border-radius: var(--vfa4-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.4rem 0;
}
.vfa4-cta h3 { color: var(--vfa4-accent); font-size: 1.6rem; margin-bottom: 0.6rem; }
.vfa4-cta p { color: var(--vfa4-text-light); font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------------- Footer ---------------- */
.vfa4-footer {
  background: #07111b;
  padding: 2.4rem 1.2rem 7rem;
  border-top: 1px solid var(--vfa4-border);
  color: var(--vfa4-text-muted);
  font-size: 1.2rem;
}
.vfa4-footer-inner { max-width: 430px; margin: 0 auto; }
.vfa4-footer h4 {
  color: var(--vfa4-primary);
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vfa4-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  margin: 0.5rem 0;
}
.vfa4-footer-links a { color: var(--vfa4-text-light); font-size: 1.2rem; }
.vfa4-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}
.vfa4-footer-promos .vfa4-btn { flex: 1 1 45%; font-size: 1.2rem; padding: 0.7rem; }
.vfa4-footer-copy {
  text-align: center;
  border-top: 1px solid var(--vfa4-border);
  padding-top: 1rem;
  margin-top: 1rem;
  color: var(--vfa4-text-muted);
  font-size: 1.1rem;
}

/* ---------------- Bottom navigation ---------------- */
.vfa4-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--vfa4-bottom-h);
  background: rgba(7, 17, 27, 0.98);
  border-top: 1px solid var(--vfa4-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.vfa4-bottom-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--vfa4-text-muted);
  font-size: 1rem;
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
  transition: color .2s ease;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  background: transparent;
  border: none;
}
.vfa4-bottom-nav-link i,
.vfa4-bottom-nav-link .material-icons {
  font-size: 2.2rem;
  transition: transform .2s ease, color .2s ease;
}
.vfa4-bottom-nav-link:hover {
  color: var(--vfa4-primary);
}
.vfa4-bottom-nav-link:hover i,
.vfa4-bottom-nav-link:hover .material-icons {
  transform: scale(1.12);
}
.vfa4-bottom-nav-link.vfa4-is-current {
  color: var(--vfa4-accent);
}
.vfa4-bottom-nav-link.vfa4-is-current::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%; right: 30%;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: var(--vfa4-accent);
}
.vfa4-bottom-nav-badge {
  position: absolute;
  top: 4px; right: 18%;
  background: var(--vfa4-accent-2);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------------- Back to top ---------------- */
#vfa4-back-top {
  position: fixed;
  bottom: calc(var(--vfa4-bottom-h) + 14px);
  right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--vfa4-primary);
  color: #07111b;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
}
#vfa4-back-top.vfa4-is-visible {
  opacity: 1;
  pointer-events: auto;
}
#vfa4-back-top:hover { transform: translateY(-2px); }

/* ---------------- Utility ---------------- */
.vfa4-text-center { text-align: center; }
.vfa4-mt-1 { margin-top: 0.6rem; }
.vfa4-mt-2 { margin-top: 1.2rem; }
.vfa4-mb-2 { margin-bottom: 1.2rem; }
.vfa4-promo-text {
  color: var(--vfa4-accent);
  font-weight: 700;
}
.vfa4-pill {
  display: inline-block;
  background: rgba(175,238,238,0.12);
  color: var(--vfa4-primary);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0.4rem;
}

/* ---------------- Desktop ---------------- */
@media (min-width: 769px) {
  body { background: linear-gradient(180deg, #0a1422 0%, #0E1621 100%); }
  .vfa4-container { max-width: 900px; padding: 0 2rem; }
  .vfa4-header-inner { max-width: 900px; }
  .vfa4-game-grid { grid-template-columns: repeat(6, 1fr); }
  .vfa4-grid-2 { grid-template-columns: repeat(4, 1fr); }
  .vfa4-bottom-nav { display: none; }
  main { padding-bottom: 40px; }
  .vfa4-footer { padding-bottom: 2.4rem; }
  .vfa4-carousel-slide img { height: 340px; }
}
