/* ==========================================================================
   bingoplus-lite-app-download.css
   Mobile-first styles for bingoplus lite app download (en-PH).
   All custom classes use the w66f8- prefix.
   Palette: #9370DB / #2C2C2C / #B03060 / #CC99FF / #9932CC
   ========================================================================== */

:root {
  --w66f8-primary: #9370DB;
  --w66f8-bg: #2C2C2C;
  --w66f8-accent: #B03060;
  --w66f8-soft: #CC99FF;
  --w66f8-deep: #9932CC;
  --w66f8-text: #F4ECFF;
  --w66f8-muted: #B9A7D6;
  --w66f8-card: #3A2F47;
  --w66f8-border: rgba(204, 153, 255, 0.22);
  --w66f8-radius: 1.4rem;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: linear-gradient(160deg, #2C2C2C 0%, #2A1F3A 55%, #3A2350 100%);
  color: var(--w66f8-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--w66f8-soft); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

/* === Layout === */
.w66f8-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.w66f8-container {
  padding: 0 1.4rem;
}

main.w66f8-main {
  padding-top: 6.4rem;
  padding-bottom: 9rem;
}

/* === Header === */
.w66f8-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(44, 44, 44, 0.96);
  border-bottom: 1px solid var(--w66f8-border);
  backdrop-filter: blur(8px);
}

.w66f8-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.w66f8-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.w66f8-brand img {
  width: 28px;
  height: 28px;
  border-radius: 0.6rem;
}

.w66f8-brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w66f8-brand-name span { color: var(--w66f8-soft); }

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

.w66f8-menu-toggle {
  background: transparent;
  border: 1px solid var(--w66f8-border);
  color: var(--w66f8-soft);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Buttons === */
.w66f8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  min-height: 3.6rem;
  border-radius: 1rem;
  font-size: 1.28rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.w66f8-btn-primary {
  background: linear-gradient(135deg, var(--w66f8-accent), var(--w66f8-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(176, 48, 96, 0.35);
}

.w66f8-btn-ghost {
  background: rgba(204, 153, 255, 0.12);
  color: var(--w66f8-soft);
  border: 1px solid var(--w66f8-border);
}

.w66f8-btn:hover { transform: translateY(-1px); }
.w66f8-btn:active { transform: scale(0.97); }

.w66f8-btn-block {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.4rem;
}

/* === Mobile expandable menu === */
.w66f8-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #241933;
  transition: max-height 0.32s ease;
}

.w66f8-mobile-menu.w66f8-menu-open {
  max-height: 460px;
  border-bottom: 1px solid var(--w66f8-border);
}

.w66f8-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.w66f8-mobile-menu a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 0.7rem;
  font-size: 1.18rem;
  color: var(--w66f8-text);
  background: rgba(204, 153, 255, 0.07);
  border: 1px solid transparent;
}

.w66f8-mobile-menu a:hover {
  background: rgba(204, 153, 255, 0.18);
  border-color: var(--w66f8-border);
}

/* === Carousel === */
.w66f8-carousel {
  position: relative;
  border-radius: var(--w66f8-radius);
  overflow: hidden;
  margin: 1.2rem 0 1.6rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.w66f8-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

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

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

.w66f8-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(90deg, rgba(176,48,96,0.85), rgba(153,50,204,0.55));
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.w66f8-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.w66f8-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
}

.w66f8-dot.w66f8-active { background: var(--w66f8-soft); }

/* === Sections === */
.w66f8-section {
  margin: 1.8rem 0;
}

.w66f8-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.8rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w66f8-section-title i { color: var(--w66f8-soft); }

.w66f8-section-title small {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--w66f8-muted);
}

.w66f8-intro p {
  font-size: 1.22rem;
  color: var(--w66f8-text);
  margin: 0 0 0.8rem;
}

.w66f8-intro a { font-weight: 700; color: var(--w66f8-soft); }

/* === Game grid === */
.w66f8-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
}

.w66f8-chip {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background: rgba(204, 153, 255, 0.1);
  color: var(--w66f8-text);
  font-size: 1.12rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.w66f8-chip.w66f8-chip-active {
  background: linear-gradient(135deg, var(--w66f8-accent), var(--w66f8-deep));
  color: #fff;
  border-color: var(--w66f8-soft);
}

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

.w66f8-game-card {
  background: var(--w66f8-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--w66f8-border);
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.w66f8-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(153,50,204,0.32);
}

.w66f8-game-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.w66f8-game-card .w66f8-game-name {
  display: block;
  font-size: 1.04rem;
  padding: 0.4rem 0.3rem;
  color: var(--w66f8-text);
  line-height: 1.25rem;
  min-height: 2.6rem;
}

/* === Generic cards === */
.w66f8-card {
  background: var(--w66f8-card);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--w66f8-border);
  margin-bottom: 0.8rem;
}

