/* Arionplay theme - theme-e1db.css
   All custom classes use the vb37- prefix per project convention.
   Color palette: dark background #212F3D, accent greys #999999 / #95A5A6, light text. */

:root {
  --vb37-primary: #999999;
  --vb37-secondary: #95A5A6;
  --vb37-bg: #212F3D;
  --vb37-bg-deep: #172230;
  --vb37-bg-card: #28374a;
  --vb37-text: #ecf2f6;
  --vb37-text-muted: #b7c2cc;
  --vb37-accent: #c9a14a;
  --vb37-accent-2: #e0b65a;
  --vb37-border: #3a4a5e;
  --vb37-radius: 1.2rem;
}

* { 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, sans-serif;
  background: var(--vb37-bg);
  color: var(--vb37-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

a { color: var(--vb37-accent-2); text-decoration: none; }
a:hover { color: var(--vb37-accent); text-decoration: underline; }

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

/* ---------- Header ---------- */
.vb37-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1c2935 0%, var(--vb37-bg) 100%);
  border-bottom: 1px solid var(--vb37-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  min-height: 5.2rem;
}
.vb37-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--vb37-text); }
.vb37-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.vb37-logo b { font-size: 1.5rem; color: var(--vb37-accent-2); letter-spacing: 0.04rem; }
.vb37-logo small { display: block; font-size: 1rem; color: var(--vb37-text-muted); font-weight: 400; }

.vb37-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.vb37-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 0.8rem;
  padding: 0.7rem 1.1rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 3.2rem;
  transition: transform 0.15s ease, background 0.15s ease;
  color: #1a2330;
  background: linear-gradient(135deg, var(--vb37-accent-2), var(--vb37-accent));
}
.vb37-btn:hover { transform: translateY(-1px); text-decoration: none; color: #1a2330; }
.vb37-btn:active { transform: scale(0.96); }
.vb37-btn-outline {
  background: transparent;
  border: 1px solid var(--vb37-secondary);
  color: var(--vb37-text);
}
.vb37-btn-outline:hover { background: rgba(149,165,166,0.15); color: var(--vb37-text); }
.vb37-btn-block { width: 100%; display: flex; }

.vb37-menu-btn {
  background: transparent;
  border: 1px solid var(--vb37-border);
  color: var(--vb37-text);
  border-radius: 0.8rem;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile menu ---------- */
.vb37-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--vb37-bg-deep);
  z-index: 9999;
  padding: 1.4rem 1.2rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--vb37-border);
}
.vb37-mobile-menu.vb37-open { right: 0; }
.vb37-mobile-menu h3 { color: var(--vb37-accent-2); font-size: 1.4rem; margin: 1.2rem 0 0.6rem; }
.vb37-mobile-menu a {
  display: block;
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid var(--vb37-border);
  color: var(--vb37-text);
  font-size: 1.3rem;
}
.vb37-mobile-menu a:hover { color: var(--vb37-accent-2); }
.vb37-menu-close {
  display: block;
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--vb37-text);
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Carousel ---------- */
.vb37-carousel {
  position: relative;
  width: 100%;
  height: 18rem;
  border-radius: var(--vb37-radius);
  overflow: hidden;
  margin: 1rem 0;
}
.vb37-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.vb37-slide.vb37-active { opacity: 1; }
.vb37-slide img { width: 100%; height: 100%; object-fit: cover; }
.vb37-slide .vb37-slide-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(23,34,48,0.78);
  padding: 0.6rem 1rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: var(--vb37-text);
}
.vb37-dots { position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.4rem; }
.vb37-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(236,242,246,0.45); cursor: pointer;
}
.vb37-dot.vb37-active { background: var(--vb37-accent-2); }

/* ---------- Sections ---------- */
.vb37-section { padding: 1.4rem 1.2rem; }
.vb37-section-title {
  font-size: 1.8rem;
  color: var(--vb37-accent-2);
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--vb37-accent);
  padding-left: 0.8rem;
}
.vb37-section-title small {
  display: block;
  font-size: 1.1rem;
  color: var(--vb37-text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
}
.vb37-lead { color: var(--vb37-text-muted); margin-bottom: 1rem; font-size: 1.3rem; }

/* ---------- Game grid ---------- */
.vb37-cat-head {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.4rem 0 0.8rem;
}
.vb37-cat-head .vb37-cat-icon {
  width: 2.4rem; height: 2.4rem; display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--vb37-bg-card); border-radius: 0.6rem;
  color: var(--vb37-accent-2); font-size: 1.4rem;
}
.vb37-cat-head h2 { font-size: 1.6rem; color: var(--vb37-text); }
.vb37-cat-head h2 small { display: block; font-size: 1rem; color: var(--vb37-text-muted); font-weight: 400; }

