/* ============================================================
 * okfun app - style-422c.css
 * Mobile-first casino portal styles. All custom classes use
 * the vcdd- prefix. Root font 62.5% -> 1rem = 10px.
 * Palette: #0D1117 (bg) / #006400 / #00FF7F / #8A2BE2 / #A9A9A9
 * ============================================================ */

:root {
  --vcdd-bg: #0D1117;
  --vcdd-bg-soft: #141b24;
  --vcdd-bg-card: #18202b;
  --vcdd-primary: #00FF7F;
  --vcdd-primary-dark: #006400;
  --vcdd-accent: #8A2BE2;
  --vcdd-text: #f3f5f8;
  --vcdd-text-muted: #A9A9A9;
  --vcdd-text-dim: #999999;
  --vcdd-border: rgba(0, 255, 127, 0.14);
  --vcdd-radius: 14px;
  --vcdd-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --vcdd-gradient: linear-gradient(135deg, #006400 0%, #00FF7F 55%, #8A2BE2 100%);
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--vcdd-bg);
  color: var(--vcdd-text);
  line-height: 1.6;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: 80px;
}

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

.vcdd-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.vcdd-wrapper { padding: 18px 12px; }

/* ---------------- Header ---------------- */
.vcdd-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vcdd-border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: background .25s ease, box-shadow .25s ease;
}
.vcdd-header-scrolled { background: rgba(13, 17, 23, 0.98); box-shadow: var(--vcdd-shadow); }

.vcdd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--vcdd-text);
  flex: 1;
  min-width: 0;
}
.vcdd-brand img { width: 28px; height: 28px; border-radius: 8px; }
.vcdd-brand-name {
  background: var(--vcdd-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.vcdd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 38px;
}
.vcdd-btn-login {
  background: transparent;
  color: var(--vcdd-primary);
  border: 1px solid var(--vcdd-primary);
}
.vcdd-btn-register {
  background: var(--vcdd-gradient);
  color: #0b0f14;
  box-shadow: 0 4px 14px rgba(0, 255, 127, 0.35);
}
.vcdd-btn:hover { transform: translateY(-1px); }
.vcdd-btn:active { transform: scale(0.97); }

.vcdd-menu-btn {
  background: transparent;
  border: none;
  color: var(--vcdd-text);
  font-size: 2rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Mobile menu ---------------- */
.vcdd-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--vcdd-bg-soft);
  z-index: 9999;
  padding: 70px 18px 24px;
  transition: right .28s ease;
  border-left: 1px solid var(--vcdd-border);
  box-shadow: -10px 0 30px rgba(0,0,0,0.4);
}
.vcdd-menu-open { right: 0; }
.vcdd-mobile-menu a {
  display: block;
  padding: 12px 10px;
  color: var(--vcdd-text);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.5rem;
  font-weight: 600;
}
.vcdd-mobile-menu a:hover { color: var(--vcdd-primary); }
.vcdd-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: none;
  color: var(--vcdd-text);
  font-size: 2rem;
  cursor: pointer;
}
.vcdd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
}
.vcdd-overlay.vcdd-menu-open { display: block; }

/* ---------------- Main / sections ---------------- */
main { padding-top: 64px; }
.vcdd-section { padding: 18px 12px; }
.vcdd-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vcdd-section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--vcdd-gradient);
}
.vcdd-section-sub {
  color: var(--vcdd-text-muted);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* ---------------- Carousel ---------------- */
.vcdd-carousel {
  position: relative;
  border-radius: var(--vcdd-radius);
  overflow: hidden;
  box-shadow: var(--vcdd-shadow);
  margin-bottom: 8px;
}
.vcdd-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.vcdd-slide-active { display: block; }
.vcdd-slide img { width: 100%; height: 190px; object-fit: cover; }
.vcdd-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-weight: 700;
  font-size: 1.5rem;
}
.vcdd-slide-cap small { display: block; color: var(--vcdd-primary); font-weight: 600; }
.vcdd-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}
.vcdd-arrow-prev { left: 8px; }
.vcdd-arrow-next { right: 8px; }
.vcdd-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
}
.vcdd-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin: 0 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.vcdd-dot-active { background: var(--vcdd-primary); width: 18px; border-radius: 4px; }

