/*
 * 75db - Core Theme Stylesheet
 * Mobile-first gaming site styles. All custom classes use pg5d- prefix.
 * Palette: #1C2833 | #98FB98 | #B2DFDB | #E0E0E0 | #C0C0C0 | #2F2F2F
 * Root font 62.5% => 1rem = 10px. Max mobile width 430px.
 */

:root {
  --pg5d-primary: #98FB98;
  --pg5d-accent: #B2DFDB;
  --pg5d-bg: #1C2833;
  --pg5d-bg-alt: #2F2F2F;
  --pg5d-text: #E0E0E0;
  --pg5d-muted: #C0C0C0;
  --pg5d-dark: #1C2833;
  --pg5d-gold: #FFD54F;
  --pg5d-danger: #FF6B6B;
  --pg5d-radius: 1.2rem;
  --pg5d-radius-sm: 0.8rem;
  --pg5d-header-h: 5.6rem;
  --pg5d-nav-h: 6.2rem;
  --pg5d-shadow: 0 0.4rem 1.2rem 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", "Segoe UI", system-ui, sans-serif;
  background: var(--pg5d-bg);
  color: var(--pg5d-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pg5d-primary); text-decoration: none; }

.pg5d-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--pg5d-bg);
}

/* ===== Header ===== */
.pg5d-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--pg5d-header-h);
  background: rgba(28,40,51,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.1rem solid rgba(152,251,152,0.18);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
}

.pg5d-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--pg5d-primary);
  font-weight: 700;
  font-size: 1.8rem;
}
.pg5d-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.pg5d-logo span { background: linear-gradient(90deg, var(--pg5d-primary), var(--pg5d-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pg5d-header-actions { display: flex; align-items: center; gap: 0.8rem; }

.pg5d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.4rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.pg5d-btn:active { transform: scale(0.96); }

.pg5d-btn-primary {
  background: linear-gradient(135deg, var(--pg5d-primary), var(--pg5d-accent));
  color: var(--pg5d-dark);
  box-shadow: 0 0.3rem 0.8rem rgba(152,251,152,0.3);
}
.pg5d-btn-secondary {
  background: transparent;
  color: var(--pg5d-primary);
  border: 0.15rem solid var(--pg5d-primary);
}
.pg5d-btn-ghost {
  background: rgba(178,223,219,0.12);
  color: var(--pg5d-text);
  border: 0.1rem solid rgba(178,223,219,0.3);
}
.pg5d-btn-block { width: 100%; }
.pg5d-btn-lg { min-height: 4.4rem; font-size: 1.5rem; }

.pg5d-menu-btn {
  width: 3.6rem; height: 3.6rem;
  background: transparent;
  border: 0.1rem solid rgba(152,251,152,0.3);
  border-radius: 0.8rem;
  color: var(--pg5d-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}
.pg5d-menu-btn-active { background: rgba(152,251,152,0.15); }

/* ===== Mobile Menu ===== */
.pg5d-mobile-menu {
  position: fixed;
  top: var(--pg5d-header-h); left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--pg5d-bg-alt);
  border-bottom: 0.2rem solid var(--pg5d-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.pg5d-menu-open { max-height: 60rem; }
.pg5d-mobile-menu ul { list-style: none; padding: 0.8rem 1.2rem; }
.pg5d-mobile-menu li { border-bottom: 0.1rem solid rgba(255,255,255,0.06); }
.pg5d-mobile-menu li:last-child { border-bottom: none; }
.pg5d-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 0.6rem;
  color: var(--pg5d-text);
  font-size: 1.4rem;
}
.pg5d-mobile-menu a i { color: var(--pg5d-primary); width: 2rem; text-align: center; }

/* ===== Main ===== */
.pg5d-main { padding-top: var(--pg5d-header-h); padding-bottom: 0; }
@media (max-width: 768px) {
  .pg5d-main { padding-bottom: 8rem; }
}

.pg5d-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }

.pg5d-section { padding: 2rem 0; }
.pg5d-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pg5d-primary);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.pg5d-section-title::before {
  content: ""; width: 0.4rem; height: 2rem;
  background: linear-gradient(180deg, var(--pg5d-primary), var(--pg5d-accent));
  border-radius: 0.4rem;
}

/* ===== Carousel ===== */
.pg5d-carousel {
  position: relative;
  border-radius: var(--pg5d-radius);
  overflow: hidden;
  margin-bottom: 1.6rem;
  box-shadow: var(--pg5d-shadow);
}
.pg5d-slides { position: relative; height: 18rem; }
.pg5d-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.pg5d-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg5d-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28,40,51,0.85));
}
.pg5d-slide-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  color: #fff; font-size: 1.6rem; font-weight: 700;
  text-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.6);
}
.pg5d-slide-active { opacity: 1; }
.pg5d-dots {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 3;
  display: flex; gap: 0.5rem;
}
.pg5d-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pg5d-dot-active { background: var(--pg5d-primary); transform: scale(1.25); }

