/* nustar ph login - core stylesheet
   All custom classes use the vba0- prefix.
   Palette: #9AFF9A | #00FA9A | #8FBC8F | #1C2833 (dark bg + light greens).
   Root font-size 62.5% so 1rem = 10px. Mobile-first, max-width 430px.
*/

:root {
  --vba0-primary: #00FA9A;
  --vba0-secondary: #9AFF9A;
  --vba0-accent: #8FBC8F;
  --vba0-bg: #1C2833;
  --vba0-bg-soft: #22303d;
  --vba0-bg-card: #283646;
  --vba0-text: #F2FFF2;
  --vba0-text-muted: #B9C9C0;
  --vba0-border: rgba(154, 255, 154, 0.16);
  --vba0-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.35);
  --vba0-radius: 1.2rem;
  --vba0-radius-sm: 0.8rem;
  --vba0-transition: 0.25s ease;
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--vba0-bg);
  color: var(--vba0-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}
a { color: var(--vba0-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.vba0-container { width: 100%; padding: 0 1.2rem; }
.vba0-wrapper { max-width: 430px; margin: 0 auto; width: 100%; padding: 0 1.2rem; }

/* ============ Header ============ */
.vba0-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1b2b30 0%, #1C2833 100%);
  border-bottom: 0.2rem solid var(--vba0-primary);
  box-shadow: var(--vba0-shadow);
}
.vba0-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}
.vba0-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--vba0-text);
  font-weight: 700;
  font-size: 1.5rem;
}
.vba0-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.vba0-logo span { color: var(--vba0-primary); }

.vba0-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.vba0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: 0.15rem solid transparent;
  cursor: pointer;
  transition: var(--vba0-transition);
  text-align: center;
  background: transparent;
  color: var(--vba0-text);
}
.vba0-btn i { font-size: 1.4rem; }
.vba0-btn-primary {
  background: linear-gradient(135deg, #00FA9A 0%, #9AFF9A 100%);
  color: #102019;
  box-shadow: 0 0.3rem 0.9rem rgba(0, 250, 154, 0.35);
}
.vba0-btn-primary:hover { transform: translateY(-0.1rem); filter: brightness(1.08); }
.vba0-btn-outline {
  border-color: var(--vba0-primary);
  color: var(--vba0-primary);
}
.vba0-btn-outline:hover { background: rgba(0, 250, 154, 0.12); }

#vba0-menu-toggle {
  background: transparent;
  border: 0.15rem solid var(--vba0-primary);
  color: var(--vba0-primary);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--vba0-transition);
}
#vba0-menu-toggle.vba0-active { background: var(--vba0-primary); color: #102019; }

/* Mobile expandable menu */
#vba0-mobile-menu {
  display: none;
  background: var(--vba0-bg-soft);
  border-top: 0.1rem solid var(--vba0-border);
  padding: 0.6rem 1.2rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}
#vba0-mobile-menu.vba0-menu-open { display: block; animation: vba0slide 0.25s ease; }
@keyframes vba0slide { from { opacity: 0; transform: translateY(-0.6rem); } to { opacity: 1; transform: translateY(0); } }
.vba0-menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0.6rem;
  color: var(--vba0-text);
  border-bottom: 0.1rem solid var(--vba0-border);
  font-size: 1.35rem;
}
.vba0-menu-link:last-child { border-bottom: 0; }
.vba0-menu-link i { color: var(--vba0-primary); font-size: 1.5rem; }
.vba0-menu-link:hover { color: var(--vba0-primary); }

/* Desktop nav links (hidden on mobile) */
.vba0-desktop-nav { display: none; }
.vba0-desktop-nav a { color: var(--vba0-text-muted); margin-left: 1.2rem; font-size: 1.3rem; }
.vba0-desktop-nav a:hover { color: var(--vba0-primary); }

/* ============ Hero / Carousel ============ */
.vba0-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 1.4rem 1.4rem;
  margin-bottom: 1.2rem;
}
.vba0-hero-track { display: flex; transition: transform 0.6s ease; }
.vba0-hero-slide {
  position: relative;
  min-width: 100%;
  height: 22rem;
}
.vba0-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.vba0-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,40,51,0.15) 0%, rgba(28,40,51,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.vba0-hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 2.4rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}
.vba0-hero-sub {
  color: var(--vba0-secondary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.vba0-hero-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}
.vba0-hero-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--vba0-transition);
}
.vba0-hero-dot-active { background: var(--vba0-primary); width: 1.6rem; border-radius: 999px; }

