/* 9777 dbt - Core design stylesheet (mobile-first) */
/* Prefix: wdec8- */

:root {
  --wdec8-primary: #880E4F;
  --wdec8-bg: #1A1A2E;
  --wdec8-bg-2: #15152a;
  --wdec8-bg-3: #20203a;
  --wdec8-text: #B2DFDB;
  --wdec8-text-light: #C9C9FF;
  --wdec8-accent: #FF8A80;
  --wdec8-gold: #FFD54F;
  --wdec8-border: rgba(178, 223, 219, 0.18);
  --wdec8-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --wdec8-radius: 14px;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, sans-serif;
  background: var(--wdec8-bg);
  color: var(--wdec8-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--wdec8-text-light); text-decoration: none; }

.wdec8-wrapper { max-width: 430px; margin: 0 auto; position: relative; min-height: 100vh; }

.wdec8-skip { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===== Header ===== */
.wdec8-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1A1A2E 0%, #2a0a1f 100%);
  border-bottom: 1px solid var(--wdec8-border);
  box-shadow: var(--wdec8-shadow);
}
.wdec8-header-inner {
  max-width: 430px; margin: 0 auto; padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.wdec8-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wdec8-brand img { width: 28px; height: 28px; border-radius: 6px; }
.wdec8-brand-name { font-size: 1.6rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdec8-brand-name span { color: var(--wdec8-gold); }

.wdec8-header-actions { display: flex; align-items: center; gap: 6px; }
.wdec8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-family: inherit; font-size: 1.3rem; font-weight: 700;
  padding: 8px 14px; border-radius: 20px; border: none; cursor: pointer;
  min-height: 36px; transition: transform .15s ease, box-shadow .15s ease;
}
.wdec8-btn:active { transform: scale(0.96); }
.wdec8-btn-login { background: transparent; color: var(--wdec8-text); border: 1px solid var(--wdec8-border); }
.wdec8-btn-register { background: linear-gradient(135deg, var(--wdec8-primary), #b3156b); color: #fff; box-shadow: 0 4px 10px rgba(136,14,79,.4); }

.wdec8-menu-toggle {
  background: transparent; border: none; color: var(--wdec8-text); font-size: 2rem; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
}

/* ===== Mobile menu ===== */
.wdec8-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
  background: var(--wdec8-bg-2); z-index: 9999; transition: right .28s ease;
  padding: 72px 16px 24px; overflow-y: auto; box-shadow: -8px 0 30px rgba(0,0,0,.5);
}
.wdec8-mobile-menu.wdec8-open { right: 0; }
.wdec8-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998; display: none;
}
.wdec8-overlay.wdec8-open { display: block; }
.wdec8-menu-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 12px;
  color: var(--wdec8-text); font-size: 1.4rem; font-weight: 500;
  border-radius: 10px; border-bottom: 1px solid var(--wdec8-border);
}
.wdec8-menu-item:active { background: rgba(255,255,255,.05); }
.wdec8-menu-item i { color: var(--wdec8-gold); font-size: 1.6rem; }
.wdec8-menu-close {
  position: absolute; top: 14px; right: 14px; background: transparent; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
}

