/* ===========================================================
   pk lock - style-44aa.css
   Mobile-first gaming site for pklock.homes (bn-BD)
   All custom classes use the "pg44-" prefix.
   Palette: #FFD700 | #2C2C2C | #708090 | #34495E
   Root font-size: 62.5% => 1rem = 10px
   =========================================================== */

:root {
  --pg44-primary: #FFD700;
  --pg44-bg: #2C2C2C;
  --pg44-bg-2: #1c1c1c;
  --pg44-slate: #708090;
  --pg44-deep: #34495E;
  --pg44-text: #f5f5f5;
  --pg44-text-muted: #c9c9c9;
  --pg44-accent: #FFD700;
  --pg44-accent-2: #ff8c42;
  --pg44-card: #3a3a3a;
  --pg44-border: rgba(255, 215, 0, 0.25);
  --pg44-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  --pg44-radius: 10px;
  --pg44-header-h: 56px;
  --pg44-bottomnav-h: 60px;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--pg44-bg);
  color: var(--pg44-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pg44-accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* ---------- Layout helpers ---------- */
.pg44-container { width: 100%; padding: 0 1.2rem; }
.pg44-wrapper { max-width: 430px; margin: 0 auto; }
.pg44-grid { display: grid; gap: 1rem; }
.pg44-section { padding: 2rem 0; }
.pg44-section-alt { background: var(--pg44-bg-2); }

/* ---------- Header ---------- */
.pg44-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--pg44-header-h);
  background: linear-gradient(90deg, #1c1c1c, #34495E);
  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.5);
  border-bottom: 2px solid var(--pg44-primary);
}
.pg44-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--pg44-primary); font-weight: 700; font-size: 1.7rem; }
.pg44-logo img { width: 28px; height: 28px; border-radius: 4px; }
.pg44-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg44-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.pg44-btn:active { transform: scale(0.96); }
.pg44-btn-register { background: var(--pg44-primary); color: #1c1c1c; }
.pg44-btn-register:hover { filter: brightness(1.08); text-decoration: none; }
.pg44-btn-login { background: transparent; color: var(--pg44-primary); border: 1.5px solid var(--pg44-primary); }
.pg44-btn-login:hover { background: rgba(255,215,0,0.12); text-decoration: none; }

.pg44-menu-btn {
  background: transparent; border: none; color: var(--pg44-primary);
  font-size: 2.2rem; cursor: pointer; padding: 0 0.4rem;
}

/* ---------- Mobile expandable menu ---------- */
.pg44-mobile-menu {
  position: fixed;
  top: var(--pg44-header-h); left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: var(--pg44-bg-2);
  border-bottom: 2px solid var(--pg44-primary);
  padding: 1rem 1.2rem;
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0; padding-bottom: 0;
}
.pg44-mobile-menu.pg44-menu-open {
  max-height: 420px;
  padding: 1rem 1.2rem;
}
.pg44-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--pg44-text);
  border-bottom: 1px solid rgba(255,215,0,0.12);
  font-size: 1.45rem;
}
.pg44-mobile-menu a:last-child { border-bottom: none; }
.pg44-mobile-menu a:hover { color: var(--pg44-primary); background: rgba(255,215,0,0.06); text-decoration: none; }

/* ---------- Main content padding ---------- */
.pg44-main { padding-top: calc(var(--pg44-header-h) + 6px); }

/* ---------- Carousel ---------- */
.pg44-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--pg44-radius);
  overflow: hidden;
  box-shadow: var(--pg44-shadow);
  margin: 1rem 0;
}
.pg44-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.pg44-slide.pg44-slide-active { opacity: 1; }
.pg44-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg44-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1rem; color: #fff; font-size: 1.3rem; font-weight: 600;
}
.pg44-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.pg44-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.pg44-dot.pg44-dot-active { background: var(--pg44-primary); }

