/* ============================================================
   nustar ph - style.css
   All custom classes use the "vfb0-" prefix.
   Palette: #E91E63 / #262626 / #C71585 / #FFDFBA / #B03060
   Mobile-first, max 430px layout.
   ============================================================ */

:root {
  --vfb0-primary: #E91E63;
  --vfb0-bg: #262626;
  --vfb0-accent: #C71585;
  --vfb0-text-light: #FFDFBA;
  --vfb0-deep: #B03060;
  --vfb0-dark-2: #1c1c1c;
  --vfb0-card: #303030;
  --vfb0-border: #3a3a3a;
  --vfb0-white: #ffffff;
}

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

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

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

img { max-width: 100%; display: block; }

a { color: var(--vfb0-primary); text-decoration: none; }

/* ---------- Layout containers ---------- */
.vfb0-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.vfb0-wrapper {
  padding-top: 5.4rem;
  padding-bottom: 8rem;
}

.vfb0-section {
  padding: 2.2rem 1.2rem;
}

.vfb0-section-title {
  font-size: 1.8rem;
  color: var(--vfb0-white);
  margin-bottom: 1rem;
  border-left: 4px solid var(--vfb0-primary);
  padding-left: 0.8rem;
  font-weight: 700;
}

.vfb0-section-title span { color: var(--vfb0-primary); }

/* ---------- Header ---------- */
.vfb0-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 5.4rem;
  background: linear-gradient(90deg, var(--vfb0-bg), #3a1a25);
  border-bottom: 1px solid var(--vfb0-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.vfb0-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--vfb0-white);
  font-weight: 700;
  font-size: 1.5rem;
}

.vfb0-brand img { width: 28px; height: 28px; border-radius: 6px; }

.vfb0-brand-name { background: linear-gradient(90deg, #FFDFBA, #E91E63); -webkit-background-clip: text; background-clip: text; color: transparent; }

.vfb0-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.vfb0-menu-btn {
  background: transparent;
  border: 1px solid var(--vfb0-deep);
  color: var(--vfb0-text-light);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 8px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.vfb0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 3.6rem;
}

.vfb0-btn:active { transform: scale(0.96); }

.vfb0-btn-register {
  background: linear-gradient(90deg, var(--vfb0-primary), var(--vfb0-deep));
  color: var(--vfb0-white);
  box-shadow: 0 4px 12px rgba(233,30,99,0.35);
}

.vfb0-btn-login {
  background: transparent;
  color: var(--vfb0-text-light);
  border: 1.5px solid var(--vfb0-primary);
}

.vfb0-btn-cta {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, var(--vfb0-accent), var(--vfb0-primary));
  color: var(--vfb0-white);
  font-size: 1.5rem;
  padding: 1.2rem;
}

.vfb0-link-text {
  color: var(--vfb0-primary);
  font-weight: 700;
}

/* ---------- Mobile drawer ---------- */
.vfb0-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.vfb0-overlay-active { opacity: 1; visibility: visible; }

.vfb0-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 75%;
  max-width: 320px;
  height: 100%;
  background: var(--vfb0-dark-2);
  padding: 5rem 1.2rem 2rem;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.vfb0-menu-open { right: 0; }

.vfb0-mobile-menu h3 {
  color: var(--vfb0-primary);
  font-size: 1.4rem;
  margin: 1.4rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vfb0-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--vfb0-text-light);
  border-bottom: 1px solid var(--vfb0-border);
  font-size: 1.35rem;
}

.vfb0-mobile-menu a:hover { color: var(--vfb0-primary); }

.vfb0-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--vfb0-white);
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Carousel ---------- */
.vfb0-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

.vfb0-carousel-track { position: relative; }

.vfb0-carousel-slide {
  display: none;
  cursor: pointer;
}

.vfb0-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vfb0-slide-active { display: block; }

.vfb0-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--vfb0-white);
}

.vfb0-carousel-caption h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }

.vfb0-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.vfb0-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.vfb0-dot-active { background: var(--vfb0-primary); }

