/* xxgame theme - mobile-first casino UI (prefix: wf4bf-) */
html { font-size: 62.5%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
:root {
  --wf4bf-bg: #1A1A2E;
  --wf4bf-primary: #ADFF2F;
  --wf4bf-accent: #CD853F;
  --wf4bf-warm: #FFB347;
  --wf4bf-text: #E0E0E0;
  --wf4bf-pink: #FF69B4;
  --wf4bf-card: #22223A;
  --wf4bf-border: #2E2E4A;
  --wf4bf-muted: #A0A0B8;
  --wf4bf-dark: #12121F;
  --wf4bf-radius: 1rem;
  --wf4bf-shadow: 0 0.4rem 1.6rem rgba(0,0,0,.35);
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--wf4bf-bg);
  color: var(--wf4bf-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--wf4bf-primary); text-decoration: none; font-weight: 600; }
a:hover { color: var(--wf4bf-warm); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* Layout */
.wf4bf-wrapper { width: 100%; max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: var(--wf4bf-bg); }
.wf4bf-container { width: 100%; padding: 0 1.2rem; }
.wf4bf-main { padding-top: 5.6rem; padding-bottom: 8rem; }
@media (min-width: 769px) {
  .wf4bf-main { padding-bottom: 3rem; }
}

/* Header */
.wf4bf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #12121F 0%, rgba(26,26,46,.97) 100%);
  border-bottom: 1px solid var(--wf4bf-border);
  height: 5.6rem;
}
.wf4bf-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: .8rem;
}
.wf4bf-logo {
  display: flex; align-items: center; gap: .6rem; min-width: 0; flex: 1;
  color: var(--wf4bf-primary); font-weight: 700; font-size: 1.5rem;
}
.wf4bf-logo img { width: 2.8rem; height: 2.8rem; border-radius: .6rem; object-fit: cover; }
.wf4bf-logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf4bf-header-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.wf4bf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 3.6rem; min-width: 4.4rem; padding: .6rem 1.2rem;
  border-radius: 2rem; font-size: 1.2rem; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.wf4bf-btn:active { transform: scale(.96); }
.wf4bf-btn-register {
  background: linear-gradient(135deg, var(--wf4bf-primary), #8FD91A);
  color: #1A1A2E; box-shadow: 0 0 .8rem rgba(173,255,47,.35);
}
.wf4bf-btn-login {
  background: transparent; color: var(--wf4bf-primary);
  border: 1.5px solid var(--wf4bf-primary);
}
.wf4bf-btn-promo {
  background: linear-gradient(135deg, var(--wf4bf-pink), #FF1493);
  color: #fff; box-shadow: 0 0 .8rem rgba(255,105,180,.3);
}
.wf4bf-btn-warm {
  background: linear-gradient(135deg, var(--wf4bf-warm), var(--wf4bf-accent));
  color: #1A1A2E;
}
.wf4bf-btn-block { width: 100%; margin: .8rem 0; }
.wf4bf-menu-toggle {
  width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center;
  color: var(--wf4bf-text); font-size: 2.2rem; border-radius: .8rem;
}
.wf4bf-menu-toggle:hover { background: var(--wf4bf-card); }

/* Mobile menu */
.wf4bf-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.wf4bf-overlay-show { opacity: 1; visibility: visible; }
.wf4bf-menu {
  position: fixed; top: 0; right: 0; width: 78%; max-width: 30rem; height: 100%;
  background: var(--wf4bf-dark); z-index: 9999; padding: 2rem 1.6rem;
  transform: translateX(100%); transition: transform .28s ease;
  overflow-y: auto; border-left: 1px solid var(--wf4bf-border);
}
.wf4bf-menu-open { transform: translateX(0); }
.wf4bf-menu-title {
  color: var(--wf4bf-primary); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--wf4bf-border);
}
.wf4bf-menu a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1rem;
  color: var(--wf4bf-text); font-size: 1.4rem; border-radius: .8rem;
  min-height: 4.4rem; transition: background .15s;
}
.wf4bf-menu a:hover, .wf4bf-menu a:active { background: var(--wf4bf-card); color: var(--wf4bf-primary); }
.wf4bf-menu a i, .wf4bf-menu a .material-icons { font-size: 2rem; width: 2.4rem; text-align: center; color: var(--wf4bf-warm); }

