/* ============================================================
 * bingo plus app - theme stylesheet
 * File: css/theme-8288.css
 * All custom classes use the "v88c-" prefix.
 * Palette: #D8BFD8 | #800080 | #0000FF | #273746 | #4169E1
 * ============================================================ */

:root {
  --v88c-bg: #273746;
  --v88c-bg-2: #1c2733;
  --v88c-bg-3: #0f1620;
  --v88c-primary: #800080;
  --v88c-secondary: #4169E1;
  --v88c-accent: #0000FF;
  --v88c-thistle: #D8BFD8;
  --v88c-text: #F5F2F8;
  --v88c-text-dim: #c8c4d4;
  --v88c-gold: #FFD45C;
  --v88c-success: #2ecc71;
  --v88c-radius: 14px;
  --v88c-radius-sm: 10px;
  --v88c-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --v88c-header-h: 56px;
  --v88c-bottomnav-h: 60px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--v88c-text);
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(128, 0, 128, 0.35), transparent 60%),
    linear-gradient(180deg, var(--v88c-bg) 0%, var(--v88c-bg-2) 40%, var(--v88c-bg-3) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--v88c-thistle); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.v88c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.v88c-wrapper { width: 100%; }

/* ====================== Header ====================== */
.v88c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v88c-header-h);
  z-index: 1000;
  background: linear-gradient(90deg, rgba(15, 22, 32, 0.96), rgba(39, 55, 70, 0.96));
  border-bottom: 1px solid rgba(216, 191, 216, 0.18);
  backdrop-filter: blur(8px);
}
.v88c-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 8px;
}
.v88c-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
  letter-spacing: .3px;
}
.v88c-logo img { width: 28px; height: 28px; border-radius: 8px; }
.v88c-logo span b { color: var(--v88c-thistle); }
.v88c-menu-btn {
  background: transparent;
  border: 1px solid rgba(216, 191, 216, 0.35);
  color: var(--v88c-thistle);
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.v88c-actions { display: flex; gap: 8px; }

.v88c-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  min-height: 36px;
}
.v88c-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.v88c-btn-primary {
  background: linear-gradient(135deg, var(--v88c-primary), #b300b3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(128, 0, 128, 0.45);
}
.v88c-btn-secondary {
  background: linear-gradient(135deg, var(--v88c-secondary), var(--v88c-accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
}
.v88c-btn-block { width: 100%; justify-content: center; padding: 13px; font-size: 1.5rem; }

/* ====================== Mobile menu drawer ====================== */
.v88c-mobile-menu {
  position: fixed;
  top: var(--v88c-header-h); left: 0; right: 0;
  background: var(--v88c-bg-2);
  border-bottom: 1px solid rgba(216, 191, 216, 0.18);
  padding: 10px 14px 14px;
  z-index: 9999;
  transform: translateY(-130%);
  transition: transform .28s ease;
  max-height: 70vh;
  overflow-y: auto;
}
.v88c-mobile-menu.v88c-menu-open { transform: translateY(0); }
.v88c-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--v88c-text);
  font-size: 1.45rem;
  border-bottom: 1px solid rgba(216, 191, 216, 0.08);
}
.v88c-mobile-menu a:hover { background: rgba(216, 191, 216, 0.08); }
.v88c-mobile-menu .v88c-menu-cta {
  display: flex; gap: 8px; margin-top: 10px;
}
.v88c-mobile-menu .v88c-menu-cta .v88c-btn { flex: 1; justify-content: center; }

/* ====================== Main ====================== */
.v88c-main {
  padding-top: calc(var(--v88c-header-h) + 10px);
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .v88c-main { padding-bottom: 80px; }
}

/* ====================== Carousel ====================== */
.v88c-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--v88c-radius);
  box-shadow: var(--v88c-shadow);
  margin-bottom: 18px;
}
.v88c-carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.v88c-slide {
  min-width: 100%;
  position: relative;
}
.v88c-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.v88c-slide-caption {
  position: absolute;
  left: 14px; bottom: 14px; right: 14px;
  background: linear-gradient(90deg, rgba(128, 0, 128, 0.85), rgba(65, 105, 225, 0.55));
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
}
.v88c-slide-caption h2 { margin: 0 0 4px; font-size: 1.7rem; }
.v88c-slide-caption p { margin: 0; font-size: 1.25rem; opacity: .9; }
.v88c-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.v88c-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none; cursor: pointer; padding: 0;
}
.v88c-dot.v88c-dot-active { background: var(--v88c-gold); width: 22px; border-radius: 5px; }

