/*!
 * Bingo Plus - style.css
 * Mobile-first PH online gaming portal (bingo-plus.cfd)
 * All custom classes use the vd6e- prefix. Root font-size 62.5% (1rem = 10px).
 * Comments are in English per project convention.
 */

:root {
  --vd6e-bg-light: #FAFAFA;     /* light text / surface */
  --vd6e-mint: #00FF7F;          /* primary accent */
  --vd6e-gold: #D4AF37;          /* secondary accent / premium */
  --vd6e-teal: #20B2AA;          /* support accent */
  --vd6e-bg-dark: #1B263B;       /* primary background */
  --vd6e-mint-soft: #00FA9A;     /* highlight */
  --vd6e-bg-darker: #131c2c;     /* deeper background */
  --vd6e-text-muted: #aeb9c9;
  --vd6e-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.28);
  --vd6e-radius: 1.2rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--vd6e-bg-dark);
  color: var(--vd6e-bg-light);
  font-size: 1.5rem;
  line-height: 1.5rem * 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--vd6e-mint); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.8rem; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }

/* ============ Layout containers ============ */
.vd6e-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}
.vd6e-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.vd6e-main {
  flex: 1;
  padding-bottom: 9rem; /* clearance for fixed bottom nav on mobile */
}

/* ============ Header / Top navigation ============ */
.vd6e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vd6e-bg-darker), var(--vd6e-bg-dark));
  border-bottom: 0.2rem solid var(--vd6e-gold);
  box-shadow: var(--vd6e-shadow);
}
.vd6e-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.6rem;
}
.vd6e-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.vd6e-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
}
.vd6e-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vd6e-mint);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vd6e-brand-name span { color: var(--vd6e-gold); }

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

.vd6e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.8rem;
  padding: 0 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.35rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.vd6e-btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.vd6e-btn:active { transform: scale(0.96); }
.vd6e-btn-primary {
  background: linear-gradient(135deg, var(--vd6e-mint), var(--vd6e-mint-soft));
  color: var(--vd6e-bg-darker);
  box-shadow: 0 0.3rem 0.8rem rgba(0, 255, 127, 0.35);
}
.vd6e-btn-secondary {
  background: transparent;
  color: var(--vd6e-bg-light);
  border: 0.15rem solid var(--vd6e-gold);
}
.vd6e-btn-gold {
  background: linear-gradient(135deg, var(--vd6e-gold), #f3d27a);
  color: var(--vd6e-bg-darker);
}
.vd6e-btn-block { width: 100%; }

.vd6e-menu-toggle {
  background: transparent;
  border: 0.15rem solid var(--vd6e-teal);
  color: var(--vd6e-bg-light);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vd6e-menu-toggle.vd6e-active { background: var(--vd6e-teal); color: var(--vd6e-bg-light); }

/* Expandable mobile menu */
.vd6e-mobile-menu {
  display: none;
  background: var(--vd6e-bg-darker);
  border-top: 0.1rem solid rgba(212, 175, 55, 0.4);
  padding: 1rem 1.2rem 1.4rem;
}
.vd6e-mobile-menu.vd6e-menu-open { display: block; }
.vd6e-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--vd6e-bg-light);
  border-bottom: 0.1rem solid rgba(255,255,255,0.06);
  font-size: 1.4rem;
  font-weight: 600;
}
.vd6e-mobile-menu a:hover { background: rgba(0, 255, 127, 0.08); color: var(--vd6e-mint); text-decoration: none; }
.vd6e-mobile-menu-group-label {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vd6e-gold);
  padding: 0.8rem 0 0.3rem;
  font-weight: 700;
}

/* ============ Hero carousel ============ */
.vd6e-carousel {
  position: relative;
  margin: 1rem 0;
  border-radius: var(--vd6e-radius);
  overflow: hidden;
  box-shadow: var(--vd6e-shadow);
}
.vd6e-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.vd6e-slide.vd6e-slide-active { display: block; }
.vd6e-slide img { width: 100%; height: auto; }
.vd6e-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(19, 28, 44, 0.7);
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  border-left: 0.3rem solid var(--vd6e-mint);
}
.vd6e-slide-caption strong { color: var(--vd6e-mint); display: block; font-size: 1.4rem; }
.vd6e-slide-caption span { color: var(--vd6e-bg-light); font-size: 1.25rem; }

.vd6e-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 5;
}
.vd6e-slide-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}
.vd6e-slide-dot.vd6e-dot-active { background: var(--vd6e-mint); width: 1.8rem; border-radius: 0.4rem; }

