/* =========================================================
 * tk-bet.homes theme
 * Prefix: vebb-
 * Palette: #FFEBCD #E0E0E0 #F5F5F5 #1E1E1E #FF69B4 #DAA520
 * Mobile-first canvas 320-430px, kept centered on wider screens.
 * ========================================================= */

:root {
  --vebb-cream: #FFEBCD;
  --vebb-silver: #E0E0E0;
  --vebb-mist: #F5F5F5;
  --vebb-ink: #1E1E1E;
  --vebb-pink: #FF69B4;
  --vebb-gold: #DAA520;
  --vebb-ink-soft: #2a2520;
  --vebb-line: rgba(255, 235, 205, 0.14);
  --vebb-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --vebb-radius: 14px;
  --vebb-max: 480px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #26201c 0%, #1E1E1E 55%, #161311 100%);
  color: var(--vebb-cream);
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

a {
  color: var(--vebb-gold);
  text-decoration: none;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--vebb-pink);
  outline-offset: 2px;
}

.vebb-shell {
  max-width: var(--vebb-max);
  margin: 0 auto;
  background: linear-gradient(180deg, #1f1a16 0%, #1b1714 100%);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--vebb-shadow);
  padding-bottom: 92px; /* clearance for fixed bottom nav */
}

/* ---------- Header ---------- */
.vebb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(30, 30, 30, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vebb-line);
  padding: 8px 12px 8px;
}

.vebb-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}

.vebb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.vebb-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--vebb-gold);
  box-shadow: 0 2px 8px rgba(218, 165, 32, 0.35);
  flex-shrink: 0;
}

.vebb-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.vebb-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--vebb-cream);
  white-space: nowrap;
}

.vebb-brand-tag {
  font-size: 10.5px;
  color: var(--vebb-gold);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.vebb-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vebb-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.vebb-btn-login {
  background: transparent;
  color: var(--vebb-cream);
  border: 1px solid var(--vebb-silver);
}

.vebb-btn-register {
  background: linear-gradient(135deg, var(--vebb-pink), var(--vebb-gold));
  color: #1a1410;
  box-shadow: 0 3px 12px rgba(255, 105, 180, 0.4);
}

.vebb-btn:hover, .vebb-btn:focus-visible {
  transform: translateY(-1px);
}

.vebb-btn-register:hover {
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.55);
}

/* Menu toggle */
.vebb-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 235, 205, 0.08);
  border: 1px solid var(--vebb-line);
  color: var(--vebb-cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: background 0.2s ease, transform 0.18s ease;
}

.vebb-menu-btn:hover, .vebb-menu-btn.vebb-active {
  background: rgba(218, 165, 32, 0.18);
  transform: translateY(-1px);
}

.vebb-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--vebb-cream);
  border-radius: 2px;
}

/* Expandable menu */
.vebb-nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  background: rgba(20, 17, 14, 0.96);
  border-top: 1px solid var(--vebb-line);
}

.vebb-nav-menu.vebb-open {
  max-height: 520px;
}

.vebb-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 10px 12px 14px;
}

.vebb-nav-grid a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 235, 205, 0.05);
  border: 1px solid var(--vebb-line);
  color: var(--vebb-cream);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.vebb-nav-grid a:hover {
  background: rgba(218, 165, 32, 0.16);
  transform: translateY(-1px);
}

/* ---------- Hero carousel ---------- */
.vebb-hero {
  position: relative;
  margin: 12px;
  border-radius: var(--vebb-radius);
  overflow: hidden;
  box-shadow: var(--vebb-shadow);
  border: 1px solid var(--vebb-line);
}

.vebb-slides {
  position: relative;
  height: 180px;
}

.vebb-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.vebb-slide.vebb-active {
  opacity: 1;
}

.vebb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vebb-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
  color: var(--vebb-cream);
}

.vebb-slide-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 3px;
  color: var(--vebb-cream);
}

.vebb-slide-sub {
  font-size: 12px;
  color: var(--vebb-mist);
  margin: 0;
}

.vebb-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.vebb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 235, 205, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vebb-dot.vebb-active {
  background: var(--vebb-gold);
  transform: scale(1.25);
}