.vb37-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.vb37-card {
  background: var(--vb37-bg-card);
  border: 1px solid var(--vb37-border);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.vb37-card:hover { transform: translateY(-2px); border-color: var(--vb37-accent); }
.vb37-card:active { transform: scale(0.97); }
.vb37-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.vb37-card .vb37-card-name {
  font-size: 1.05rem;
  color: var(--vb37-text);
  padding: 0.5rem 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature / promo modules ---------- */
.vb37-feat {
  background: linear-gradient(135deg, #28374a, #1f2d3e);
  border: 1px solid var(--vb37-border);
  border-radius: var(--vb37-radius);
  padding: 1.2rem;
  margin: 1rem 1.2rem;
}
.vb37-feat h3 { color: var(--vb37-accent-2); font-size: 1.5rem; margin-bottom: 0.5rem; }
.vb37-feat p { color: var(--vb37-text-muted); font-size: 1.25rem; margin-bottom: 0.8rem; }
.vb37-feat ul { list-style: none; margin: 0.5rem 0; }
.vb37-feat li { padding: 0.4rem 0; color: var(--vb37-text); font-size: 1.2rem; border-bottom: 1px dashed var(--vb37-border); }
.vb37-feat li:last-child { border-bottom: none; }

.vb37-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 1.2rem;
}
.vb37-stat {
  background: var(--vb37-bg-card);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--vb37-border);
}
.vb37-stat b { display: block; font-size: 1.8rem; color: var(--vb37-accent-2); }
.vb37-stat span { font-size: 1.1rem; color: var(--vb37-text-muted); }

.vb37-cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 1.2rem;
}
.vb37-cta .vb37-btn { flex: 1 1 auto; }

/* ---------- Testimonials ---------- */
.vb37-testi {
  background: var(--vb37-bg-card);
  border-radius: 1rem;
  padding: 1rem;
  margin: 0.6rem 1.2rem;
  border-left: 3px solid var(--vb37-accent);
}
.vb37-testi p { font-size: 1.2rem; color: var(--vb37-text); margin-bottom: 0.4rem; }
.vb37-testi cite { color: var(--vb37-text-muted); font-style: normal; font-size: 1.1rem; }

/* ---------- Winners ---------- */
.vb37-winners {
  background: var(--vb37-bg-deep);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  margin: 1rem 1.2rem;
  border: 1px solid var(--vb37-border);
}
.vb37-winners li {
  display: flex; justify-content: space-between;
  font-size: 1.2rem; padding: 0.4rem 0;
  border-bottom: 1px dashed var(--vb37-border);
}
.vb37-winners li:last-child { border-bottom: none; }
.vb37-winners li span { color: var(--vb37-accent-2); font-weight: 700; }

/* ---------- Payment ---------- */
.vb37-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 1.2rem; }
.vb37-pay span {
  background: var(--vb37-bg-card); border: 1px solid var(--vb37-border);
  padding: 0.6rem 1rem; border-radius: 0.8rem; color: var(--vb37-text); font-size: 1.15rem;
}

/* ---------- FAQ ---------- */
.vb37-faq details {
  background: var(--vb37-bg-card);
  border: 1px solid var(--vb37-border);
  border-radius: 0.8rem;
  margin: 0.6rem 1.2rem;
  padding: 0.8rem 1rem;
}
.vb37-faq summary {
  cursor: pointer; font-size: 1.3rem; color: var(--vb37-accent-2); font-weight: 600;
}
.vb37-faq details p { margin-top: 0.6rem; color: var(--vb37-text-muted); font-size: 1.2rem; }

/* ---------- SEO text block ---------- */
.vb37-seo-text {
  background: var(--vb37-bg-deep);
  border-radius: 1rem;
  padding: 1.2rem;
  margin: 1rem 1.2rem;
  font-size: 1.2rem;
  color: var(--vb37-text-muted);
  line-height: 1.7rem;
}
.vb37-seo-text h3 { color: var(--vb37-text); font-size: 1.4rem; margin: 0.8rem 0 0.4rem; }
.vb37-seo-text a { color: var(--vb37-accent-2); }

/* ---------- Footer ---------- */
.vb37-footer {
  background: var(--vb37-bg-deep);
  border-top: 1px solid var(--vb37-border);
  padding: 1.4rem 1.2rem 2rem;
  margin-top: 1.4rem;
}
.vb37-footer h4 { color: var(--vb37-accent-2); font-size: 1.3rem; margin: 0.8rem 0 0.4rem; }
.vb37-footer p { color: var(--vb37-text-muted); font-size: 1.15rem; margin-bottom: 0.6rem; }
.vb37-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 0.8rem; margin: 0.6rem 0;
}
.vb37-footer-links a { color: var(--vb37-text); font-size: 1.15rem; }
.vb37-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.vb37-footer-promo .vb37-btn { flex: 1 1 auto; min-width: 8rem; }
.vb37-copy { text-align: center; color: var(--vb37-text-muted); font-size: 1.1rem; margin-top: 1rem; }

/* ---------- Bottom nav ---------- */
.vb37-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(180deg, #1c2935, #121b27);
  border-top: 1px solid var(--vb37-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
}
.vb37-nav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: none;
  color: var(--vb37-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.vb37-nav-btn i, .vb37-nav-btn .material-icons-outlined, .vb37-nav-btn .ion {
  font-size: 2.2rem;
}
.vb37-nav-btn:hover { color: var(--vb37-text); }
.vb37-nav-btn:active { transform: scale(0.92); }
.vb37-nav-btn.vb37-active { color: var(--vb37-accent-2); }
.vb37-nav-btn.vb37-active::after {
  content: ""; display: block; width: 2.2rem; height: 0.25rem;
  background: var(--vb37-accent-2); border-radius: 0.2rem; margin-top: 0.1rem;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .vb37-bottom-nav { display: none; }
  .vb37-grid { grid-template-columns: repeat(6, 1fr); }
  .vb37-wrapper { max-width: 1100px; }
  .vb37-header { padding: 0.8rem 2rem; }
}

/* Mobile bottom padding so content is not hidden behind the fixed nav. */
@media (max-width: 768px) {
  main, .vb37-main { padding-bottom: 8rem; }
}