/* Carousel */
.wf4bf-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem; margin-bottom: 1.6rem;
  aspect-ratio: 16/9; background: var(--wf4bf-card);
}
.wf4bf-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.wf4bf-slide-active { opacity: 1; z-index: 1; }
.wf4bf-slide img { width: 100%; height: 100%; object-fit: cover; }
.wf4bf-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: rgba(26,26,46,.65); color: var(--wf4bf-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.wf4bf-carousel-prev { left: .8rem; }
.wf4bf-carousel-next { right: .8rem; }
.wf4bf-dots {
  position: absolute; bottom: .8rem; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: .6rem;
}
.wf4bf-dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: rgba(224,224,224,.4); transition: background .2s, transform .2s;
}
.wf4bf-dot-active { background: var(--wf4bf-primary); transform: scale(1.25); }

/* Sections */
.wf4bf-section { padding: 1.6rem 0; }
.wf4bf-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wf4bf-primary);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem;
  line-height: 1.4;
}
.wf4bf-section-title .material-icons,
.wf4bf-section-title i { font-size: 2.2rem; color: var(--wf4bf-warm); }
.wf4bf-h1 {
  font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.35;
  margin: 1.2rem 0; text-align: center;
}
.wf4bf-h1 span { color: var(--wf4bf-primary); }
.wf4bf-lead {
  font-size: 1.35rem; color: var(--wf4bf-muted); line-height: 1.55;
  margin-bottom: 1.2rem; text-align: center;
}
.wf4bf-text { font-size: 1.35rem; line-height: 1.6; color: var(--wf4bf-text); margin-bottom: 1rem; }
.wf4bf-text a { color: var(--wf4bf-primary); font-weight: 700; }

/* Game grid */
.wf4bf-cat-label {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--wf4bf-card); color: var(--wf4bf-warm);
  padding: .4rem 1rem; border-radius: 2rem; font-size: 1.2rem; font-weight: 700;
  margin: 1.2rem 0 .8rem; border: 1px solid var(--wf4bf-border);
}
.wf4bf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  margin-bottom: 1.2rem;
}
.wf4bf-game {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  transition: transform .15s ease;
}
.wf4bf-game:active { transform: scale(.94); }
.wf4bf-game img {
  width: 100%; aspect-ratio: 1; border-radius: 1rem; object-fit: cover;
  border: 2px solid var(--wf4bf-border); background: var(--wf4bf-card);
  box-shadow: var(--wf4bf-shadow);
}
.wf4bf-game:hover img { border-color: var(--wf4bf-primary); }
.wf4bf-game span {
  font-size: 1rem; line-height: 1.25; text-align: center; margin-top: .4rem;
  color: var(--wf4bf-text); max-width: 100%; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  min-height: 2.5rem;
}

/* Cards / modules */
.wf4bf-card {
  background: var(--wf4bf-card); border: 1px solid var(--wf4bf-border);
  border-radius: var(--wf4bf-radius); padding: 1.4rem; margin-bottom: 1.2rem;
  box-shadow: var(--wf4bf-shadow);
}
.wf4bf-card h3 {
  font-size: 1.5rem; color: var(--wf4bf-warm); margin-bottom: .8rem;
  display: flex; align-items: center; gap: .5rem; line-height: 1.4;
}
.wf4bf-feature-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .8rem 0; border-bottom: 1px solid var(--wf4bf-border);
  font-size: 1.3rem; line-height: 1.5; color: var(--wf4bf-text);
}
.wf4bf-feature-list li:last-child { border-bottom: none; }
.wf4bf-feature-list i, .wf4bf-feature-list .material-icons {
  color: var(--wf4bf-primary); font-size: 1.8rem; flex-shrink: 0; margin-top: .1rem;
}

/* FAQ */
.wf4bf-faq-item {
  background: var(--wf4bf-card); border: 1px solid var(--wf4bf-border);
  border-radius: .8rem; margin-bottom: .8rem; overflow: hidden;
}
.wf4bf-faq-q {
  width: 100%; text-align: left; padding: 1.2rem 1.4rem;
  font-size: 1.35rem; font-weight: 700; color: var(--wf4bf-text);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 4.4rem; line-height: 1.4;
}
.wf4bf-faq-q i { color: var(--wf4bf-primary); transition: transform .2s; }
.wf4bf-faq-open .wf4bf-faq-q i { transform: rotate(180deg); }
.wf4bf-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  padding: 0 1.4rem; font-size: 1.3rem; line-height: 1.55; color: var(--wf4bf-muted);
}
.wf4bf-faq-open .wf4bf-faq-a { max-height: 30rem; padding-bottom: 1.2rem; }

/* Steps */
.wf4bf-steps { counter-reset: step; }
.wf4bf-step {
  display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start;
}
.wf4bf-step-num {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--wf4bf-primary), #8FD91A);
  color: #1A1A2E; font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.wf4bf-step-body h3 { font-size: 1.4rem; color: var(--wf4bf-warm); margin-bottom: .3rem; }