/* ---------- Section heads ---------- */
.vebb-section {
  margin: 18px 12px 6px;
}

.vebb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.vebb-section-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--vebb-cream);
  position: relative;
  padding-left: 12px;
}

.vebb-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--vebb-pink), var(--vebb-gold));
}

.vebb-section-more {
  font-size: 12px;
  color: var(--vebb-gold);
  font-weight: 600;
}

.vebb-cat-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--vebb-ink);
  background: linear-gradient(135deg, var(--vebb-gold), var(--vebb-pink));
  padding: 4px 12px;
  border-radius: 999px;
  margin: 14px 12px 8px;
  letter-spacing: 0.3px;
}

/* ---------- Game grid ---------- */
.vebb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 12px 8px;
}

.vebb-card {
  background: linear-gradient(180deg, #2a221c, #211b16);
  border: 1px solid var(--vebb-line);
  border-radius: 11px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vebb-card:hover, .vebb-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--vebb-gold);
  box-shadow: 0 6px 14px rgba(218, 165, 32, 0.28);
}

.vebb-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #15110e;
}

.vebb-card-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--vebb-cream);
  line-height: 1.25;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* ---------- Promo CTA strip ---------- */
.vebb-cta {
  margin: 18px 12px;
  padding: 14px;
  border-radius: var(--vebb-radius);
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.18), rgba(218, 165, 32, 0.18));
  border: 1px solid var(--vebb-gold);
  text-align: center;
}

.vebb-cta h2 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--vebb-cream);
}

.vebb-cta p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--vebb-mist);
}

.vebb-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vebb-pink), var(--vebb-gold));
  color: #1a1410;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  min-height: 44px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vebb-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 105, 180, 0.5);
}

/* ---------- Achievements / features ---------- */
.vebb-achv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 4px 12px;
}

.vebb-achv-item {
  background: rgba(255, 235, 205, 0.05);
  border: 1px solid var(--vebb-line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: transform 0.18s ease;
}

.vebb-achv-item:hover {
  transform: translateY(-2px);
}

.vebb-achv-num {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--vebb-pink), var(--vebb-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.vebb-achv-label {
  font-size: 12px;
  color: var(--vebb-mist);
  margin-top: 4px;
  display: block;
}

/* ---------- Testimonials ---------- */
.vebb-testi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 4px 12px;
}

.vebb-testi-card {
  background: linear-gradient(180deg, #2a221c, #20180f);
  border: 1px solid var(--vebb-line);
  border-left: 3px solid var(--vebb-gold);
  border-radius: 12px;
  padding: 12px 14px;
}

.vebb-testi-text {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--vebb-cream);
}

.vebb-testi-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--vebb-pink);
}

/* ---------- RTP table ---------- */
.vebb-rtp {
  margin: 4px 12px;
  border-radius: var(--vebb-radius);
  overflow: hidden;
  border: 1px solid var(--vebb-line);
}

.vebb-rtp table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.vebb-rtp th, .vebb-rtp td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--vebb-line);
}

.vebb-rtp th {
  background: rgba(218, 165, 32, 0.15);
  color: var(--vebb-cream);
  font-weight: 700;
}

.vebb-rtp td {
  color: var(--vebb-mist);
}

.vebb-rtp tr:last-child td {
  border-bottom: none;
}

.vebb-rtp .vebb-rtp-val {
  color: var(--vebb-gold);
  font-weight: 700;
}

/* ---------- Payment methods ---------- */
.vebb-pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px 12px;
}

.vebb-pay-item {
  background: rgba(255, 235, 205, 0.05);
  border: 1px solid var(--vebb-line);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  color: var(--vebb-cream);
  font-weight: 600;
  transition: transform 0.18s ease;
}

.vebb-pay-item:hover {
  transform: translateY(-2px);
  border-color: var(--vebb-gold);
}

/* ---------- SEO content block ---------- */
.vebb-content {
  margin: 16px 12px;
  padding: 14px;
  background: rgba(255, 235, 205, 0.04);
  border: 1px solid var(--vebb-line);
  border-radius: var(--vebb-radius);
}