/* ============ Sections ============ */
.vba0-section { padding: 1.6rem 1.2rem; }
.vba0-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.vba0-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vba0-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vba0-section-title i { color: var(--vba0-primary); font-size: 1.8rem; }
.vba0-section-more { color: var(--vba0-primary); font-size: 1.2rem; font-weight: 600; }

.vba0-h1 {
  font-size: 2.1rem;
  line-height: 2.6rem;
  font-weight: 800;
  color: var(--vba0-secondary);
  margin: 1.2rem 0 0.6rem;
  padding: 0 1.2rem;
}
.vba0-lead { padding: 0 1.2rem; color: var(--vba0-text-muted); margin-bottom: 1rem; }

/* ============ Game grid ============ */
.vba0-game-section { margin-bottom: 1.4rem; }
.vba0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.vba0-card {
  background: var(--vba0-bg-card);
  border: 0.1rem solid var(--vba0-border);
  border-radius: var(--vba0-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--vba0-transition);
  display: block;
  color: var(--vba0-text);
}
.vba0-card:hover { transform: translateY(-0.2rem); border-color: var(--vba0-primary); box-shadow: var(--vba0-shadow); }
.vba0-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e151b;
}
.vba0-card-name {
  font-size: 1.15rem;
  padding: 0.5rem 0.4rem;
  text-align: center;
  color: var(--vba0-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Filter tabs */
.vba0-filter-row { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 1.2rem 1rem; scrollbar-width: none; }
.vba0-filter-row::-webkit-scrollbar { display: none; }
.vba0-filter-tab {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--vba0-bg-card);
  color: var(--vba0-text-muted);
  font-size: 1.2rem;
  border: 0.1rem solid var(--vba0-border);
  cursor: pointer;
}
.vba0-filter-tab-active { background: var(--vba0-primary); color: #102019; border-color: var(--vba0-primary); }

/* ============ Content cards ============ */
.vba0-panel {
  background: var(--vba0-bg-card);
  border-radius: var(--vba0-radius);
  padding: 1.4rem;
  border: 0.1rem solid var(--vba0-border);
  margin: 1rem 1.2rem;
}
.vba0-panel h2 { font-size: 1.7rem; color: var(--vba0-secondary); margin-bottom: 0.6rem; }
.vba0-panel h3 { font-size: 1.35rem; color: var(--vba0-primary); margin: 1rem 0 0.4rem; }
.vba0-panel p { color: var(--vba0-text-muted); margin-bottom: 0.8rem; }
.vba0-panel a { color: var(--vba0-primary); font-weight: 600; }
.vba0-panel ul { padding-left: 1.2rem; }
.vba0-panel ul li { color: var(--vba0-text-muted); margin-bottom: 0.4rem; list-style: disc; }

.vba0-steps { counter-reset: step; }
.vba0-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  color: var(--vba0-text-muted);
  list-style: none;
}
.vba0-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--vba0-primary);
  color: #102019;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RTP / data table */