/* ====================== Section heading ====================== */
.v88c-section { margin: 22px 0; }
.v88c-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.75rem; font-weight: 800; color: #fff;
  margin: 0 0 12px;
}
.v88c-section-title i { color: var(--v88c-gold); }
.v88c-section-title .v88c-link {
  margin-left: auto; font-size: 1.25rem; font-weight: 600; color: var(--v88c-thistle);
}

/* ====================== Category tabs ====================== */
.v88c-cat-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 6px; margin-bottom: 12px;
  scrollbar-width: none;
}
.v88c-cat-tabs::-webkit-scrollbar { display: none; }
.v88c-cat-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(216, 191, 216, 0.12);
  color: var(--v88c-text-dim);
  font-size: 1.3rem; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.v88c-cat-tab.v88c-cat-tab-active {
  background: linear-gradient(135deg, var(--v88c-primary), var(--v88c-accent));
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

/* ====================== Game grid ====================== */
.v88c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v88c-card {
  position: relative;
  border-radius: var(--v88c-radius-sm);
  overflow: hidden;
  background: var(--v88c-bg-2);
  border: 1px solid rgba(216, 191, 216, 0.1);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.v88c-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.v88c-card img { width: 100%; height: 100px; object-fit: cover; }
.v88c-card-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  color: var(--v88c-text);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v88c-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 22, 32, 0.55);
  color: #fff; font-weight: 800; font-size: 1.3rem;
  opacity: 0; transition: opacity .2s ease;
}
.v88c-card:hover .v88c-card-play { opacity: 1; }
.v88c-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: var(--v88c-gold); color: #2a1a00;
  font-size: 1rem; font-weight: 800;
  padding: 2px 7px; border-radius: 6px;
}