/* ---------- H tags ---------- */
.pg44-h1 { font-size: 2rem; font-weight: 800; color: var(--pg44-primary); margin: 1.4rem 0 0.6rem; line-height: 2.4rem; }
.pg44-h2 { font-size: 1.8rem; font-weight: 700; color: var(--pg44-primary); margin: 1.6rem 0 0.6rem; }
.pg44-h3 { font-size: 1.55rem; font-weight: 600; color: #fff; margin: 1.2rem 0 0.5rem; }
.pg44-lead { color: var(--pg44-text-muted); font-size: 1.4rem; margin-bottom: 1rem; }

/* ---------- Filter buttons ---------- */
.pg44-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.pg44-filter-btn {
  background: var(--pg44-card); color: var(--pg44-text);
  border: 1px solid var(--pg44-border);
  padding: 0.5rem 1rem; border-radius: 20px; font-size: 1.25rem; cursor: pointer;
  transition: background 0.15s ease;
}
.pg44-filter-btn.pg44-filter-active { background: var(--pg44-primary); color: #1c1c1c; font-weight: 700; border-color: var(--pg44-primary); }

/* ---------- Game grid ---------- */
.pg44-game-group { margin: 1.4rem 0; }
.pg44-game-group-title { font-size: 1.6rem; color: var(--pg44-primary); margin-bottom: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.pg44-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.pg44-game-card {
  background: var(--pg44-card);
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.pg44-game-card:hover { transform: translateY(-2px); border-color: var(--pg44-border); text-decoration: none; }
.pg44-game-card img { width: 100%; height: 72px; object-fit: cover; border-radius: 6px; margin-bottom: 0.3rem; }
.pg44-game-name { font-size: 1.1rem; color: var(--pg44-text); line-height: 1.3rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.6rem; }

/* ---------- Cards ---------- */
.pg44-card {
  background: var(--pg44-card);
  border-radius: var(--pg44-radius);
  padding: 1.2rem;
  box-shadow: var(--pg44-shadow);
  border: 1px solid var(--pg44-border);
  margin-bottom: 1rem;
}
.pg44-card-title { color: var(--pg44-primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.pg44-card-text { color: var(--pg44-text-muted); font-size: 1.35rem; }

/* ---------- Feature list ---------- */
.pg44-feature-list { list-style: none; }
.pg44-feature-list li { padding: 0.6rem 0 0.6rem 2.4rem; position: relative; color: var(--pg44-text-muted); font-size: 1.35rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pg44-feature-list li:last-child { border-bottom: none; }
.pg44-feature-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--pg44-primary); position: absolute; left: 0; top: 0.7rem; font-size: 1.3rem; }

/* ---------- Promo inline links ---------- */
.pg44-promo-link { color: var(--pg44-primary); font-weight: 700; cursor: pointer; }
.pg44-promo-link:hover { text-decoration: underline; }

.pg44-cta-banner {
  background: linear-gradient(90deg, var(--pg44-deep), var(--pg44-primary));
  border-radius: var(--pg44-radius);
  padding: 1.4rem; text-align: center; color: #1c1c1c; font-weight: 800;
  margin: 1.2rem 0; cursor: pointer; font-size: 1.5rem;
}
.pg44-cta-banner:active { transform: scale(0.98); }

/* ---------- Testimonials ---------- */
.pg44-testimonials { display: grid; gap: 0.8rem; }
.pg44-testimonial { background: var(--pg44-card); border-left: 3px solid var(--pg44-primary); border-radius: 8px; padding: 0.9rem 1rem; }
.pg44-testimonial p { font-size: 1.3rem; color: var(--pg44-text-muted); font-style: italic; }
.pg44-testimonial .pg44-author { display: block; margin-top: 0.4rem; font-size: 1.2rem; color: var(--pg44-primary); font-weight: 700; }

/* ---------- Payment icons ---------- */
.pg44-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pg44-pay-item { background: #fff; border-radius: 6px; padding: 0.4rem 0.8rem; color: #2C2C2C; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 0.3rem; }

/* ---------- Winners showcase ---------- */
.pg44-winner-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 1.3rem; }
.pg44-winner-row:last-child { border-bottom: none; }
.pg44-winner-name { color: var(--pg44-primary); font-weight: 700; }
.pg44-winner-amount { color: #fff; }

/* ---------- FAQ ---------- */
.pg44-faq-item { background: var(--pg44-card); border-radius: 8px; margin-bottom: 0.6rem; overflow: hidden; }
.pg44-faq-q { padding: 0.8rem 1rem; font-weight: 700; color: var(--pg44-primary); cursor: pointer; font-size: 1.35rem; }
.pg44-faq-a { padding: 0 1rem 0.8rem; color: var(--pg44-text-muted); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.pg44-footer {
  background: var(--pg44-bg-2);
  border-top: 2px solid var(--pg44-primary);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1.5rem;
}
.pg44-footer-brand { color: var(--pg44-text-muted); font-size: 1.3rem; margin-bottom: 1rem; }
.pg44-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin: 0.8rem 0; }
.pg44-footer-links a { color: var(--pg44-text-muted); font-size: 1.25rem; }
.pg44-footer-links a:hover { color: var(--pg44-primary); }
.pg44-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.pg44-footer-promos .pg44-btn { min-height: 34px; padding: 0 0.9rem; font-size: 1.2rem; }
.pg44-copyright { color: var(--pg44-slate); font-size: 1.15rem; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.8rem; }

/* ---------- Bottom nav (mobile) ---------- */
.pg44-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: var(--pg44-bottomnav-h);
  background: linear-gradient(90deg, #1c1c1c, #34495E);
  border-top: 2px solid var(--pg44-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.pg44-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pg44-text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.pg44-nav-btn .pg44-nav-icon { font-size: 22px; line-height: 1; }
.pg44-nav-btn .pg44-nav-label { font-size: 1.05rem; }
.pg44-nav-btn:active { transform: scale(0.92); }
.pg44-nav-btn:hover { color: var(--pg44-primary); text-decoration: none; }
.pg44-nav-btn.pg44-nav-active { color: var(--pg44-primary); }
.pg44-nav-active .pg44-nav-icon { transform: translateY(-2px); }

/* ---------- Mobile bottom padding so content is not hidden ---------- */
@media (max-width: 768px) {
  .pg44-main { padding-bottom: calc(var(--pg44-bottomnav-h) + 12px); }
  .pg44-footer { padding-bottom: calc(var(--pg44-bottomnav-h) + 1.5rem); }
}

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  .pg44-bottom-nav { display: none; }
  body { max-width: 960px; }
  .pg44-header { max-width: 960px; }
  .pg44-mobile-menu { max-width: 960px; }
  .pg44-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pg44-carousel { height: 280px; }
}

/* ---------- Utility ---------- */
.pg44-text-center { text-align: center; }
.pg44-mt-1 { margin-top: 1rem; }
.pg44-mt-2 { margin-top: 2rem; }
.pg44-mb-1 { margin-bottom: 1rem; }
.pg44-hidden { display: none; }
.pg44-tag { display: inline-block; background: var(--pg44-deep); color: var(--pg44-primary); padding: 0.15rem 0.6rem; border-radius: 4px; font-size: 1.1rem; margin-right: 0.3rem; }
