/* cv9991 design stylesheet - prefix: v316- */
/* English comments only. Mobile-first, max-width 430px. Palette: #DAA520 #0A0A0A #4682B4 #FFB6C1 #FFCC33 */

:root {
  --v316-primary: #DAA520;
  --v316-bg: #0A0A0A;
  --v316-blue: #4682B4;
  --v316-pink: #FFB6C1;
  --v316-yellow: #FFCC33;
  --v316-text: #F5F5F5;
  --v316-muted: #B0B0B0;
  --v316-card: #161616;
  --v316-border: #2A2A2A;
  --v316-dark: #050505;
  --v316-radius: 12px;
}

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

html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', 'SolaimanLipi', system-ui, sans-serif;
  background: var(--v316-bg);
  color: var(--v316-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: var(--v316-primary); text-decoration: none; }

/* ===== Header ===== */
.v316-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
  border-bottom: 2px solid var(--v316-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  height: 5.6rem;
}
.v316-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--v316-yellow); font-weight: 800; font-size: 1.8rem;
}
.v316-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v316-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v316-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.4rem; border-radius: 30px; border: none;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  min-height: 36px;
}
.v316-btn:active { transform: scale(0.94); }
.v316-btn-register { background: linear-gradient(135deg, #DAA520, #FFCC33); color: #0A0A0A; }
.v316-btn-login { background: transparent; color: var(--v316-yellow); border: 1.5px solid var(--v316-primary); }
.v316-menu-btn {
  background: transparent; border: none; color: var(--v316-yellow);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem 0.6rem;
  display: flex; align-items: center;
}

/* ===== Mobile menu ===== */
.v316-mobile-menu {
  position: fixed; top: 5.6rem; left: 0; right: 0; max-width: 430px;
  margin: 0 auto; background: #111; border-bottom: 2px solid var(--v316-primary);
  max-height: 0; overflow: hidden; transition: max-height .3s ease; z-index: 9999;
}
.v316-mobile-menu.v316-menu-open { max-height: 420px; }
.v316-mobile-menu ul { list-style: none; }
.v316-mobile-menu li { border-bottom: 1px solid var(--v316-border); }
.v316-mobile-menu a {
  display: block; padding: 1.3rem 1.5rem; color: var(--v316-text);
  font-size: 1.4rem; font-weight: 600;
}
.v316-mobile-menu a:active { background: #1d1d1d; color: var(--v316-yellow); }

/* ===== Main content ===== */
.v316-main { padding-top: 5.6rem; }

/* ===== Carousel ===== */
.v316-carousel {
  position: relative; width: 100%; overflow: hidden; margin-bottom: 1.5rem;
}
.v316-carousel-track {
  display: flex; transition: transform .5s ease; width: 100%;
}
.v316-carousel-slide {
  flex: 0 0 100%; position: relative; cursor: pointer;
}
.v316-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.v316-carousel-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,0.55); padding: 0.8rem 1rem; border-radius: 8px;
  color: #fff; font-size: 1.3rem; font-weight: 600;
}
.v316-carousel-dots {
  display: flex; justify-content: center; gap: 0.6rem; padding: 0.6rem 0;
}
.v316-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #444; cursor: pointer;
}
.v316-carousel-dot.v316-dot-active { background: var(--v316-primary); }

/* ===== Sections ===== */
.v316-section { padding: 1.5rem 1.2rem; }
.v316-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--v316-yellow);
  margin-bottom: 0.8rem; padding-left: 0.8rem; border-left: 4px solid var(--v316-primary);
}
.v316-subtitle { font-size: 1.5rem; font-weight: 700; color: var(--v316-pink); margin: 1rem 0 0.5rem; }
.v316-para { font-size: 1.4rem; color: var(--v316-muted); margin-bottom: 0.8rem; line-height: 1.6; }
.v316-para strong { color: var(--v316-yellow); }