/* ---------------- Game grid ---------------- */
.vcdd-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 10px;
}
.vcdd-cat-title {
  font-size: 1.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vcdd-cat-badge {
  font-size: 1.1rem;
  color: var(--vcdd-text-dim);
  font-weight: 600;
}
.vcdd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vcdd-card {
  background: var(--vcdd-bg-card);
  border: 1px solid var(--vcdd-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align: center;
}
.vcdd-card:hover {
  transform: translateY(-2px);
  border-color: var(--vcdd-primary);
  box-shadow: 0 8px 18px rgba(0,255,127,0.18);
}
.vcdd-card-img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  background: #0b1118;
}
.vcdd-card-name {
  font-size: 1.2rem;
  padding: 5px 4px;
  color: var(--vcdd-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Reveal ---------------- */
.vcdd-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.vcdd-revealed { opacity: 1; transform: translateY(0); }

/* ---------------- Info blocks ---------------- */
.vcdd-block {
  background: var(--vcdd-bg-soft);
  border: 1px solid var(--vcdd-border);
  border-radius: var(--vcdd-radius);
  padding: 16px;
  margin-bottom: 14px;
}
.vcdd-block h2 { font-size: 1.8rem; margin-bottom: 8px; color: var(--vcdd-primary); }
.vcdd-block h3 { font-size: 1.5rem; margin: 10px 0 6px; color: var(--vcdd-text); }
.vcdd-block p { color: var(--vcdd-text-muted); margin-bottom: 8px; font-size: 1.4rem; }
.vcdd-block ul { margin: 6px 0 6px 20px; color: var(--vcdd-text-muted); }
.vcdd-block li { margin-bottom: 4px; }

/* ---------------- Promo CTA ---------------- */
.vcdd-cta {
  background: var(--vcdd-gradient);
  border-radius: var(--vcdd-radius);
  padding: 18px;
  color: #0b0f14;
  text-align: center;
  margin: 14px 0;
  box-shadow: 0 6px 22px rgba(138, 43, 226, 0.32);
}
.vcdd-cta h3 { font-size: 1.8rem; margin-bottom: 6px; }
.vcdd-cta p { font-size: 1.35rem; margin-bottom: 10px; color: #0b0f14; }
.vcdd-cta .vcdd-btn { background: #0b0f14; color: var(--vcdd-primary); }

/* ---------------- Testimonials ---------------- */
.vcdd-testi {
  background: var(--vcdd-bg-card);
  border-left: 3px solid var(--vcdd-primary);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.vcdd-testi p { font-size: 1.35rem; color: var(--vcdd-text); margin-bottom: 6px; }
.vcdd-testi span { color: var(--vcdd-primary); font-weight: 700; font-size: 1.2rem; }

/* ---------------- Payment / winners ---------------- */
.vcdd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vcdd-chip {
  background: var(--vcdd-bg-card);
  border: 1px solid var(--vcdd-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 1.25rem;
  color: var(--vcdd-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vcdd-win-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  background: var(--vcdd-bg-card);
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.vcdd-win-row b { color: var(--vcdd-primary); }

/* ---------------- Footer ---------------- */
.vcdd-footer {
  background: var(--vcdd-bg-soft);
  border-top: 1px solid var(--vcdd-border);
  padding: 20px 12px 24px;
  margin-top: 12px;
}
.vcdd-footer-brand { color: var(--vcdd-text-muted); font-size: 1.3rem; margin-bottom: 10px; }
.vcdd-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.vcdd-footer-links a {
  color: var(--vcdd-text);
  font-size: 1.25rem;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.vcdd-footer-links a:hover { color: var(--vcdd-primary); }
.vcdd-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vcdd-footer-promos .vcdd-btn { padding: 8px 12px; font-size: 1.2rem; }
.vcdd-copyright { color: var(--vcdd-text-dim); font-size: 1.15rem; text-align: center; }

/* ---------------- Bottom nav ---------------- */
.vcdd-bottomnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: rgba(20, 27, 36, 0.98);
  border-top: 1px solid var(--vcdd-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.45);
}
.vcdd-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vcdd-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color .15s ease, transform .15s ease;
  position: relative;
}
.vcdd-bottomnav-btn .material-icons,
.vcdd-bottomnav-btn ion-icon,
.vcdd-bottomnav-btn i { font-size: 22px; }
.vcdd-bottomnav-btn:hover { color: var(--vcdd-primary); transform: translateY(-2px); }
.vcdd-bottomnav-btn:active { transform: scale(0.92); }
.vcdd-bottomnav-active { color: var(--vcdd-primary); }
.vcdd-bottomnav-active::after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--vcdd-gradient);
}
.vcdd-bottomnav-promo { color: var(--vcdd-primary); }

/* ---------------- Desktop ---------------- */
@media (min-width: 769px) {
  .vcdd-bottomnav { display: none; }
  body { padding-bottom: 0; }
}
