/* wtkw.homes - Core Stylesheet
 * Class prefix: w8ee5-
 * Palette: #696969 | #ADFF2F | #D3D3D3 | #1E1E1E | #C0C0C0
 * Mobile-first, container max-width 430px
 * Comments in English per project standard */

:root {
  --w8ee5-bg: #1E1E1E;
  --w8ee5-bg-2: #262626;
  --w8ee5-bg-3: #303030;
  --w8ee5-bg-4: #3a3a3a;
  --w8ee5-primary: #ADFF2F;
  --w8ee5-primary-dark: #8fd60c;
  --w8ee5-text: #D3D3D3;
  --w8ee5-text-strong: #FFFFFF;
  --w8ee5-muted: #696969;
  --w8ee5-silver: #C0C0C0;
  --w8ee5-border: rgba(173, 255, 47, 0.18);
  --w8ee5-radius: 14px;
  --w8ee5-radius-sm: 10px;
  --w8ee5-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --w8ee5-header-h: 58px;
  --w8ee5-nav-h: 64px;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  background: var(--w8ee5-bg);
  color: var(--w8ee5-text);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
a { color: var(--w8ee5-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Layout container - mobile first, capped at 430px */
.w8ee5-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--w8ee5-bg);
  min-height: 100vh;
  position: relative;
}
.w8ee5-main { padding-bottom: calc(var(--w8ee5-nav-h) + 24px); }
.w8ee5-section { padding: 26px 16px 8px; }
.w8ee5-section-alt { background: var(--w8ee5-bg-2); border-top: 1px solid rgba(255,255,255,0.04); }

/* Section heading */
.w8ee5-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.w8ee5-sec-head .w8ee5-sec-bar { width: 4px; height: 22px; background: var(--w8ee5-primary); border-radius: 3px; }
.w8ee5-sec-title { font-size: 1.18rem; font-weight: 800; color: var(--w8ee5-text-strong); }
.w8ee5-sec-sub { font-size: 0.86rem; color: var(--w8ee5-silver); margin-top: 2px; }

/* ===== Header ===== */
.w8ee5-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w8ee5-header-h);
  background: linear-gradient(180deg, #232323 0%, #1c1c1c 100%);
  border-bottom: 1px solid var(--w8ee5-border);
  box-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.w8ee5-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.w8ee5-brand { display: flex; align-items: center; gap: 8px; }
.w8ee5-brand-img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.w8ee5-brand-name { font-size: 1.2rem; font-weight: 900; color: var(--w8ee5-primary); letter-spacing: 0.4px; }
.w8ee5-brand-name span { color: var(--w8ee5-text-strong); }

.w8ee5-header-actions { display: flex; align-items: center; gap: 7px; }
.w8ee5-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 36px; white-space: nowrap;
}
.w8ee5-btn-login { background: var(--w8ee5-bg-3); color: var(--w8ee5-text-strong); border: 1px solid var(--w8ee5-border); }
.w8ee5-btn-register {
  background: linear-gradient(135deg, var(--w8ee5-primary) 0%, var(--w8ee5-primary-dark) 100%);
  color: #16210a; box-shadow: 0 4px 12px rgba(173,255,47,0.35);
}
.w8ee5-btn:active { transform: scale(0.95); }
.w8ee5-btn-menu {
  width: 36px; height: 36px; border-radius: 10px; font-size: 1.1rem;
  background: var(--w8ee5-bg-3); color: var(--w8ee5-text-strong);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile slide-in menu ===== */
.w8ee5-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease; z-index: 9998;
}
.w8ee5-overlay-show { opacity: 1; visibility: visible; }
.w8ee5-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--w8ee5-bg-2); z-index: 9999;
  transition: right 0.3s ease; padding: 22px 18px; overflow-y: auto;
  border-left: 1px solid var(--w8ee5-border);
}
.w8ee5-menu-open { right: 0; }
.w8ee5-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.w8ee5-menu-head .w8ee5-brand-name { font-size: 1.3rem; }
.w8ee5-menu-close { font-size: 1.4rem; color: var(--w8ee5-silver); width: 36px; height: 36px; }
.w8ee5-menu-cta { display: flex; gap: 8px; margin-bottom: 18px; }
.w8ee5-menu-cta .w8ee5-btn { flex: 1; }
.w8ee5-menu-list li a, .w8ee5-menu-list li button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 10px; color: var(--w8ee5-text); font-size: 0.95rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05); text-align: left;
}
.w8ee5-menu-list li a:active, .w8ee5-menu-list li button:active { background: var(--w8ee5-bg-3); }
.w8ee5-menu-list .w8ee5-menu-ico { color: var(--w8ee5-primary); font-size: 1.1rem; width: 22px; text-align: center; }

