/* ============================================================
 * bk2.click - shared stylesheet
 * Prefix: v5ff
 * All custom classes / CSS variables use the v5ff- prefix.
 * Palette: #212F3D bg / #F0E68C brand / #E0FFFF text /
 *          #BC8F8F warm accent / #ADD8E6 cool accent
 * Canvas: 320-430px mobile-first; wide screens keep mobile canvas.
 * ========================================================== */

:root {
  --v5ff-bg: #212F3D;
  --v5ff-bg-2: #18222e;
  --v5ff-panel: #243447;
  --v5ff-panel-2: #2c4055;
  --v5ff-line: #3a516a;
  --v5ff-text: #E0FFFF;
  --v5ff-muted: #9fb6c6;
  --v5ff-brand: #F0E68C;
  --v5ff-brand-2: #f7e99a;
  --v5ff-warm: #BC8F8F;
  --v5ff-cool: #ADD8E6;
  --v5ff-success: #8fd3a6;
  --v5ff-danger: #e08a8a;
  --v5ff-radius: 14px;
  --v5ff-radius-sm: 10px;
  --v5ff-gap: 12px;
  --v5ff-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  --v5ff-header-h: 58px;
  --v5ff-bottom-h: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--v5ff-bg);
  color: var(--v5ff-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  padding-bottom: calc(var(--v5ff-bottom-h) + 24px);
  background:
    radial-gradient(1100px 480px at 50% -120px, rgba(240, 230, 140, 0.10), transparent 60%),
    linear-gradient(180deg, #1d2a37 0%, #1a2531 100%);
  overflow-x: hidden;
}

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

a {
  color: var(--v5ff-cool);
  text-decoration: none;
}

a:hover { color: var(--v5ff-brand); }

h1, h2, h3, h4 { color: var(--v5ff-text); margin: 0 0 8px; line-height: 1.32; font-weight: 700; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; color: var(--v5ff-brand); }

p { margin: 0 0 10px; color: var(--v5ff-muted); }

/* ============================================================
 * Top action bar
 * ========================================================== */
.v5ff-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--v5ff-header-h);
  background: linear-gradient(180deg, rgba(33, 47, 61, 0.98), rgba(33, 47, 61, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v5ff-line);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.v5ff-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.v5ff-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--v5ff-panel);
  border: 1px solid var(--v5ff-brand);
  box-shadow: 0 0 0 2px rgba(240, 230, 140, 0.18);
  flex: 0 0 auto;
}

.v5ff-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.v5ff-brand-name {
  color: var(--v5ff-brand);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.4px;
}
.v5ff-brand-tag { color: var(--v5ff-muted); font-size: 11px; }

.v5ff-actions { display: flex; align-items: center; gap: 6px; }

.v5ff-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  min-height: 36px;
  min-width: 44px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-family: inherit;
}

.v5ff-btn-login {
  background: transparent;
  color: var(--v5ff-text);
  border: 1px solid var(--v5ff-line);
}

.v5ff-btn-login:hover { color: var(--v5ff-brand); border-color: var(--v5ff-brand); }

.v5ff-btn-register {
  background: linear-gradient(135deg, var(--v5ff-brand), #e6cf6a);
  color: #2a220c;
  box-shadow: 0 4px 14px rgba(240, 230, 140, 0.28);
}

.v5ff-btn-register:hover { transform: translateY(-1px); }

.v5ff-btn:active { transform: translateY(1px); }

.v5ff-icon-btn {
  background: transparent;
  border: 1px solid var(--v5ff-line);
  color: var(--v5ff-text);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.v5ff-icon-btn:hover { border-color: var(--v5ff-brand); transform: translateY(-1px); }
.v5ff-icon-btn svg { width: 20px; height: 20px; display: block; }

/* ============================================================
 * Expandable menu panel
 * ========================================================== */
.v5ff-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 26, 0.55);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.v5ff-overlay.v5ff-overlay-show { opacity: 1; pointer-events: auto; }

#web4e5-menu-panel.v5ff-menu-open ~ .v5ff-overlay,
.v5ff-menu-open + .v5ff-overlay { opacity: 1; pointer-events: auto; }

.v5ff-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: var(--v5ff-bg-2);
  border-left: 1px solid var(--v5ff-line);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 16px 14px 28px;
}

.v5ff-menu.v5ff-menu-open { transform: translateX(0); }

.v5ff-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.v5ff-menu-head h3 { color: var(--v5ff-brand); margin: 0; font-size: 17px; }

.v5ff-menu-section { margin-bottom: 18px; }
.v5ff-menu-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--v5ff-muted);
  margin: 0 0 8px;
}

.v5ff-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.v5ff-menu-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--v5ff-radius-sm);
  background: var(--v5ff-panel);
  color: var(--v5ff-text);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.v5ff-menu-list a:hover {
  border-color: var(--v5ff-brand);
  transform: translateY(-1px);
  color: var(--v5ff-brand);
}

