/* 98888 basefiles CSS - prefix: pgec- */
/* Palette: #FFE135 gold | #2C3E50 dark | #00CED1 teal | #0000FF blue | #F0FDFF light | #808080 grey */

:root {
  --pgec-primary: #00CED1;
  --pgec-gold: #FFE135;
  --pgec-blue: #0000FF;
  --pgec-bg: #2C3E50;
  --pgec-bg-dark: #1c2a38;
  --pgec-bg-soft: #34495e;
  --pgec-text: #F0FDFF;
  --pgec-muted: #808080;
  --pgec-border: rgba(0, 206, 209, 0.25);
  --pgec-radius: 12px;
  --pgec-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

* { 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", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--pgec-bg);
  color: var(--pgec-text);
  line-height: 1.6;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pgec-primary); text-decoration: none; }

/* ===== Header ===== */
.pgec-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(135deg, #1c2a38 0%, #2C3E50 100%);
  border-bottom: 2px solid var(--pgec-gold);
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--pgec-shadow);
}
.pgec-logo { display: flex; align-items: center; gap: 0.6rem; }
.pgec-logo img { width: 30px; height: 30px; border-radius: 6px; }
.pgec-logo .pgec-brand {
  font-size: 1.9rem; font-weight: 800; color: var(--pgec-gold);
  letter-spacing: 0.5px;
}
.pgec-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pgec-menu-btn {
  background: transparent; border: 0; color: var(--pgec-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem 0.6rem; border-radius: 6px;
}
.pgec-btn {
  display: inline-block; padding: 0.7rem 1.3rem; border-radius: 8px;
  font-weight: 700; font-size: 1.3rem; cursor: pointer; border: 0;
  text-align: center; transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 40px;
}
.pgec-btn:hover { transform: translateY(-1px); }
.pgec-btn-register {
  background: linear-gradient(135deg, #FFE135 0%, #ffb700 100%);
  color: #2C3E50;
  box-shadow: 0 3px 10px rgba(255, 225, 53, 0.4);
}
.pgec-btn-login {
  background: transparent; color: var(--pgec-text);
  border: 1.5px solid var(--pgec-primary);
}

/* ===== Mobile expandable menu ===== */
.pgec-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: var(--pgec-bg-dark);
  border-bottom: 2px solid var(--pgec-primary);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.pgec-mobile-menu.pgec-open { max-height: 480px; }
.pgec-mobile-menu ul { list-style: none; padding: 0.6rem 1rem; }
.pgec-mobile-menu li a {
  display: block; padding: 1.1rem 1rem; color: var(--pgec-text);
  font-size: 1.5rem; border-bottom: 1px solid rgba(240, 253, 255, 0.08);
}
.pgec-mobile-menu li a:hover { color: var(--pgec-gold); }

/* ===== Layout ===== */
.pgec-wrapper { padding-top: 60px; }
.pgec-container { padding: 1.2rem; }
main.pgec-main { padding-bottom: 80px; }

/* ===== Carousel ===== */
.pgec-carousel {
  position: relative; margin: 1.2rem 0; border-radius: var(--pgec-radius);
  overflow: hidden; box-shadow: var(--pgec-shadow);
}
.pgec-slides { position: relative; height: 180px; }
.pgec-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  cursor: pointer;
}
.pgec-slide.pgec-active { opacity: 1; }
.pgec-slide img { width: 100%; height: 180px; object-fit: cover; }
.pgec-slide .pgec-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 1rem; font-size: 1.4rem; font-weight: 700; color: var(--pgec-gold);
}
.pgec-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.pgec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240, 253, 255, 0.5); cursor: pointer; border: 0;
}
.pgec-dot.pgec-active { background: var(--pgec-gold); }

/* ===== Headings ===== */
.pgec-h1 {
  font-size: 2.2rem; font-weight: 800; color: var(--pgec-gold);
  margin: 1.4rem 0 0.6rem; line-height: 1.3;
}
.pgec-h2 {
  font-size: 1.9rem; font-weight: 700; color: var(--pgec-primary);
  margin: 1.6rem 0 0.6rem; padding-left: 0.8rem;
  border-left: 4px solid var(--pgec-gold);
}
.pgec-h3 { font-size: 1.6rem; font-weight: 700; color: var(--pgec-text); margin: 1.2rem 0 0.4rem; }
.pgec-lead { font-size: 1.5rem; color: var(--pgec-text); margin-bottom: 1rem; }
.pgec-section { margin: 1.6rem 0; }

/* ===== Category chips ===== */
.pgec-cat-bar {
  display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.6rem 0;
  -webkit-overflow-scrolling: touch;
}
.pgec-cat-chip {
  flex: 0 0 auto; padding: 0.5rem 1.1rem; border-radius: 20px;
  background: var(--pgec-bg-soft); color: var(--pgec-text);
  font-size: 1.3rem; cursor: pointer; white-space: nowrap; border: 1px solid transparent;
}
.pgec-cat-chip.pgec-active {
  background: var(--pgec-gold); color: #2C3E50; font-weight: 700;
}

