/* jlboss apk - layout stylesheet
   Class prefix: vd12-
   Palette: #2C2C2C | #ADFF2F | #66CDAA | #228B22 | #FFE135
   Mobile-first. All comments in English. */

:root {
  --vd12-primary: #ADFF2F;
  --vd12-secondary: #66CDAA;
  --vd12-accent: #FFE135;
  --vd12-deep: #228B22;
  --vd12-bg: #2C2C2C;
  --vd12-bg-soft: #1c1c1c;
  --vd12-bg-card: #353535;
  --vd12-text: #f5f7f5;
  --vd12-text-soft: #d3d8d3;
  --vd12-text-muted: #9aa09a;
  --vd12-border: rgba(173, 255, 47, 0.22);
  --vd12-radius: 14px;
  --vd12-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --vd12-max: 430px;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--vd12-bg);
  color: var(--vd12-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.vd12-wrapper {
  width: 100%;
  max-width: var(--vd12-max);
  margin: 0 auto;
  padding: 0 12px;
}

/* ===== Header ===== */
.vd12-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(34, 139, 34, 0.96), rgba(44, 44, 44, 0.96));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vd12-border);
}
.vd12-header-inner {
  max-width: var(--vd12-max);
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vd12-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--vd12-accent);
  letter-spacing: 0.3px;
}
.vd12-brand img { width: 28px; height: 28px; border-radius: 6px; }
.vd12-brand span { color: var(--vd12-primary); }
.vd12-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vd12-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 36px;
}
.vd12-btn:hover { transform: translateY(-1px); }
.vd12-btn-primary {
  background: var(--vd12-primary);
  color: #1a1a1a;
  box-shadow: 0 6px 14px rgba(173, 255, 47, 0.35);
}
.vd12-btn-accent {
  background: var(--vd12-accent);
  color: #1a1a1a;
  box-shadow: 0 6px 14px rgba(255, 225, 53, 0.35);
}
.vd12-btn-ghost {
  background: transparent;
  color: var(--vd12-text);
  border: 1px solid var(--vd12-border);
}
.vd12-menu-btn {
  background: transparent;
  border: none;
  color: var(--vd12-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 6px;
}

/* ===== Mobile menu ===== */
.vd12-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--vd12-bg-soft);
  z-index: 9999;
  padding: 70px 16px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--vd12-border);
}
.vd12-menu-open { right: 0; }
.vd12-mobile-menu a {
  display: block;
  padding: 12px 10px;
  color: var(--vd12-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vd12-mobile-menu a:hover { color: var(--vd12-primary); }
.vd12-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vd12-backdrop-show { opacity: 1; pointer-events: auto; }

/* ===== Hero carousel ===== */
.vd12-hero {
  position: relative;
  margin-top: 56px;
  border-radius: var(--vd12-radius);
  overflow: hidden;
  box-shadow: var(--vd12-shadow);
}
.vd12-hero-slide { display: none; position: relative; }
.vd12-hero-slide img { width: 100%; height: 200px; object-fit: cover; }
.vd12-slide-active { display: block; }
.vd12-hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  padding: 24px 14px 14px;
  color: var(--vd12-text);
}
.vd12-hero-caption h2 { font-size: 1.7rem; color: var(--vd12-accent); }
.vd12-hero-caption p { font-size: 1.2rem; color: var(--vd12-text-soft); margin-top: 4px; }
.vd12-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.vd12-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.vd12-dot-active { background: var(--vd12-primary); }

/* ===== Sections ===== */
.vd12-section { padding: 22px 0; }
.vd12-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.vd12-section-title {
  font-size: 1.8rem;
  color: var(--vd12-accent);
  font-weight: 800;
}
.vd12-section-title em { color: var(--vd12-primary); font-style: normal; }
.vd12-more { font-size: 1.2rem; color: var(--vd12-secondary); }

/* ===== Game grid ===== */
.vd12-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vd12-game-card {
  background: var(--vd12-bg-card);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.vd12-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--vd12-border);
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}
.vd12-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.vd12-game-card-name {
  padding: 6px 4px;
  font-size: 1.1rem;
  color: var(--vd12-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vd12-game-card-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--vd12-primary);
  margin-bottom: 6px;
}

/* ===== Category headers ===== */
.vd12-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--vd12-border);
}
.vd12-cat-head i { color: var(--vd12-accent); font-size: 1.6rem; }
.vd12-cat-head h3 { font-size: 1.5rem; color: var(--vd12-secondary); font-weight: 700; }