.vba0-rtp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.4rem;
  border-bottom: 0.1rem solid var(--vba0-border);
  font-size: 1.2rem;
}
.vba0-rtp-row:last-child { border-bottom: 0; }
.vba0-rtp-name { color: var(--vba0-text); font-weight: 600; }
.vba0-rtp-bar { height: 0.6rem; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.vba0-rtp-fill { height: 100%; background: linear-gradient(90deg, #00FA9A, #9AFF9A); }
.vba0-rtp-val { color: var(--vba0-secondary); font-weight: 700; text-align: right; }

/* Testimonials */
.vba0-testi {
  background: var(--vba0-bg-card);
  border-radius: var(--vba0-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--vba0-primary);
}
.vba0-testi-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.vba0-testi-avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--vba0-accent); color: #102019; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.vba0-testi-name { font-weight: 700; color: var(--vba0-text); }
.vba0-testi-stars { color: #FFD166; font-size: 1.1rem; }
.vba0-testi-text { color: var(--vba0-text-muted); font-size: 1.25rem; }

/* Winners */
.vba0-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--vba0-bg-card);
  border-radius: var(--vba0-radius-sm);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.vba0-winner-name { color: var(--vba0-text); font-weight: 600; }
.vba0-winner-amount { color: var(--vba0-secondary); font-weight: 800; }

/* CTA banner */
.vba0-cta {
  background: linear-gradient(135deg, rgba(0,250,154,0.18), rgba(143,188,143,0.12));
  border: 0.15rem solid var(--vba0-primary);
  border-radius: var(--vba0-radius);
  padding: 1.6rem;
  margin: 1.4rem 1.2rem;
  text-align: center;
}
.vba0-cta h2 { color: var(--vba0-secondary); font-size: 1.8rem; margin-bottom: 0.4rem; }
.vba0-cta p { color: var(--vba0-text-muted); margin-bottom: 1rem; }

/* Payment chips */
.vba0-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vba0-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--vba0-bg-card);
  border: 0.1rem solid var(--vba0-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 1.2rem;
  color: var(--vba0-text);
}
.vba0-chip i { color: var(--vba0-primary); }

/* Inline promo link */
.vba0-promo-link {
  color: var(--vba0-primary);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 0.1rem dashed var(--vba0-primary);
}

/* Reveal animation */
.vba0-reveal { opacity: 0; transform: translateY(2rem); transition: opacity 0.6s ease, transform 0.6s ease; }
.vba0-reveal.vba0-revealed { opacity: 1; transform: translateY(0); }

/* ============ Footer ============ */
.vba0-footer {
  background: #152029;
  border-top: 0.2rem solid var(--vba0-primary);
  padding: 1.8rem 1.2rem 9rem;
  margin-top: 1.4rem;
}
.vba0-footer-brand { font-size: 1.4rem; color: var(--vba0-secondary); font-weight: 700; margin-bottom: 0.4rem; }
.vba0-footer-desc { color: var(--vba0-text-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.vba0-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.vba0-footer-promos .vba0-btn { font-size: 1.15rem; padding: 0.5rem 0.9rem; min-height: 3rem; }
.vba0-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.vba0-footer-links a { color: var(--vba0-text-muted); font-size: 1.15rem; }
.vba0-footer-links a:hover { color: var(--vba0-primary); }
.vba0-footer-copy { text-align: center; color: var(--vba0-text-muted); font-size: 1.1rem; border-top: 0.1rem solid var(--vba0-border); padding-top: 1rem; }

/* ============ Mobile bottom nav ============ */
.vba0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: rgba(21, 32, 41, 0.96);
  backdrop-filter: blur(0.6rem);
  border-top: 0.15rem solid var(--vba0-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1.2rem rgba(0,0,0,0.35);
}
.vba0-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 6rem;
  min-height: 6rem;
  color: var(--vba0-text-muted);
  font-size: 1rem;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: var(--vba0-transition);
  text-decoration: none;
  position: relative;
}
.vba0-bottom-nav-btn .material-icons,
.vba0-bottom-nav-btn ion-icon,
.vba0-bottom-nav-btn i { font-size: 2.2rem; }
.vba0-bottom-nav-btn:hover { color: var(--vba0-secondary); transform: scale(1.05); }
.vba0-bottom-nav-active { color: var(--vba0-primary); }
.vba0-bottom-nav-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--vba0-primary);
}
.vba0-bottom-nav-badge {
  position: absolute;
  top: 0.7rem;
  right: 1.6rem;
  background: #ff5a5a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 0.4rem;
  min-width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main content padding for bottom nav clearance (mobile) */
main { padding-bottom: 8rem; }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .vba0-header-inner { max-width: 960px; }
  #vba0-menu-toggle { display: none; }
  #vba0-mobile-menu { display: none !important; }
  .vba0-desktop-nav { display: flex; align-items: center; }
  .vba0-wrapper { max-width: 960px; }
  .vba0-grid { grid-template-columns: repeat(5, 1fr); }
  .vba0-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .vba0-footer { padding-bottom: 2rem; }
  .vba0-hero-slide { height: 32rem; }
}