/* ============ Section headers ============ */
.vd6e-section { margin: 2rem 0; }
.vd6e-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.7rem;
  color: var(--vd6e-bg-light);
  border-left: 0.4rem solid var(--vd6e-mint);
  padding-left: 0.8rem;
  margin-bottom: 1rem;
}
.vd6e-section-title .material-icons,
.vd6e-section-title i { color: var(--vd6e-gold); font-size: 2rem; }
.vd6e-section-intro { color: var(--vd6e-text-muted); font-size: 1.35rem; margin-bottom: 1.2rem; }

/* ============ Game list ============ */
.vd6e-cat-block { margin-bottom: 2.2rem; }
.vd6e-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.vd6e-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vd6e-mint);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: capitalize;
}
.vd6e-cat-title .material-icons { font-size: 1.9rem; color: var(--vd6e-gold); }
.vd6e-cat-hint { font-size: 1.15rem; color: var(--vd6e-text-muted); }

.vd6e-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.vd6e-game-card {
  background: var(--vd6e-bg-darker);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 0.1rem solid rgba(0, 255, 127, 0.15);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: block;
  text-align: center;
}
.vd6e-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--vd6e-mint);
  box-shadow: 0 0.4rem 1rem rgba(0, 255, 127, 0.25);
  text-decoration: none;
}
.vd6e-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0b1320;
}
.vd6e-game-card-name {
  font-size: 1.15rem;
  color: var(--vd6e-bg-light);
  padding: 0.4rem 0.3rem 0.6rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Info / feature cards ============ */
.vd6e-card {
  background: var(--vd6e-bg-darker);
  border-radius: var(--vd6e-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 0.1rem solid rgba(32, 178, 170, 0.25);
  box-shadow: var(--vd6e-shadow);
}
.vd6e-card-title {
  font-size: 1.5rem;
  color: var(--vd6e-mint);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vd6e-card-title i,
.vd6e-card-title .material-icons { color: var(--vd6e-gold); }
.vd6e-card p { color: var(--vd6e-bg-light); font-size: 1.35rem; }

.vd6e-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.vd6e-feature-item {
  background: rgba(0, 255, 127, 0.06);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
}
.vd6e-feature-item i,
.vd6e-feature-item .material-icons { font-size: 2.4rem; color: var(--vd6e-mint); }
.vd6e-feature-item h4 { margin: 0.5rem 0 0.3rem; font-size: 1.3rem; color: var(--vd6e-bg-light); }
.vd6e-feature-item p { font-size: 1.2rem; color: var(--vd6e-text-muted); margin: 0; }

/* Testimonials */
.vd6e-testimonial {
  background: var(--vd6e-bg-darker);
  border-radius: var(--vd6e-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 0.35rem solid var(--vd6e-gold);
}
.vd6e-testimonial-text { font-style: italic; color: var(--vd6e-bg-light); font-size: 1.3rem; }
.vd6e-testimonial-author { margin-top: 0.6rem; font-size: 1.2rem; color: var(--vd6e-mint); font-weight: 700; }

/* Winners showcase */
.vd6e-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.vd6e-winner {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(0,255,127,0.08));
  border-radius: 0.8rem;
  padding: 0.8rem;
  text-align: center;
}
.vd6e-winner-amount { color: var(--vd6e-gold); font-weight: 800; font-size: 1.5rem; }
.vd6e-winner-name { color: var(--vd6e-bg-light); font-size: 1.2rem; }
.vd6e-winner-game { color: var(--vd6e-text-muted); font-size: 1.1rem; }

/* Payment */
.vd6e-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vd6e-payment-pill {
  background: var(--vd6e-bg-darker);
  border: 0.1rem solid rgba(0, 255, 127, 0.25);
  border-radius: 2rem;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--vd6e-bg-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.vd6e-payment-pill i,
.vd6e-payment-pill .material-icons { color: var(--vd6e-mint); font-size: 1.5rem; }

/* App download CTA */
.vd6e-app-cta {
  background: linear-gradient(135deg, var(--vd6e-bg-darker), var(--vd6e-teal));
  border-radius: var(--vd6e-radius);
  padding: 1.4rem;
  text-align: center;
  border: 0.15rem solid var(--vd6e-gold);
}
.vd6e-app-cta h3 { color: var(--vd6e-mint); }
.vd6e-app-cta p { color: var(--vd6e-bg-light); }

/* FAQ */
.vd6e-faq-item {
  background: var(--vd6e-bg-darker);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.6rem;
  border-left: 0.3rem solid var(--vd6e-teal);
}
.vd6e-faq-item h4 { color: var(--vd6e-mint); margin-bottom: 0.4rem; font-size: 1.35rem; }
.vd6e-faq-item p { margin: 0; color: var(--vd6e-bg-light); font-size: 1.3rem; }

/* Inline promo text link */
.vd6e-promo-link {
  color: var(--vd6e-mint);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 0.1rem dashed var(--vd6e-gold);
  text-decoration: none;
}
.vd6e-promo-link:hover { color: var(--vd6e-gold); text-decoration: none; }

/* SEO content */
.vd6e-seo-text { color: var(--vd6e-bg-light); font-size: 1.35rem; line-height: 1.7; }
.vd6e-seo-text h2 { color: var(--vd6e-mint); margin-top: 1.5rem; }
.vd6e-seo-text h3 { color: var(--vd6e-gold); }

/* Achievements / tricks compact list */
.vd6e-list { padding-left: 1.4rem; margin: 0.4rem 0 1rem; }
.vd6e-list li { margin-bottom: 0.4rem; font-size: 1.3rem; color: var(--vd6e-bg-light); }

/* RTP compact mini-table */
.vd6e-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.vd6e-rtp-table th, .vd6e-rtp-table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 0.1rem solid rgba(255,255,255,0.08); }
.vd6e-rtp-table th { color: var(--vd6e-gold); }
.vd6e-rtp-table td:last-child { color: var(--vd6e-mint); font-weight: 700; }

/* Scroll reveal */
.vd6e-reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.5s ease, transform 0.5s ease; }
.vd6e-reveal.vd6e-revealed { opacity: 1; transform: translateY(0); }

/* ============ Footer ============ */
.vd6e-footer {
  background: var(--vd6e-bg-darker);
  border-top: 0.2rem solid var(--vd6e-gold);
  padding: 2rem 1.2rem 2.5rem;
  margin-top: 2rem;
}
.vd6e-footer-brand { font-size: 1.6rem; color: var(--vd6e-mint); font-weight: 800; margin-bottom: 0.4rem; }
.vd6e-footer-desc { color: var(--vd6e-text-muted); font-size: 1.25rem; margin-bottom: 1rem; }
.vd6e-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}
.vd6e-footer-links a { color: var(--vd6e-bg-light); font-size: 1.2rem; }
.vd6e-footer-links a:hover { color: var(--vd6e-mint); }
.vd6e-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.vd6e-footer-copy { color: var(--vd6e-text-muted); font-size: 1.1rem; border-top: 0.1rem solid rgba(255,255,255,0.08); padding-top: 1rem; }

/* ============ Mobile bottom navigation (5 buttons) ============ */
.vd6e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(180deg, var(--vd6e-bg-dark), var(--vd6e-bg-darker));
  border-top: 0.15rem solid var(--vd6e-gold);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.4);
}
.vd6e-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vd6e-bg-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.18s ease, transform 0.18s ease;
}
.vd6e-bottom-nav-btn i,
.vd6e-bottom-nav-btn .material-icons {
  font-size: 2.2rem;
}
.vd6e-bottom-nav-btn:hover { color: var(--vd6e-mint); text-decoration: none; transform: translateY(-2px); }
.vd6e-bottom-nav-btn:active { transform: scale(0.92); }
.vd6e-bottom-nav-btn.vd6e-nav-current { color: var(--vd6e-mint); }
.vd6e-bottom-nav-btn.vd6e-nav-current i,
.vd6e-bottom-nav-btn.vd6e-nav-current .material-icons { color: var(--vd6e-gold); }
.vd6e-bottom-nav-center {
  position: relative;
}
.vd6e-bottom-nav-center::before {
  content: "";
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vd6e-mint), var(--vd6e-mint-soft));
  box-shadow: 0 0.3rem 0.8rem rgba(0,255,127,0.5);
  z-index: -1;
}
.vd6e-bottom-nav-center i,
.vd6e-bottom-nav-center .material-icons { color: var(--vd6e-bg-darker); }

/* ============ Desktop: hide bottom nav, widen layout ============ */
@media (min-width: 769px) {
  .vd6e-bottom-nav { display: none; }
  .vd6e-main { padding-bottom: 2rem; }
  .vd6e-container { max-width: 760px; }
  .vd6e-game-grid { grid-template-columns: repeat(5, 1fr); }
  .vd6e-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .vd6e-footer-links { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile bottom-padding safety for small screens */
@media (max-width: 768px) {
  .vd6e-main { padding-bottom: 8rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