/* ===== Cards / Features ===== */
.vd12-card {
  background: var(--vd12-bg-card);
  border-radius: var(--vd12-radius);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}
.vd12-card-title { color: var(--vd12-accent); font-size: 1.4rem; margin-bottom: 6px; font-weight: 700; }
.vd12-card-text { color: var(--vd12-text-soft); font-size: 1.25rem; line-height: 1.55; }
.vd12-card-text strong { color: var(--vd12-primary); font-weight: 700; }
.vd12-card-text a { color: var(--vd12-accent); font-weight: 700; border-bottom: 1px dashed var(--vd12-accent); }

/* ===== CTA strip ===== */
.vd12-cta {
  background: linear-gradient(135deg, var(--vd12-deep), var(--vd12-secondary));
  border-radius: var(--vd12-radius);
  padding: 18px 14px;
  text-align: center;
  margin: 14px 0;
  border: 1px solid var(--vd12-primary);
}
.vd12-cta h3 { color: var(--vd12-accent); font-size: 1.6rem; margin-bottom: 8px; }
.vd12-cta p { color: #102310; font-size: 1.25rem; margin-bottom: 10px; }
.vd12-cta-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ===== RTP table ===== */
.vd12-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--vd12-bg-card);
  border-radius: 12px;
  overflow: hidden;
}
.vd12-rtp-table th, .vd12-rtp-table td {
  padding: 8px 10px;
  font-size: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vd12-rtp-table th { color: var(--vd12-accent); background: rgba(255,255,255,0.04); }
.vd12-rtp-table td.vd12-rtp-high { color: var(--vd12-primary); font-weight: 700; }

/* ===== Testimonials ===== */
.vd12-testimonial {
  background: var(--vd12-bg-card);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--vd12-primary);
}
.vd12-testimonial p { color: var(--vd12-text-soft); font-size: 1.2rem; font-style: italic; }
.vd12-testimonial-author { margin-top: 6px; font-size: 1.1rem; color: var(--vd12-accent); font-weight: 700; }

/* ===== Payment chips ===== */
.vd12-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vd12-chip {
  background: var(--vd12-bg-card);
  border: 1px solid var(--vd12-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 1.15rem;
  color: var(--vd12-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== FAQ ===== */
.vd12-faq-item {
  background: var(--vd12-bg-card);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.vd12-faq-q {
  padding: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--vd12-accent);
  font-size: 1.3rem;
}
.vd12-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--vd12-text-soft);
  font-size: 1.2rem;
  padding: 0 12px;
}
.vd12-faq-open .vd12-faq-a { max-height: 320px; padding-bottom: 12px; }

/* ===== Footer ===== */
.vd12-footer {
  background: var(--vd12-bg-soft);
  padding: 22px 0 90px;
  border-top: 1px solid var(--vd12-border);
  margin-top: 20px;
}
.vd12-footer p { font-size: 1.2rem; color: var(--vd12-text-soft); margin-bottom: 8px; }
.vd12-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.vd12-footer-links a { color: var(--vd12-secondary); font-size: 1.15rem; }
.vd12-footer-copy {
  text-align: center;
  color: var(--vd12-text-muted);
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ===== Bottom nav ===== */
.vd12-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(34,139,34,0.96), rgba(28,28,28,0.98));
  border-top: 1px solid var(--vd12-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.vd12-bottom-nav-btn {
  flex: 1; background: transparent; border: none; color: var(--vd12-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 1rem; cursor: pointer; padding: 6px 2px;
  min-width: 60px; min-height: 60px; transition: color 0.2s ease, transform 0.2s ease;
}
.vd12-bottom-nav-btn i { font-size: 22px; }
.vd12-bottom-nav-btn:hover { color: var(--vd12-primary); transform: translateY(-2px); }
.vd12-nav-current, .vd12-nav-current i { color: var(--vd12-accent); }

/* ===== Reveal animation ===== */
.vd12-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.vd12-revealed { opacity: 1; transform: translateY(0); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .vd12-bottom-nav { display: none; }
  .vd12-menu-btn { display: none; }
  .vd12-header-inner { max-width: 960px; }
  .vd12-wrapper { max-width: 960px; }
  .vd12-hero-slide img { height: 340px; }
  .vd12-game-grid { grid-template-columns: repeat(6, 1fr); }
  .vd12-footer-links { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 0 !important; }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