/* ===== Carousel ===== */
.w8ee5-carousel { position: relative; margin-top: var(--w8ee5-header-h); overflow: hidden; }
.w8ee5-slides { position: relative; }
.w8ee5-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.w8ee5-slide-active { opacity: 1; position: relative; pointer-events: auto; }
.w8ee5-slide img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.w8ee5-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.w8ee5-slide-title { color: var(--w8ee5-text-strong); font-size: 1.05rem; font-weight: 800; }
.w8ee5-slide-sub { color: var(--w8ee5-primary); font-size: 0.78rem; margin-top: 2px; }
.w8ee5-carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; background: var(--w8ee5-bg); }
.w8ee5-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--w8ee5-bg-4); transition: all 0.2s; }
.w8ee5-dot-active { background: var(--w8ee5-primary); width: 20px; border-radius: 4px; }

/* ===== Hero / H1 ===== */
.w8ee5-hero { padding: 22px 16px 6px; text-align: center; }
.w8ee5-h1 { font-size: 1.5rem; font-weight: 900; color: var(--w8ee5-text-strong); line-height: 1.35; margin-bottom: 8px; }
.w8ee5-h1 b { color: var(--w8ee5-primary); }
.w8ee5-hero-sub { font-size: 0.92rem; color: var(--w8ee5-silver); margin-bottom: 14px; }
.w8ee5-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.w8ee5-hero-cta .w8ee5-btn { padding: 11px 22px; font-size: 0.92rem; }

/* ===== Game grid & cards ===== */
.w8ee5-cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; -webkit-overflow-scrolling: touch; }
.w8ee5-cat-tabs::-webkit-scrollbar { display: none; }
.w8ee5-cat-tabs a {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px;
  background: var(--w8ee5-bg-3); color: var(--w8ee5-silver);
  font-size: 0.82rem; font-weight: 700; border: 1px solid transparent;
}
.w8ee5-cat-tabs a:active { background: var(--w8ee5-primary); color: #16210a; }

.w8ee5-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.w8ee5-game-card {
  background: var(--w8ee5-bg-2); border-radius: var(--w8ee5-radius-sm);
  overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid rgba(255,255,255,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.w8ee5-game-card:active { transform: scale(0.96); box-shadow: 0 6px 16px rgba(173,255,47,0.25); }
.w8ee5-game-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--w8ee5-bg-3); }
.w8ee5-game-name {
  font-size: 0.72rem; color: var(--w8ee5-text); text-align: center;
  padding: 6px 4px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w8ee5-game-tag {
  position: absolute; top: 5px; left: 5px; background: var(--w8ee5-primary);
  color: #16210a; font-size: 0.6rem; font-weight: 800; padding: 2px 6px; border-radius: 6px;
}
.w8ee5-cat-head { margin-bottom: 12px; }
.w8ee5-cat-head h2 { font-size: 1.08rem; font-weight: 800; color: var(--w8ee5-text-strong); }
.w8ee5-cat-head h2 .material-icons { font-size: 1.1rem; vertical-align: -2px; color: var(--w8ee5-primary); }

/* ===== Info / feature cards ===== */
.w8ee5-card {
  background: var(--w8ee5-bg-2); border-radius: var(--w8ee5-radius);
  padding: 16px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.05);
}
.w8ee5-card-title { font-size: 1.05rem; font-weight: 800; color: var(--w8ee5-text-strong); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.w8ee5-card-title .material-icons, .w8ee5-card-title i, .w8ee5-card-title ion-icon { color: var(--w8ee5-primary); font-size: 1.2rem; }
.w8ee5-card p { font-size: 0.88rem; color: var(--w8ee5-text); margin-bottom: 8px; }
.w8ee5-card p:last-child { margin-bottom: 0; }
.w8ee5-card ul { padding-left: 4px; }
.w8ee5-card ul li { font-size: 0.86rem; color: var(--w8ee5-text); padding: 5px 0 5px 22px; position: relative; }
.w8ee5-card ul li::before { content: '▸'; position: absolute; left: 6px; color: var(--w8ee5-primary); }
.w8ee5-card ul li b { color: var(--w8ee5-primary); font-weight: 700; }

/* Inline text promo link */
.w8ee5-link { color: var(--w8ee5-primary); font-weight: 800; cursor: pointer; border-bottom: 1px dashed var(--w8ee5-primary); }

/* Feature grid (2 cols) */
.w8ee5-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.w8ee5-feature-item {
  background: var(--w8ee5-bg-3); border-radius: var(--w8ee5-radius-sm);
  padding: 14px 10px; text-align: center; border: 1px solid var(--w8ee5-border);
}
.w8ee5-feature-item .material-icons, .w8ee5-feature-item i, .w8ee5-feature-item ion-icon { font-size: 1.7rem; color: var(--w8ee5-primary); }
.w8ee5-feature-item h3 { font-size: 0.88rem; color: var(--w8ee5-text-strong); margin: 6px 0 3px; }
.w8ee5-feature-item p { font-size: 0.74rem; color: var(--w8ee5-silver); }

/* RTP compact bars */
.w8ee5-rtp-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.w8ee5-rtp-row:last-child { border-bottom: none; }
.w8ee5-rtp-name { flex: 0 0 42%; font-size: 0.82rem; color: var(--w8ee5-text); }
.w8ee5-rtp-track { flex: 1; height: 8px; background: var(--w8ee5-bg-4); border-radius: 5px; overflow: hidden; }
.w8ee5-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--w8ee5-primary-dark), var(--w8ee5-primary)); border-radius: 5px; }
.w8ee5-rtp-val { flex: 0 0 14%; text-align: right; font-size: 0.8rem; font-weight: 800; color: var(--w8ee5-primary); }

