/* bed jelly layout - g4c5 prefix namespace */
/* English code comments only */

:root {
  --g4c5-primary: #5F9EA0;
  --g4c5-green: #228B22;
  --g4c5-lime: #7FFF00;
  --g4c5-light: #DEE2E6;
  --g4c5-deep: #008000;
  --g4c5-dark: #1E1E1E;
  --g4c5-bg: #122020;
  --g4c5-text: #DEE2E6;
  --g4c5-accent: #7FFF00;
  --g4c5-gold: #FFD24A;
}

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

html { font-size: 62.5%; }

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

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

/* ===== Header ===== */
.g4c5-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--g4c5-dark);
  border-bottom: 2px solid var(--g4c5-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 5rem;
}
.g4c5-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--g4c5-lime);
  font-weight: 700;
  font-size: 1.5rem;
}
.g4c5-logo img { width: 2.6rem; height: 2.6rem; border-radius: 0.4rem; }
.g4c5-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g4c5-btn {
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 3.4rem;
}
.g4c5-btn-register {
  background: linear-gradient(135deg, var(--g4c5-lime), var(--g4c5-deep));
  color: var(--g4c5-dark);
}
.g4c5-btn-login {
  background: transparent;
  color: var(--g4c5-light);
  border: 1px solid var(--g4c5-primary);
}
.g4c5-menu-btn {
  background: transparent;
  border: none;
  color: var(--g4c5-lime);
  font-size: 1.8rem;
  cursor: pointer;
  min-width: 3.4rem;
  min-height: 3.4rem;
}

/* ===== Mobile Menu ===== */
.g4c5-mobile-menu {
  position: fixed;
  top: 5rem; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--g4c5-dark);
  border-bottom: 2px solid var(--g4c5-primary);
  display: none;
  flex-direction: column;
  z-index: 9999;
  padding: 0.5rem 0;
}
.g4c5-menu-open { display: flex; }
.g4c5-mobile-menu a {
  color: var(--g4c5-light);
  padding: 1rem 1.5rem;
  font-size: 1.3rem;
  border-bottom: 1px solid #2a2a2a;
}
.g4c5-mobile-menu a:hover { background: #232323; color: var(--g4c5-lime); }

/* ===== Main ===== */
.g4c5-main {
  margin-top: 5rem;
  padding: 1rem;
  padding-bottom: 8rem;
}
.g4c5-h1 {
  font-size: 1.8rem;
  color: var(--g4c5-lime);
  margin: 1rem 0;
  line-height: 1.3;
}
.g4c5-h2 {
  font-size: 1.5rem;
  color: var(--g4c5-primary);
  margin: 1.2rem 0 0.6rem;
  border-left: 4px solid var(--g4c5-lime);
  padding-left: 0.8rem;
}
.g4c5-h3 {
  font-size: 1.3rem;
  color: var(--g4c5-accent);
  margin: 0.8rem 0 0.4rem;
}
.g4c5-para { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--g4c5-light); }

/* ===== Carousel ===== */
.g4c5-carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.g4c5-slides { position: relative; }
.g4c5-slide {
  display: none;
  cursor: pointer;
}
.g4c5-slide-active { display: block; }
.g4c5-slide img { width: 100%; height: 16rem; object-fit: cover; }
.g4c5-slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}
.g4c5-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}
.g4c5-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.g4c5-dot-active { background: var(--g4c5-lime); }

/* ===== Promo text link ===== */
.g4c5-promolink {
  color: var(--g4c5-lime);
  font-weight: 700;
  cursor: pointer;
}
.g4c5-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--g4c5-lime), var(--g4c5-deep));
  color: var(--g4c5-dark);
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0.5rem 0;
  border: none;
  cursor: pointer;
}

