/* tp88.homes - tp88 stylesheet
   All custom classes use the vb23- prefix.
   Palette: #FFC0CB (pink) | #C71585 (magenta) | #1A1A2E (deep navy) */

:root {
  --vb23-primary: #C71585;
  --vb23-secondary: #FFC0CB;
  --vb23-bg: #1A1A2E;
  --vb23-bg-alt: #232347;
  --vb23-text: #FFC0CB;
  --vb23-text-light: #FFFFFF;
  --vb23-muted: #B0B0CC;
  --vb23-accent: #FFC0CB;
  --vb23-gold: #FFD27A;
  --vb23-radius: 14px;
  --vb23-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --vb23-header-h: 58px;
  --vb23-bottom-nav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Inter", system-ui, sans-serif;
  background: var(--vb23-bg);
  color: var(--vb23-text-light);
  line-height: 1.5rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--vb23-secondary); text-decoration: none; }

/* ---------- Header ---------- */
.vb23-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--vb23-header-h);
  background: linear-gradient(90deg, var(--vb23-bg) 0%, #2a1640 100%);
  border-bottom: 2px solid var(--vb23-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  box-shadow: var(--vb23-shadow);
}

.vb23-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.vb23-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}
.vb23-brand-text {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vb23-secondary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.vb23-brand-text span { color: var(--vb23-primary); }

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

.vb23-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.vb23-btn:active { transform: scale(0.95); }

.vb23-btn-login {
  background: transparent;
  color: var(--vb23-text-light);
  border: 1.5px solid var(--vb23-secondary);
}
.vb23-btn-register {
  background: linear-gradient(135deg, var(--vb23-primary), #ff3ea5);
  color: #fff;
  box-shadow: 0 3px 10px rgba(199, 21, 133, 0.45);
}

.vb23-menu-btn {
  background: transparent;
  border: none;
  color: var(--vb23-secondary);
  font-size: 2.2rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile slide menu ---------- */
.vb23-mobile-menu {
  position: fixed;
  top: var(--vb23-header-h);
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--vb23-bg-alt);
  border-bottom: 2px solid var(--vb23-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.vb23-mobile-menu.vb23-active { max-height: 460px; }
.vb23-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
}
.vb23-mobile-menu li { border-bottom: 1px solid rgba(255, 192, 203, 0.12); }
.vb23-mobile-menu li:last-child { border-bottom: none; }
.vb23-mobile-menu a {
  display: block;
  padding: 12px 6px;
  color: var(--vb23-text-light);
  font-size: 1.4rem;
  font-weight: 600;
}
.vb23-mobile-menu a:active { color: var(--vb23-secondary); }

/* ---------- Layout ---------- */
main {
  padding-top: calc(var(--vb23-header-h) + 6px);
  padding-bottom: 24px;
}
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--vb23-bottom-nav-h) + 16px); }
}
.vb23-container { padding: 0 12px; }

/* ---------- Carousel ---------- */
.vb23-carousel {
  position: relative;
  margin: 12px 0;
  border-radius: var(--vb23-radius);
  overflow: hidden;
  box-shadow: var(--vb23-shadow);
}
.vb23-carousel-track { position: relative; height: 180px; }
.vb23-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.vb23-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.vb23-carousel-slide.vb23-active { opacity: 1; }
.vb23-carousel-caption {
  position: absolute;
  left: 12px;
  bottom: 14px;
  right: 12px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.vb23-carousel-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.vb23-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}
.vb23-carousel-dot.vb23-active { background: var(--vb23-primary); }

/* ---------- Section headings ---------- */
.vb23-section { margin: 20px 0; }
.vb23-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vb23-secondary);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 4px solid var(--vb23-primary);
}
.vb23-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--vb23-text-light);
  margin: 14px 0 8px;
  line-height: 1.35;
}
.vb23-h1 b { color: var(--vb23-primary); }

/* ---------- Game grid ---------- */
.vb23-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vb23-game-card {
  display: block;
  background: var(--vb23-bg-alt);
  border-radius: 12px;
  padding: 6px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 192, 203, 0.12);
}
.vb23-game-card:active { transform: scale(0.96); }
.vb23-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
}
.vb23-game-name {
  font-size: 1.15rem;
  color: var(--vb23-text-light);
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- Info cards ---------- */
.vb23-card {
  background: var(--vb23-bg-alt);
  border-radius: var(--vb23-radius);
  padding: 14px;
  margin: 12px 0;
  border: 1px solid rgba(199, 21, 133, 0.25);
}
.vb23-card h2 { font-size: 1.6rem; color: var(--vb23-secondary); margin: 0 0 8px; }
.vb23-card h3 { font-size: 1.4rem; color: var(--vb23-secondary); margin: 12px 0 6px; }
.vb23-card p { font-size: 1.3rem; color: var(--vb23-text-light); margin: 6px 0; }
.vb23-card ul { padding-left: 18px; margin: 6px 0; }
.vb23-card li { font-size: 1.3rem; color: var(--vb23-text-light); margin: 4px 0; }

/* ---------- Inline promo link ---------- */
.vb23-promo-link {
  color: var(--vb23-secondary);
  font-weight: 700;
  border-bottom: 1px dashed var(--vb23-primary);
  cursor: pointer;
}
.vb23-promo-link:hover { color: var(--vb23-primary); }

.vb23-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--vb23-primary), #ff3ea5);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 26px;
  border: none;
  width: 100%;
  margin: 14px 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(199, 21, 133, 0.5);
}
.vb23-cta:active { transform: scale(0.97); }

