/* ============================================================
 * tk bet - tk-bet.css
 * ========================================================== */
:root {
  --va40-primary: #DC143C;
  --va40-accent: #FF0000;
  --va40-gold: #CD853F;
  --va40-tan: #8B7355;
  --va40-bg: #1E1E1E;
  --va40-bg-2: #262021;
  --va40-card: #2a2325;
  --va40-text: #f5efe7;
  --va40-muted: #c9bdaa;
  --va40-border: #3a2f2c;
  --va40-radius: 1.2rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--va40-bg);
  color: var(--va40-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
}
img { display: block; max-width: 100%; }
a { color: var(--va40-gold); text-decoration: none; }
.va40-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.va40-container { width: 100%; padding: 0 1.2rem; }
main.va40-main { padding-bottom: 80px; }
.va40-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #1E1E1E 0%, #3a1f20 100%);
  border-bottom: 2px solid var(--va40-primary);
  box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.4);
}
.va40-brand { display: flex; align-items: center; gap: 0.7rem; }
.va40-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.va40-brand .va40-name {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(90deg, #CD853F, #FF0000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.va40-head-actions { display: flex; align-items: center; gap: 0.5rem; }
.va40-icon-btn {
  background: transparent;
  border: none;
  color: var(--va40-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 0.8rem;
}
.va40-icon-btn:hover { color: var(--va40-gold); }
.va40-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 1.3rem;
  font-size: 1.35rem;
  cursor: pointer;
  min-height: 3.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.va40-btn:hover { transform: translateY(-1px); }
.va40-btn-primary {
  background: linear-gradient(135deg, #FF0000, #DC143C);
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(220,20,60,0.4);
}
.va40-btn-outline {
  background: transparent;
  color: var(--va40-gold);
  border: 1.5px solid var(--va40-gold);
}
.va40-btn-ghost {
  background: rgba(205,133,63,0.15);
  color: var(--va40-text);
}
.va40-btn-block { width: 100%; }
.va40-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s;
  z-index: 9998;
}
.va40-menu-overlay.va40-show { opacity: 1; visibility: visible; }
.va40-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%; max-width: 320px;
  height: 100%;
  background: var(--va40-bg-2);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.va40-mobile-menu.va40-open { right: 0; }
.va40-mobile-menu h3 {
  color: var(--va40-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.va40-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--va40-text);
  border-bottom: 1px solid var(--va40-border);
  font-size: 1.4rem;
}
.va40-mobile-menu a:hover { color: var(--va40-accent); }
.va40-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: none; color: var(--va40-text);
  font-size: 2rem; cursor: pointer;
}
.va40-carousel {
  position: relative;
  width: 100%;
  height: 18rem;
  overflow: hidden;
  border-radius: 0 0 1.4rem 1.4rem;
}
.va40-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.va40-slide.va40-active { opacity: 1; }
.va40-slide img { width: 100%; height: 100%; object-fit: cover; }
.va40-slide .va40-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
}
.va40-slide .va40-caption h2 {
  font-size: 1.8rem; color: #fff;
  text-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.7);
}
.va40-dots {
  position: absolute; bottom: 0.7rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
}
.va40-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer;
}
.va40-dot.va40-active { background: var(--va40-accent); }
.va40-section { padding: 2rem 0; }
.va40-section-title {
  font-size: 1.7rem; font-weight: 800;
  margin-bottom: 1.2rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--va40-primary);
  color: var(--va40-text);
}
.va40-section-title .va40-acc { color: var(--va40-gold); }
.va40-h1 {
  font-size: 2.1rem; font-weight: 900; line-height: 1.4;
  background: linear-gradient(90deg, #CD853F, #FF0000);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 1.5rem 0 1rem;
}
.va40-lead { color: var(--va40-muted); font-size: 1.45rem; margin-bottom: 1.5rem; }
.va40-text-muted { color: var(--va40-muted); }
.va40-acc { color: var(--va40-gold); }
.va40-red { color: var(--va40-accent); }
.va40-prose p { margin-bottom: 1rem; }
.va40-prose strong { color: var(--va40-acc); }
.va40-catbar {
  display: flex; gap: 0.6rem;
  overflow-x: auto;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}
.va40-catbar a {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  background: var(--va40-card);
  color: var(--va40-text);
  border-radius: 2rem;
  font-size: 1.3rem;
  white-space: nowrap;
  border: 1px solid var(--va40-border);
}
.va40-catbar a:hover { background: var(--va40-primary); color: #fff; }
.va40-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.va40-game-card {
  background: var(--va40-card);
  border-radius: 0.9rem;
  padding: 0.6rem;
  text-align: center;
  border: 1px solid var(--va40-border);
  transition: transform 0.15s;
  cursor: pointer;
  overflow: hidden;
}
.va40-game-card:hover { transform: translateY(-2px); border-color: var(--va40-primary); }
.va40-game-card img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.6rem;
  margin-bottom: 0.4rem;
}
.va40-game-name {
  font-size: 1.18rem;
  color: var(--va40-text);
  line-height: 1.25;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.va40-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 2rem 0 1rem;
}
.va40-cat-head h2 {
  font-size: 1.6rem; color: var(--va40-gold); font-weight: 800;
}
.va40-card {
  background: var(--va40-card);
  border: 1px solid var(--va40-border);
  border-radius: var(--va40-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.va40-card h3 { color: var(--va40-gold); font-size: 1.45rem; margin-bottom: 0.6rem; }
.va40-feature-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--va40-border);
}
.va40-feature-row:last-child { border-bottom: none; }
.va40-feature-icon {
  width: 3.4rem; height: 3.4rem;
  flex: 0 0 3.4rem;
  border-radius: 0.8rem;
  background: rgba(220,20,60,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--va40-primary); font-size: 1.7rem;
}
.va40-faq-item {
  border: 1px solid var(--va40-border);
  border-radius: 0.8rem;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.va40-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem;
  font-weight: 700;
  color: var(--va40-text);
  background: var(--va40-card);
}
.va40-faq-item summary::-webkit-details-marker { display: none; }
.va40-faq-item summary::after {
  content: "+"; float: right; color: var(--va40-gold); font-size: 1.6rem;
}
.va40-faq-item[open] summary::after { content: "–"; }
.va40-faq-item .va40-faq-body { padding: 0 1rem 1rem; color: var(--va40-muted); }
.va40-testi {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.9rem; background: var(--va40-card);
  border-radius: 0.8rem; margin-bottom: 0.7rem;
  border-left: 3px solid var(--va40-gold);
}
.va40-testi .va40-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg,#CD853F,#DC143C);
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.va40-stars { color: #FFD700; font-size: 1.1rem; }
.va40-pay-row {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
}
.va40-pay-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--va40-card); border: 1px solid var(--va40-border);
  border-radius: 0.8rem; padding: 0.6rem 1rem;
  font-size: 1.25rem; color: var(--va40-text);
}
.va40-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px solid var(--va40-border); font-size: 1.3rem;
}
.va40-winner .va40-amt { color: #FFD700; font-weight: 800; }
.va40-cta {
  background: linear-gradient(135deg, #DC143C, #8B7355);
  border-radius: var(--va40-radius);
  padding: 1.6rem; text-align: center;
  margin: 1.5rem 0;
  color: #fff;
}
.va40-cta h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.va40-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.va40-rtp-table th, .va40-rtp-table td {
  padding: 0.7rem; border-bottom: 1px solid var(--va40-border); text-align: left;
}
.va40-rtp-table th { color: var(--va40-gold); }
.va40-rtp-table td.va40-num { color: #FFD700; font-weight: 700; }
.va40-footer {
  background: #161312;
  padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--va40-primary);
  color: var(--va40-muted);
  font-size: 1.25rem;
}
.va40-footer h4 { color: var(--va40-gold); font-size: 1.35rem; margin: 1rem 0 0.6rem; }
.va40-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; }
.va40-footer-links a { color: var(--va40-muted); font-size: 1.2rem; }
.va40-footer-links a:hover { color: var(--va40-accent); }
.va40-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0;
}
.va40-footer-bottom {
  text-align: center; padding-top: 1rem;
  border-top: 1px solid var(--va40-border);
  font-size: 1.15rem; color: #8c8276;
}
.va40-bottomnav {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #262021, #161312);
  border-top: 2px solid var(--va40-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.va40-bottomnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 5.6rem; min-height: 5.4rem;
  background: transparent; border: none;
  color: var(--va40-muted); cursor: pointer;
  font-size: 1.05rem; text-decoration: none;
  transition: transform 0.15s, color 0.15s;
  padding: 0.2rem;
}
.va40-bottomnav-btn:hover { transform: scale(1.08); }
.va40-bottomnav-btn .material-icons,
.va40-bottomnav-btn ion-icon,
.va40-bottomnav-btn i { font-size: 2.2rem; }
.va40-bottomnav-btn.va40-current { color: var(--va40-accent); }
.va40-bottomnav-btn.va40-center {
  background: linear-gradient(135deg, #FF0000, #DC143C);
  color: #fff;
  width: 4.4rem; height: 4.4rem;
  border-radius: 50%;
  margin-top: -2.4rem;
  box-shadow: 0 0.3rem 1rem rgba(220,20,60,0.5);
}
.va40-bottomnav-btn.va40-center i { font-size: 2rem; }
.va40-totop {
  position: fixed; right: 1.2rem; bottom: 7.2rem;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--va40-gold); color: #1E1E1E;
  border: none; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.4);
}
img.va40-lazy { opacity: 0; transition: opacity 0.35s; }
img.va40-lazy.va40-loaded { opacity: 1; }
@media (min-width: 769px) {
  .va40-bottomnav { display: none; }
  main.va40-main { padding-bottom: 2rem; }
  .va40-totop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
