/* scatter-game.click core stylesheet. All custom classes use the vdb3- prefix. */
:root {
  --vdb3-primary: #9932CC;
  --vdb3-primary-dark: #6b1f96;
  --vdb3-bg: #0F0F23;
  --vdb3-bg-soft: #181838;
  --vdb3-bg-card: #20204a;
  --vdb3-text: #D8BFD8;
  --vdb3-text-strong: #FFFFFF;
  --vdb3-text-muted: #a99bc4;
  --vdb3-accent: #f3c969;
  --vdb3-border: #2c2c5e;
  --vdb3-radius: 1.2rem;
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--vdb3-bg);
  color: var(--vdb3-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

a { color: var(--vdb3-accent); text-decoration: none; }

.vdb3-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vdb3-container { width: 100%; max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.vdb3-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, #0F0F23 0%, #1d1340 100%);
  border-bottom: 1px solid var(--vdb3-border);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.vdb3-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
}
.vdb3-brand { display: flex; align-items: center; gap: 0.8rem; }
.vdb3-brand-logo { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.vdb3-brand-name {
  font-size: 1.7rem; font-weight: 800; color: var(--vdb3-text-strong);
  letter-spacing: 0.3px;
}
.vdb3-brand-name span { color: var(--vdb3-primary); }
.vdb3-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vdb3-menu-toggle {
  background: transparent; border: none; color: var(--vdb3-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; line-height: 1;
}
.vdb3-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border-radius: 0.9rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.vdb3-btn:hover { transform: translateY(-1px); }
.vdb3-btn-primary {
  background: linear-gradient(135deg, var(--vdb3-primary), var(--vdb3-primary-dark));
  color: #fff; box-shadow: 0 4px 14px rgba(153,50,204,.45);
}
.vdb3-btn-ghost {
  background: transparent; color: var(--vdb3-text-strong);
  border: 1px solid var(--vdb3-primary);
}
.vdb3-btn-accent {
  background: linear-gradient(135deg, var(--vdb3-accent), #e0a93f);
  color: #1a1030; font-weight: 800;
}

/* ---------- Mobile slide menu ---------- */
#vdb3-mobile-menu {
  position: fixed; top: 0; right: -80%; height: 100vh; width: 78%;
  background: var(--vdb3-bg-soft); z-index: 9999;
  padding: 6rem 1.5rem 2rem; transition: right .3s ease;
  border-left: 1px solid var(--vdb3-border); overflow-y: auto;
}
#vdb3-mobile-menu.vdb3-menu-open { right: 0; }
#vdb3-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 9998; display: none;
}
#vdb3-mobile-menu.vdb3-menu-open ~ #vdb3-menu-overlay { display: block; }
.vdb3-menu-link {
  display: block; padding: 1.1rem 0.6rem; color: var(--vdb3-text-strong);
  border-bottom: 1px solid var(--vdb3-border); font-size: 1.5rem; font-weight: 600;
}
.vdb3-menu-link:hover { color: var(--vdb3-accent); }
body.vdb3-no-scroll { overflow: hidden; }

/* ---------- Layout ---------- */
main { padding-top: 6rem; }
@media (max-width: 768px) { main { padding-bottom: 8rem; } }

.vdb3-section { padding: 2.4rem 0; }
.vdb3-section-title {
  font-size: 2rem; font-weight: 800; color: var(--vdb3-text-strong);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem;
}
.vdb3-section-title i { color: var(--vdb3-accent); }
.vdb3-section-sub {
  font-size: 1.35rem; color: var(--vdb3-text-muted); margin-bottom: 1.4rem;
}

/* ---------- Hero carousel ---------- */
.vdb3-carousel { position: relative; border-radius: var(--vdb3-radius); overflow: hidden; margin-bottom: 1rem; }
.vdb3-slide {
  display: none; position: relative; cursor: pointer;
}
.vdb3-slide.vdb3-slide-active { display: block; }
.vdb3-slide img { width: 100%; height: 180px; object-fit: cover; }
.vdb3-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,15,35,.92));
  padding: 1.2rem; color: var(--vdb3-text-strong);
}
.vdb3-slide-caption h2 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.vdb3-slide-caption p { font-size: 1.25rem; color: var(--vdb3-text); }
.vdb3-dots {
  position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 2;
}
.vdb3-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(216,191,216,.45); cursor: pointer; border: none; padding: 0;
}
.vdb3-dot.vdb3-dot-active { background: var(--vdb3-accent); }