/* ===== Main / sections ===== */
.wdec8-main { padding-top: 60px; }
.wdec8-section { padding: 16px 14px; }
.wdec8-section-title {
  font-size: 1.9rem; font-weight: 700; color: #fff; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.wdec8-section-title i { color: var(--wdec8-gold); }
.wdec8-section-title::before {
  content: ""; width: 4px; height: 18px; background: var(--wdec8-primary); border-radius: 3px;
}
.wdec8-intro { color: var(--wdec8-text); font-size: 1.4rem; line-height: 1.6; }

/* ===== Hero carousel ===== */
.wdec8-carousel { position: relative; border-radius: var(--wdec8-radius); overflow: hidden; margin: 12px 0; box-shadow: var(--wdec8-shadow); }
.wdec8-carousel-track { display: flex; transition: transform .4s ease; }
.wdec8-slide { min-width: 100%; position: relative; }
.wdec8-slide img { width: 100%; height: 180px; object-fit: cover; }
.wdec8-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  display: flex; flex-direction: column; gap: 6px;
}
.wdec8-slide-title { color: #fff; font-size: 1.7rem; font-weight: 700; }
.wdec8-slide-cta { align-self: flex-start; background: var(--wdec8-primary); color: #fff; padding: 6px 14px; border-radius: 16px; font-size: 1.2rem; font-weight: 700; }
.wdec8-dots { display: flex; justify-content: center; gap: 6px; padding: 6px 0; }
.wdec8-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; cursor: pointer; }
.wdec8-dot.wdec8-active { background: var(--wdec8-gold); width: 20px; border-radius: 4px; }

/* ===== Category tabs (non-switching display headers) ===== */
.wdec8-cat-header {
  display: flex; align-items: center; gap: 8px; margin: 18px 0 10px;
}
.wdec8-cat-header h2 { font-size: 1.7rem; color: #fff; font-weight: 700; }
.wdec8-cat-header .wdec8-cat-icon {
  width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--wdec8-primary), #b3156b); color: #fff; font-size: 1.6rem;
}
.wdec8-cat-header .wdec8-cat-count { margin-left: auto; font-size: 1.2rem; color: var(--wdec8-text-light); }

/* ===== Game grid ===== */
.wdec8-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.wdec8-game-card {
  background: var(--wdec8-bg-3); border: 1px solid var(--wdec8-border); border-radius: 10px;
  overflow: hidden; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column;
}
.wdec8-game-card:active { transform: scale(0.96); }
.wdec8-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.wdec8-game-name {
  padding: 6px 4px; font-size: 1.15rem; color: var(--wdec8-text); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.wdec8-game-card:hover img { opacity: .92; }

/* ===== Info modules ===== */
.wdec8-card {
  background: var(--wdec8-bg-3); border: 1px solid var(--wdec8-border); border-radius: var(--wdec8-radius);
  padding: 14px; margin-bottom: 12px; box-shadow: var(--wdec8-shadow);
}
.wdec8-card h2 { font-size: 1.7rem; color: #fff; margin-bottom: 8px; }
.wdec8-card h3 { font-size: 1.4rem; color: var(--wdec8-text-light); margin: 10px 0 6px; }
.wdec8-card p { font-size: 1.35rem; color: var(--wdec8-text); line-height: 1.6; margin-bottom: 8px; }
.wdec8-card ul { padding-left: 18px; }
.wdec8-card li { font-size: 1.3rem; color: var(--wdec8-text); margin-bottom: 5px; line-height: 1.5; }

.wdec8-promo-link {
  display: inline-block; background: linear-gradient(135deg, var(--wdec8-primary), #b3156b);
  color: #fff; font-weight: 700; padding: 8px 16px; border-radius: 20px; font-size: 1.3rem;
  margin: 6px 0; cursor: pointer; border: none;
}
.wdec8-promo-link:active { transform: scale(0.96); }
.wdec8-text-link { color: var(--wdec8-gold); font-weight: 700; cursor: pointer; }

/* ===== RTP table ===== */
.wdec8-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.wdec8-rtp-table th, .wdec8-rtp-table td { padding: 8px 6px; border-bottom: 1px solid var(--wdec8-border); text-align: left; }
.wdec8-rtp-table th { color: var(--wdec8-gold); font-weight: 700; }
.wdec8-rtp-table td { color: var(--wdec8-text); }
.wdec8-rtp-table tr:active { background: rgba(255,255,255,.04); }

/* ===== Testimonials ===== */
.wdec8-testi { display: flex; gap: 8px; padding: 10px; background: var(--wdec8-bg-3); border-radius: 10px; margin-bottom: 8px; border-left: 3px solid var(--wdec8-gold); }
.wdec8-testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--wdec8-primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.wdec8-testi-name { font-size: 1.3rem; font-weight: 700; color: #fff; }
.wdec8-testi-text { font-size: 1.25rem; color: var(--wdec8-text); line-height: 1.5; }

/* ===== Payment ===== */
.wdec8-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wdec8-pay-chip {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px;
  background: var(--wdec8-bg-3); border: 1px solid var(--wdec8-border); border-radius: 18px;
  font-size: 1.2rem; color: var(--wdec8-text);
}
.wdec8-pay-chip i { color: var(--wdec8-gold); }

/* ===== Winners ===== */
.wdec8-winner { display: flex; align-items: center; gap: 8px; padding: 8px; border-bottom: 1px solid var(--wdec8-border); font-size: 1.25rem; }
.wdec8-winner .wdec8-wname { flex: 1; color: var(--wdec8-text); }
.wdec8-winner .wdec8-wamount { color: var(--wdec8-gold); font-weight: 700; }

/* ===== App download CTA ===== */
.wdec8-app-cta {
  background: linear-gradient(135deg, #2a0a1f, var(--wdec8-primary)); border-radius: var(--wdec8-radius);
  padding: 16px; text-align: center; margin: 12px 0; border: 1px solid var(--wdec8-border);
}
.wdec8-app-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.wdec8-app-cta p { color: var(--wdec8-text); font-size: 1.3rem; margin-bottom: 10px; }
.wdec8-app-cta .wdec8-btn { background: var(--wdec8-gold); color: #1A1A2E; padding: 10px 20px; font-size: 1.4rem; }

/* ===== Footer ===== */
.wdec8-footer { background: var(--wdec8-bg-2); padding: 18px 14px 90px; border-top: 1px solid var(--wdec8-border); }
.wdec8-footer-brand { font-size: 1.3rem; color: var(--wdec8-text); line-height: 1.6; margin-bottom: 12px; }
.wdec8-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wdec8-footer-links a {
  font-size: 1.2rem; padding: 6px 10px; background: var(--wdec8-bg-3); border-radius: 14px;
  color: var(--wdec8-text); border: 1px solid var(--wdec8-border);
}
.wdec8-footer-copy { font-size: 1.15rem; color: var(--wdec8-text-light); opacity: .8; text-align: center; }

/* ===== Mobile bottom nav ===== */
.wdec8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: linear-gradient(180deg, #1f1f38, #15152a);
  border-top: 1px solid var(--wdec8-border); display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,.4);
}
.wdec8-bottom-nav-btn {
  flex: 1; 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(--wdec8-text); cursor: pointer; padding: 4px; transition: transform .15s ease, color .15s ease;
}
.wdec8-bottom-nav-btn:active { transform: scale(0.9); }
.wdec8-bottom-nav-btn i { font-size: 22px; }
.wdec8-bottom-nav-btn .wdec8-bn-label { font-size: 1rem; line-height: 1.2; }
.wdec8-bottom-nav-btn.wdec8-active { color: var(--wdec8-gold); }
.wdec8-bottom-nav-btn.wdec8-active i { color: var(--wdec8-gold); }
.wdec8-bn-badge {
  position: absolute; top: 6px; right: 18px; background: var(--wdec8-accent); color: #1A1A2E;
  font-size: .9rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}
.wdec8-bottom-nav-btn { position: relative; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .wdec8-bottom-nav { display: none; }
  .wdec8-wrapper { max-width: 760px; }
  .wdec8-footer { padding-bottom: 24px; }
  .wdec8-game-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 768px) {
  .wdec8-main { padding-bottom: 80px; }
}

@media (max-width: 360px) {
  .wdec8-game-grid { grid-template-columns: repeat(2, 1fr); }
  .wdec8-brand-name { font-size: 1.4rem; }
}

/* ===== Content helpers ===== */
.wdec8-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.wdec8-mini-tile { background: rgba(255,255,255,.04); border: 1px solid var(--wdec8-border); border-radius: 10px; padding: 10px; }
.wdec8-mini-tile strong { display: block; color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.wdec8-mini-tile span { color: var(--wdec8-text); font-size: 1.18rem; line-height: 1.45; }
.wdec8-link-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wdec8-inline-list { list-style: none; padding-left: 0 !important; display: grid; gap: 7px; }
.wdec8-inline-list li { padding: 8px; border-radius: 9px; background: rgba(255,255,255,.035); border-left: 3px solid var(--wdec8-primary); }
.wdec8-note { font-size: 1.22rem; color: var(--wdec8-text-light); background: rgba(255,213,79,.08); border: 1px solid rgba(255,213,79,.22); border-radius: 10px; padding: 10px; margin-top: 10px; }

/* ===== Utilities ===== */
.wdec8-text-center { text-align: center; }
.wdec8-mt-12 { margin-top: 12px; }
.wdec8-mb-12 { margin-bottom: 12px; }
.wdec8-hidden { display: none; }
.wdec8-divider { height: 1px; background: var(--wdec8-border); margin: 14px 0; }
