/* ============================================================
   King Laro - layout-440c.css
   All custom classes use the vc86- prefix.
   Palette: #00FF7F | #006400 | #D3D3D3 | #0A0A0A | #880E4F | #FF69B4
   ============================================================ */

:root {
  --vc86-bg: #0A0A0A;
  --vc86-bg-soft: #141414;
  --vc86-surface: #1c1c1c;
  --vc86-primary: #00FF7F;
  --vc86-primary-dark: #006400;
  --vc86-accent: #FF69B4;
  --vc86-magenta: #880E4F;
  --vc86-text: #D3D3D3;
  --vc86-text-bright: #FFFFFF;
  --vc86-border: rgba(0, 255, 127, 0.18);
  --vc86-radius: 1.2rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--vc86-bg);
  color: var(--vc86-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--vc86-primary); text-decoration: none; }
h1, h2, h3 { color: var(--vc86-text-bright); margin: 0 0 1rem; line-height: 1.2; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1rem; }

/* ---------- Layout containers ---------- */
.vc86-wrapper { width: 100%; padding: 0 1.2rem; }
.vc86-container { width: 100%; max-width: 430px; margin: 0 auto; }
.vc86-section { padding: 2.4rem 1.2rem; }
.vc86-section-alt { background: var(--vc86-bg-soft); }

