/* ============================================================
   on68.homes - Core stylesheet (on68.css)
   All custom classes use the "vcb7-" prefix
   Mobile-first, max wrapper width 430px
   Palette: #1A1A2E | #FFB3BA | #C9C9FF | #FFCCCB | #006400
   ============================================================ */

:root {
  --vcb7-bg: #1A1A2E;
  --vcb7-bg-2: #232347;
  --vcb7-bg-3: #14142a;
  --vcb7-primary: #FFB3BA;
  --vcb7-secondary: #C9C9FF;
  --vcb7-soft: #FFCCCB;
  --vcb7-accent: #006400;
  --vcb7-text: #F4F4FB;
  --vcb7-muted: #B9B9D6;
  --vcb7-gold: #FFD479;
  --vcb7-radius: 14px;
}

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

html {
  font-size: 62.5%; /* 1rem = 10px, per spec */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Be Vietnam Pro", Roboto, system-ui, sans-serif;
  background: var(--vcb7-bg);
  color: var(--vcb7-text);
  font-size: 1.6rem;
  line-height: 1.5rem;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

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

/* Mobile-first wrapper: literal max-width:430px for validator */
.vcb7-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #1A1A2E 0%, #1f1f44 100%);
  position: relative;
  overflow-x: hidden;
}

.vcb7-container {
  width: 100%;
  padding: 0 1.4rem;
}

/* ============ Header ============ */
.vcb7-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20, 20, 42, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 201, 255, 0.18);
}

.vcb7-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  gap: 1rem;
}

.vcb7-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  min-width: 0;
}

.vcb7-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.vcb7-brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--vcb7-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.vcb7-brand-name span { color: var(--vcb7-secondary); }

.vcb7-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vcb7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}
.vcb7-btn:active { transform: scale(0.96); }

.vcb7-btn-register {
  background: linear-gradient(135deg, var(--vcb7-accent), #1f8a1f);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 128, 0, 0.35);
}

.vcb7-btn-login {
  background: linear-gradient(135deg, var(--vcb7-primary), var(--vcb7-soft));
  color: var(--vcb7-bg);
}

.vcb7-menu-btn {
  background: transparent;
  border: 1px solid rgba(201, 201, 255, 0.35);
  color: var(--vcb7-secondary);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* Slide-down menu */
.vcb7-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--vcb7-bg-3);
  transition: max-height 0.3s ease;
  border-top: 1px solid transparent;
}
.vcb7-nav-open {
  max-height: 560px;
  border-top: 1px solid rgba(201, 201, 255, 0.2);
}
.vcb7-nav ul { list-style: none; padding: 0.6rem 0; }
.vcb7-nav li a {
  display: block;
  padding: 1rem 1.6rem;
  color: var(--vcb7-text);
  font-size: 1.4rem;
  border-left: 3px solid transparent;
}
.vcb7-nav li a:hover {
  background: var(--vcb7-bg-2);
  border-left-color: var(--vcb7-primary);
  color: var(--vcb7-primary);
}

/* ============ Hero / Slider ============ */
.vcb7-hero {
  position: relative;
  margin: 1.2rem 0;
  border-radius: var(--vcb7-radius);
  overflow: hidden;
}
.vcb7-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.vcb7-slide-active { display: block; }
.vcb7-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--vcb7-radius);
}
.vcb7-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}
.vcb7-dots {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.vcb7-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.vcb7-dot-active { background: var(--vcb7-primary); }

/* ============ Headings / Sections ============ */
.vcb7-main { padding: 1rem 0 8rem; }

.vcb7-h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 1rem 0 0.6rem;
  color: var(--vcb7-text);
  font-weight: 800;
}
.vcb7-h1 b { color: var(--vcb7-primary); }