/* ---------- Hero / Intro ---------- */
.vfb0-hero {
  background: radial-gradient(circle at top right, #3a1a25, var(--vfb0-bg));
  padding: 2rem 1.2rem;
  text-align: center;
}

.vfb0-hero h1 {
  font-size: 2.1rem;
  color: var(--vfb0-white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.vfb0-hero p { color: var(--vfb0-text-light); margin-bottom: 1.2rem; }

/* ---------- Game grid ---------- */
.vfb0-game-section { margin-bottom: 2rem; }

.vfb0-game-section h3 {
  color: var(--vfb0-primary);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vfb0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.vfb0-game-card {
  background: var(--vfb0-card);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--vfb0-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.vfb0-game-card:hover, .vfb0-game-card:active {
  transform: translateY(-2px);
  border-color: var(--vfb0-primary);
}

.vfb0-game-card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.vfb0-game-card span {
  display: block;
  font-size: 1.05rem;
  color: var(--vfb0-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / content cards ---------- */
.vfb0-card {
  background: var(--vfb0-card);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--vfb0-border);
}

.vfb0-card h3 {
  color: var(--vfb0-primary);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.vfb0-card p { color: var(--vfb0-text-light); margin-bottom: 0.6rem; }

.vfb0-card ul { padding-left: 1.6rem; }

.vfb0-card li { color: var(--vfb0-text-light); margin-bottom: 0.4rem; }

/* ---------- RTP table ---------- */
.vfb0-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
}

.vfb0-rtp-table th, .vfb0-rtp-table td {
  border: 1px solid var(--vfb0-border);
  padding: 0.6rem;
  text-align: center;
  font-size: 1.2rem;
}

.vfb0-rtp-table th { background: var(--vfb0-deep); color: var(--vfb0-white); }
.vfb0-rtp-table td { color: var(--vfb0-text-light); }

/* ---------- Testimonial / winner ---------- */
.vfb0-pill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.vfb0-pill {
  background: var(--vfb0-card);
  padding: 0.8rem;
  border-radius: 10px;
  border-left: 3px solid var(--vfb0-primary);
}

.vfb0-pill .vfb0-pill-name { color: var(--vfb0-white); font-weight: 700; font-size: 1.2rem; }
.vfb0-pill .vfb0-pill-info { color: var(--vfb0-text-light); font-size: 1.1rem; }

/* ---------- Payment ---------- */
.vfb0-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.vfb0-pay-row span {
  background: var(--vfb0-card);
  border: 1px solid var(--vfb0-border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.15rem;
  color: var(--vfb0-text-light);
}

/* ---------- Footer ---------- */
.vfb0-footer {
  background: var(--vfb0-dark-2);
  padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--vfb0-deep);
}

.vfb0-footer-brand { color: var(--vfb0-text-light); font-size: 1.25rem; margin-bottom: 1rem; }

.vfb0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}

.vfb0-footer-links a {
  color: var(--vfb0-text-light);
  font-size: 1.15rem;
  text-decoration: underline;
}

.vfb0-footer-links a:hover { color: var(--vfb0-primary); }

.vfb0-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.vfb0-copyright {
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  border-top: 1px solid var(--vfb0-border);
  padding-top: 1rem;
}

/* ---------- Mobile bottom nav ---------- */
.vfb0-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #2a1015, #1c1c1c);
  border-top: 1px solid var(--vfb0-deep);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.45);
}

.vfb0-bottom-nav button, .vfb0-bottom-nav a {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--vfb0-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  font-size: 1rem;
  text-decoration: none;
  gap: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.vfb0-bottom-nav button:active, .vfb0-bottom-nav a:active {
  transform: scale(0.92);
  color: var(--vfb0-primary);
}

.vfb0-bottom-nav .vfb0-nav-active { color: var(--vfb0-primary); }

.vfb0-bottom-nav .material-icons,
.vfb0-bottom-nav .fas,
.vfb0-bottom-nav .far,
.vfb0-bottom-nav ion-icon,
.vfb0-bottom-nav .bi {
  font-size: 22px;
}

.vfb0-bottom-nav ion-icon { font-size: 24px; }

.vfb0-nav-badge {
  position: absolute;
  top: 6px;
  right: 22%;
  background: var(--vfb0-primary);
  color: var(--vfb0-white);
  font-size: 0.85rem;
  padding: 0 5px;
  border-radius: 8px;
  line-height: 1.4;
}

.vfb0-nav-item { position: relative; }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .vfb0-bottom-nav { display: none; }
  body { max-width: 430px; }
}

@media (max-width: 768px) {
  .vfb0-wrapper { padding-bottom: 8.5rem; }
}