/* ===== Game grid ===== */
.pgec-cat-title {
  font-size: 1.7rem; font-weight: 700; color: var(--pgec-gold);
  margin: 1.4rem 0 0.6rem; display: flex; align-items: center; gap: 0.5rem;
}
.pgec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.pgec-game {
  background: var(--pgec-bg-soft); border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: transform 0.15s ease; border: 1px solid var(--pgec-border);
}
.pgec-game:hover { transform: translateY(-2px); }
.pgec-game img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pgec-game .pgec-game-name {
  font-size: 1.15rem; padding: 0.45rem 0.4rem; text-align: center;
  color: var(--pgec-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Cards / Modules ===== */
.pgec-card {
  background: var(--pgec-bg-soft); border-radius: var(--pgec-radius);
  padding: 1.2rem; margin: 1rem 0; border: 1px solid var(--pgec-border);
}
.pgec-card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.pgec-mini-card {
  background: var(--pgec-bg-dark); border-radius: 10px; padding: 0.9rem;
  text-align: center; border: 1px solid var(--pgec-border);
}
.pgec-mini-card .material-icons, .pgec-mini-card i { color: var(--pgec-gold); font-size: 24px; }
.pgec-mini-card strong { display: block; color: var(--pgec-text); margin-top: 0.3rem; font-size: 1.3rem; }
.pgec-mini-card span { color: var(--pgec-muted); font-size: 1.15rem; }

.pgec-promo-link {
  color: var(--pgec-gold); font-weight: 700; cursor: pointer;
  text-decoration: underline;
}
.pgec-cta {
  display: block; text-align: center; padding: 1.1rem; margin: 1rem 0;
  background: linear-gradient(135deg, #00CED1 0%, #0000FF 100%);
  color: #fff; font-weight: 800; font-size: 1.6rem; border-radius: 10px;
  cursor: pointer; border: 0; box-shadow: 0 4px 14px rgba(0, 206, 209, 0.4);
}

/* Testimonials */
.pgec-testi {
  background: var(--pgec-bg-dark); border-radius: 10px; padding: 0.9rem;
  margin: 0.5rem 0; border-left: 3px solid var(--pgec-gold);
}
.pgec-testi .pgec-testi-name { color: var(--pgec-primary); font-weight: 700; font-size: 1.3rem; }
.pgec-testi p { font-size: 1.3rem; margin-top: 0.2rem; }

/* Winners */
.pgec-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem; background: var(--pgec-bg-dark); border-radius: 8px;
  margin: 0.4rem 0; font-size: 1.3rem;
}
.pgec-winner .pgec-amount { color: var(--pgec-gold); font-weight: 700; }

/* Payment */
.pgec-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pgec-pay span {
  background: var(--pgec-bg-dark); padding: 0.5rem 1rem; border-radius: 6px;
  font-size: 1.25rem; border: 1px solid var(--pgec-border); color: var(--pgec-text);
}

/* RTP table */
.pgec-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.pgec-table th, .pgec-table td {
  padding: 0.6rem 0.5rem; text-align: left; border-bottom: 1px solid var(--pgec-border);
}
.pgec-table th { color: var(--pgec-gold); }
.pgec-table td.num { color: var(--pgec-primary); font-weight: 700; text-align: right; }

/* FAQ */
.pgec-faq { margin: 0.6rem 0; }
.pgec-faq p { margin: 0.4rem 0; font-size: 1.35rem; }
.pgec-faq strong { color: var(--pgec-gold); }

/* SEO text */
.pgec-seo { font-size: 1.35rem; color: var(--pgec-text); margin: 0.8rem 0; }
.pgec-seo a { color: var(--pgec-gold); font-weight: 600; }

/* ===== Footer ===== */
.pgec-footer {
  background: var(--pgec-bg-dark); padding: 1.6rem 1.2rem 2rem;
  border-top: 2px solid var(--pgec-gold); margin-top: 1.6rem;
}
.pgec-footer p { font-size: 1.25rem; color: var(--pgec-text); margin: 0.4rem 0; }
.pgec-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0;
}
.pgec-footer-links a { color: var(--pgec-primary); font-size: 1.25rem; }
.pgec-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.pgec-footer-promo button {
  flex: 1 1 auto; padding: 0.6rem 0.8rem; border-radius: 6px; border: 0;
  background: var(--pgec-gold); color: #2C3E50; font-weight: 700; font-size: 1.2rem;
  cursor: pointer; min-width: 90px;
}
.pgec-copy { font-size: 1.1rem; color: var(--pgec-muted); margin-top: 0.6rem; }

/* ===== Mobile bottom nav ===== */
.pgec-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 60px; display: flex; justify-content: space-around; align-items: center;
  background: linear-gradient(135deg, #1c2a38 0%, #2C3E50 100%);
  border-top: 2px solid var(--pgec-gold);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4);
}
.pgec-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--pgec-text); cursor: pointer; gap: 2px; transition: color 0.15s ease, transform 0.15s ease;
}
.pgec-bnav-btn i, .pgec-bnav-btn .material-icons {
  font-size: 22px; color: var(--pgec-text);
}
.pgec-bnav-btn span { font-size: 1rem; }
.pgec-bnav-btn:active { transform: scale(0.92); }
.pgec-bnav-btn.pgec-current i,
.pgec-bnav-btn.pgec-current .material-icons { color: var(--pgec-gold); }
.pgec-bnav-btn.pgec-current span { color: var(--pgec-gold); font-weight: 700; }
.pgec-bnav-badge {
  position: absolute; top: 6px; right: 18px; background: #e74c3c; color: #fff;
  font-size: 0.9rem; border-radius: 10px; padding: 0 5px; line-height: 14px; min-width: 14px;
}

/* ===== Desktop: hide bottom nav, show desktop nav ===== */
@media (min-width: 769px) {
  .pgec-bnav { display: none; }
  body { max-width: 960px; }
  .pgec-grid { grid-template-columns: repeat(5, 1fr); }
  .pgec-card-grid { grid-template-columns: repeat(4, 1fr); }
  main.pgec-main { padding-bottom: 20px; }
}

@media (max-width: 768px) {
  main.pgec-main { padding-bottom: 80px; }
}
