/* ============================================================
   link bong88 - theme.css
   All custom classes use v3a1- prefix
   Palette: #32CD32 | #9AFF9A | #333333 | #00FF7F
   Mobile-first, root font 62.5% (1rem = 10px)
   ============================================================ */

:root {
  --v3a1-primary: #32CD32;
  --v3a1-accent: #00FF7F;
  --v3a1-light: #9AFF9A;
  --v3a1-bg: #0d1f0d;
  --v3a1-bg-alt: #13321f;
  --v3a1-surface: #1a3a26;
  --v3a1-text: #f4fff4;
  --v3a1-text-muted: #c8e6c8;
  --v3a1-dark: #333333;
  --v3a1-gold: #ffd54a;
  --v3a1-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v3a1-bg);
  color: var(--v3a1-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--v3a1-accent); text-decoration: none; }
a:hover, a:focus { color: var(--v3a1-light); text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.v3a1-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0a1f12 0%, #13321f 100%);
  border-bottom: 2px solid var(--v3a1-primary);
  box-shadow: var(--v3a1-shadow);
}
.v3a1-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 0.6rem;
}
.v3a1-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.v3a1-logo img {
  width: 30px; height: 30px;
  border-radius: 6px;
  flex-shrink: 0;
}
.v3a1-logo-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--v3a1-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v3a1-logo-name span { color: var(--v3a1-light); }

.v3a1-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.v3a1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 36px;
  text-decoration: none;
}
.v3a1-btn:hover { transform: translateY(-1px); text-decoration: none; }
.v3a1-btn-register {
  background: linear-gradient(135deg, var(--v3a1-primary), var(--v3a1-accent));
  color: #062806;
  box-shadow: 0 2px 8px rgba(50, 205, 50, 0.4);
}
.v3a1-btn-login {
  background: transparent;
  color: var(--v3a1-light);
  border: 1.5px solid var(--v3a1-primary);
}
.v3a1-menu-btn {
  background: transparent;
  border: none;
  color: var(--v3a1-accent);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 40px;
  min-height: 40px;
  border-radius: 6px;
}
.v3a1-menu-btn:hover { background: rgba(50, 205, 50, 0.15); }

/* ===== Mobile expandable menu ===== */
.v3a1-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--v3a1-bg-alt);
  transition: max-height 0.3s ease;
  border-bottom: 1px solid var(--v3a1-surface);
}
.v3a1-mobile-menu.v3a1-menu-open { max-height: 600px; }
.v3a1-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.v3a1-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--v3a1-surface);
  border-radius: 8px;
  color: var(--v3a1-text);
  font-size: 1.4rem;
  font-weight: 600;
  border-left: 3px solid var(--v3a1-primary);
}
.v3a1-mobile-menu a:hover {
  background: var(--v3a1-primary);
  color: #062806;
  text-decoration: none;
}
.v3a1-mobile-menu a i { color: var(--v3a1-accent); }
.v3a1-mobile-menu a:hover i { color: #062806; }

/* ===== Main / Layout ===== */
main.v3a1-main {
  padding-top: 6.5rem;
  padding-bottom: 1rem;
  max-width: 430px;
  margin: 0 auto;
}
.v3a1-container { padding: 1rem 1.2rem; }
.v3a1-section { margin-bottom: 2.5rem; }
.v3a1-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v3a1-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v3a1-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v3a1-section-title .material-symbols-outlined,
.v3a1-section-title i { font-size: 2.4rem; color: var(--v3a1-light); }
.v3a1-subtitle {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--v3a1-light);
  margin: 1.2rem 0 0.8rem;
}

/* ===== Hero / Carousel ===== */
.v3a1-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--v3a1-shadow);
}
.v3a1-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.v3a1-slide.v3a1-slide-active { display: block; }
.v3a1-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.v3a1-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1rem 1.2rem 1.4rem;
}
.v3a1-slide-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v3a1-accent);
}
.v3a1-slide-sub {
  font-size: 1.3rem;
  color: var(--v3a1-text-muted);
  margin-top: 0.2rem;
}
.v3a1-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.v3a1-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
}
.v3a1-dot.v3a1-dot-active { background: var(--v3a1-accent); }

/* ===== Promo text link ===== */
.v3a1-promo-text {
  color: var(--v3a1-gold);
  font-weight: 800;
  cursor: pointer;
}
.v3a1-promo-inline {
  color: var(--v3a1-accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Game grid ===== */
.v3a1-cat-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0 1rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--v3a1-light);
}
.v3a1-cat-head .badge {
  background: var(--v3a1-primary);
  color: #062806;
  font-size: 1.1rem;
  padding: 0.2rem 0.7rem;
  border-radius: 10px;
}
.v3a1-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.v3a1-game-card {
  background: var(--v3a1-surface);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(50, 205, 50, 0.2);
  text-align: center;
}
.v3a1-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 255, 127, 0.3);
  border-color: var(--v3a1-accent);
}
.v3a1-game-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}
.v3a1-game-card .v3a1-game-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--v3a1-text);
  padding: 0.4rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info / Feature cards ===== */
.v3a1-card {
  background: var(--v3a1-bg-alt);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--v3a1-primary);
  box-shadow: var(--v3a1-shadow);
}
.v3a1-card p {
  font-size: 1.35rem;
  color: var(--v3a1-text-muted);
  margin-bottom: 0.6rem;
}
.v3a1-card p:last-child { margin-bottom: 0; }
.v3a1-card strong { color: var(--v3a1-accent); }

