/* =============================================================
   Tongits Go Offline - style.css
   All custom classes use the "wbf54-" prefix.
   Root font-size 62.5% => 1rem = 10px for easy rem math.
   Palette:
     #0C0C0C  near-black background
     #0000FF  deep brand blue
     #1E90FF  dodger blue (primary accent)
     #DB7093  pale violet red (secondary accent)
     #F0F8FF  alice blue (text / surfaces)
   ============================================================= */
:root {
  --wbf54-primary: #1E90FF;
  --wbf54-secondary: #DB7093;
  --wbf54-blue-deep: #0000FF;
  --wbf54-bg: #0C0C0C;
  --wbf54-bg-soft: #14181f;
  --wbf54-surface: #1b2029;
  --wbf54-text: #F0F8FF;
  --wbf54-text-muted: #b9c4d6;
  --wbf54-gold: #ffd479;
  --wbf54-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --wbf54-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  background: var(--wbf54-bg);
  color: var(--wbf54-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

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

a { color: var(--wbf54-primary); text-decoration: none; }

h1, h2, h3, h4 { margin: 0 0 .8rem; line-height: 1.3; font-weight: 700; }

p { margin: 0 0 1rem; color: var(--wbf54-text-muted); }

/* ---------- Layout helpers ---------- */
.wbf54-container { width: 100%; padding: 0 14px; }
.wbf54-wrapper { max-width: 430px; margin: 0 auto; }
.wbf54-section { padding: 26px 14px; }
.wbf54-grid { display: grid; gap: 12px; }

/* ---------- Header ---------- */
.wbf54-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: linear-gradient(120deg, #060d1c 0%, #0C0C0C 55%, #0a1a3a 100%);
  border-bottom: 2px solid var(--wbf54-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .55);
}
.wbf54-brand { display: flex; align-items: center; gap: 8px; color: var(--wbf54-text); }
.wbf54-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, var(--wbf54-primary), var(--wbf54-blue-deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--wbf54-text); font-size: 1.6rem;
}
.wbf54-brand-text { font-weight: 800; font-size: 1.45rem; letter-spacing: .3px; }
.wbf54-brand-text span { color: var(--wbf54-primary); }

.wbf54-header-actions { display: flex; align-items: center; gap: 6px; }
.wbf54-btn {
  border: none; cursor: pointer; border-radius: 30px;
  font-size: 1.35rem; font-weight: 700; padding: 8px 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wbf54-btn:active { transform: scale(.94); }
.wbf54-btn-register {
  background: linear-gradient(135deg, var(--wbf54-primary), var(--wbf54-blue-deep));
  color: #fff; box-shadow: 0 4px 14px rgba(30, 144, 255, .55);
}
.wbf54-btn-login {
  background: linear-gradient(135deg, var(--wbf54-secondary), #812e52);
  color: #fff; box-shadow: 0 4px 14px rgba(219, 112, 147, .55);
}
.wbf54-menu-btn {
  background: transparent; color: var(--wbf54-text);
  font-size: 1.9rem; padding: 6px 8px;
}

/* ---------- Mobile slide menu ---------- */
.wbf54-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; z-index: 9998; transition: opacity .25s;
}
.wbf54-backdrop-show { opacity: 1; visibility: visible; }
.wbf54-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; height: 100%;
  background: var(--wbf54-bg-soft); z-index: 9999;
  padding: 22px 18px; transform: translateX(0);
  transition: right .3s ease; overflow-y: auto;
}
.wbf54-menu-open { right: 0; }
.wbf54-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.wbf54-menu-title { color: var(--wbf54-primary); font-size: 1.8rem; font-weight: 800; }
.wbf54-menu-close { background: transparent; color: var(--wbf54-text); font-size: 2rem; border: none; }
.wbf54-menu-link {
  display: block; padding: 12px 12px; color: var(--wbf54-text);
  border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.45rem;
}
.wbf54-menu-link:active { background: rgba(30, 144, 255, .15); }

/* ---------- Hero / Carousel ---------- */
.wbf54-hero { position: relative; padding: 14px; }
.wbf54-carousel {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--wbf54-shadow); background: #050811;
}
.wbf54-carousel-track { position: relative; height: 200px; }
.wbf54-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  display: flex; align-items: flex-end;
}
.wbf54-slide-active { opacity: 1; }
.wbf54-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.wbf54-carousel-cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  padding: 20px 12px 10px; color: var(--wbf54-text);
}
.wbf54-carousel-cap strong { color: var(--wbf54-gold); display: block; font-size: 1.5rem; }
.wbf54-carousel-cap span { font-size: 1.25rem; color: var(--wbf54-text-muted); }
.wbf54-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  z-index: 4;
}
.wbf54-carousel-prev { left: 8px; }
.wbf54-carousel-next { right: 8px; }
.wbf54-carousel-dots {
  position: absolute; bottom: 6px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 4;
}
.wbf54-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); cursor: pointer;
}
.wbf54-dot-active { background: var(--wbf54-primary); width: 18px; border-radius: 4px; }