/* ====================== Generic panels ====================== */
.v88c-panel {
  background: rgba(15, 22, 32, 0.55);
  border: 1px solid rgba(216, 191, 216, 0.12);
  border-radius: var(--v88c-radius);
  padding: 16px;
  box-shadow: var(--v88c-shadow);
}
.v88c-panel h2, .v88c-panel h3 { margin-top: 0; color: #fff; }
.v88c-panel p { color: var(--v88c-text-dim); margin: 0 0 10px; }
.v88c-panel a.v88c-inline-link { color: var(--v88c-thistle); font-weight: 700; }

.v88c-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.v88c-feature {
  background: rgba(65, 105, 225, 0.1);
  border: 1px solid rgba(65, 105, 225, 0.25);
  border-radius: var(--v88c-radius-sm);
  padding: 12px;
}
.v88c-feature i { font-size: 2.2rem; color: var(--v88c-thistle); }
.v88c-feature h4 { margin: 6px 0 4px; font-size: 1.3rem; color: #fff; }
.v88c-feature p { margin: 0; font-size: 1.15rem; color: var(--v88c-text-dim); }

.v88c-list { padding-left: 18px; margin: 8px 0; color: var(--v88c-text-dim); }
.v88c-list li { margin-bottom: 6px; }

/* Testimonials */
.v88c-testimonials { display: grid; grid-template-columns: 1fr; gap: 10px; }
.v88c-testimonial {
  background: rgba(128, 0, 128, 0.12);
  border-left: 3px solid var(--v88c-primary);
  border-radius: 10px;
  padding: 12px 14px;
}
.v88c-testimonial p { margin: 0 0 6px; font-style: italic; color: var(--v88c-text); }
.v88c-testimonial .v88c-author { font-size: 1.2rem; color: var(--v88c-thistle); font-weight: 700; }

/* Payment chips */
.v88c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v88c-chip {
  background: rgba(216, 191, 216, 0.1);
  border: 1px solid rgba(216, 191, 216, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 1.2rem;
  color: var(--v88c-text);
  display: inline-flex; align-items: center; gap: 6px;
}

/* Winners ticker */
.v88c-winners { display: grid; gap: 6px; }
.v88c-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.25);
  padding: 8px 12px; border-radius: 8px; font-size: 1.2rem;
}
.v88c-winner b { color: var(--v88c-gold); }

/* CTA banner */
.v88c-cta {
  background: linear-gradient(135deg, var(--v88c-primary), var(--v88c-accent));
  border-radius: var(--v88c-radius);
  padding: 18px;
  text-align: center;
  color: #fff;
  box-shadow: var(--v88c-shadow);
  margin: 18px 0;
}
.v88c-cta h3 { margin: 0 0 6px; font-size: 1.7rem; color: #fff; }
.v88c-cta p { margin: 0 0 12px; font-size: 1.25rem; opacity: .92; }

/* SEO content article */
.v88c-article { color: var(--v88c-text-dim); }
.v88c-article h2 { color: #fff; font-size: 1.7rem; margin: 18px 0 8px; }
.v88c-article h3 { color: var(--v88c-thistle); font-size: 1.4rem; margin: 14px 0 6px; }
.v88c-article p { margin: 0 0 10px; }

/* ====================== Footer ====================== */
.v88c-footer {
  margin-top: 26px;
  padding: 20px 0;
  background: var(--v88c-bg-3);
  border-top: 1px solid rgba(216, 191, 216, 0.12);
  color: var(--v88c-text-dim);
  font-size: 1.25rem;
}
.v88c-footer-cols {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-bottom: 14px;
}
.v88c-footer h4 { color: #fff; margin: 0 0 8px; font-size: 1.3rem; }
.v88c-footer a { display: block; padding: 4px 0; color: var(--v88c-text-dim); }
.v88c-footer a:hover { color: var(--v88c-thistle); }
.v88c-footer-brand { margin-bottom: 10px; color: var(--v88c-text-dim); }
.v88c-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px;
}
.v88c-footer-promos .v88c-btn { font-size: 1.15rem; padding: 8px 12px; }
.v88c-copyright { font-size: 1.15rem; opacity: .8; text-align: center; padding-top: 10px; border-top: 1px solid rgba(216, 191, 216, 0.08); }

/* ====================== Bottom nav (mobile) ====================== */
.v88c-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--v88c-bottomnav-h);
  z-index: 1000;
  display: flex; justify-content: space-around; align-items: stretch;
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.98), rgba(39, 55, 70, 0.98));
  border-top: 1px solid rgba(216, 191, 216, 0.18);
  backdrop-filter: blur(8px);
}
.v88c-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v88c-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 2px;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.v88c-bottomnav-btn .v88c-ico { font-size: 2.2rem; line-height: 1; }
.v88c-bottomnav-btn .v88c-ico.material-icons { font-size: 2.4rem; }
.v88c-bottomnav-btn:hover { color: #fff; transform: translateY(-1px); }
.v88c-bottomnav-btn.v88c-bottomnav-btn-active { color: var(--v88c-gold); }
.v88c-bottomnav-btn-promo { color: var(--v88c-thistle); }
.v88c-bottomnav-btn-promo .v88c-ico { color: var(--v88c-gold); }

@media (min-width: 769px) {
  .v88c-bottomnav { display: none; }
  .v88c-menu-btn { display: none; }
  .v88c-container { max-width: 760px; }
  .v88c-grid { grid-template-columns: repeat(5, 1fr); }
  .v88c-testimonials { grid-template-columns: repeat(2, 1fr); }
  .v88c-footer-cols { grid-template-columns: repeat(4, 1fr); }
}
