/* cd66b base stylesheet - mobile-first gaming site */
/* All custom classes use the w8465- prefix for namespace isolation */

:root {
  --w8465-primary: #8FBC8F;
  --w8465-accent: #90EE90;
  --w8465-bg: #1E1E1E;
  --w8465-bg-alt: #262626;
  --w8465-bg-card: #2F2F2F;
  --w8465-text: #F5FFF5;
  --w8465-text-muted: #C5D6C5;
  --w8465-border: #3A3A3A;
  --w8465-gold: #FFD966;
  --w8465-danger: #FF6B6B;
  --w8465-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--w8465-bg);
  color: var(--w8465-text);
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.w8465-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1E1E1E 0%, #232323 100%);
  border-bottom: 1px solid var(--w8465-border);
  box-shadow: var(--w8465-shadow);
}
.w8465-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  max-width: 430px;
  margin: 0 auto;
}
.w8465-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.w8465-brand img { width: 28px; height: 28px; border-radius: 6px; }
.w8465-brand-name { color: var(--w8465-accent); font-weight: 700; font-size: 1.7rem; }
.w8465-header-actions { display: flex; align-items: center; gap: 6px; }
.w8465-menu-btn {
  background: transparent; border: 0; color: var(--w8465-text);
  font-size: 2.2rem; padding: 4px 8px; cursor: pointer; min-width: 44px; min-height: 44px;
}

