/* pjko.homes theme stylesheet
   All custom classes use the uibd- prefix.
   Palette: #90EE90 | #DEB887 | #2E8B57 | #212F3D
   Mobile-first, max-width 430px. */
:root {
  --uibd-primary: #2E8B57;
  --uibd-accent: #DEB887;
  --uibd-light: #90EE90;
  --uibd-bg: #212F3D;
  --uibd-bg-alt: #1a2530;
  --uibd-card: #2a3a4a;
  --uibd-text: #e8f0e8;
  --uibd-text-muted: #a8c0a8;
  --uibd-border: #3a4a5a;
  --uibd-danger: #e74c3c;
  --uibd-gold: #f1c40f;
  --uibd-radius: 0.8rem;
  --uibd-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.35);
}

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

html {
  font-size: 62.5%;
}

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

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

a {
  color: var(--uibd-light);
  text-decoration: none;
}

.uibd-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.uibd-container {
  width: 100%;
  padding: 0 1.2rem;
}

/* ===== Header ===== */
.uibd-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, #1a2530 0%, #212F3D 100%);
  border-bottom: 0.2rem solid var(--uibd-primary);
  box-shadow: var(--uibd-shadow);
}

.uibd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}

.uibd-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.uibd-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
}

.uibd-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--uibd-light);
  letter-spacing: 0.05rem;
}

.uibd-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uibd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--uibd-radius);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  min-height: 3.6rem;
  text-align: center;
}

.uibd-btn:active {
  transform: scale(0.95);
}

.uibd-btn-register {
  background: linear-gradient(135deg, var(--uibd-gold) 0%, #e6b800 100%);
  color: #1a2530;
  box-shadow: 0 0.2rem 0.5rem rgba(241, 196, 15, 0.4);
}

.uibd-btn-login {
  background: linear-gradient(135deg, var(--uibd-primary) 0%, #1f6b43 100%);
  color: #fff;
  box-shadow: 0 0.2rem 0.5rem rgba(46, 139, 87, 0.4);
}

.uibd-menu-btn {
  background: transparent;
  border: 0.1rem solid var(--uibd-border);
  color: var(--uibd-light);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.6rem;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Navigation Menu ===== */
.uibd-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--uibd-bg-alt);
  border-bottom: 0.2rem solid var(--uibd-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
}

.uibd-nav-open {
  max-height: 50rem;
}

.uibd-nav-list {
  list-style: none;
  padding: 0.5rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.uibd-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0.6rem;
  border-radius: 0.6rem;
  color: var(--uibd-text);
  font-size: 1.25rem;
  font-weight: 600;
  background: rgba(46, 139, 87, 0.12);
  transition: background 0.15s ease;
}

.uibd-nav-list a:active {
  background: rgba(46, 139, 87, 0.3);
}

.uibd-nav-list i {
  color: var(--uibd-light);
  font-size: 1.4rem;
}

/* ===== Main content ===== */
.uibd-main {
  padding-top: 5.6rem;
}

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

/* ===== Hero Carousel ===== */
.uibd-carousel {
  position: relative;
  width: 100%;
  margin: 1rem 0;
  border-radius: var(--uibd-radius);
  overflow: hidden;
  box-shadow: var(--uibd-shadow);
}

.uibd-slides {
  position: relative;
  width: 100%;
  height: 18rem;
}

.uibd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.uibd-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uibd-slide-active {
  opacity: 1;
}

.uibd-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.uibd-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
}

.uibd-dot-active {
  background: var(--uibd-gold);
  width: 1.4rem;
  border-radius: 0.4rem;
}

/* ===== Section ===== */
.uibd-section {
  padding: 1.2rem 0;
}

.uibd-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--uibd-light);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 0.3rem solid var(--uibd-gold);
  padding-left: 0.6rem;
}

.uibd-section-title i {
  color: var(--uibd-gold);
}

.uibd-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--uibd-light);
  margin: 0.8rem 0;
  line-height: 2.4rem;
}

