/* ============================================================
   188w.click - Layout Stylesheet
   All custom classes use the va76- prefix.
   Palette: #00E5FF (cyan) | #00FF7F (green) | #141414 (dark)
   Mobile-first, max-width 430px viewport.
   ============================================================ */
:root {
  --va76-primary: #00E5FF;
  --va76-secondary: #00FF7F;
  --va76-bg: #141414;
  --va76-bg-soft: #1e1e1e;
  --va76-bg-card: #222222;
  --va76-text: #f5f7fa;
  --va76-text-muted: #9aa0a6;
  --va76-border: rgba(0, 229, 255, 0.18);
  --va76-gradient: linear-gradient(135deg, #00E5FF 0%, #00FF7F 100%);
  --va76-gradient-dark: linear-gradient(180deg, #0d0d0d 0%, #141414 100%);
  --va76-radius: 12px;
  --va76-radius-lg: 18px;
  --va76-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --va76-shadow-glow: 0 0 18px rgba(0, 229, 255, 0.35);
  --va76-header-h: 5.6rem;
  --va76-bnav-h: 6.2rem;
}
/* ---------- Base reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--va76-bg);
  background-image: var(--va76-gradient-dark);
  color: var(--va76-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--va76-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
/* ---------- Layout primitives ---------- */
.va76-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.4rem; }
.va76-section { padding: 2.4rem 0; border-top: 1px solid var(--va76-border); }
.va76-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.va76-grid-2 { grid-template-columns: repeat(2, 1fr); }
.va76-grid-4 { grid-template-columns: repeat(4, 1fr); }
/* ---------- Header ---------- */
.va76-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--va76-header-h);
  background: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--va76-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.va76-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.va76-brand { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.va76-brand img { width: 2.8rem; height: 2.8rem; border-radius: 6px; }
.va76-brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--va76-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}
.va76-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.va76-menu-btn {
  width: 3.6rem; height: 3.6rem;
  border: 1px solid var(--va76-border);
  background: var(--va76-bg-soft);
  color: var(--va76-primary);
  border-radius: 8px;
  font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
}
/* ---------- Buttons ---------- */
.va76-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  min-height: 3.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.va76-btn:active { transform: scale(0.96); }
.va76-btn-primary { background: var(--va76-gradient); color: #0a0a0a; box-shadow: var(--va76-shadow-glow); }
.va76-btn-secondary { background: transparent; color: var(--va76-primary); border: 1px solid var(--va76-primary); }
.va76-btn-block { display: flex; width: 100%; }
.va76-btn-lg { padding: 1.2rem 2rem; font-size: 1.6rem; min-height: 4.6rem; }
/* ---------- Mobile slide-down menu ---------- */
.va76-mobile-menu {
  position: fixed;
  top: var(--va76-header-h);
  left: 0; right: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(15, 15, 15, 0.99);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--va76-border);
  transition: max-height 0.32s ease;
  z-index: 9999;
}
.va76-mobile-menu.va76-menu-open { max-height: 70vh; overflow-y: auto; }
.va76-menu-list { list-style: none; padding: 1rem 1.4rem 1.6rem; }
.va76-menu-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.va76-menu-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 0.4rem;
  color: var(--va76-text); font-size: 1.5rem; font-weight: 600;
}
.va76-menu-list a i { color: var(--va76-secondary); font-size: 1.6rem; }
/* ---------- Hero slider ---------- */
.va76-hero { padding-top: calc(var(--va76-header-h) + 1rem); }
.va76-slider { position: relative; border-radius: var(--va76-radius-lg); overflow: hidden; box-shadow: var(--va76-shadow); }
.va76-slide { position: relative; display: none; width: 100%; aspect-ratio: 16 / 9; }
.va76-slide.va76-slide-active { display: block; }
.va76-slide img { width: 100%; height: 100%; object-fit: cover; }
.va76-slide-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%); }
.va76-slide-caption { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; color: #fff; }
.va76-slide-caption h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.3rem; }
.va76-slide-caption p { font-size: 1.3rem; color: rgba(255,255,255,0.85); }
.va76-dots { position: absolute; bottom: 0.8rem; right: 1.2rem; display: flex; gap: 0.5rem; }
.va76-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; }
.va76-dot.va76-dot-active { background: var(--va76-secondary); box-shadow: 0 0 6px var(--va76-secondary); }
/* ---------- Section headings ---------- */
.va76-section-title { display: flex; align-items: center; gap: 0.7rem; font-size: 1.7rem; font-weight: 800; margin-bottom: 1.2rem; }
.va76-section-title i { color: var(--va76-secondary); font-size: 1.9rem; }
.va76-section-title .va76-tag {
  margin-left: auto; font-size: 1.1rem; color: var(--va76-primary);
  background: rgba(0, 229, 255, 0.12); padding: 0.2rem 0.7rem; border-radius: 999px;
}
/* ---------- Cards & game grid ---------- */
.va76-card { background: var(--va76-bg-card); border: 1px solid var(--va76-border); border-radius: var(--va76-radius); padding: 1.2rem; box-shadow: var(--va76-shadow); }
.va76-game-card {
  background: var(--va76-bg-card);
  border: 1px solid var(--va76-border);
  border-radius: var(--va76-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}
.va76-game-card:active { transform: scale(0.95); box-shadow: var(--va76-shadow-glow); }
.va76-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0a0a0a; }
.va76-game-name {
  padding: 0.6rem 0.4rem 0.8rem;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--va76-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.va76-cat-header { display: flex; align-items: center; gap: 0.6rem; margin: 1.8rem 0 1rem; font-size: 1.5rem; font-weight: 700; color: var(--va76-secondary); }
.va76-cat-header span { color: var(--va76-text-muted); font-size: 1.2rem; font-weight: 500; }
/* ---------- Feature / info blocks ---------- */
.va76-feature-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.va76-feature-icon {
  flex: 0 0 4.2rem; height: 4.2rem; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 229, 255, 0.12); color: var(--va76-primary); font-size: 2rem;
}
.va76-feature-body h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.va76-feature-body p { font-size: 1.3rem; color: var(--va76-text-muted); }
/* ---------- RTP table ---------- */
.va76-rtp-row { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px dashed rgba(255,255,255,0.08); font-size: 1.3rem; }
.va76-rtp-row:last-child { border-bottom: none; }
.va76-rtp-value { color: var(--va76-secondary); font-weight: 800; }
/* ---------- Testimonials ---------- */
.va76-testimonial { background: var(--va76-bg-card); border-left: 3px solid var(--va76-secondary); border-radius: 10px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.va76-testimonial p { font-size: 1.3rem; color: var(--va76-text); margin-bottom: 0.5rem; }
.va76-testimonial .va76-author { font-size: 1.2rem; color: var(--va76-primary); font-weight: 700; }
/* ---------- Winners ---------- */
.va76-winner { display: flex; align-items: center; gap: 0.9rem; background: var(--va76-bg-card); padding: 0.9rem 1rem; border-radius: 10px; margin-bottom: 0.7rem; font-size: 1.3rem; }
.va76-winner .va76-amount { margin-left: auto; color: var(--va76-secondary); font-weight: 800; }
/* ---------- Footer ---------- */
.va76-footer { background: #0b0b0b; border-top: 1px solid var(--va76-border); padding: 2.4rem 0 calc(var(--va76-bnav-h) + 2rem); margin-top: 2rem; }
.va76-footer-brand { font-size: 1.4rem; color: var(--va76-text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.va76-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; margin-bottom: 1.2rem; }
.va76-footer-links a {
  flex: 1 1 44%; font-size: 1.25rem; color: var(--va76-text);
  background: var(--va76-bg-card); border: 1px solid var(--va76-border);
  padding: 0.7rem 0.9rem; border-radius: 8px; text-align: center;
}
.va76-footer-copy { font-size: 1.15rem; color: var(--va76-text-muted); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }
/* ---------- Mobile bottom navigation ---------- */
.va76-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--va76-bnav-h);
  background: rgba(12, 12, 12, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--va76-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.va76-bnav-btn {
  flex: 1; min-width: 60px; min-height: 100%;
  background: transparent; border: none;
  color: var(--va76-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; padding: 0.4rem 0;
  transition: color 0.18s ease, transform 0.18s ease;
}
.va76-bnav-btn .va76-bnav-icon { font-size: 2.2rem; line-height: 1; }
.va76-bnav-btn .va76-bnav-label { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.2px; }
.va76-bnav-btn.va76-bnav-active,
.va76-bnav-btn:active { color: var(--va76-secondary); }
.va76-bnav-btn.va76-bnav-active .va76-bnav-icon { text-shadow: 0 0 8px rgba(0,255,127,0.6); }
.va76-bnav-btn.va76-bnav-tap { transform: scale(0.88); }
.va76-bnav-promo { position: relative; color: var(--va76-primary); }
.va76-bnav-promo .va76-bnav-icon {
  background: var(--va76-gradient); color: #0a0a0a;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; margin-top: -1rem; box-shadow: var(--va76-shadow-glow);
}
/* ---------- Utility ---------- */
.va76-text-center { text-align: center; }
.va76-mt-1 { margin-top: 0.6rem; }
.va76-mt-2 { margin-top: 1.2rem; }
.va76-mt-3 { margin-top: 2rem; }
.va76-muted { color: var(--va76-text-muted); }
.va76-kw { color: var(--va76-secondary); font-weight: 700; }
.va76-link-text { color: var(--va76-primary); font-weight: 700; border-bottom: 1px dashed var(--va76-primary); }
/* ---------- Responsive ---------- */
@media (min-width: 769px) { .va76-bnav { display: none; } .va76-container { max-width: 760px; } }
@media (max-width: 768px) { .va76-main { padding-bottom: calc(var(--va76-bnav-h) + 1.2rem); } }