/* ===== Game grid ===== */
.g4c5-section {
  margin-bottom: 1.5rem;
  background: #182828;
  border-radius: 1rem;
  padding: 1rem;
}
.g4c5-cat-title {
  font-size: 1.4rem;
  color: var(--g4c5-lime);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g4c5-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.g4c5-game {
  text-align: center;
  cursor: pointer;
}
.g4c5-game img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid #2a3a3a;
}
.g4c5-game span {
  display: block;
  font-size: 1rem;
  color: var(--g4c5-light);
  margin-top: 0.3rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g4c5-game:hover img { border-color: var(--g4c5-lime); }

/* ===== Features grid ===== */
.g4c5-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.g4c5-feature-card {
  background: #1a2c2c;
  border-radius: 0.8rem;
  padding: 0.8rem;
  border-left: 3px solid var(--g4c5-primary);
}
.g4c5-feature-card i { color: var(--g4c5-lime); font-size: 1.6rem; }

/* ===== RTP compact ===== */
.g4c5-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #2a3a3a;
  font-size: 1.2rem;
}
.g4c5-rtp-bar {
  height: 0.6rem;
  background: #2a3a3a;
  border-radius: 0.3rem;
  overflow: hidden;
  margin-top: 0.3rem;
}
.g4c5-rtp-fill { height: 100%; background: var(--g4c5-lime); }

/* ===== Testimonials ===== */
.g4c5-testi {
  background: #1a2c2c;
  border-radius: 0.8rem;
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--g4c5-gold);
}
.g4c5-testi-name { color: var(--g4c5-gold); font-weight: 700; font-size: 1.2rem; }

/* ===== Winners ===== */
.g4c5-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 1.15rem;
  border-bottom: 1px solid #2a3a3a;
}
.g4c5-winner-amount { color: var(--g4c5-lime); font-weight: 700; }

/* ===== Payment ===== */
.g4c5-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.g4c5-pay-item {
  background: #1a2c2c;
  border-radius: 0.5rem;
  padding: 0.5rem 0.8rem;
  font-size: 1.1rem;
  border: 1px solid #2a3a3a;
}

/* ===== App download ===== */
.g4c5-app-cta {
  background: linear-gradient(135deg, #1a3a1a, var(--g4c5-dark));
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}
.g4c5-app-cta img { border-radius: 0.8rem; margin: 0 auto 0.6rem; }

/* ===== Footer ===== */
.g4c5-footer {
  background: var(--g4c5-dark);
  padding: 1.5rem 1rem 6.5rem;
  border-top: 2px solid var(--g4c5-primary);
  font-size: 1.15rem;
}
.g4c5-footer-brand { color: var(--g4c5-lime); font-weight: 700; margin-bottom: 0.5rem; }
.g4c5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.6rem 0;
}
.g4c5-footer-links a { color: var(--g4c5-light); font-size: 1.1rem; }
.g4c5-footer-links a:hover { color: var(--g4c5-lime); }
.g4c5-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0;
}
.g4c5-footer-promo button {
  background: linear-gradient(135deg, var(--g4c5-lime), var(--g4c5-deep));
  color: var(--g4c5-dark);
  border: none;
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
}
.g4c5-footer-copy {
  color: #888;
  font-size: 1rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* ===== Bottom nav ===== */
.g4c5-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--g4c5-dark);
  border-top: 2px solid var(--g4c5-primary);
  display: flex;
  justify-content: space-around;
  height: 6rem;
  z-index: 1000;
}
.g4c5-bottomnav-btn {
  background: transparent;
  border: none;
  color: var(--g4c5-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  flex: 1;
  cursor: pointer;
  font-size: 1rem;
  gap: 0.2rem;
  transition: transform 0.15s, color 0.15s;
}
.g4c5-bottomnav-btn i, .g4c5-bottomnav-btn .material-icons-outlined {
  font-size: 2.2rem;
}
.g4c5-bottomnav-btn:hover { color: var(--g4c5-lime); transform: scale(1.08); }
.g4c5-bottomnav-active { color: var(--g4c5-lime); }
.g4c5-bottomnav-active i, .g4c5-bottomnav-active .material-icons-outlined { color: var(--g4c5-lime); }

/* ===== Desktop hide bottom nav ===== */
@media (min-width: 769px) {
  .g4c5-bottomnav { display: none; }
  body { max-width: 430px; }
}

/* ===== Mobile bottom padding clearance ===== */
@media (max-width: 768px) {
  .g4c5-main { padding-bottom: 8rem; }
  .g4c5-footer { padding-bottom: 6.5rem; }
}

/* ===== Helpers ===== */
.g4c5-tricks li { margin: 0.4rem 0 0.4rem 1.5rem; font-size: 1.2rem; }
.g4c5-list { margin: 0.4rem 0 0.8rem 1.5rem; font-size: 1.2rem; }
.g4c5-ach-badge {
  display: inline-block;
  background: var(--g4c5-deep);
  color: var(--g4c5-lime);
  border-radius: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 1.1rem;
  margin: 0.2rem;
}