/* ---------- H1 hero ---------- */
.vdb3-hero {
  background: radial-gradient(circle at 30% 20%, rgba(153,50,204,.35), transparent 60%),
              linear-gradient(135deg, #0F0F23, #1d1340);
  padding: 2rem 1.2rem; border-radius: var(--vdb3-radius); text-align: center;
  margin: 1rem 0 2rem; border: 1px solid var(--vdb3-border);
}
.vdb3-hero h1 {
  font-size: 2.6rem; line-height: 3rem; color: var(--vdb3-text-strong);
  margin-bottom: 0.8rem; font-weight: 800;
}
.vdb3-hero h1 span { color: var(--vdb3-primary); }
.vdb3-hero p { font-size: 1.4rem; color: var(--vdb3-text-muted); margin-bottom: 1.4rem; }
.vdb3-hero-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Game grid ---------- */
.vdb3-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.vdb3-card {
  background: var(--vdb3-bg-card); border: 1px solid var(--vdb3-border);
  border-radius: 1rem; overflow: hidden; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0.6rem 0.4rem;
}
.vdb3-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(153,50,204,.35); }
.vdb3-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 0.7rem; margin-bottom: 0.5rem;
}
.vdb3-card-name {
  font-size: 1.15rem; color: var(--vdb3-text-strong); font-weight: 600;
  line-height: 1.3rem; height: 2.6rem; overflow: hidden;
}
.vdb3-cat-tag {
  display: inline-block; padding: 0.3rem 0.9rem; border-radius: 1rem;
  background: rgba(153,50,204,.2); color: var(--vdb3-accent);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; text-transform: uppercase;
}

/* ---------- Info blocks ---------- */
.vdb3-block {
  background: var(--vdb3-bg-soft); border: 1px solid var(--vdb3-border);
  border-radius: var(--vdb3-radius); padding: 1.6rem; margin-bottom: 1.4rem;
}
.vdb3-block h3 { font-size: 1.7rem; color: var(--vdb3-text-strong); margin-bottom: 0.8rem; }
.vdb3-block p { font-size: 1.35rem; color: var(--vdb3-text); margin-bottom: 0.8rem; }
.vdb3-block ul, .vdb3-block ol { padding-left: 1.6rem; }
.vdb3-block li { font-size: 1.3rem; color: var(--vdb3-text); margin-bottom: 0.5rem; }

.vdb3-features {
  display: grid; grid-template-columns: 1fr; gap: 0.8rem;
}
.vdb3-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--vdb3-bg-card); padding: 1.2rem; border-radius: 1rem;
  border: 1px solid var(--vdb3-border);
}
.vdb3-feature i { color: var(--vdb3-accent); font-size: 2.2rem; flex-shrink: 0; }
.vdb3-feature h4 { font-size: 1.4rem; color: var(--vdb3-text-strong); margin-bottom: 0.3rem; }
.vdb3-feature p { font-size: 1.25rem; color: var(--vdb3-text-muted); }

/* ---------- RTP / stats table ---------- */
.vdb3-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px dashed var(--vdb3-border);
  font-size: 1.3rem;
}
.vdb3-rtp-row:last-child { border-bottom: none; }
.vdb3-rtp-row strong { color: var(--vdb3-accent); }

/* ---------- Testimonials ---------- */
.vdb3-testi {
  background: var(--vdb3-bg-card); border-radius: 1rem; padding: 1.2rem;
  margin-bottom: 0.9rem; border-left: 3px solid var(--vdb3-primary);
}
.vdb3-testi-stars { color: var(--vdb3-accent); margin-bottom: 0.4rem; font-size: 1.2rem; }
.vdb3-testi p { font-size: 1.3rem; color: var(--vdb3-text); margin-bottom: 0.4rem; }
.vdb3-testi span { font-size: 1.15rem; color: var(--vdb3-text-muted); }