/* ---------- Promo hero bar ---------- */
.wbf54-hero-cta {
  background: linear-gradient(120deg, var(--wbf54-blue-deep), var(--wbf54-primary));
  border-radius: var(--wbf54-radius); padding: 16px; margin: 14px;
  text-align: center; box-shadow: var(--wbf54-shadow);
}
.wbf54-hero-cta h1 { color: #fff; font-size: 1.8rem; }
.wbf54-hero-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 12px; }
.wbf54-hero-cta .wbf54-btn { background: var(--wbf54-gold); color: #1a1a1a; padding: 10px 22px; }

/* ---------- Headings ---------- */
.wbf54-section-head { margin: 22px 0 14px; }
.wbf54-section-head h2 {
  font-size: 1.7rem; color: var(--wbf54-text);
  border-left: 4px solid var(--wbf54-primary); padding-left: 10px;
}
.wbf54-section-head p { font-size: 1.3rem; margin-top: 4px; }
.wbf54-eyebrow { color: var(--wbf54-secondary); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Category quick filter ---------- */
.wbf54-cat-bar { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px; }
.wbf54-cat-chip {
  background: var(--wbf54-surface); color: var(--wbf54-text);
  border: 1px solid rgba(30, 144, 255, .35); padding: 6px 12px;
  border-radius: 20px; font-size: 1.25rem; white-space: nowrap; cursor: pointer;
}
.wbf54-cat-chip:active { background: var(--wbf54-primary); color: #fff; }

/* ---------- Game grid ---------- */
.wbf54-cat-block { padding: 18px 14px; border-top: 1px solid rgba(255, 255, 255, .05); transition: background .3s; }
.wbf54-cat-spot { background: rgba(30, 144, 255, .08); }
.wbf54-cat-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.wbf54-cat-title h3 { font-size: 1.5rem; color: var(--wbf54-text); }
.wbf54-cat-title .wbf54-icon { color: var(--wbf54-primary); font-size: 1.8rem; }
.wbf54-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.wbf54-game-card {
  background: var(--wbf54-surface); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06); cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.wbf54-game-card:active { transform: scale(.96); box-shadow: 0 4px 14px rgba(30, 144, 255, .4); }
.wbf54-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.wbf54-game-card .wbf54-game-name {
  font-size: 1.15rem; padding: 6px 8px; color: var(--wbf54-text);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wbf54-game-tag {
  position: relative; display: inline-block; padding: 2px 8px;
  background: var(--wbf54-secondary); color: #fff; font-size: 1rem;
  border-radius: 6px; margin: 6px 8px;
}

/* ---------- Featured / cards ---------- */
.wbf54-features { display: grid; gap: 12px; padding: 14px; }
.wbf54-feature-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--wbf54-surface); padding: 14px; border-radius: 12px;
  border-left: 3px solid var(--wbf54-primary);
}
.wbf54-feature-card .wbf54-ficon {
  flex: 0 0 40px; height: 40px; border-radius: 10px;
  background: rgba(30, 144, 255, .15); color: var(--wbf54-primary);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.wbf54-feature-card h4 { font-size: 1.4rem; color: var(--wbf54-text); margin-bottom: 4px; }
.wbf54-feature-card p { margin: 0; font-size: 1.25rem; }

/* ---------- RTP / data strips ---------- */
.wbf54-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.wbf54-rtp-card {
  background: var(--wbf54-surface); padding: 12px; border-radius: 12px; text-align: center;
}
.wbf54-rtp-card .wbf54-rtp-val { color: var(--wbf54-gold); font-size: 2.2rem; font-weight: 800; }
.wbf54-rtp-card .wbf54-rtp-name { color: var(--wbf54-text-muted); font-size: 1.2rem; }

/* ---------- Testimonials ---------- */
.wbf54-testi { display: grid; gap: 10px; padding: 14px; }
.wbf54-testi-card {
  background: var(--wbf54-surface); padding: 14px; border-radius: 12px;
  border-top: 3px solid var(--wbf54-secondary);
}
.wbf54-testi-card .wbf54-stars { color: var(--wbf54-gold); margin-bottom: 6px; }
.wbf54-testi-card p { font-style: italic; color: var(--wbf54-text); }
.wbf54-testi-name { color: var(--wbf54-primary); font-weight: 700; font-size: 1.25rem; }

/* ---------- Winners ---------- */
.wbf54-winner-board { background: var(--wbf54-surface); border-radius: 12px; padding: 12px; margin: 14px; }
.wbf54-winner-group { display: none; }
.wbf54-winner-show { display: block; }
.wbf54-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: 1.25rem;
}
.wbf54-winner-row:last-child { border-bottom: none; }
.wbf54-winner-name { color: var(--wbf54-text); }
.wbf54-winner-amt { color: var(--wbf54-gold); font-weight: 700; }

/* ---------- Payments ---------- */
.wbf54-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.wbf54-pay {
  background: var(--wbf54-surface); border-radius: 10px; padding: 10px 6px;
  text-align: center; color: var(--wbf54-text-muted); font-size: 1.15rem;
}
.wbf54-pay .wbf54-icon { font-size: 1.9rem; color: var(--wbf54-primary); display: block; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.wbf54-faq { padding: 14px; }
.wbf54-faq-item {
  background: var(--wbf54-surface); border-radius: 10px; margin-bottom: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
}
.wbf54-faq-head {
  padding: 12px 14px; cursor: pointer; font-weight: 700; color: var(--wbf54-text);
  display: flex; justify-content: space-between; align-items: center; font-size: 1.3rem;
}
.wbf54-faq-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 14px; }
.wbf54-faq-open .wbf54-faq-body { max-height: 320px; padding: 0 14px 12px; }
.wbf54-faq-open .wbf54-faq-head { color: var(--wbf54-primary); }

/* ---------- Achievements ---------- */
.wbf54-ach { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.wbf54-ach-card {
  background: linear-gradient(135deg, rgba(30, 144, 255, .15), rgba(219, 112, 147, .12));
  border-radius: 12px; padding: 12px; text-align: center;
}
.wbf54-ach-card .wbf54-icon { font-size: 2.2rem; color: var(--wbf54-gold); }
.wbf54-ach-card h4 { color: var(--wbf54-text); font-size: 1.3rem; margin-top: 6px; }

/* ---------- Download CTA ---------- */
.wbf54-download {
  margin: 14px; padding: 18px; border-radius: var(--wbf54-radius);
  background: linear-gradient(120deg, var(--wbf54-secondary), #6e2440);
  text-align: center;
}
.wbf54-download h3 { color: #fff; font-size: 1.6rem; }
.wbf54-download p { color: rgba(255, 255, 255, .9); }
.wbf54-download .wbf54-btn { background: #fff; color: #6e2440; padding: 10px 24px; }

/* ---------- Footer ---------- */
.wbf54-footer { background: #06090f; padding: 24px 14px 110px; color: var(--wbf54-text-muted); }
.wbf54-footer h4 { color: var(--wbf54-text); font-size: 1.35rem; margin-bottom: 8px; }
.wbf54-footer a { color: var(--wbf54-text-muted); display: block; padding: 4px 0; font-size: 1.2rem; }
.wbf54-footer a:hover { color: var(--wbf54-primary); }
.wbf54-footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.wbf54-footer-promo { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.wbf54-footer-promo button { font-size: 1.2rem; padding: 6px 12px; }
.wbf54-copy { text-align: center; font-size: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; }

/* ---------- Bottom navigation (mobile only) ---------- */
.wbf54-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 64px;
  background: linear-gradient(180deg, #0a1a3a, #050811);
  border-top: 2px solid var(--wbf54-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.wbf54-bottom-nav-btn {
  background: transparent; border: none; color: var(--wbf54-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; flex: 1;
  font-size: 1.05rem; gap: 2px;
}
.wbf54-bottom-nav-btn .wbf54-icon { font-size: 22px; }
.wbf54-bottom-nav-btn:active { transform: scale(.9); color: var(--wbf54-gold); }
.wbf54-nav-active { color: var(--wbf54-primary); }

/* ---------- Back-to-top & toast ---------- */
.wbf54-back-top {
  position: fixed; right: 16px; bottom: 80px; z-index: 1100;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--wbf54-primary); color: #fff; border: none;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--wbf54-shadow);
}
.wbf54-back-show { display: flex; }
.wbf54-toast {
  position: fixed; left: 14px; right: 14px; bottom: 80px; z-index: 1200;
  background: linear-gradient(120deg, var(--wbf54-blue-deep), var(--wbf54-primary));
  color: #fff; padding: 12px 14px; border-radius: 12px; font-size: 1.25rem;
  opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.wbf54-toast-show { opacity: 1; transform: translateY(0); }

/* ---------- Long-form SEO article ---------- */
.wbf54-article { padding: 18px 14px; }
.wbf54-article h2 { color: var(--wbf54-text); font-size: 1.55rem; margin: 18px 0 8px; }
.wbf54-article h3 { color: var(--wbf54-primary); font-size: 1.35rem; margin: 14px 0 6px; }
.wbf54-article p { font-size: 1.32rem; }
.wbf54-article ul { padding-left: 18px; color: var(--wbf54-text-muted); }
.wbf54-article li { margin-bottom: 4px; }
.wbf54-anchor-link { color: var(--wbf54-primary); text-decoration: underline; }

/* ---------- Desktop behavior ---------- */
@media (min-width: 769px) {
  .wbf54-bottom-nav { display: none; }
  body { max-width: 980px; }
  .wbf54-game-grid { grid-template-columns: repeat(5, 1fr); }
  .wbf54-pay-grid { grid-template-columns: repeat(6, 1fr); }
  .wbf54-rtp-grid { grid-template-columns: repeat(4, 1fr); }
  .wbf54-footer { padding-bottom: 30px; }
}
@media (max-width: 768px) {
  .wbf54-main { padding-bottom: 80px; }
}