/* ---------- FAQ ---------- */
.vb23-faq-item {
  background: var(--vb23-bg-alt);
  border-radius: 10px;
  margin: 8px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 192, 203, 0.12);
}
.vb23-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vb23-secondary);
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
}
.vb23-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 14px;
  color: var(--vb23-text-light);
  font-size: 1.3rem;
}
.vb23-faq-item.vb23-active .vb23-faq-a { max-height: 220px; padding-bottom: 12px; }
.vb23-faq-item.vb23-active .vb23-faq-icon { transform: rotate(45deg); }
.vb23-faq-icon { font-size: 1.6rem; transition: transform 0.25s; color: var(--vb23-primary); }

/* ---------- Stats / compact lists ---------- */
.vb23-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px 0;
}
.vb23-stat-box {
  background: var(--vb23-bg-alt);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(199, 21, 133, 0.25);
}
.vb23-stat-num { font-size: 2rem; font-weight: 800; color: var(--vb23-primary); }
.vb23-stat-label { font-size: 1.15rem; color: var(--vb23-text-light); margin-top: 4px; }

.vb23-list { list-style: none; padding: 0; margin: 8px 0; }
.vb23-list li {
  font-size: 1.3rem;
  color: var(--vb23-text-light);
  padding: 8px 10px;
  background: var(--vb23-bg-alt);
  border-radius: 8px;
  margin: 6px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.vb23-list li i { color: var(--vb23-primary); margin-top: 2px; }

/* ---------- Testimonials ---------- */
.vb23-testimonials { display: grid; gap: 10px; }
.vb23-testimonial {
  background: var(--vb23-bg-alt);
  border-radius: 10px;
  padding: 12px;
  border-left: 4px solid var(--vb23-primary);
}
.vb23-testimonial p { font-size: 1.3rem; color: var(--vb23-text-light); margin: 0 0 6px; }
.vb23-testimonial .vb23-author { font-size: 1.2rem; color: var(--vb23-secondary); font-weight: 700; }

/* ---------- Payment ---------- */
.vb23-pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.vb23-pay-chip {
  background: var(--vb23-bg-alt);
  border: 1px solid rgba(255, 192, 203, 0.25);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: var(--vb23-text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Winners ---------- */
.vb23-winners { display: grid; gap: 6px; }
.vb23-winner {
  display: flex;
  justify-content: space-between;
  background: var(--vb23-bg-alt);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.25rem;
  color: var(--vb23-text-light);
}
.vb23-winner .vb23-amount { color: var(--vb23-gold); font-weight: 800; }

/* ---------- Footer ---------- */
.vb23-footer {
  background: #14142a;
  border-top: 2px solid var(--vb23-primary);
  padding: 18px 12px calc(var(--vb23-bottom-nav-h) + 24px);
  margin-top: 20px;
}
@media (min-width: 769px) {
  .vb23-footer { padding-bottom: 28px; }
}
.vb23-footer-about { font-size: 1.25rem; color: var(--vb23-muted); margin: 0 0 12px; line-height: 1.5; }
.vb23-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.vb23-footer-links a {
  font-size: 1.2rem;
  color: var(--vb23-secondary);
  background: var(--vb23-bg-alt);
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 192, 203, 0.2);
}
.vb23-footer-copy { font-size: 1.1rem; color: var(--vb23-muted); text-align: center; margin-top: 8px; }

/* ---------- Bottom nav ---------- */
.vb23-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--vb23-bottom-nav-h);
  background: linear-gradient(90deg, var(--vb23-bg) 0%, #2a1640 100%);
  border-top: 2px solid var(--vb23-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.vb23-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--vb23-muted);
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.18s ease;
}
.vb23-bottom-nav-btn i { font-size: 22px; }
.vb23-bottom-nav-btn .vb23-nav-label { font-size: 1.05rem; font-weight: 600; }
.vb23-bottom-nav-btn:active { transform: scale(0.9); }
.vb23-bottom-nav-btn.vb23-active { color: var(--vb23-primary); }
.vb23-bottom-nav-btn.vb23-active .vb23-nav-label { color: var(--vb23-secondary); }
.vb23-nav-badge {
  position: absolute;
  top: 6px;
  right: 50%;
  margin-right: -18px;
  background: var(--vb23-primary);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 50%;
  min-width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

@media (min-width: 769px) {
  .vb23-bottom-nav { display: none; }
  .vb23-menu-btn { display: none; }
  body { max-width: 960px; }
  .vb23-header, .vb23-mobile-menu, .vb23-footer { max-width: 960px; }
  .vb23-game-grid { grid-template-columns: repeat(5, 1fr); }
  .vb23-carousel-track { height: 320px; }
}

/* ---------- Utility ---------- */
.vb23-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.vb23-grid { display: grid; gap: 10px; }
.vb23-nav { display: flex; align-items: center; gap: 8px; }
.vb23-text-center { text-align: center; }
.vb23-mt-8 { margin-top: 8px; }
.vb23-hide-desktop { display: block; }
.vb23-pay-chip .material-icons,
.vb23-list .material-icons { color: var(--vb23-primary); font-size: 18px; line-height: 1; }
ion-icon { display: inline-block; vertical-align: middle; }
@media (min-width: 769px) { .vb23-hide-desktop { display: none; } }
