/**
 * cb999.click - Main Stylesheet
 * All classes use prefix pgbd- for namespace isolation
 * Color palette: #1C2833 (bg) | #4A4A4A (secondary) | #495057 (text)
 * Accent: #E8B931 (gold) | #27AE60 (green) | #2980B9 (blue)
 */

/* Root variables */
:root {
  --pgbd-primary: #1C2833;
  --pgbd-secondary: #4A4A4A;
  --pgbd-text: #495057;
  --pgbd-bg: #0F1923;
  --pgbd-bg-light: #1A2A3A;
  --pgbd-bg-card: #162231;
  --pgbd-gold: #E8B931;
  --pgbd-green: #27AE60;
  --pgbd-blue: #2980B9;
  --pgbd-red: #E74C3C;
  --pgbd-white: #ECF0F1;
  --pgbd-gray: #95A5A6;
  --pgbd-border: #2C3E50;
  --pgbd-radius: 8px;
  --pgbd-radius-lg: 14px;
  --pgbd-header-h: 56px;
  --pgbd-bottom-h: 60px;
  --pgbd-font: 'Hind Siliguri', sans-serif;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--pgbd-font);
  background: var(--pgbd-bg);
  color: var(--pgbd-white);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Container */
.pgbd-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.pgbd-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--pgbd-header-h);
  background: linear-gradient(135deg, #0D1B2A 0%, #1B2838 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 185, 49, 0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.pgbd-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.pgbd-logo-area img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.pgbd-logo-area span {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pgbd-gold);
  letter-spacing: 0.5px;
}

.pgbd-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pgbd-btn-register, .pgbd-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--pgbd-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

.pgbd-btn-register {
  background: linear-gradient(135deg, var(--pgbd-gold) 0%, #D4A017 100%);
  color: #0D1B2A;
}

.pgbd-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(232, 185, 49, 0.4);
}

.pgbd-btn-login {
  background: transparent;
  border: 1.5px solid var(--pgbd-gold);
  color: var(--pgbd-gold);
}

.pgbd-btn-login:hover {
  background: rgba(232, 185, 49, 0.1);
}

.pgbd-menu-toggle {
  background: none;
  border: none;
  color: var(--pgbd-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile menu */
.pgbd-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pgbd-overlay-active {
  opacity: 1;
  pointer-events: all;
}

.pgbd-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 260px;
  height: 100%;
  background: linear-gradient(180deg, #0D1B2A 0%, #162231 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  border-left: 1px solid rgba(232, 185, 49, 0.2);
}

.pgbd-menu-active { right: 0; }

.pgbd-mobile-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--pgbd-white);
  font-size: 2.2rem;
  cursor: pointer;
}

.pgbd-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--pgbd-white);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pgbd-mobile-menu a:hover {
  color: var(--pgbd-gold);
  padding-left: 0.5rem;
}

/* Main content padding for fixed header */
main {
  padding-top: calc(var(--pgbd-header-h) + 1rem);
}

/* Carousel */
.pgbd-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--pgbd-radius-lg);
  margin: 1rem 0;
}

.pgbd-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.pgbd-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.pgbd-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--pgbd-radius-lg);
}

.pgbd-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.pgbd-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pgbd-dot-active { background: var(--pgbd-gold); }

/* Section headings */
.pgbd-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pgbd-white);
  margin: 1.8rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--pgbd-gold);
}

.pgbd-section-title span {
  color: var(--pgbd-gold);
}

/* Game grid */
.pgbd-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.pgbd-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.pgbd-game-item:hover {
  transform: translateY(-2px);
}

.pgbd-game-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--pgbd-radius);
  object-fit: cover;
  border: 1px solid rgba(232, 185, 49, 0.15);
}

.pgbd-game-item p {
  font-size: 1.1rem;
  color: var(--pgbd-gray);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category tabs */
.pgbd-category-label {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pgbd-gold);
  background: rgba(232, 185, 49, 0.08);
  border-radius: 20px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(232, 185, 49, 0.2);
}

/* Content card */
.pgbd-card {
  background: var(--pgbd-bg-card);
  border-radius: var(--pgbd-radius-lg);
  padding: 1.4rem;
  margin: 1rem 0;
  border: 1px solid rgba(232, 185, 49, 0.08);
}

.pgbd-card h2, .pgbd-card h3 {
  color: var(--pgbd-gold);
  margin-bottom: 0.8rem;
}

.pgbd-card h2 { font-size: 1.6rem; }
.pgbd-card h3 { font-size: 1.4rem; }

.pgbd-card p {
  color: var(--pgbd-gray);
  font-size: 1.3rem;
  line-height: 2rem;
  margin-bottom: 0.6rem;
}

/* Promo button inline */
.pgbd-promo-link {
  display: inline-block;
  color: var(--pgbd-gold);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pgbd-promo-link:hover {
  color: #F5D76E;
}

/* Play now button */
.pgbd-btn-play {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--pgbd-gold) 0%, #D4A017 100%);
  color: #0D1B2A;
  font-size: 1.6rem;
  font-weight: 700;
  border: none;
  border-radius: var(--pgbd-radius);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(232, 185, 49, 0.3);
}

.pgbd-btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(232, 185, 49, 0.5);
}

/* Testimonials */
.pgbd-testimonial {
  background: var(--pgbd-bg-card);
  border-radius: var(--pgbd-radius);
  padding: 1rem;
  margin: 0.6rem 0;
  border-left: 3px solid var(--pgbd-green);
}