.wf4bf-step-body p { font-size: 1.3rem; color: var(--wf4bf-muted); line-height: 1.5; }

/* Promo banner / CTA */
.wf4bf-cta {
  background: linear-gradient(135deg, #2A1A3E 0%, #1A1A2E 50%, #1A2E1A 100%);
  border: 1px solid var(--wf4bf-primary); border-radius: 1.2rem;
  padding: 2rem 1.4rem; text-align: center; margin: 1.6rem 0;
}
.wf4bf-cta h2 { font-size: 1.8rem; color: var(--wf4bf-primary); margin-bottom: .8rem; line-height: 1.35; }
.wf4bf-cta p { font-size: 1.3rem; color: var(--wf4bf-muted); margin-bottom: 1.2rem; line-height: 1.5; }

/* Payment / winners / chips */
.wf4bf-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.wf4bf-chip {
  background: var(--wf4bf-card); border: 1px solid var(--wf4bf-border);
  padding: .5rem 1rem; border-radius: 2rem; font-size: 1.15rem; color: var(--wf4bf-text);
}
.wf4bf-chip i { color: var(--wf4bf-primary); margin-right: .3rem; }
.wf4bf-winner {
  display: flex; align-items: center; gap: 1rem; padding: .8rem 0;
  border-bottom: 1px solid var(--wf4bf-border); font-size: 1.25rem;
}
.wf4bf-winner:last-child { border-bottom: none; }
.wf4bf-winner-amt { color: var(--wf4bf-primary); font-weight: 700; margin-left: auto; }

/* Footer */
.wf4bf-footer {
  background: var(--wf4bf-dark); border-top: 1px solid var(--wf4bf-border);
  padding: 2rem 1.2rem 2rem; margin-top: 1rem;
}
.wf4bf-footer-brand { font-size: 1.3rem; color: var(--wf4bf-muted); line-height: 1.55; margin-bottom: 1.2rem; }
.wf4bf-footer-links {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-bottom: 1.4rem;
}
.wf4bf-footer-links a { font-size: 1.2rem; color: var(--wf4bf-text); min-height: 3.2rem; display: inline-flex; align-items: center; }
.wf4bf-footer-links a:hover { color: var(--wf4bf-primary); }
.wf4bf-footer-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.wf4bf-footer-btns .wf4bf-btn { font-size: 1.1rem; padding: .5rem 1rem; min-height: 3.4rem; }
.wf4bf-copyright { font-size: 1.1rem; color: var(--wf4bf-muted); text-align: center; padding-top: 1rem; border-top: 1px solid var(--wf4bf-border); }

/* Bottom nav */
.wf4bf-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 6rem; background: linear-gradient(0deg, #0D0D18 0%, #1A1A2E 100%);
  border-top: 1px solid var(--wf4bf-primary);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -0.4rem 1.6rem rgba(173,255,47,.12);
  max-width: 430px; margin: 0 auto;
}
.wf4bf-bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 6rem; gap: .2rem;
  color: var(--wf4bf-muted); font-size: 1rem; font-weight: 600;
  transition: color .15s, transform .15s;
}
.wf4bf-bnav-item i, .wf4bf-bnav-item .material-icons,
.wf4bf-bnav-item ion-icon { font-size: 2.2rem; line-height: 1; }
.wf4bf-bnav-item:active { transform: scale(.9); }
.wf4bf-bnav-item:hover, .wf4bf-bnav-active { color: var(--wf4bf-primary); }
.wf4bf-bnav-active { text-shadow: 0 0 .8rem rgba(173,255,47,.4); }
@media (min-width: 769px) {
  .wf4bf-bnav { display: none; }
}

/* Desktop center */
@media (min-width: 431px) {
  .wf4bf-wrapper { box-shadow: 0 0 4rem rgba(0,0,0,.5); }
  .wf4bf-header { background: rgba(18,18,31,.98); }
  .wf4bf-header-inner, .wf4bf-bnav { left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; right: auto; }
  .wf4bf-bnav { transform: translateX(-50%); }
}

/* Utilities */
.wf4bf-mt { margin-top: 1.2rem; }
.wf4bf-mb { margin-bottom: 1.2rem; }
.wf4bf-center { text-align: center; }
.wf4bf-bold { font-weight: 700; color: var(--wf4bf-primary); }
.wf4bf-pink { color: var(--wf4bf-pink); }
.wf4bf-warm-text { color: var(--wf4bf-warm); }
.wf4bf-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