.v5ff-menu-list a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(240, 230, 140, 0.18), rgba(173, 216, 230, 0.12));
  border-color: var(--v5ff-brand);
  color: var(--v5ff-brand);
}

/* ============================================================
 * Layout helpers
 * ========================================================== */
.v5ff-wrap { padding: 14px 12px 0; }
.v5ff-section { margin: 22px 0; }
.v5ff-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.v5ff-section-head h2 { margin: 0; font-size: 18px; }
.v5ff-section-head a { font-size: 12px; color: var(--v5ff-cool); }

/* ============================================================
 * Hero carousel
 * ========================================================== */
.v5ff-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--v5ff-shadow);
  margin: 12px 0 4px;
  background: var(--v5ff-panel);
}

.v5ff-track { position: relative; width: 100%; aspect-ratio: 16 / 9; }

.v5ff-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.v5ff-slide img { width: 100%; height: 100%; object-fit: cover; }

.v5ff-slide-active { opacity: 1; }

.v5ff-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.v5ff-slide-caption h3 { color: #fff; margin: 0 0 2px; font-size: 16px; }
.v5ff-slide-caption p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 12px; }

.v5ff-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.v5ff-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.v5ff-dot-active {
  background: var(--v5ff-brand);
  transform: scale(1.2);
}

.v5ff-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 24, 33, 0.6);
  color: #fff;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.v5ff-nav-arrow:hover { background: var(--v5ff-brand); color: #2a220c; }
.v5ff-nav-arrow svg { width: 16px; height: 16px; }
#web4e5-prev { left: 8px; }
#web4e5-next { right: 8px; }

/* ============================================================
 * Quick category chips
 * ========================================================== */
.v5ff-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.v5ff-chips::-webkit-scrollbar { display: none; }

.v5ff-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--v5ff-panel);
  border: 1px solid var(--v5ff-line);
  color: var(--v5ff-text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.v5ff-chip:hover { color: var(--v5ff-brand); border-color: var(--v5ff-brand); transform: translateY(-1px); }
.v5ff-chip svg { width: 14px; height: 14px; }

/* ============================================================
 * Game grid
 * ========================================================== */
.v5ff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 360px) {
  .v5ff-grid { gap: 10px; }
}

@media (min-width: 400px) {
  .v5ff-grid { grid-template-columns: repeat(5, 1fr); }
}

.v5ff-game {
  display: block;
  background: var(--v5ff-panel);
  border: 1px solid var(--v5ff-line);
  border-radius: var(--v5ff-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.v5ff-game:hover {
  transform: translateY(-2px);
  border-color: var(--v5ff-brand);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.v5ff-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0e1722;
}

.v5ff-game-thumb img { width: 100%; height: 100%; object-fit: cover; }

.v5ff-game-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(188, 143, 143, 0.85);
  color: #1a1208;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.v5ff-game-name {
  font-size: 11.5px;
  color: var(--v5ff-text);
  padding: 5px 4px 6px;
  line-height: 1.25;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v5ff-game:hover .v5ff-game-name { color: var(--v5ff-brand); }

/* ============================================================
 * Cards / feature panels
 * ========================================================== */
.v5ff-card {
  background: var(--v5ff-panel);
  border: 1px solid var(--v5ff-line);
  border-radius: var(--v5ff-radius);
  padding: 14px;
  box-shadow: var(--v5ff-shadow);
}

.v5ff-card h3 { color: var(--v5ff-brand); margin-top: 0; }

.v5ff-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.v5ff-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.v5ff-mini {
  background: var(--v5ff-bg-2);
  border: 1px solid var(--v5ff-line);
  border-radius: var(--v5ff-radius-sm);
  padding: 10px;
  font-size: 12.5px;
  color: var(--v5ff-text);
}

.v5ff-mini strong { color: var(--v5ff-brand); display: block; margin-bottom: 4px; }

.v5ff-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.v5ff-winner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--v5ff-bg-2);
  border: 1px solid var(--v5ff-line);
  border-radius: var(--v5ff-radius-sm);
  padding: 8px;
  font-size: 12px;
}

.v5ff-winner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v5ff-brand), var(--v5ff-warm));
  color: #1a1208;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.v5ff-winner-meta { line-height: 1.25; min-width: 0; }
.v5ff-winner-name { color: var(--v5ff-text); font-weight: 600; }
.v5ff-winner-amount { color: var(--v5ff-brand); font-weight: 700; }

/* ============================================================
 * FAQ
 * ========================================================== */
.v5ff-faq {
  background: var(--v5ff-panel);
  border: 1px solid var(--v5ff-line);
  border-radius: var(--v5ff-radius);
  overflow: hidden;
}