.pgbd-testimonial p {
  font-size: 1.2rem;
  color: var(--pgbd-gray);
  font-style: italic;
}

.pgbd-testimonial strong {
  color: var(--pgbd-gold);
  font-style: normal;
}

/* Payment methods */
.pgbd-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 1rem 0;
}

.pgbd-payment-item {
  background: var(--pgbd-bg-card);
  padding: 0.5rem 1rem;
  border-radius: var(--pgbd-radius);
  font-size: 1.2rem;
  color: var(--pgbd-white);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Winners list */
.pgbd-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 1.2rem;
}

.pgbd-winner-name { color: var(--pgbd-white); }
.pgbd-winner-amount { color: var(--pgbd-green); font-weight: 600; }
.pgbd-winner-game { color: var(--pgbd-gray); }

/* Footer */
.pgbd-footer {
  background: linear-gradient(180deg, #0D1B2A 0%, #0A1628 100%);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(232, 185, 49, 0.1);
}

.pgbd-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pgbd-footer-brand p {
  color: var(--pgbd-gray);
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.pgbd-footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.pgbd-footer-partners span {
  background: var(--pgbd-bg-card);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--pgbd-gray);
  border: 1px solid rgba(255,255,255,0.04);
}

.pgbd-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0;
}

.pgbd-footer-links a {
  color: var(--pgbd-gold);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  transition: color 0.2s ease;
}

.pgbd-footer-links a:hover {
  color: #F5D76E;
}

.pgbd-footer-copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 1.1rem;
  color: var(--pgbd-gray);
}

/* Bottom nav */
.pgbd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--pgbd-bottom-h);
  background: linear-gradient(180deg, #0D1B2A 0%, #091320 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid rgba(232, 185, 49, 0.15);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}

.pgbd-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--pgbd-gray);
  transition: all 0.2s ease;
  gap: 2px;
}

.pgbd-bottom-nav-btn .material-icons,
.pgbd-bottom-nav-btn i {
  font-size: 22px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pgbd-bottom-nav-btn span {
  font-size: 1rem;
  font-weight: 500;
}

.pgbd-bottom-nav-btn:hover,
.pgbd-btn-active {
  color: var(--pgbd-gold);
}

.pgbd-bottom-nav-btn:hover .material-icons,
.pgbd-bottom-nav-btn:hover i,
.pgbd-btn-active .material-icons,
.pgbd-btn-active i {
  transform: scale(1.15);
  color: var(--pgbd-gold);
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
  .pgbd-footer {
    padding-bottom: 80px;
  }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .pgbd-bottom-nav { display: none; }
}

/* Desktop: show desktop nav */
@media (max-width: 768px) {
  .pgbd-desktop-nav { display: none; }
}

/* Utility */
.pgbd-text-center { text-align: center; }
.pgbd-mt-1 { margin-top: 1rem; }
.pgbd-mt-2 { margin-top: 2rem; }
.pgbd-mb-1 { margin-bottom: 1rem; }
.pgbd-mb-2 { margin-bottom: 2rem; }
.pgbd-hidden { display: none; }

/* Scroll to top */
.pgbd-scroll-top {
  position: fixed;
  bottom: 70px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pgbd-gold);
  color: #0D1B2A;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.pgbd-scroll-top:hover {
  transform: scale(1.1);
}

/* RTP table */
.pgbd-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.pgbd-rtp-table th {
  background: rgba(232, 185, 49, 0.1);
  color: var(--pgbd-gold);
  padding: 0.6rem;
  text-align: left;
  font-size: 1.1rem;
}

.pgbd-rtp-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--pgbd-gray);
}

/* Achievements */
.pgbd-achievement {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pgbd-achievement-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.pgbd-achievement-text {
  font-size: 1.2rem;
  color: var(--pgbd-gray);
}

.pgbd-achievement-text strong {
  color: var(--pgbd-white);
}

/* Feature list */
.pgbd-feature-list {
  list-style: none;
  padding: 0;
}

.pgbd-feature-list li {
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: var(--pgbd-gray);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-left: 1.8rem;
  position: relative;
}

.pgbd-feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--pgbd-green);
  font-size: 1.1rem;
}

/* FAQ accordion */
.pgbd-faq-item {
  background: var(--pgbd-bg-card);
  border-radius: var(--pgbd-radius);
  margin: 0.6rem 0;
  overflow: hidden;
  border: 1px solid rgba(232, 185, 49, 0.06);
}

.pgbd-faq-question {
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pgbd-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pgbd-faq-answer {
  padding: 0 1rem 1rem;
  font-size: 1.2rem;
  color: var(--pgbd-gray);
  line-height: 1.8rem;
}

/* App download section */
.pgbd-app-dl {
  background: linear-gradient(135deg, #162231 0%, #1A2A3A 100%);
  border-radius: var(--pgbd-radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(232, 185, 49, 0.1);
}

.pgbd-app-dl img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--pgbd-radius);
  margin: 0.8rem 0;
}

/* Link text in content */
a.pgbd-inline-link {
  color: var(--pgbd-blue);
  text-decoration: underline;
  font-size: inherit;
  transition: color 0.2s ease;
}

a.pgbd-inline-link:hover {
  color: var(--pgbd-gold);
}