.vebb-content h2 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--vebb-cream);
}

.vebb-content h3 {
  font-size: 14px;
  margin: 14px 0 6px;
  color: var(--vebb-gold);
}

.vebb-content p {
  margin: 0 0 10px;
  color: var(--vebb-mist);
  font-size: 13.5px;
}

/* ---------- Extended footer ---------- */
.vebb-ext-footer {
  margin: 20px 12px 8px;
  padding: 16px;
  background: linear-gradient(180deg, #221c17, #1a1512);
  border: 1px solid var(--vebb-line);
  border-radius: var(--vebb-radius);
}

.vebb-ext-footer h2,
.vebb-ext-footer h3 {
  color: var(--vebb-cream);
  margin: 0 0 8px;
}

.vebb-ext-footer h2 { font-size: 16px; }
.vebb-ext-footer h3 { font-size: 13px; color: var(--vebb-gold); margin-top: 12px; }

.vebb-ext-footer p {
  font-size: 12.5px;
  color: var(--vebb-mist);
  margin: 0 0 8px;
}

.vebb-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 8px 0 12px;
}

.vebb-directory a {
  font-size: 12px;
  color: var(--vebb-cream);
  padding: 8px 10px;
  background: rgba(255, 235, 205, 0.06);
  border: 1px solid var(--vebb-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.vebb-directory a::before {
  content: "▸";
  color: var(--vebb-gold);
  font-size: 11px;
}

.vebb-directory a:hover {
  background: rgba(218, 165, 32, 0.18);
  transform: translateY(-1px);
}

.vebb-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0;
}

.vebb-promo-grid button {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.16), rgba(218, 165, 32, 0.16));
  border: 1px solid var(--vebb-gold);
  color: var(--vebb-cream);
  font-size: 11px;
  font-weight: 700;
  padding: 10px 4px;
  border-radius: 9px;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: transform 0.18s ease;
}

.vebb-promo-grid button:hover {
  transform: translateY(-2px);
}

.vebb-promo-grid .vebb-promo-ico {
  font-size: 15px;
  color: var(--vebb-pink);
}

.vebb-disclaimer {
  font-size: 11.5px;
  color: var(--vebb-silver);
  border-top: 1px dashed var(--vebb-line);
  padding-top: 10px;
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Copyright bar ---------- */
.vebb-copyright {
  text-align: center;
  padding: 10px 12px 6px;
  font-size: 11.5px;
  color: var(--vebb-silver);
}

/* ---------- Bottom navigation ---------- */
.vebb-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-width: var(--vebb-max);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(30, 25, 21, 0.98), rgba(20, 17, 14, 1));
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--vebb-gold);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px 8px;
}

.vebb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  background: transparent;
  border: none;
  color: var(--vebb-silver);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  min-height: 50px;
  border-radius: 10px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.vebb-nav-item .vebb-nav-ico {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vebb-silver);
}

.vebb-nav-item .vebb-nav-ico svg {
  width: 20px;
  height: 20px;
}

.vebb-nav-item:hover {
  transform: translateY(-2px);
  color: var(--vebb-cream);
}

.vebb-nav-item:hover .vebb-nav-ico {
  color: var(--vebb-gold);
}

.vebb-nav-item.vebb-current {
  color: var(--vebb-cream);
  transform: translateY(-2px);
}

.vebb-nav-item.vebb-current .vebb-nav-ico {
  color: var(--vebb-pink);
}

.vebb-nav-item.vebb-current::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--vebb-pink), var(--vebb-gold));
  margin-top: 1px;
}

.vebb-nav-item-promo .vebb-nav-ico {
  color: var(--vebb-gold);
}

/* ---------- Responsive fine-tune ---------- */
@media (min-width: 375px) {
  .vebb-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .vebb-promo-grid { grid-template-columns: repeat(3, 1fr); }
  .vebb-slides { height: 200px; }
  body { font-size: 15.5px; }
}

@media (min-width: 414px) {
  .vebb-grid { grid-template-columns: repeat(5, 1fr); }
  .vebb-slides { height: 220px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .vebb-slide { transition: opacity 0.2s linear !important; }
}