/* Testimonials */
.w8ee5-testi { display: flex; gap: 10px; background: var(--w8ee5-bg-3); border-radius: var(--w8ee5-radius-sm); padding: 12px; margin-bottom: 10px; }
.w8ee5-testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--w8ee5-primary); color: #16210a; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 40px; }
.w8ee5-testi-body { flex: 1; }
.w8ee5-testi-name { font-size: 0.86rem; font-weight: 700; color: var(--w8ee5-text-strong); }
.w8ee5-testi-stars { color: #FFD54F; font-size: 0.78rem; margin-bottom: 3px; }
.w8ee5-testi-text { font-size: 0.8rem; color: var(--w8ee5-text); }

/* Payment grid */
.w8ee5-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w8ee5-pay-item { background: var(--w8ee5-bg-3); border-radius: 8px; padding: 10px 4px; text-align: center; font-size: 0.72rem; color: var(--w8ee5-silver); border: 1px solid rgba(255,255,255,0.05); }
.w8ee5-pay-item .material-icons, .w8ee5-pay-item i, .w8ee5-pay-item ion-icon { font-size: 1.4rem; color: var(--w8ee5-primary); display: block; margin-bottom: 4px; }

/* Winners list */
.w8ee5-winner { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); font-size: 0.8rem; }
.w8ee5-winner:last-child { border-bottom: none; }
.w8ee5-winner-name { color: var(--w8ee5-text-strong); font-weight: 700; }
.w8ee5-winner-game { color: var(--w8ee5-silver); font-size: 0.74rem; }
.w8ee5-winner-amt { color: var(--w8ee5-primary); font-weight: 800; }

