/* ============================================================
 * kc33.click - kc33 shared stylesheet
 * All custom classes use the dynamic prefix "pgf5-".
 * Palette: #00FF00 | #212F3D | #00695C | #7CFC00 | #4DB6AC
 * Mobile-first; root font 62.5%; layout capped at max-width: 430px.
 * ============================================================ */

:root {
  --pgf5-primary: #00FF00;
  --pgf5-secondary: #7CFC00;
  --pgf5-accent: #4DB6AC;
  --pgf5-deep: #212F3D;
  --pgf5-deeper: #18222c;
  --pgf5-teal: #00695C;
  --pgf5-text: #f3fff6;
  --pgf5-muted: #b9c7c2;
  --pgf5-card: #21323f;
  --pgf5-line: #2c4250;
  --pgf5-radius: 14px;
  --pgf5-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  --pgf5-header-h: 58px;
  --pgf5-bnav-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(160deg, var(--pgf5-deep) 0%, var(--pgf5-teal) 60%, var(--pgf5-deeper) 100%);
  color: var(--pgf5-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--pgf5-secondary); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; color: var(--pgf5-secondary); }
h3 { font-size: 1.65rem; color: var(--pgf5-accent); }

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

main.pgf5-main {
  padding-top: calc(var(--pgf5-header-h) + 10px);
  padding-bottom: calc(var(--pgf5-bnav-h) + 24px);
}

.pgf5-section { padding: 18px 14px; }
.pgf5-section + .pgf5-section { border-top: 1px dashed rgba(124, 252, 0, 0.15); }

.pgf5-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.pgf5-reveal.pgf5-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.pgf5-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--pgf5-header-h);
  background: linear-gradient(90deg, var(--pgf5-deeper), var(--pgf5-teal));
  border-bottom: 2px solid var(--pgf5-primary);
  z-index: 1000;
  display: flex; align-items: center;
}
.pgf5-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px; height: 100%;
}
.pgf5-brand { display: flex; align-items: center; gap: 8px; }
.pgf5-brand img { width: 30px; height: 30px; border-radius: 8px; }
.pgf5-brand-name { font-size: 1.7rem; font-weight: 800; color: var(--pgf5-primary); letter-spacing: .5px; }
.pgf5-head-actions { display: flex; align-items: center; gap: 6px; }
.pgf5-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border: none; border-radius: 999px;
  padding: 8px 14px; font-size: 1.3rem; font-weight: 700;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
  min-height: 36px; line-height: 1; color: #07221b;
}
.pgf5-btn:active { transform: scale(.94); }
.pgf5-btn-register { background: linear-gradient(135deg, var(--pgf5-primary), var(--pgf5-secondary)); box-shadow: 0 3px 10px rgba(0,255,0,.35); }
.pgf5-btn-login { background: linear-gradient(135deg, var(--pgf5-accent), #80deea); box-shadow: 0 3px 10px rgba(77,182,172,.35); }
.pgf5-menu-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--pgf5-line);
  background: rgba(255,255,255,.06); color: var(--pgf5-primary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.pgf5-menu-btn:hover, .pgf5-menu-btn.pgf5-active { background: rgba(0,255,0,.15); }

/* ---------- Mobile menu ---------- */
.pgf5-mobile-menu {
  position: fixed; top: var(--pgf5-header-h); left: 0; right: 0;
  background: var(--pgf5-deeper);
  border-bottom: 2px solid var(--pgf5-primary);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
  z-index: 9999;
}
.pgf5-mobile-menu.pgf5-menu-open { max-height: 480px; opacity: 1; }
.pgf5-mobile-menu ul { list-style: none; margin: 0; padding: 8px 14px; }
.pgf5-mobile-menu li { border-bottom: 1px solid rgba(124,252,0,.10); }
.pgf5-mobile-menu li:last-child { border-bottom: none; }
.pgf5-mobile-menu a {
  display: block; padding: 12px 6px; color: var(--pgf5-text); font-size: 1.4rem; font-weight: 600;
}
.pgf5-mobile-menu a:active { color: var(--pgf5-primary); }

/* ---------- Hero carousel ---------- */
.pgf5-hero { padding: 12px 12px 0; }
.pgf5-carousel {
  position: relative; border-radius: var(--pgf5-radius); overflow: hidden;
  box-shadow: var(--pgf5-shadow); background: var(--pgf5-deeper);
}
.pgf5-slide {
  display: none; width: 100%; height: 180px; cursor: pointer; position: relative;
}
.pgf5-slide.pgf5-active { display: block; }
.pgf5-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgf5-slide-caption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(7, 34, 27, .65); padding: 8px 12px; border-radius: 10px;
  font-size: 1.35rem; font-weight: 700; color: var(--pgf5-secondary);
}
.pgf5-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pgf5-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer;
  border: none; padding: 0;
}
.pgf5-dot.pgf5-active { background: var(--pgf5-primary); width: 18px; border-radius: 6px; transition: all .25s; }

/* ---------- Cards / grids ---------- */
.pgf5-card {
  background: var(--pgf5-card); border: 1px solid var(--pgf5-line);
  border-radius: var(--pgf5-radius); padding: 14px; box-shadow: var(--pgf5-shadow);
}
.pgf5-card p { margin: .4em 0; color: var(--pgf5-muted); font-size: 1.35rem; }

.pgf5-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0 10px;
}
.pgf5-cat-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.pgf5-cat-tag {
  font-size: 1.2rem; color: var(--pgf5-deep); background: var(--pgf5-secondary);
  padding: 3px 10px; border-radius: 999px; font-weight: 700;
}