.v3a1-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.v3a1-feature-item {
  background: var(--v3a1-surface);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.v3a1-feature-item i,
.v3a1-feature-item .material-symbols-outlined {
  font-size: 2.6rem;
  color: var(--v3a1-accent);
  margin-bottom: 0.4rem;
}
.v3a1-feature-item h3 {
  font-size: 1.35rem;
  color: var(--v3a1-light);
  margin-bottom: 0.3rem;
}
.v3a1-feature-item p {
  font-size: 1.2rem;
  color: var(--v3a1-text-muted);
}

/* ===== RTP compact table ===== */
.v3a1-rtp-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.v3a1-rtp-row {
  display: flex;
  justify-content: space-between;
  background: var(--v3a1-surface);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
}
.v3a1-rtp-row .rtp-name { color: var(--v3a1-text-muted); }
.v3a1-rtp-row .rtp-val { color: var(--v3a1-gold); font-weight: 800; }

/* ===== Testimonials ===== */
.v3a1-testi {
  background: var(--v3a1-bg-alt);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v3a1-light);
}
.v3a1-testi .who {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v3a1-accent);
  margin-bottom: 0.3rem;
}
.v3a1-testi .body {
  font-size: 1.25rem;
  color: var(--v3a1-text-muted);
  font-style: italic;
}

/* ===== Payment / winners ===== */
.v3a1-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.v3a1-chip {
  background: var(--v3a1-surface);
  border-radius: 20px;
  padding: 0.6rem 1.1rem;
  font-size: 1.2rem;
  color: var(--v3a1-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(50, 205, 50, 0.3);
}
.v3a1-chip i { color: var(--v3a1-accent); }

.v3a1-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--v3a1-surface);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.v3a1-winner .amt { color: var(--v3a1-gold); font-weight: 800; }

/* ===== CTA banner ===== */
.v3a1-cta {
  background: linear-gradient(135deg, var(--v3a1-primary), var(--v3a1-accent));
  color: #062806;
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.v3a1-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.v3a1-cta p { font-size: 1.3rem; margin-bottom: 1rem; color: #062806; }
.v3a1-cta .v3a1-btn {
  background: #062806;
  color: var(--v3a1-accent);
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

/* ===== FAQ ===== */
.v3a1-faq-item {
  background: var(--v3a1-bg-alt);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--v3a1-primary);
}
.v3a1-faq-item h3 {
  font-size: 1.4rem;
  color: var(--v3a1-light);
  margin-bottom: 0.4rem;
}
.v3a1-faq-item p {
  font-size: 1.25rem;
  color: var(--v3a1-text-muted);
}

/* ===== Footer ===== */
.v3a1-footer {
  background: #050f07;
  border-top: 2px solid var(--v3a1-primary);
  padding: 2rem 1.2rem 2rem;
  margin-top: 2rem;
}
.v3a1-footer-brand {
  font-size: 1.3rem;
  color: var(--v3a1-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.v3a1-footer h4 {
  font-size: 1.4rem;
  color: var(--v3a1-accent);
  margin-bottom: 0.7rem;
}
.v3a1-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.v3a1-footer-links a {
  font-size: 1.2rem;
  color: var(--v3a1-text-muted);
  padding: 0.3rem 0;
}
.v3a1-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.v3a1-footer-promo button {
  background: var(--v3a1-surface);
  color: var(--v3a1-accent);
  border: 1px solid var(--v3a1-primary);
  border-radius: 20px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.v3a1-footer-copy {
  font-size: 1.1rem;
  color: var(--v3a1-text-muted);
  text-align: center;
  border-top: 1px solid var(--v3a1-surface);
  padding-top: 1rem;
}

/* ===== Bottom nav (mobile) ===== */
.v3a1-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, #0a1f12, #050f07);
  border-top: 2px solid var(--v3a1-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.v3a1-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--v3a1-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.v3a1-bottomnav-btn i,
.v3a1-bottomnav-btn .material-symbols-outlined,
.v3a1-bottomnav-btn .icon {
  font-size: 24px;
}
.v3a1-bottomnav-btn .label {
  font-size: 1rem;
  font-weight: 600;
}
.v3a1-bottomnav-btn:hover { transform: scale(1.08); }
.v3a1-bottomnav-btn.v3a1-bottomnav-active {
  color: var(--v3a1-accent);
}
.v3a1-bottomnav-btn.v3a1-bottomnav-active i,
.v3a1-bottomnav-btn.v3a1-bottomnav-active .material-symbols-outlined {
  color: var(--v3a1-accent);
}

/* Mobile bottom padding for main content */
@media (max-width: 768px) {
  main.v3a1-main { padding-bottom: 80px; }
  .v3a1-footer { padding-bottom: 80px; }
}

/* Hide bottom nav on desktop, show desktop nav */
.v3a1-desktop-nav { display: none; }
@media (min-width: 769px) {
  .v3a1-bottomnav { display: none; }
  .v3a1-desktop-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
  }
  .v3a1-desktop-nav a {
    color: var(--v3a1-text-muted);
    font-size: 1.3rem;
    font-weight: 600;
  }
  .v3a1-desktop-nav a:hover { color: var(--v3a1-accent); }
}

/* Utility */
.v3a1-text-center { text-align: center; }
.v3a1-mt { margin-top: 1.5rem; }
.v3a1-mb { margin-bottom: 1.5rem; }
.v3a1-hide-desktop { display: block; }
@media (min-width: 769px) { .v3a1-hide-desktop { display: none; } }