/* App download CTA */
.w8ee5-app-cta { background: linear-gradient(135deg, #2a3a0e 0%, #1E1E1E 60%); border: 1px solid var(--w8ee5-border); }
.w8ee5-app-cta-inner { display: flex; align-items: center; gap: 14px; }
.w8ee5-app-cta-inner img { width: 90px; height: 90px; border-radius: 14px; object-fit: cover; flex: 0 0 90px; }
.w8ee5-app-cta-body { flex: 1; }
.w8ee5-app-cta-body h3 { color: var(--w8ee5-text-strong); font-size: 1rem; margin-bottom: 4px; }
.w8ee5-app-cta-body p { font-size: 0.78rem; color: var(--w8ee5-silver); margin-bottom: 8px; }
.w8ee5-app-cta-btns { display: flex; flex-direction: column; gap: 6px; }
.w8ee5-app-cta-btns .w8ee5-btn { width: 100%; }

/* FAQ */
.w8ee5-faq-item { background: var(--w8ee5-bg-2); border-radius: var(--w8ee5-radius-sm); margin-bottom: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.w8ee5-faq-q { width: 100%; text-align: left; padding: 12px 14px; font-size: 0.88rem; font-weight: 700; color: var(--w8ee5-text-strong); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.w8ee5-faq-q .material-icons { color: var(--w8ee5-primary); transition: transform 0.2s; }
.w8ee5-faq-open .w8ee5-faq-q .material-icons { transform: rotate(180deg); }
.w8ee5-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 14px; }
.w8ee5-faq-open .w8ee5-faq-a { max-height: 320px; padding: 0 14px 12px; }
.w8ee5-faq-a p { font-size: 0.84rem; color: var(--w8ee5-text); }

/* ===== Footer ===== */
.w8ee5-footer { background: #161616; padding: 24px 16px 20px; border-top: 2px solid var(--w8ee5-primary); }
.w8ee5-footer-brand { color: var(--w8ee5-text); font-size: 0.84rem; margin-bottom: 14px; line-height: 1.7; }
.w8ee5-footer-brand b { color: var(--w8ee5-primary); }
.w8ee5-footer-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.w8ee5-footer-promos .w8ee5-btn { width: 100%; font-size: 0.78rem; padding: 9px 6px; }
.w8ee5-footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; }
.w8ee5-footer-links a { font-size: 0.78rem; color: var(--w8ee5-silver); }
.w8ee5-footer-links a:active { color: var(--w8ee5-primary); }
.w8ee5-footer-copy { font-size: 0.74rem; color: var(--w8ee5-muted); text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 12px; }

/* ===== Mobile bottom navigation ===== */
.w8ee5-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w8ee5-nav-h);
  background: linear-gradient(180deg, #242424 0%, #181818 100%);
  border-top: 1px solid var(--w8ee5-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.5);
}
.w8ee5-navbtn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--w8ee5-silver); font-size: 0.66rem; font-weight: 600;
  min-width: 60px; padding: 6px 2px; position: relative; transition: color 0.15s ease;
}
.w8ee5-navbtn .material-icons, .w8ee5-navbtn i, .w8ee5-navbtn ion-icon { font-size: 22px; }
.w8ee5-navbtn:active { color: var(--w8ee5-primary); transform: scale(0.92); }
.w8ee5-navbtn-active { color: var(--w8ee5-primary); }
.w8ee5-navbtn-active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; background: var(--w8ee5-primary); border-radius: 0 0 4px 4px;
}
.w8ee5-navbtn-promo { color: var(--w8ee5-primary); }
.w8ee5-nav-btn-center {
  position: relative;
}
.w8ee5-nav-btn-center .w8ee5-nav-icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--w8ee5-primary) 0%, var(--w8ee5-primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-top: -18px; box-shadow: 0 4px 12px rgba(173,255,47,0.4); color: #16210a;
}
.w8ee5-nav-btn-center .w8ee5-nav-icon-wrap .material-icons { font-size: 24px; color: #16210a; }

/* Back to top */
.w8ee5-back-top {
  position: fixed; right: 14px; bottom: calc(var(--w8ee5-nav-h) + 14px); z-index: 999;
  width: 40px; height: 40px; border-radius: 50%; background: var(--w8ee5-primary);
  color: #16210a; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; box-shadow: var(--w8ee5-shadow);
}
.w8ee5-back-show { opacity: 1; visibility: visible; }

/* CTA pulse animation */
@keyframes w8ee5-pulse { 0% { box-shadow: 0 0 0 0 rgba(173,255,47,0.5); } 100% { box-shadow: 0 0 0 14px rgba(173,255,47,0); } }
.w8ee5-cta-pulse { animation: w8ee5-pulse 0.45s ease-out; }

/* ===== Responsive: hide bottom nav on desktop, reveal wider layout ===== */
@media (min-width: 769px) {
  .w8ee5-bottom-nav { display: none; }
  .w8ee5-wrapper { max-width: 760px; box-shadow: var(--w8ee5-shadow); }
  .w8ee5-main { padding-bottom: 40px; }
  .w8ee5-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w8ee5-back-top { bottom: 24px; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .w8ee5-bottom-nav { max-width: 430px; left: 50%; transform: translateX(-50%); }
  .w8ee5-header { max-width: 430px; left: 50%; transform: translateX(-50%); }
}