.pgf5-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.pgf5-game {
  background: var(--pgf5-deeper); border: 1px solid var(--pgf5-line); border-radius: 12px;
  padding: 6px; text-align: center; cursor: pointer;
  transition: transform .18s ease, border-color .2s ease; overflow: hidden;
}
.pgf5-game:hover, .pgf5-game:active { transform: translateY(-3px); border-color: var(--pgf5-primary); }
.pgf5-game img { width: 100%; height: 70px; object-fit: cover; border-radius: 8px; }
.pgf5-game-name {
  font-size: 1.15rem; font-weight: 600; margin-top: 4px; color: var(--pgf5-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Features / lists ---------- */
.pgf5-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pgf5-feature {
  background: var(--pgf5-card); border-radius: 12px; padding: 12px; border-left: 3px solid var(--pgf5-primary);
}
.pgf5-feature .ico { font-size: 22px; color: var(--pgf5-secondary); margin-bottom: 4px; }
.pgf5-feature h3 { margin: 0 0 4px; font-size: 1.35rem; }
.pgf5-feature p { margin: 0; font-size: 1.2rem; color: var(--pgf5-muted); }

.pgf5-list { list-style: none; padding: 0; margin: 0; }
.pgf5-list li { padding: 8px 0 8px 22px; position: relative; font-size: 1.35rem; border-bottom: 1px dashed rgba(124,252,0,.10); }
.pgf5-list li:last-child { border-bottom: none; }
.pgf5-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 8px; color: var(--pgf5-primary); font-size: 1.1rem; }

/* ---------- CTA ---------- */
.pgf5-cta {
  display: block; width: 100%; text-align: center; padding: 14px;
  background: linear-gradient(135deg, var(--pgf5-primary), var(--pgf5-secondary));
  color: #07221b; font-weight: 800; font-size: 1.6rem; border-radius: 12px;
  border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(0,255,0,.3);
  margin: 14px 0; transition: transform .15s;
}
.pgf5-cta:active { transform: scale(.97); }
.pgf5-cta-text { color: var(--pgf5-primary); font-weight: 700; }

/* ---------- Winners ---------- */
.pgf5-winners { display: flex; flex-direction: column; gap: 8px; }
.pgf5-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--pgf5-card); border-radius: 10px; padding: 8px 12px; border-left: 3px solid var(--pgf5-accent);
}
.pgf5-winner .nm { font-weight: 700; }
.pgf5-winner .gm { font-size: 1.2rem; color: var(--pgf5-muted); }
.pgf5-winner .amt { color: var(--pgf5-secondary); font-weight: 800; }

/* ---------- Testimonials ---------- */
.pgf5-testi { display: flex; flex-direction: column; gap: 10px; }
.pgf5-testi-item { background: var(--pgf5-card); border-radius: 12px; padding: 12px; }
.pgf5-testi-item .who { font-weight: 700; color: var(--pgf5-accent); margin-bottom: 4px; }
.pgf5-testi-item .stars { color: #ffd54f; font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Payments ---------- */
.pgf5-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pgf5-pay span {
  background: var(--pgf5-card); border-radius: 8px; padding: 6px 10px; font-size: 1.2rem;
  border: 1px solid var(--pgf5-line); color: var(--pgf5-text);
}

/* ---------- FAQ ---------- */
.pgf5-faq-item { background: var(--pgf5-card); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.pgf5-faq-item h3 { margin: 0 0 4px; font-size: 1.35rem; color: var(--pgf5-secondary); }
.pgf5-faq-item p { margin: 0; font-size: 1.25rem; color: var(--pgf5-muted); }

/* ---------- SEO content ---------- */
.pgf5-prose p { font-size: 1.35rem; color: var(--pgf5-muted); margin: .5em 0; }
.pgf5-prose a { color: var(--pgf5-primary); font-weight: 700; border-bottom: 1px dotted rgba(0,255,0,.4); }
.pgf5-prose strong { color: var(--pgf5-secondary); }

/* ---------- Footer ---------- */
.pgf5-footer {
  background: var(--pgf5-deeper); border-top: 2px solid var(--pgf5-primary);
  padding: 18px 14px calc(var(--pgf5-bnav-h) + 18px);
}
.pgf5-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pgf5-footer-links a {
  background: var(--pgf5-card); padding: 6px 10px; border-radius: 8px;
  font-size: 1.2rem; color: var(--pgf5-text); border: 1px solid var(--pgf5-line);
}
.pgf5-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pgf5-footer-promo button { flex: 1 1 45%; }
.pgf5-copy { font-size: 1.15rem; color: var(--pgf5-muted); text-align: center; margin-top: 12px; }

/* ---------- Bottom nav ---------- */
.pgf5-bnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--pgf5-bnav-h);
  background: linear-gradient(180deg, var(--pgf5-teal), var(--pgf5-deeper));
  border-top: 2px solid var(--pgf5-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
}
.pgf5-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--pgf5-text);
  cursor: pointer; padding: 4px 2px; transition: transform .18s ease, color .2s ease;
  text-decoration: none;
}
.pgf5-bnav-btn .ic { font-size: 24px; color: var(--pgf5-secondary); margin-bottom: 2px; }
.pgf5-bnav-btn .lb { font-size: 1.05rem; font-weight: 600; color: var(--pgf5-muted); }
.pgf5-bnav-btn:active { transform: scale(.9); }
.pgf5-bnav-btn.pgf5-current .ic,
.pgf5-bnav-btn.pgf5-current .lb { color: var(--pgf5-primary); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .pgf5-bnav { display: none; }
  .pgf5-wrapper { box-shadow: 0 0 40px rgba(0,0,0,.35); }
  main.pgf5-main { padding-bottom: 30px; }
  .pgf5-footer { padding-bottom: 18px; }
}