.v5ff-faq-item {
  border-bottom: 1px solid var(--v5ff-line);
  padding: 12px 14px;
}

.v5ff-faq-item:last-child { border-bottom: 0; }

.v5ff-faq-q {
  color: var(--v5ff-brand);
  font-weight: 700;
  font-size: 13.5px;
  margin: 0 0 6px;
}

.v5ff-faq-a { color: var(--v5ff-muted); margin: 0; font-size: 13px; }

/* ============================================================
 * Tricks list
 * ========================================================== */
.v5ff-tricks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.v5ff-tricks li {
  background: var(--v5ff-bg-2);
  border-left: 3px solid var(--v5ff-brand);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--v5ff-text);
  font-size: 13px;
}

/* ============================================================
 * Promo CTA strip
 * ========================================================== */
.v5ff-cta {
  background: linear-gradient(135deg, rgba(240, 230, 140, 0.14), rgba(173, 216, 230, 0.08));
  border: 1px solid var(--v5ff-brand);
  border-radius: var(--v5ff-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v5ff-cta h3 { color: var(--v5ff-brand); margin: 0; font-size: 16px; }
.v5ff-cta p { margin: 0; color: var(--v5ff-text); font-size: 13px; }

.v5ff-cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================================
 * Extended footer (homepage only)
 * ========================================================== */
.v5ff-ext-footer {
  margin: 28px 0 16px;
  background: var(--v5ff-bg-2);
  border-top: 1px solid var(--v5ff-line);
  border-bottom: 1px solid var(--v5ff-line);
  padding: 18px 12px;
}

.v5ff-ext-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.v5ff-ext-col h4 {
  color: var(--v5ff-brand);
  font-size: 13px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.v5ff-ext-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.v5ff-ext-links a {
  color: var(--v5ff-text);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.v5ff-ext-links a:hover { color: var(--v5ff-brand); }

.v5ff-ext-links svg { width: 13px; height: 13px; opacity: 0.85; }

.v5ff-brand-blurb {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--v5ff-muted);
  border-top: 1px dashed var(--v5ff-line);
  padding-top: 12px;
}

.v5ff-disclaimer {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--v5ff-muted);
  background: rgba(188, 143, 143, 0.08);
  border: 1px solid rgba(188, 143, 143, 0.35);
  border-radius: 10px;
  padding: 10px;
}

/* ============================================================
 * Site footer (above bottom nav)
 * ========================================================== */
.v5ff-footer {
  text-align: center;
  padding: 16px 12px 8px;
  color: var(--v5ff-muted);
  font-size: 11.5px;
  border-top: 1px solid var(--v5ff-line);
}

.v5ff-footer a { color: var(--v5ff-muted); margin: 0 4px; }

/* ============================================================
 * Mobile bottom navigation (full-width rail)
 * ========================================================== */
.v5ff-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  margin: 0 auto;
  max-width: 430px;
  height: var(--v5ff-bottom-h);
  background: linear-gradient(180deg, rgba(24, 34, 46, 0.98), rgba(15, 23, 32, 0.99));
  border-top: 1px solid var(--v5ff-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.v5ff-bottom-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--v5ff-muted);
  font-size: 10.5px;
  text-decoration: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  padding: 6px 2px 4px;
  cursor: pointer;
  transition: color 0.2s, transform 0.18s;
}

.v5ff-bottom-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--v5ff-brand);
  border-radius: 0 0 4px 4px;
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

.v5ff-bottom-item:hover { color: var(--v5ff-text); transform: translateY(-1px); }

.v5ff-bottom-item.v5ff-active { color: var(--v5ff-brand); }
.v5ff-bottom-item.v5ff-active::before { width: 26px; }

.v5ff-bottom-icon { width: 22px; height: 22px; display: block; }
.v5ff-bottom-icon svg { width: 22px; height: 22px; display: block; }

.v5ff-bottom-label { line-height: 1; font-weight: 600; }

/* ============================================================
 * Back-to-top
 * ========================================================== */
#web4e5-top-btn {
  position: fixed;
  right: 14px;
  bottom: calc(var(--v5ff-bottom-h) + 14px);
  z-index: 55;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--v5ff-brand);
  color: #2a220c;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--v5ff-shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.18s ease;
  cursor: pointer;
}

#web4e5-top-btn.web4e5-top-visible { opacity: 1; pointer-events: auto; }
#web4e5-top-btn:hover { transform: translateY(-2px); }
#web4e5-top-btn svg { width: 20px; height: 20px; }

/* ============================================================
 * Utility
 * ========================================================== */
.v5ff-hide { display: none !important; }
.v5ff-text-brand { color: var(--v5ff-brand); }
.v5ff-text-muted { color: var(--v5ff-muted); }
.v5ff-divider { height: 1px; background: var(--v5ff-line); border: 0; margin: 14px 0; }
.v5ff-pb { padding-bottom: 6px; }
