/* ph bingo apk - style.css
   Core stylesheet: header, nav, carousel, game grids, footer, mobile bottom nav.
   All custom classes use the v1ef- prefix. Palette: #1E1E1E | #006400 | #E5E5E5 | #008000. */

:root {
  --v1ef-bg: #1E1E1E;
  --v1ef-bg-soft: #262626;
  --v1ef-bg-card: #2c2c2c;
  --v1ef-primary: #006400;
  --v1ef-primary-bright: #008000;
  --v1ef-primary-glow: rgba(0, 128, 0, 0.45);
  --v1ef-text: #E5E5E5;
  --v1ef-text-muted: #b5b5b5;
  --v1ef-border: #3a3a3a;
  --v1ef-gold: #FFD24A;
  --v1ef-danger: #e0413b;
  --v1ef-radius: 14px;
  --v1ef-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --v1ef-header-h: 56px;
  --v1ef-bottom-h: 60px;
}

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

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

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

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

a { color: var(--v1ef-primary-bright); text-decoration: none; }
a:hover { color: var(--v1ef-gold); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: #ffffff; }
h1 { font-size: 2.4rem; margin: 1.2rem 0; }
h2 { font-size: 2.0rem; margin: 1rem 0; }
h3 { font-size: 1.7rem; margin: 0.8rem 0; }
p { margin: 0.8rem 0; color: var(--v1ef-text); }

.v1ef-container { width: 100%; max-width: 430px; padding: 0 1.2rem; margin: 0 auto; }
.v1ef-wrapper { padding: 1rem 1.2rem; }
.v1ef-section { padding: 2rem 1.2rem; border-top: 1px solid var(--v1ef-border); }
.v1ef-section-alt { background: var(--v1ef-bg-soft); }

/* ---------- Header ---------- */
.v1ef-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #181818, #1E1E1E);
  border-bottom: 2px solid var(--v1ef-primary);
  height: var(--v1ef-header-h);
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  gap: 0.6rem;
}
.v1ef-logo {
  display: flex; align-items: center; gap: 0.5rem;
  flex: 1; min-width: 0;
}
.v1ef-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v1ef-logo-text {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v1ef-logo-text span { color: var(--v1ef-primary-bright); }

.v1ef-header-actions { display: flex; align-items: center; gap: 0.4rem; }
.v1ef-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 10px;
  border: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px; line-height: 1;
}
.v1ef-btn:active { transform: scale(0.96); }
.v1ef-btn-login { background: transparent; color: var(--v1ef-text); border: 1px solid var(--v1ef-primary-bright); }
.v1ef-btn-register { background: linear-gradient(135deg, var(--v1ef-primary-bright), var(--v1ef-primary)); color: #fff; box-shadow: 0 3px 10px var(--v1ef-primary-glow); }
.v1ef-menu-trigger {
  background: transparent; border: none; color: var(--v1ef-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem 0.6rem;
  min-width: 36px; min-height: 36px;
}

/* ---------- Mobile drawer menu ---------- */
.v1ef-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 80%; max-width: 320px; height: 100vh;
  background: #161616;
  z-index: 9999;
  padding: 1.5rem 1.2rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  border-left: 1px solid var(--v1ef-border);
}
.v1ef-mobile-menu.v1ef-menu-open { right: 0; }
.v1ef-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.v1ef-menu-overlay.v1ef-overlay-visible { opacity: 1; pointer-events: auto; }
.v1ef-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.v1ef-menu-title { font-size: 1.6rem; color: #fff; font-weight: 700; }
.v1ef-menu-close { background: transparent; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; }
.v1ef-mobile-menu nav { display: flex; flex-direction: column; gap: 0.3rem; }
.v1ef-mobile-menu nav a {
  color: var(--v1ef-text);
  padding: 0.9rem 0.8rem;
  border-radius: 8px;
  font-size: 1.45rem;
  border-bottom: 1px solid var(--v1ef-border);
  display: flex; align-items: center; gap: 0.6rem;
}
.v1ef-mobile-menu nav a:hover { background: var(--v1ef-bg-card); color: var(--v1ef-gold); }
.v1ef-menu-cta { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------- Carousel ---------- */
.v1ef-carousel {
  position: relative; overflow: hidden;
  border-radius: var(--v1ef-radius);
  margin: 1rem 0;
  box-shadow: var(--v1ef-shadow);
}
.v1ef-carousel-track { display: flex; transition: transform 0.5s ease; }
.v1ef-carousel-slide {
  min-width: 100%; position: relative;
}
.v1ef-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.v1ef-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.v1ef-carousel-caption strong { color: var(--v1ef-gold); font-size: 1.5rem; display: block; }
.v1ef-carousel-caption span { font-size: 1.25rem; color: var(--v1ef-text); }
.v1ef-carousel-dots {
  position: absolute; bottom: 8px; right: 10px;
  display: flex; gap: 6px;
}
.v1ef-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.v1ef-carousel-dot-active { background: var(--v1ef-primary-bright); }

/* ---------- Game grids ---------- */
.v1ef-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: 0.6rem;
}
.v1ef-section-head h2 { margin: 0; font-size: 1.8rem; }
.v1ef-section-head h2 i { color: var(--v1ef-gold); margin-right: 0.4rem; }
.v1ef-section-link { font-size: 1.25rem; color: var(--v1ef-primary-bright); font-weight: 600; }

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

.v1ef-card {
  background: var(--v1ef-bg-card);
  border: 1px solid var(--v1ef-border);
  border-radius: var(--v1ef-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex; flex-direction: column;
}
.v1ef-card:hover {
  transform: translateY(-2px);
  border-color: var(--v1ef-primary-bright);
  box-shadow: 0 6px 16px var(--v1ef-primary-glow);
}
.v1ef-card:active { transform: scale(0.97); }
.v1ef-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #000; }
.v1ef-card-name {
  font-size: 1.2rem; color: var(--v1ef-text);
  padding: 0.5rem 0.4rem;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v1ef-card-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--v1ef-danger); color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: 2px 6px; border-radius: 6px;
}
.v1ef-card { position: relative; }

/* ---------- Filter buttons ---------- */
.v1ef-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 1rem; }
.v1ef-filter-btn {
  font-size: 1.25rem; padding: 0.45rem 0.9rem;
  border-radius: 20px;
  background: var(--v1ef-bg-card);
  color: var(--v1ef-text-muted);
  border: 1px solid var(--v1ef-border);
  cursor: pointer;
}
.v1ef-filter-btn-active {
  background: var(--v1ef-primary-bright);
  color: #fff; border-color: var(--v1ef-primary-bright);
}

/* ---------- Promo CTA ---------- */
.v1ef-cta {
  background: linear-gradient(135deg, var(--v1ef-primary), var(--v1ef-primary-bright));
  border-radius: var(--v1ef-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1rem 0;
  color: #fff;
  box-shadow: var(--v1ef-shadow);
}
.v1ef-cta h3 { color: #fff; }
.v1ef-cta p { color: rgba(255,255,255,0.92); }
.v1ef-cta .v1ef-btn {
  background: var(--v1ef-gold); color: #1E1E1E;
  margin-top: 0.6rem; font-size: 1.4rem; padding: 0.7rem 1.4rem;
}

/* ---------- Feature / highlight blocks ---------- */
.v1ef-feature-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.v1ef-feature {
  background: var(--v1ef-bg-card);
  border-left: 3px solid var(--v1ef-primary-bright);
  border-radius: 10px;
  padding: 1rem;
}
.v1ef-feature h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.v1ef-feature i { color: var(--v1ef-gold); margin-right: 0.4rem; }
.v1ef-feature p { font-size: 1.35rem; color: var(--v1ef-text-muted); }

/* ---------- Testimonials ---------- */
.v1ef-testimonials { display: grid; gap: 0.8rem; }
.v1ef-testimonial {
  background: var(--v1ef-bg-card); border-radius: 10px;
  padding: 1rem; border: 1px solid var(--v1ef-border);
}
.v1ef-testimonial-stars { color: var(--v1ef-gold); font-size: 1.3rem; margin-bottom: 0.3rem; }
.v1ef-testimonial p { font-size: 1.35rem; font-style: italic; color: var(--v1ef-text); }
.v1ef-testimonial-author { font-size: 1.2rem; color: var(--v1ef-text-muted); margin-top: 0.4rem; }

/* ---------- RTP / stats ---------- */
.v1ef-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.v1ef-stat {
  background: var(--v1ef-bg-card); border-radius: 10px;
  padding: 0.9rem; text-align: center;
  border: 1px solid var(--v1ef-border);
}
.v1ef-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--v1ef-primary-bright); }
.v1ef-stat-label { font-size: 1.2rem; color: var(--v1ef-text-muted); }

/* ---------- Payment ---------- */
.v1ef-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v1ef-pay-item {
  background: var(--v1ef-bg-card); border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 1.25rem; color: var(--v1ef-text);
  border: 1px solid var(--v1ef-border);
  display: flex; align-items: center; gap: 0.4rem;
}

/* ---------- Winners ---------- */
.v1ef-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--v1ef-bg-card); padding: 0.7rem 0.9rem;
  border-radius: 8px; margin-bottom: 0.5rem;
  border-left: 3px solid var(--v1ef-gold);
}
.v1ef-winner-name { font-size: 1.3rem; color: #fff; font-weight: 600; }
.v1ef-winner-game { font-size: 1.15rem; color: var(--v1ef-text-muted); }
.v1ef-winner-amount { font-size: 1.4rem; color: var(--v1ef-primary-bright); font-weight: 800; }

/* ---------- FAQ ---------- */
.v1ef-faq-item {
  background: var(--v1ef-bg-card);
  border: 1px solid var(--v1ef-border);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.v1ef-faq-header {
  padding: 1rem;
  font-weight: 600; color: #fff; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.4rem;
}
.v1ef-faq-header i { color: var(--v1ef-primary-bright); }
.v1ef-faq-answer {
  padding: 0 1rem;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--v1ef-text-muted); font-size: 1.35rem;
}
.v1ef-faq-open .v1ef-faq-answer { padding: 0 1rem 1rem; }
.v1ef-faq-open .v1ef-faq-toggle { transform: rotate(45deg); }

/* ---------- SEO content ---------- */
.v1ef-seo-content {
  background: var(--v1ef-bg-soft);
  padding: 1.2rem;
  border-radius: var(--v1ef-radius);
  font-size: 1.4rem; color: var(--v1ef-text);
  line-height: 1.6;
}
.v1ef-seo-content h2 { color: var(--v1ef-gold); }
.v1ef-seo-content a { color: var(--v1ef-primary-bright); font-weight: 600; }
.v1ef-seo-content ul { margin: 0.6rem 0 0.6rem 1.6rem; }
.v1ef-seo-content li { margin: 0.3rem 0; }

/* ---------- App download block ---------- */
.v1ef-app-block {
  background: linear-gradient(135deg, #143d14, #006400);
  border-radius: var(--v1ef-radius);
  padding: 1.4rem; color: #fff;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.v1ef-app-block h3 { color: #fff; }
.v1ef-app-block .v1ef-btn { background: #fff; color: var(--v1ef-primary); align-self: flex-start; }

/* ---------- Footer ---------- */
.v1ef-footer {
  background: #161616;
  border-top: 2px solid var(--v1ef-primary);
  padding: 1.5rem 1.2rem 2rem;
  color: var(--v1ef-text-muted);
  font-size: 1.3rem;
}
.v1ef-footer-brand { font-size: 1.5rem; color: #fff; margin-bottom: 0.4rem; font-weight: 700; }
.v1ef-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.8rem 0;
}
.v1ef-footer-links a { color: var(--v1ef-text-muted); font-size: 1.25rem; }
.v1ef-footer-links a:hover { color: var(--v1ef-gold); }
.v1ef-footer-promos {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem; margin: 0.8rem 0;
}
.v1ef-footer-promos .v1ef-btn { font-size: 1.25rem; padding: 0.6rem; }
.v1ef-footer-copy { margin-top: 0.8rem; font-size: 1.15rem; color: #6a6a6a; }

/* ---------- Bottom nav ---------- */
.v1ef-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  max-width: 430px; margin: 0 auto;
  height: var(--v1ef-bottom-h);
  background: linear-gradient(180deg, #1a1a1a, #111111);
  border-top: 2px solid var(--v1ef-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.6);
}
.v1ef-bottom-nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  background: transparent; border: none;
  color: var(--v1ef-text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  min-height: 60px; min-width: 60px;
  padding: 4px 2px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.v1ef-bottom-nav-item .material-icons,
.v1ef-bottom-nav-item i { font-size: 22px; }
.v1ef-bottom-nav-item ion-icon { font-size: 22px; }
.v1ef-bottom-nav-item:active { transform: scale(0.9); }
.v1ef-bottom-nav-active { color: var(--v1ef-primary-bright) !important; }
.v1ef-bottom-nav-item.v1ef-bottom-nav-active i,
.v1ef-bottom-nav-item.v1ef-bottom-nav-active .material-icons { color: var(--v1ef-gold); }
.v1ef-bottom-nav-promo { color: var(--v1ef-gold); }

/* ---------- Back to top ---------- */
.v1ef-top-btn {
  position: fixed; right: 14px; bottom: calc(var(--v1ef-bottom-h) + 14px);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--v1ef-primary-bright); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}
.v1ef-top-btn-visible { opacity: 1; pointer-events: auto; }

main { padding-bottom: 80px; }

/* ---------- Responsive: desktop ---------- */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .v1ef-bottom-nav { display: none; }
  main { padding-bottom: 20px; }
  .v1ef-top-btn { bottom: 18px; }
}

/* ---------- Small screens fine tuning ---------- */
@media (max-width: 360px) {
  h1 { font-size: 2.0rem; }
  .v1ef-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .v1ef-card-name { font-size: 1.1rem; }
  .v1ef-logo-text { font-size: 1.3rem; }
}

/* ---------- Utilities ---------- */
.v1ef-text-center { text-align: center; }
.v1ef-mt-1 { margin-top: 0.6rem; }
.v1ef-mt-2 { margin-top: 1.2rem; }
.v1ef-highlight { color: var(--v1ef-gold); font-weight: 700; }
.v1ef-pill {
  display: inline-block;
  background: var(--v1ef-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}