/* ===== Hero ===== */
.pg5d-hero {
  text-align: center;
  padding: 1.6rem 1.2rem 2rem;
}
.pg5d-hero h1 {
  font-size: 2.4rem; line-height: 1.3;
  background: linear-gradient(90deg, var(--pg5d-primary), var(--pg5d-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1rem;
}
.pg5d-hero p { color: var(--pg5d-muted); font-size: 1.4rem; margin-bottom: 1.6rem; }
.pg5d-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Filter Chips ===== */
.pg5d-chips {
  display: flex; gap: 0.8rem; overflow-x: auto;
  padding: 0.4rem 0 1.2rem;
  -webkit-overflow-scrolling: touch;
}
.pg5d-chips::-webkit-scrollbar { display: none; }
.pg5d-chip {
  flex: 0 0 auto;
  padding: 0.8rem 1.4rem;
  border-radius: 2rem;
  background: var(--pg5d-bg-alt);
  color: var(--pg5d-text);
  font-size: 1.3rem;
  font-weight: 600;
  border: 0.1rem solid rgba(178,223,219,0.2);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.pg5d-chip-active {
  background: linear-gradient(135deg, var(--pg5d-primary), var(--pg5d-accent));
  color: var(--pg5d-dark);
  border-color: transparent;
}

/* ===== Game Grid ===== */
.pg5d-game-section { margin-bottom: 2.4rem; }
.pg5d-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pg5d-game-card {
  background: var(--pg5d-bg-alt);
  border-radius: var(--pg5d-radius-sm);
  padding: 0.8rem;
  text-align: center;
  cursor: pointer;
  border: 0.1rem solid rgba(178,223,219,0.1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.pg5d-game-card:active {
  transform: scale(0.95);
  border-color: var(--pg5d-primary);
  box-shadow: 0 0.4rem 1rem rgba(152,251,152,0.25);
}
.pg5d-game-card img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
}
.pg5d-game-name {
  font-size: 1.15rem;
  color: var(--pg5d-text);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg5d-game-badge {
  display: inline-block;
  font-size: 0.95rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(152,251,152,0.15);
  color: var(--pg5d-primary);
  margin-top: 0.3rem;
}

/* ===== Info / Feature Cards ===== */
.pg5d-card {
  background: var(--pg5d-bg-alt);
  border-radius: var(--pg5d-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 0.1rem solid rgba(178,223,219,0.12);
}
.pg5d-card h2, .pg5d-card h3 { color: var(--pg5d-primary); margin-bottom: 0.8rem; }
.pg5d-card h2 { font-size: 1.8rem; }
.pg5d-card h3 { font-size: 1.5rem; }
.pg5d-card p { color: var(--pg5d-muted); margin-bottom: 0.8rem; font-size: 1.35rem; }
.pg5d-card ul { list-style: none; padding-left: 0; }
.pg5d-card li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  color: var(--pg5d-text);
  font-size: 1.3rem;
  border-bottom: 0.1rem solid rgba(255,255,255,0.05);
}
.pg5d-card li:last-child { border-bottom: none; }
.pg5d-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 0.6rem;
  color: var(--pg5d-primary);
  font-size: 1.1rem;
}

.pg5d-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.pg5d-feature {
  background: var(--pg5d-bg-alt);
  border-radius: var(--pg5d-radius-sm);
  padding: 1.2rem;
  text-align: center;
  border: 0.1rem solid rgba(178,223,219,0.1);
}
.pg5d-feature .pg5d-feature-icon {
  font-size: 2.4rem;
  color: var(--pg5d-primary);
  margin-bottom: 0.6rem;
}
.pg5d-feature h3 { color: var(--pg5d-text); font-size: 1.35rem; margin-bottom: 0.4rem; }
.pg5d-feature p { color: var(--pg5d-muted); font-size: 1.15rem; }

/* ===== RTP table ===== */
.pg5d-rtp-table {
  width: 100%; border-collapse: collapse;
  background: var(--pg5d-bg-alt);
  border-radius: var(--pg5d-radius-sm);
  overflow: hidden;
}
.pg5d-rtp-table th, .pg5d-rtp-table td {
  padding: 0.9rem 0.8rem;
  font-size: 1.2rem;
  text-align: left;
  border-bottom: 0.1rem solid rgba(255,255,255,0.06);
}
.pg5d-rtp-table th { color: var(--pg5d-primary); background: rgba(152,251,152,0.08); }
.pg5d-rtp-table td { color: var(--pg5d-text); }
.pg5d-rtp-table tr:last-child td { border-bottom: none; }
.pg5d-rtp-high { color: var(--pg5d-primary); font-weight: 700; }

/* ===== Testimonials ===== */
.pg5d-testimonial {
  background: var(--pg5d-bg-alt);
  border-left: 0.3rem solid var(--pg5d-primary);
  border-radius: 0.6rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.pg5d-testimonial p { color: var(--pg5d-text); font-size: 1.25rem; margin-bottom: 0.6rem; }
.pg5d-testimonial .pg5d-author { color: var(--pg5d-muted); font-size: 1.1rem; }
.pg5d-stars { color: var(--pg5d-gold); margin-bottom: 0.4rem; }

/* ===== Winners ===== */
.pg5d-winner {
  display: flex; align-items: center; gap: 1rem;
  background: var(--pg5d-bg-alt);
  padding: 0.9rem 1.2rem;
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
}
.pg5d-winner .pg5d-winner-avatar {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--pg5d-primary), var(--pg5d-accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--pg5d-dark); font-weight: 700; font-size: 1.2rem;
}
.pg5d-winner .pg5d-winner-info { flex: 1; }
.pg5d-winner .pg5d-winner-name { font-size: 1.25rem; color: var(--pg5d-text); }
.pg5d-winner .pg5d-winner-game { font-size: 1.1rem; color: var(--pg5d-muted); }
.pg5d-winner .pg5d-winner-amount { color: var(--pg5d-gold); font-weight: 700; font-size: 1.3rem; }

/* ===== Payment ===== */
.pg5d-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.pg5d-pay-item {
  background: var(--pg5d-bg-alt);
  border-radius: 0.6rem;
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 1rem;
  color: var(--pg5d-muted);
  border: 0.1rem solid rgba(178,223,219,0.1);
}
.pg5d-pay-item i { font-size: 1.8rem; color: var(--pg5d-primary); display: block; margin-bottom: 0.3rem; }

/* ===== CTA Banner ===== */
.pg5d-cta {
  background: linear-gradient(135deg, rgba(152,251,152,0.18), rgba(178,223,219,0.12));
  border: 0.15rem solid var(--pg5d-primary);
  border-radius: var(--pg5d-radius);
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 2rem 0;
}
.pg5d-cta h2 { color: var(--pg5d-primary); font-size: 2rem; margin-bottom: 0.8rem; }
.pg5d-cta p { color: var(--pg5d-text); margin-bottom: 1.4rem; font-size: 1.35rem; }

/* ===== Footer ===== */
.pg5d-footer {
  background: var(--pg5d-bg-alt);
  padding: 2.4rem 1.2rem 2rem;
  border-top: 0.1rem solid rgba(152,251,152,0.18);
  margin-top: 2rem;
}
.pg5d-footer-about { color: var(--pg5d-muted); font-size: 1.2rem; margin-bottom: 1.2rem; line-height: 1.6; }
.pg5d-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.pg5d-footer-links a {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.7rem 1rem;
  background: rgba(178,223,219,0.1);
  border-radius: 0.6rem;
  color: var(--pg5d-text);
  font-size: 1.15rem;
  min-width: 8rem;
}
.pg5d-footer-links a:hover { background: rgba(152,251,152,0.18); color: var(--pg5d-primary); }
.pg5d-footer-copy {
  text-align: center;
  color: var(--pg5d-muted);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 0.1rem solid rgba(255,255,255,0.06);
}

/* ===== Bottom Nav ===== */
.pg5d-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--pg5d-nav-h);
  background: rgba(47,47,47,0.97);
  backdrop-filter: blur(10px);
  border-top: 0.15rem solid var(--pg5d-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.3);
}
.pg5d-nav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: none;
  color: var(--pg5d-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.pg5d-nav-btn i, .pg5d-nav-btn .material-icons-outlined, .pg5d-nav-btn ion-icon {
  font-size: 2.2rem;
}
.pg5d-nav-btn ion-icon { font-size: 2.4rem; }
.pg5d-nav-btn:hover { color: var(--pg5d-primary); }
.pg5d-nav-btn:active { transform: scale(0.92); }
.pg5d-nav-btn-active { color: var(--pg5d-primary); }
.pg5d-nav-btn-active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 2.4rem; height: 0.25rem;
  background: var(--pg5d-primary);
  border-radius: 0 0 0.3rem 0.3rem;
}
.pg5d-nav-btn-promo {
  color: var(--pg5d-gold);
}
.pg5d-nav-btn-promo i { color: var(--pg5d-gold); }

/* ===== Responsive / Desktop ===== */
@media (min-width: 769px) {
  .pg5d-bottom-nav { display: none; }
  .pg5d-menu-btn { display: none; }
  .pg5d-wrapper { max-width: 430px; }
  .pg5d-header { max-width: 430px; }
  .pg5d-mobile-menu { max-width: 430px; }
}

/* Utility */
.pg5d-text-center { text-align: center; }
.pg5d-mt-1 { margin-top: 1rem; }
.pg5d-mt-2 { margin-top: 2rem; }
.pg5d-mb-1 { margin-bottom: 1rem; }
.pg5d-mb-2 { margin-bottom: 2rem; }
.pg5d-link-text { color: var(--pg5d-primary); font-weight: 700; }
.pg5d-divider {
  height: 0.1rem;
  background: linear-gradient(90deg, transparent, rgba(152,251,152,0.3), transparent);
  margin: 1.6rem 0;
  border: none;
}