.w8465-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; border: 0; border-radius: 8px; cursor: pointer;
  font-weight: 700; font-size: 1.3rem; padding: 8px 14px; min-height: 40px;
  text-decoration: none; transition: transform .15s ease, background .2s ease;
}
.w8465-btn:hover { transform: translateY(-1px); }
.w8465-btn-primary { background: linear-gradient(135deg, #8FBC8F, #90EE90); color: #1E1E1E; }
.w8465-btn-ghost { background: transparent; color: var(--w8465-text); border: 1px solid var(--w8465-border); }
.w8465-btn-gold { background: linear-gradient(135deg, #FFD966, #FFB84D); color: #1E1E1E; }
.w8465-btn-block { display: flex; width: 100%; }

/* Mobile slide-down menu */
.w8465-mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 9999;
  background: #1E1E1E; border-bottom: 1px solid var(--w8465-border);
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  max-width: 430px; margin: 0 auto;
}
.w8465-mobile-menu.w8465-menu-open { max-height: 480px; }
.w8465-mobile-menu ul { list-style: none; margin: 0; padding: 6px 12px; }
.w8465-mobile-menu li { border-bottom: 1px solid var(--w8465-border); }
.w8465-mobile-menu li:last-child { border-bottom: 0; }
.w8465-mobile-menu a {
  display: block; padding: 12px 4px; color: var(--w8465-text); text-decoration: none;
  font-size: 1.45rem; font-weight: 600;
}

/* Layout */
.w8465-main { padding-top: 64px; padding-bottom: 80px; max-width: 430px; margin: 0 auto; }
.w8465-section { padding: 18px 12px; }
.w8465-section-alt { background: var(--w8465-bg-alt); }
.w8465-container { width: 100%; max-width: 430px; margin: 0 auto; }

/* Typography */
.w8465-h1 {
  font-size: 2.1rem; line-height: 2.6rem; margin: 12px 0 8px;
  color: var(--w8465-accent); font-weight: 800; text-align: center;
}
.w8465-h2 {
  font-size: 1.7rem; line-height: 2.2rem; margin: 14px 0 8px;
  color: var(--w8465-accent); font-weight: 700; border-left: 4px solid var(--w8465-primary);
  padding-left: 10px;
}
.w8465-h3 { font-size: 1.45rem; margin: 10px 0 6px; color: var(--w8465-text); font-weight: 700; }
.w8465-lead { color: var(--w8465-text-muted); font-size: 1.4rem; line-height: 2.2rem; }
.w8465-p { color: var(--w8465-text-muted); font-size: 1.35rem; line-height: 2.1rem; margin: 0 0 8px; }

/* Carousel */
.w8465-carousel {
  position: relative; width: 100%; border-radius: 12px; overflow: hidden;
  box-shadow: var(--w8465-shadow); margin: 6px 0 12px;
}
.w8465-carousel-track { position: relative; width: 100%; aspect-ratio: 16/9; }
.w8465-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.w8465-carousel-slide.w8465-active { opacity: 1; }
.w8465-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w8465-carousel-dots {
  position: absolute; bottom: 6px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.w8465-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4);
  border: 0; padding: 0; cursor: pointer;
}
.w8465-carousel-dot.w8465-dot-active { background: var(--w8465-accent); }

/* Promo link text */
.w8465-promo-link {
  color: var(--w8465-accent); font-weight: 700; cursor: pointer;
  text-decoration: underline; font-size: 1.35rem;
}
.w8465-promo-link:hover { color: var(--w8465-gold); }

/* Game grid */
.w8465-game-section { margin: 6px 0 14px; }
.w8465-game-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 10px 0 8px;
}
.w8465-game-section-title {
  font-size: 1.55rem; font-weight: 700; color: var(--w8465-accent);
  display: flex; align-items: center; gap: 6px;
}
.w8465-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.w8465-game-card {
  background: var(--w8465-bg-card); border: 1px solid var(--w8465-border);
  border-radius: 10px; padding: 6px; text-align: center; cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
}
.w8465-game-card:hover { transform: translateY(-2px); border-color: var(--w8465-primary); }
.w8465-game-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; display: block;
}
.w8465-game-name {
  font-size: 1.15rem; color: var(--w8465-text); margin-top: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Cards / features */
.w8465-card {
  background: var(--w8465-bg-card); border: 1px solid var(--w8465-border);
  border-radius: 12px; padding: 14px; margin: 10px 0; box-shadow: var(--w8465-shadow);
}
.w8465-card-title { font-size: 1.5rem; font-weight: 700; color: var(--w8465-accent); margin: 0 0 6px; }
.w8465-feature-row { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; }
.w8465-feature-row i { color: var(--w8465-primary); font-size: 2rem; min-width: 28px; }
.w8465-feature-row p { margin: 0; color: var(--w8465-text-muted); font-size: 1.3rem; line-height: 2rem; }

/* RTP / stats compact */
.w8465-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.w8465-rtp-item {
  background: var(--w8465-bg-card); border-radius: 8px; padding: 8px 10px;
  border: 1px solid var(--w8465-border);
}
.w8465-rtp-name { font-size: 1.2rem; color: var(--w8465-text-muted); }
.w8465-rtp-value { font-size: 1.6rem; font-weight: 800; color: var(--w8465-gold); }

/* Testimonials / winners */
.w8465-testimonial {
  background: var(--w8465-bg-card); border-radius: 10px; padding: 10px 12px;
  margin: 6px 0; border-left: 3px solid var(--w8465-primary);
}
.w8465-testimonial-name { font-weight: 700; color: var(--w8465-accent); font-size: 1.3rem; }
.w8465-testimonial-text { color: var(--w8465-text-muted); font-size: 1.25rem; margin: 4px 0 0; }

/* Payment chips */
.w8465-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.w8465-pay-chip {
  background: var(--w8465-bg-card); border: 1px solid var(--w8465-border);
  border-radius: 20px; padding: 6px 12px; font-size: 1.2rem; color: var(--w8465-text);
  display: inline-flex; align-items: center; gap: 6px;
}

/* CTA banner */
.w8465-cta {
  background: linear-gradient(135deg, #2F4F2F, #3a5a3a);
  border: 1px solid var(--w8465-primary); border-radius: 14px; padding: 16px;
  text-align: center; margin: 14px 0;
}
.w8465-cta h3 { margin: 0 0 8px; color: var(--w8465-accent); font-size: 1.6rem; }
.w8465-cta p { color: var(--w8465-text-muted); font-size: 1.3rem; margin: 0 0 12px; }

/* Footer */
.w8465-footer {
  background: #161616; border-top: 1px solid var(--w8465-border);
  padding: 18px 12px 24px; color: var(--w8465-text-muted);
}
.w8465-footer-brand { color: var(--w8465-text); font-size: 1.3rem; line-height: 2rem; margin: 0 0 10px; }
.w8465-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.w8465-footer-link {
  background: var(--w8465-bg-card); border: 1px solid var(--w8465-border);
  border-radius: 8px; padding: 6px 10px; color: var(--w8465-text);
  text-decoration: none; font-size: 1.2rem;
}
.w8465-footer-copy { font-size: 1.1rem; color: #888; margin-top: 10px; text-align: center; }

/* Utility layout aliases required by shared pages */
.w8465-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.w8465-grid { display: grid; gap: 10px; }
.w8465-nav { display: flex; align-items: center; gap: 8px; }
.w8465-inline-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.w8465-partner-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.w8465-partner-logo {
  background: var(--w8465-bg-card); border: 1px solid var(--w8465-border);
  border-radius: 8px; padding: 6px 10px; color: var(--w8465-gold); font-weight: 700; font-size: 1.15rem;
}

/* Mobile bottom nav - fixed, 5 buttons, hidden on desktop */
.w8465-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: #1a1a1a; border-top: 1px solid var(--w8465-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 60px; max-width: 430px; margin: 0 auto;
}
.w8465-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; color: var(--w8465-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; padding: 4px; transition: color .2s ease, transform .15s ease;
}
.w8465-bottom-nav-btn i { font-size: 22px; }
.w8465-bottom-nav-btn span { font-size: 1.05rem; font-weight: 600; }
.w8465-bottom-nav-btn:hover { color: var(--w8465-accent); transform: translateY(-1px); }
.w8465-bottom-nav-btn.w8465-nav-current { color: var(--w8465-accent); }
.w8465-bottom-nav-btn.w8465-nav-current i { color: var(--w8465-gold); }

/* Responsive: hide bottom nav on desktop */
@media (min-width: 769px) {
  .w8465-bottom-nav { display: none; }
  .w8465-main { padding-bottom: 24px; max-width: 768px; }
  .w8465-header-inner, .w8465-mobile-menu, .w8465-footer { max-width: 768px; }
  .w8465-game-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  .w8465-main { padding-bottom: 80px; }
}