/* ===== Game grid ===== */
.v316-cat-head {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.6rem; font-weight: 800; color: var(--v316-yellow);
  margin: 1.5rem 0 0.8rem;
}
.v316-cat-head i, .v316-cat-head .material-icons { font-size: 2rem; color: var(--v316-primary); }
.v316-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.v316-game-card {
  background: var(--v316-card); border: 1px solid var(--v316-border);
  border-radius: var(--v316-radius); overflow: hidden; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  text-align: center;
}
.v316-game-card:active { transform: scale(0.95); border-color: var(--v316-primary); }
.v316-game-card img { width: 100%; height: 84px; object-fit: cover; }
.v316-game-name {
  font-size: 1.1rem; padding: 0.4rem; color: var(--v316-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Cards ===== */
.v316-card {
  background: var(--v316-card); border: 1px solid var(--v316-border);
  border-radius: var(--v316-radius); padding: 1.2rem; margin-bottom: 1rem;
}
.v316-card-title { font-size: 1.5rem; color: var(--v316-yellow); font-weight: 700; margin-bottom: 0.5rem; }

/* ===== Promo inline links ===== */
.v316-promo {
  color: var(--v316-primary); font-weight: 800; cursor: pointer;
}
.v316-promo-btn {
  display: inline-block; padding: 0.9rem 2rem; border-radius: 30px;
  background: linear-gradient(135deg, #DAA520, #FFCC33); color: #0A0A0A;
  font-weight: 800; font-size: 1.4rem; cursor: pointer; border: none;
  margin: 0.8rem 0; text-align: center;
}
.v316-promo-btn:active { transform: scale(0.95); }

/* ===== Features / list ===== */
.v316-list { list-style: none; }
.v316-list li { padding: 0.6rem 0 0.6rem 1.8rem; position: relative; font-size: 1.35rem; color: var(--v316-muted); }
.v316-list li::before { content: '▸'; color: var(--v316-primary); position: absolute; left: 0; }

/* ===== RTP compact ===== */
.v316-rtp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.v316-rtp-item { background: #111; border-radius: 8px; padding: 0.8rem; text-align: center; }
.v316-rtp-item .v316-rtp-val { font-size: 1.6rem; font-weight: 800; color: var(--v316-yellow); }
.v316-rtp-item .v316-rtp-lbl { font-size: 1.1rem; color: var(--v316-muted); }

/* ===== Testimonials ===== */
.v316-testi { background: #111; border-left: 3px solid var(--v316-blue); padding: 1rem; border-radius: 8px; margin-bottom: 0.8rem; }
.v316-testi p { font-size: 1.3rem; color: var(--v316-text); font-style: italic; }
.v316-testi span { display: block; font-size: 1.1rem; color: var(--v316-pink); margin-top: 0.4rem; }

/* ===== Payment ===== */
.v316-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v316-pay-chip { background: #111; border: 1px solid var(--v316-border); border-radius: 20px; padding: 0.5rem 1rem; font-size: 1.2rem; color: var(--v316-yellow); }

/* ===== Winners ===== */
.v316-winner { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed #333; font-size: 1.3rem; }
.v316-winner span:first-child { color: var(--v316-pink); }
.v316-winner span:last-child { color: var(--v316-yellow); font-weight: 700; }

/* ===== FAQ ===== */
.v316-faq-item { background: #111; border-radius: 8px; margin-bottom: 0.6rem; padding: 0.8rem 1rem; }
.v316-faq-q { font-weight: 700; color: var(--v316-yellow); font-size: 1.35rem; }
.v316-faq-a { color: var(--v316-muted); margin-top: 0.4rem; font-size: 1.25rem; }

/* ===== Footer ===== */
.v316-footer { background: var(--v316-dark); padding: 1.5rem 1.2rem 8rem; border-top: 2px solid var(--v316-primary); margin-top: 2rem; }
.v316-footer-intro { font-size: 1.25rem; color: var(--v316-muted); margin-bottom: 1rem; line-height: 1.6; }
.v316-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.v316-footer-links a { font-size: 1.2rem; color: var(--v316-text); padding: 0.3rem 0; }
.v316-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.v316-footer-promo button { background: var(--v316-primary); color: #0A0A0A; border: none; border-radius: 20px; padding: 0.5rem 1rem; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.v316-copyright { font-size: 1.1rem; color: #666; text-align: center; }

/* ===== Bottom nav ===== */
.v316-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px;
  margin: 0 auto; height: 60px; background: #050505;
  border-top: 2px solid var(--v316-primary); z-index: 1000;
  display: flex; justify-content: space-around; align-items: center;
}
.v316-bottomnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--v316-muted);
  min-width: 60px; min-height: 60px; cursor: pointer; gap: 2px;
  transition: color .15s ease, transform .15s ease;
}
.v316-bottomnav-btn:active { transform: scale(0.9); }
.v316-bottomnav-btn i, .v316-bottomnav-btn .material-icons { font-size: 22px; }
.v316-bottomnav-btn span { font-size: 10px; }
.v316-bottomnav-btn.v316-nav-active { color: var(--v316-yellow); }
.v316-bottomnav-btn.v316-nav-active i { color: var(--v316-primary); }

/* desktop: hide bottom nav, widen layout */
@media (min-width: 769px) {
  .v316-bottomnav { display: none; }
  body { max-width: 768px; }
  .v316-header { max-width: 768px; }
  .v316-mobile-menu { max-width: 768px; }
  .v316-grid { grid-template-columns: repeat(6, 1fr); }
}

/* mobile bottom padding clearance */
@media (max-width: 768px) {
  .v316-main { padding-bottom: 80px; }
}

/* utility */
.v316-center { text-align: center; }
.v316-mt1 { margin-top: 1rem; }
.v316-mb1 { margin-bottom: 1rem; }