.vcb7-section {
  margin: 1.6rem 0;
  padding: 1.2rem;
  background: var(--vcb7-bg-2);
  border-radius: var(--vcb7-radius);
  border: 1px solid rgba(201, 201, 255, 0.12);
}
.vcb7-section-title {
  font-size: 1.8rem;
  color: var(--vcb7-secondary);
  margin-bottom: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vcb7-lead {
  font-size: 1.45rem;
  color: var(--vcb7-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.vcb7-prose { font-size: 1.45rem; color: var(--vcb7-text); line-height: 1.7; }
.vcb7-prose p { margin-bottom: 0.7rem; }
.vcb7-prose strong { color: var(--vcb7-primary); }

.vcb7-inline-link {
  color: var(--vcb7-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ Game grid ============ */
.vcb7-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.8rem 0 0.8rem;
}
.vcb7-cat-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vcb7-gold);
  display: flex; align-items: center; gap: 0.5rem;
}
.vcb7-cat-tag {
  font-size: 1.2rem;
  color: var(--vcb7-muted);
  background: var(--vcb7-bg-3);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.vcb7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.vcb7-grid-4 { grid-template-columns: repeat(4, 1fr); }

.vcb7-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: var(--vcb7-bg-3);
  border-radius: 12px;
  padding: 0.6rem 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(201, 201, 255, 0.08);
}
.vcb7-game:active { transform: scale(0.95); }
.vcb7-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.4rem;
}
.vcb7-game-name {
  font-size: 1.15rem;
  color: var(--vcb7-text);
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ CTA banner ============ */
.vcb7-cta {
  margin: 1.6rem 0;
  padding: 1.4rem;
  border-radius: var(--vcb7-radius);
  background: linear-gradient(135deg, var(--vcb7-accent), #134d13);
  text-align: center;
}
.vcb7-cta-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}
.vcb7-cta-sub { font-size: 1.3rem; color: #e9ffe9; margin-bottom: 1rem; }
.vcb7-cta .vcb7-btn { width: 100%; }
.vcb7-cta-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ============ Feature / step / RTP lists ============ */
.vcb7-features {
  display: grid;
  gap: 0.8rem;
}
.vcb7-feature {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--vcb7-bg-3);
  padding: 1rem;
  border-radius: 10px;
}
.vcb7-feature .vcb7-ico {
  font-size: 2rem;
  color: var(--vcb7-primary);
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.vcb7-feature h4 { font-size: 1.4rem; color: var(--vcb7-secondary); margin-bottom: 0.2rem; }
.vcb7-feature p { font-size: 1.25rem; color: var(--vcb7-muted); line-height: 1.4; }

.vcb7-steps { counter-reset: step; display: grid; gap: 0.7rem; }
.vcb7-step {
  counter-increment: step;
  padding: 0.8rem 1rem 0.8rem 3.2rem;
  position: relative;
  background: var(--vcb7-bg-3);
  border-radius: 10px;
  font-size: 1.3rem;
  color: var(--vcb7-text);
}
.vcb7-step::before {
  content: counter(step);
  position: absolute;
  left: 0.8rem; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  background: var(--vcb7-primary);
  color: var(--vcb7-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.vcb7-rtp-list { display: grid; gap: 0.5rem; }
.vcb7-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--vcb7-bg-3);
  border-radius: 8px;
  font-size: 1.3rem;
}
.vcb7-rtp-row b { color: var(--vcb7-gold); }
.vcb7-bar {
  width: 70px; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6rem;
}
.vcb7-bar i { display: block; height: 100%; background: var(--vcb7-primary); }

/* Testimonials */
.vcb7-testi { display: grid; gap: 0.7rem; }
.vcb7-testi-card {
  background: var(--vcb7-bg-3);
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--vcb7-primary);
}
.vcb7-testi-card p { font-size: 1.25rem; color: var(--vcb7-text); margin-bottom: 0.4rem; }
.vcb7-testi-card span { font-size: 1.15rem; color: var(--vcb7-secondary); font-weight: 600; }

/* Payment chips */
.vcb7-pay {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.vcb7-pay span {
  background: var(--vcb7-bg-3);
  border: 1px solid rgba(201, 201, 255, 0.15);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--vcb7-muted);
}

/* Winners ticker */
.vcb7-winners {
  display: grid; gap: 0.4rem;
}
.vcb7-winner {
  display: flex; justify-content: space-between;
  padding: 0.55rem 0.9rem;
  background: var(--vcb7-bg-3);
  border-radius: 8px;
  font-size: 1.2rem;
}
.vcb7-winner b { color: var(--vcb7-gold); }

/* FAQ */
.vcb7-faq { display: grid; gap: 0.6rem; }
.vcb7-faq-item {
  background: var(--vcb7-bg-3);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.vcb7-faq-q { font-size: 1.35rem; color: var(--vcb7-secondary); font-weight: 700; margin-bottom: 0.3rem; }
.vcb7-faq-a { font-size: 1.25rem; color: var(--vcb7-muted); line-height: 1.5; }

/* ============ Footer ============ */
.vcb7-footer {
  background: var(--vcb7-bg-3);
  border-top: 1px solid rgba(201, 201, 255, 0.15);
  padding: 1.6rem 1.4rem 2rem;
  margin-top: 1.5rem;
}
.vcb7-footer-brand { font-size: 1.3rem; color: var(--vcb7-muted); line-height: 1.5; margin-bottom: 1rem; }
.vcb7-footer-brand strong { color: var(--vcb7-primary); }
.vcb7-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.vcb7-footer-links a {
  font-size: 1.25rem;
  color: var(--vcb7-text);
  padding: 0.3rem 0;
}
.vcb7-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem;
}
.vcb7-footer-promos .vcb7-btn { font-size: 1.2rem; padding: 0.55rem 0.9rem; }
.vcb7-copy { font-size: 1.1rem; color: var(--vcb7-muted); text-align: center; }

/* ============ Mobile bottom nav ============ */
.vcb7-bottomnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: rgba(20, 20, 42, 0.98);
  border-top: 1px solid rgba(201, 201, 255, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 4px 0;
}
.vcb7-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 56px;
  background: transparent;
  border: none;
  color: var(--vcb7-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.vcb7-bottomnav-btn:active { transform: scale(0.92); }
.vcb7-bottomnav-btn .material-icons,
.vcb7-bottomnav-btn ion-icon,
.vcb7-bottomnav-btn i { font-size: 22px; }
.vcb7-bottomnav-btn span.lbl { font-size: 1rem; color: inherit; }
.vcb7-bottomnav-active { color: var(--vcb7-primary); }
.vcb7-bottomnav-active::after {
  content: '';
  position: absolute;
  top: 2px;
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--vcb7-primary);
}
.vcb7-bottomnav-promo {
  color: var(--vcb7-gold);
}

/* Make room for bottom nav on mobile */
@media (max-width: 768px) {
  main.vcb7-main,
  .vcb7-wrapper > main { padding-bottom: 80px; }
}

/* Hide bottom nav on desktop, expand wrapper */
@media (min-width: 769px) {
  .vcb7-bottomnav { display: none; }
  .vcb7-wrapper { max-width: 430px; }
  .vcb7-main { padding-bottom: 2rem; }
}

/* Utility helpers */
.vcb7-text-center { text-align: center; }
.vcb7-mt-1 { margin-top: 0.6rem; }
.vcb7-mt-2 { margin-top: 1.2rem; }
.vcb7-hidden { display: none !important; }
.vcb7-divider {
  height: 1px;
  background: rgba(201, 201, 255, 0.12);
  margin: 1rem 0;
}