/* ---------- Header ---------- */
.vc86-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #060606 0%, #0A0A0A 100%);
  border-bottom: 0.2rem solid var(--vc86-border);
  max-width: 430px;
  margin: 0 auto;
}
.vc86-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.vc86-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--vc86-text-bright); font-weight: 700;
}
.vc86-logo img { width: 2.8rem; height: 2.8rem; border-radius: 50%; }
.vc86-logo-text {
  font-size: 1.7rem;
  background: linear-gradient(90deg, var(--vc86-primary), var(--vc86-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vc86-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vc86-menu-btn {
  background: transparent; border: 0.1rem solid var(--vc86-border);
  color: var(--vc86-primary); width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem; font-size: 1.8rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.vc86-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.4rem; border-radius: 2rem; font-weight: 700;
  border: none; cursor: pointer; font-size: 1.35rem; min-height: 3.6rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.vc86-btn:active { transform: scale(0.96); }
.vc86-btn-primary {
  background: linear-gradient(90deg, var(--vc86-primary), #28e57f);
  color: #04140a; box-shadow: 0 0.4rem 1.2rem rgba(0, 255, 127, 0.25);
}
.vc86-btn-accent {
  background: linear-gradient(90deg, var(--vc86-accent), var(--vc86-magenta));
  color: #fff; box-shadow: 0 0.4rem 1.2rem rgba(255, 105, 180, 0.25);
}
.vc86-btn-ghost {
  background: transparent; border: 0.15rem solid var(--vc86-primary);
  color: var(--vc86-primary);
}
.vc86-link-text {
  color: var(--vc86-primary); font-weight: 700; border-bottom: 0.1rem dashed var(--vc86-accent);
}

/* ---------- Mobile slide-down menu ---------- */
.vc86-mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: var(--vc86-bg-soft);
  border-bottom: 0.2rem solid var(--vc86-primary);
  padding: 5.6rem 1.2rem 1.6rem;
  transform: translateY(-110%); transition: transform 0.3s ease;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.6);
}
.vc86-mobile-menu.vc86-menu-open { transform: translateY(0); }
.vc86-mobile-menu a {
  display: block; padding: 1rem 1.2rem; border-radius: 0.8rem;
  color: var(--vc86-text); border-bottom: 0.1rem solid rgba(255,255,255,0.04);
  font-weight: 600;
}
.vc86-mobile-menu a:hover, .vc86-mobile-menu a:focus {
  background: rgba(0,255,127,0.08); color: var(--vc86-primary);
}

/* ---------- Hero slider ---------- */
.vc86-hero {
  margin-top: 6rem; position: relative;
  border-radius: 0 0 1.6rem 1.6rem; overflow: hidden;
}
.vc86-slider { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.vc86-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.vc86-slide.vc86-slide-active { opacity: 1; }
.vc86-slide img { width: 100%; height: 100%; object-fit: cover; }
.vc86-slide-overlay {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff; padding: 1.4rem 1rem 0.6rem; border-radius: 1rem;
}
.vc86-slide-overlay strong { color: var(--vc86-primary); font-size: 1.6rem; }
.vc86-slider-dots {
  position: absolute; bottom: 1rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem; z-index: 2;
}
.vc86-dot {
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.vc86-dot.vc86-slide-active { background: var(--vc86-primary); }

/* ---------- Section headings ---------- */
.vc86-section-title {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem;
}
.vc86-section-title h2 { margin: 0; flex: 1; }
.vc86-pill {
  font-size: 1.15rem; padding: 0.25rem 0.8rem; border-radius: 1rem;
  background: rgba(0,255,127,0.12); color: var(--vc86-primary); font-weight: 700;
}

/* ---------- Game grid + cards ---------- */
.vc86-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.vc86-grid-4 { grid-template-columns: repeat(4, 1fr); }
.vc86-card {
  background: var(--vc86-surface); border-radius: var(--vc86-radius);
  overflow: hidden; cursor: pointer; position: relative;
  border: 0.1rem solid rgba(255,255,255,0.04);
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.vc86-card:active { transform: scale(0.97); border-color: var(--vc86-primary); }
.vc86-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #222; }
.vc86-card-name {
  font-size: 1.15rem; padding: 0.4rem 0.5rem 0.6rem; text-align: center;
  color: var(--vc86-text-bright); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.vc86-card-hot {
  position: absolute; top: 0.4rem; right: 0.4rem;
  background: var(--vc86-accent); color: #fff; font-size: 1rem;
  padding: 0.1rem 0.5rem; border-radius: 0.6rem;
}

/* Category badges row */
.vc86-cat-row { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.6rem; }
.vc86-cat-row::-webkit-scrollbar { display: none; }
.vc86-cat {
  flex: 0 0 auto; padding: 0.5rem 1.1rem; border-radius: 1.6rem;
  background: var(--vc86-surface); color: var(--vc86-text);
  font-size: 1.25rem; border: 0.1rem solid rgba(255,255,255,0.06);
}
.vc86-cat.vc86-cat-on { background: var(--vc86-primary-dark); color: var(--vc86-primary); border-color: var(--vc86-primary); }

/* ---------- Info / feature / faq blocks ---------- */
.vc86-lead {
  font-size: 1.55rem; color: var(--vc86-text); margin-bottom: 1.2rem;
}
.vc86-info-card {
  background: var(--vc86-surface); border-radius: var(--vc86-radius);
  padding: 1.4rem; margin-bottom: 1rem; border-left: 0.3rem solid var(--vc86-primary);
}
.vc86-info-card h3 { color: var(--vc86-primary); }
.vc86-step-list { counter-reset: step; padding-left: 0; list-style: none; }
.vc86-step-list li {
  position: relative; padding-left: 3.4rem; margin-bottom: 1rem;
}
.vc86-step-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--vc86-primary-dark); color: var(--vc86-primary);
  font-weight: 700; text-align: center; line-height: 2.4rem;
}
.vc86-faq-item {
  border-bottom: 0.1rem solid rgba(255,255,255,0.06); padding: 1rem 0;
}
.vc86-faq-item h3 { color: var(--vc86-accent); font-size: 1.4rem; margin-bottom: 0.5rem; }
.vc86-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.vc86-table th, .vc86-table td { padding: 0.6rem 0.4rem; border-bottom: 0.1rem solid rgba(255,255,255,0.06); text-align: left; }
.vc86-table th { color: var(--vc86-primary); }

/* ---------- RTP / stat tiles ---------- */
.vc86-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.vc86-stat {
  background: var(--vc86-surface); border-radius: 1rem; padding: 1rem;
  text-align: center; border: 0.1rem solid rgba(255,255,255,0.05);
}
.vc86-stat-num {
  font-size: 2rem; font-weight: 800; color: var(--vc86-primary);
}
.vc86-stat-label { font-size: 1.15rem; color: var(--vc86-text); }

/* ---------- Testimonial / winner ---------- */
.vc86-quote {
  background: var(--vc86-surface); border-radius: var(--vc86-radius);
  padding: 1.2rem; margin-bottom: 0.8rem; border-left: 0.3rem solid var(--vc86-accent);
}
.vc86-quote-author { color: var(--vc86-primary); font-weight: 700; font-size: 1.25rem; }

/* ---------- Payment chips ---------- */
.vc86-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vc86-chip {
  background: var(--vc86-surface); color: var(--vc86-text-bright);
  padding: 0.5rem 1rem; border-radius: 1.4rem; font-size: 1.2rem;
  border: 0.1rem solid rgba(255,255,255,0.06);
}

/* ---------- CTA banner ---------- */
.vc86-cta {
  background: linear-gradient(135deg, var(--vc86-primary-dark), var(--vc86-magenta));
  border-radius: var(--vc86-radius); padding: 1.6rem; text-align: center;
  color: #fff; margin: 1.6rem 0;
}
.vc86-cta h2 { color: #fff; }
.vc86-cta p { color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.vc86-footer {
  background: #050505; border-top: 0.2rem solid var(--vc86-border);
  padding: 2rem 1.2rem 9rem; color: var(--vc86-text);
}
.vc86-footer h3 { color: var(--vc86-primary); font-size: 1.4rem; margin-bottom: 0.8rem; }
.vc86-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin: 0.8rem 0 1.2rem;
}
.vc86-footer-links a { color: var(--vc86-text); font-size: 1.25rem; }
.vc86-footer-links a:hover { color: var(--vc86-primary); }
.vc86-footer-buttons {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0;
}
.vc86-copyright {
  font-size: 1.15rem; color: #777; text-align: center; margin-top: 1.4rem;
}

/* ---------- Bottom nav (mobile only) ---------- */
.vc86-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 6.2rem;
  background: linear-gradient(180deg, #0a0a0a, #050505);
  border-top: 0.15rem solid var(--vc86-border);
  display: flex; justify-content: space-around; align-items: stretch;
  padding: 0.4rem 0.2rem;
}
.vc86-bottom-nav a {
  flex: 1; min-width: 6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--vc86-text); font-size: 1rem; gap: 0.2rem;
  text-decoration: none; transition: transform 0.15s ease, color 0.2s ease;
}
.vc86-bottom-nav a:active { transform: scale(0.92); }
.vc86-bottom-nav a .material-icons,
.vc86-bottom-nav a i,
.vc86-bottom-nav a ion-icon,
.vc86-bottom-nav a bi {
  font-size: 2.2rem; line-height: 1;
}
.vc86-bottom-nav a.vc86-nav-active { color: var(--vc86-primary); }
.vc86-bottom-nav a[href="#"] { color: var(--vc86-accent); }
.vc86-nav-badge {
  position: absolute; transform: translate(0.6rem, -1rem);
  background: var(--vc86-accent); color: #fff; font-size: 0.9rem;
  border-radius: 0.8rem; padding: 0 0.35rem; line-height: 1.4rem;
}

/* ---------- Reveal animation ---------- */
.vc86-reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity 0.5s ease, transform 0.5s ease; }
.vc86-reveal.vc86-visible { opacity: 1; transform: translateY(0); }

/* Main content padding to clear fixed header + bottom nav on mobile */
main { padding-top: 5.6rem; padding-bottom: 7.5rem; }

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  body { max-width: 960px; }
  .vc86-header, .vc86-mobile-menu, .vc86-bottom-nav { max-width: 960px; }
  .vc86-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .vc86-footer { padding-bottom: 2rem; }
  .vc86-grid { grid-template-columns: repeat(6, 1fr); }
  .vc86-grid-4 { grid-template-columns: repeat(8, 1fr); }
}