.uibd-subtitle {
  color: var(--uibd-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ===== Search ===== */
.uibd-search {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--uibd-radius);
  border: 0.1rem solid var(--uibd-border);
  background: var(--uibd-card);
  color: var(--uibd-text);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ===== Game grid ===== */
.uibd-gamegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.uibd-gamecard {
  background: var(--uibd-card);
  border-radius: 0.6rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease;
  border: 0.1rem solid var(--uibd-border);
}

.uibd-gamecard:active {
  transform: scale(0.95);
  border-color: var(--uibd-gold);
}

.uibd-gamecard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.uibd-gamecard-name {
  padding: 0.4rem 0.3rem;
  font-size: 1.05rem;
  text-align: center;
  color: var(--uibd-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.uibd-cat-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.2rem 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--uibd-accent);
}

.uibd-cat-head i {
  color: var(--uibd-gold);
}

/* ===== Promo banner / cards ===== */
.uibd-promo {
  background: linear-gradient(135deg, #1f6b43 0%, #2E8B57 100%);
  border-radius: var(--uibd-radius);
  padding: 1rem;
  margin: 1rem 0;
  text-align: center;
  box-shadow: var(--uibd-shadow);
}

.uibd-promo h3 {
  color: var(--uibd-gold);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.uibd-promo p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.uibd-promo .uibd-btn {
  display: inline-flex;
  margin: 0 auto;
}

.uibd-card {
  background: var(--uibd-card);
  border-radius: var(--uibd-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border: 0.1rem solid var(--uibd-border);
}

.uibd-card h3 {
  color: var(--uibd-light);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.uibd-card p {
  color: var(--uibd-text-muted);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.uibd-link-text {
  color: var(--uibd-gold);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== Info list / features ===== */
.uibd-list {
  list-style: none;
  padding: 0;
}

.uibd-list li {
  padding: 0.6rem 0;
  border-bottom: 0.1rem dashed var(--uibd-border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 1.25rem;
  color: var(--uibd-text);
}

.uibd-list li i {
  color: var(--uibd-light);
  margin-top: 0.2rem;
}

/* ===== RTP table ===== */
.uibd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
  margin: 0.6rem 0;
}

.uibd-table th,
.uibd-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 0.1rem solid var(--uibd-border);
  text-align: left;
}

.uibd-table th {
  color: var(--uibd-gold);
  font-weight: 700;
}

.uibd-table td {
  color: var(--uibd-text);
}

/* ===== Testimonial ===== */
.uibd-testi {
  background: var(--uibd-card);
  border-radius: var(--uibd-radius);
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  border-left: 0.3rem solid var(--uibd-accent);
}

.uibd-testi-name {
  color: var(--uibd-light);
  font-weight: 700;
  font-size: 1.2rem;
}

.uibd-testi-text {
  color: var(--uibd-text-muted);
  font-size: 1.15rem;
  margin-top: 0.3rem;
}

/* ===== Payment chips ===== */
.uibd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.uibd-chip {
  background: var(--uibd-card);
  border: 0.1rem solid var(--uibd-border);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  color: var(--uibd-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== Footer ===== */
.uibd-footer {
  background: var(--uibd-bg-alt);
  border-top: 0.2rem solid var(--uibd-primary);
  padding: 1.4rem 1.2rem 6rem;
  margin-top: 1.2rem;
}

.uibd-footer-brand {
  color: var(--uibd-text-muted);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.8rem;
}

.uibd-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.uibd-footer-links a {
  color: var(--uibd-text);
  font-size: 1.15rem;
  padding: 0.3rem 0;
}

.uibd-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0;
}

.uibd-footer-promos .uibd-btn {
  flex: 1 1 40%;
  min-width: 8rem;
  font-size: 1.1rem;
  padding: 0.5rem 0.6rem;
}

.uibd-footer-copy {
  text-align: center;
  color: var(--uibd-text-muted);
  font-size: 1.1rem;
  padding-top: 0.8rem;
  border-top: 0.1rem solid var(--uibd-border);
}

/* ===== Bottom nav ===== */
.uibd-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #1a2530 0%, #11181f 100%);
  border-top: 0.2rem solid var(--uibd-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.2rem 0.8rem rgba(0, 0, 0, 0.4);
}

.uibd-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: transparent;
  border: none;
  color: var(--uibd-text-muted);
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.uibd-bottomnav-btn:active {
  transform: scale(0.92);
}

.uibd-bottomnav-btn i {
  font-size: 2.2rem;
}

.uibd-bottomnav-btn .material-icons-outlined,
.uibd-bottomnav-btn .bi {
  font-size: 2rem;
}

.uibd-bottomnav-active {
  color: var(--uibd-gold);
}

.uibd-bottomnav-active i,
.uibd-bottomnav-active .material-icons-outlined,
.uibd-bottomnav-active .bi {
  color: var(--uibd-gold);
}

.uibd-bottomnav-badge {
  position: absolute;
  top: 0.3rem;
  right: 1.2rem;
  background: var(--uibd-danger);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .uibd-bottomnav {
    display: none;
  }
  body {
    max-width: 430px;
  }
  .uibd-footer {
    padding-bottom: 1.4rem;
  }
}

/* ===== Utility ===== */
.uibd-text-center {
  text-align: center;
}

.uibd-mt {
  margin-top: 1rem;
}

.uibd-mb {
  margin-bottom: 1rem;
}