/* ---------- Payment chips ---------- */
.vdb3-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vdb3-chip {
  background: var(--vdb3-bg-card); border: 1px solid var(--vdb3-border);
  padding: 0.7rem 1.1rem; border-radius: 1rem; font-size: 1.2rem;
  color: var(--vdb3-text-strong); display: flex; align-items: center; gap: 0.4rem;
}

/* ---------- Winners ---------- */
.vdb3-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--vdb3-bg-card); padding: 0.9rem 1.1rem; border-radius: 0.8rem;
  margin-bottom: 0.6rem; font-size: 1.25rem; border: 1px solid var(--vdb3-border);
}
.vdb3-winner strong { color: var(--vdb3-accent); }

/* ---------- Inline promo text link ---------- */
.vdb3-text-link {
  color: var(--vdb3-accent); font-weight: 700; cursor: pointer; text-decoration: underline;
}

/* ---------- CTA banner ---------- */
.vdb3-cta {
  background: linear-gradient(135deg, var(--vdb3-primary), var(--vdb3-primary-dark));
  border-radius: var(--vdb3-radius); padding: 2rem 1.4rem; text-align: center;
  margin: 1.4rem 0;
}
.vdb3-cta h3 { font-size: 1.9rem; color: #fff; margin-bottom: 0.5rem; }
.vdb3-cta p { font-size: 1.3rem; color: rgba(255,255,255,.9); margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.vdb3-footer {
  background: #07071a; border-top: 1px solid var(--vdb3-border);
  padding: 2.4rem 1.2rem 9rem; margin-top: 2rem;
}
.vdb3-footer-inner { max-width: 430px; margin: 0 auto; }
.vdb3-footer p { font-size: 1.25rem; color: var(--vdb3-text-muted); margin-bottom: 1rem; line-height: 1.7rem; }
.vdb3-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem;
}
.vdb3-footer-links a {
  flex: 1 1 45%; background: var(--vdb3-bg-card); border: 1px solid var(--vdb3-border);
  padding: 0.7rem 0.9rem; border-radius: 0.7rem; font-size: 1.2rem; color: var(--vdb3-text-strong);
  text-align: center;
}
.vdb3-footer-links a:hover { color: var(--vdb3-accent); }
.vdb3-footer-copy {
  font-size: 1.1rem; color: var(--vdb3-text-muted); text-align: center;
  border-top: 1px solid var(--vdb3-border); padding-top: 1rem; margin-top: 1rem;
}

/* ---------- Mobile bottom nav ---------- */
.vdb3-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, #1d1340, #0F0F23);
  border-top: 1px solid var(--vdb3-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; z-index: 1000; padding: 0.2rem 0;
}
.vdb3-bottom-nav-btn {
  flex: 1; background: transparent; border: none; color: var(--vdb3-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; padding: 0.3rem; min-width: 60px; min-height: 60px;
  transition: color .2s ease, transform .2s ease; text-decoration: none;
}
.vdb3-bottom-nav-btn i { font-size: 2.2rem; }
.vdb3-bottom-nav-btn .material-icons-outlined { font-size: 2.2rem; }
.vdb3-bottom-nav-btn span { font-size: 1rem; line-height: 1.1rem; }
.vdb3-bottom-nav-btn:hover { color: var(--vdb3-accent); transform: translateY(-2px); }
.vdb3-bottom-nav-btn.vdb3-active { color: var(--vdb3-accent); }
.vdb3-bottom-nav-btn.vdb3-promo {
  background: radial-gradient(circle at 50% 0%, rgba(243,201,105,.25), transparent 70%);
  color: var(--vdb3-accent);
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .vdb3-bottom-nav { display: none; }
  .vdb3-wrapper, .vdb3-header-inner, .vdb3-footer-inner { max-width: 760px; }
  .vdb3-grid { grid-template-columns: repeat(5, 1fr); }
  .vdb3-features { grid-template-columns: repeat(2, 1fr); }
}