.w66f8-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
  color: #fff;
}

.w66f8-card p {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  color: var(--w66f8-text);
}

.w66f8-feature-list,
.w66f8-faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w66f8-feature-list li,
.w66f8-faq-list li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--w66f8-border);
  font-size: 1.18rem;
}

.w66f8-feature-list li:last-child,
.w66f8-faq-list li:last-child { border-bottom: none; }

.w66f8-faq-list strong { color: #fff; }

/* === Steps === */
.w66f8-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.w66f8-steps li {
  position: relative;
  padding: 0.6rem 0 0.6rem 3.2rem;
  font-size: 1.18rem;
}

.w66f8-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0.45rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w66f8-accent), var(--w66f8-deep));
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Stats / RTP === */
.w66f8-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.w66f8-stat {
  background: rgba(204,153,255,0.08);
  border-radius: 0.8rem;
  padding: 0.7rem;
  text-align: center;
  border: 1px solid var(--w66f8-border);
}

.w66f8-stat b {
  display: block;
  font-size: 1.45rem;
  color: var(--w66f8-soft);
}

.w66f8-stat span {
  font-size: 1.05rem;
  color: var(--w66f8-muted);
}

/* === Testimonials === */
.w66f8-testimonial {
  background: var(--w66f8-card);
  border-left: 3px solid var(--w66f8-soft);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
}

.w66f8-testimonial p { margin: 0 0 0.3rem; font-size: 1.16rem; }

.w66f8-testimonial cite {
  color: var(--w66f8-muted);
  font-style: normal;
  font-size: 1.05rem;
}

/* === Payment grid === */
.w66f8-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.w66f8-pay-item {
  background: rgba(204,153,255,0.1);
  border: 1px solid var(--w66f8-border);
  border-radius: 0.8rem;
  padding: 0.6rem;
  text-align: center;
  font-size: 1.08rem;
  color: var(--w66f8-text);
}

.w66f8-pay-item i { font-size: 1.6rem; color: var(--w66f8-soft); display: block; margin-bottom: 0.2rem; }

/* === CTA strip === */
.w66f8-cta {
  background: linear-gradient(135deg, rgba(176,48,96,0.92), rgba(153,50,204,0.92));
  border-radius: var(--w66f8-radius);
  padding: 1.2rem;
  text-align: center;
  margin: 1.4rem 0;
}

.w66f8-cta h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  color: #fff;
}

.w66f8-cta p {
  margin: 0 0 0.8rem;
  font-size: 1.16rem;
  color: #fff;
}

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

.w66f8-reveal.w66f8-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Footer === */
.w66f8-footer {
  background: #1F1730;
  border-top: 1px solid var(--w66f8-border);
  padding: 1.6rem 1.4rem 2rem;
  margin-top: 1.4rem;
}

.w66f8-footer-brand {
  font-size: 1.18rem;
  color: var(--w66f8-text);
  margin-bottom: 0.8rem;
}

.w66f8-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.w66f8-footer-promos .w66f8-btn {
  padding: 0.7rem;
  font-size: 1.14rem;
}

.w66f8-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.8rem;
}

.w66f8-footer-links a {
  font-size: 1.1rem;
  color: var(--w66f8-muted);
}

.w66f8-footer-copy {
  font-size: 1.05rem;
  color: var(--w66f8-muted);
  text-align: center;
  border-top: 1px dashed var(--w66f8-border);
  padding-top: 0.8rem;
}

/* === Mobile bottom nav === */
.w66f8-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  z-index: 1000;
  background: rgba(36, 25, 51, 0.98);
  border-top: 1px solid var(--w66f8-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(8px);
}

.w66f8-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w66f8-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.w66f8-bottomnav-btn i,
.w66f8-bottomnav-btn .material-icons {
  font-size: 22px;
}

.w66f8-bottomnav-btn:hover {
  color: var(--w66f8-soft);
  transform: translateY(-1px);
}

.w66f8-bottomnav-btn:active { transform: scale(0.92); }

.w66f8-bottomnav-active {
  color: var(--w66f8-soft);
}

.w66f8-bottomnav-btn.w66f8-bottomnav-promo {
  color: #fff;
  background: linear-gradient(180deg, rgba(176,48,96,0.35), transparent);
}

/* === Desktop: hide bottom nav, expand layout === */
@media (min-width: 769px) {
  .w66f8-bottomnav { display: none; }
  main.w66f8-main { padding-bottom: 3rem; }
  .w66f8-wrapper { max-width: 430px; }
}

/* Ensure mobile gets clearance above fixed bottom nav */
@media (max-width: 768px) {
  main.w66f8-main { padding-bottom: 8.4rem; }
}
