/*!
 * bongdaso.sbs layout stylesheet
 * Every custom class uses the "pgcb-" prefix.
 * Mobile-first, container capped at 430px.
 */

:root {
  --pgcb-bg: #1A1A2E;
  --pgcb-bg-soft: #232347;
  --pgcb-bg-deep: #12121f;
  --pgcb-primary: #D4AF37;
  --pgcb-accent: #FFD700;
  --pgcb-warm: #FFB347;
  --pgcb-text: #FFCCCB;
  --pgcb-text-soft: #c9c4dc;
  --pgcb-white: #ffffff;
  --pgcb-border: rgba(212, 175, 55, 0.25);
  --pgcb-radius: 14px;
  --pgcb-shadow: 0 6px 18px 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: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--pgcb-bg);
  color: var(--pgcb-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- Page wrapper: hard 430px cap for mobile-first design ---- */
.pgcb-wrapper {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #1A1A2E 0%, #20203a 60%, #1A1A2E 100%);
  position: relative;
  overflow-x: hidden;
}

.pgcb-container {
  width: 100%;
  padding: 0 14px;
}

main { padding-bottom: 90px; }

/* ============ Header ============ */
.pgcb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(18, 18, 31, 0.96);
  border-bottom: 1px solid var(--pgcb-border);
  backdrop-filter: blur(8px);
}
.pgcb-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pgcb-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--pgcb-white); font-weight: 700; font-size: 1.7rem;
}
.pgcb-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pgcb-logo span { color: var(--pgcb-primary); }

.pgcb-header-actions { display: flex; align-items: center; gap: 6px; }
.pgcb-menu-btn {
  background: transparent; border: 0; color: var(--pgcb-text);
  font-size: 2rem; cursor: pointer; padding: 4px 8px; min-width: 44px; min-height: 44px;
}

/* ============ Buttons ============ */
.pgcb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 14px;
  border-radius: 999px;
  font-weight: 700; font-size: 1.4rem;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pgcb-btn-register {
  background: linear-gradient(135deg, #FFB347 0%, #FFD700 100%);
  color: #1A1A2E;
}
.pgcb-btn-login {
  background: transparent; color: var(--pgcb-primary);
  border: 1.5px solid var(--pgcb-primary);
}
.pgcb-btn-promo {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  color: #1A1A2E;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.pgcb-btn:hover { transform: translateY(-1px); }
.pgcb-btn:active { transform: scale(0.97); }
.pgcb-ripple { animation: pgcb-ripple-anim .35s ease; }
@keyframes pgcb-ripple-anim {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
  100% { box-shadow: 0 0 0 14px rgba(255, 215, 0, 0); }
}

/* ============ Slide-down nav menu ============ */
.pgcb-nav-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: var(--pgcb-bg-deep);
  border-bottom: 1px solid var(--pgcb-border);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  z-index: 999;
}
.pgcb-nav-open { max-height: 460px; }
.pgcb-nav-menu ul { list-style: none; padding: 6px 12px; }
.pgcb-nav-menu li a {
  display: block; padding: 12px 10px;
  color: var(--pgcb-text); border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.4rem;
}
.pgcb-nav-menu li a:hover { color: var(--pgcb-accent); background: rgba(212,175,55,0.08); }

/* ============ Carousel ============ */
.pgcb-carousel {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--pgcb-radius) var(--pgcb-radius);
}
.pgcb-carousel-track { position: relative; height: 200px; }
.pgcb-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.pgcb-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.pgcb-slide-active { opacity: 1; }
.pgcb-carousel-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.pgcb-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.pgcb-dot-active { background: var(--pgcb-accent); }

/* ============ Sections ============ */
.pgcb-section { padding: 18px 14px; }
.pgcb-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--pgcb-white);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.pgcb-section-title::before {
  content: ""; width: 4px; height: 18px; background: var(--pgcb-primary); border-radius: 2px;
}
.pgcb-h1 {
  font-size: 2.1rem; font-weight: 800; color: var(--pgcb-white);
  line-height: 2.6rem; margin: 4px 0 8px;
}
.pgcb-lead { color: var(--pgcb-text-soft); font-size: 1.45rem; line-height: 2.2rem; }
.pgcb-promo-text {
  color: var(--pgcb-accent); font-weight: 700; cursor: pointer;
}

/* ============ Game grid / strips ============ */
.pgcb-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.pgcb-game-card {
  background: var(--pgcb-bg-soft); border-radius: 12px;
  padding: 8px; text-align: center; cursor: pointer;
  border: 1px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
.pgcb-game-card:hover { border-color: var(--pgcb-primary); transform: translateY(-2px); }
.pgcb-game-card img { width: 100%; height: 70px; object-fit: cover; border-radius: 8px; }
.pgcb-game-card span {
  display: block; margin-top: 6px; color: var(--pgcb-text); font-size: 1.15rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pgcb-strip-wrap { position: relative; }
.pgcb-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: 6px; -ms-overflow-style: none; scrollbar-width: none;
}
.pgcb-strip::-webkit-scrollbar { display: none; }
.pgcb-strip .pgcb-game-card { flex: 0 0 100px; }

.pgcb-cat-label {
  color: var(--pgcb-warm); font-weight: 700; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .5px; margin: 14px 0 8px;
}

/* ============ Cards / feature blocks ============ */
.pgcb-card {
  background: var(--pgcb-bg-soft);
  border: 1px solid var(--pgcb-border);
  border-radius: var(--pgcb-radius);
  padding: 14px;
  box-shadow: var(--pgcb-shadow);
  margin-bottom: 12px;
}
.pgcb-card h2, .pgcb-card h3 { color: var(--pgcb-white); margin-bottom: 8px; }
.pgcb-card h2 { font-size: 1.7rem; }
.pgcb-card h3 { font-size: 1.45rem; }
.pgcb-card p { color: var(--pgcb-text-soft); font-size: 1.35rem; line-height: 2.1rem; }

.pgcb-feature-list { list-style: none; }
.pgcb-feature-list li {
  padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 10px; font-size: 1.35rem;
}
.pgcb-feature-list li:last-child { border-bottom: 0; }

/* ============ RTP table ============ */
.pgcb-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.pgcb-rpt-table th, .pgcb-rtp-table th {
  background: var(--pgcb-bg-deep); color: var(--pgcb-accent);
  padding: 8px; text-align: left;
}
.pgcb-rtp-table td {
  padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--pgcb-text);
}
.pgcb-rtp-bar {
  height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-top: 4px;
}
.pgcb-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, #FFB347, #FFD700); }

/* ============ Testimonials / winners ============ */
.pgcb-testimonial {
  background: var(--pgcb-bg-soft); border-radius: 12px; padding: 12px; margin-bottom: 10px;
  border-left: 3px solid var(--pgcb-primary);
}
.pgcb-testimonial strong { color: var(--pgcb-accent); }
.pgcb-testimonial small { color: var(--pgcb-text-soft); display: block; margin-top: 6px; }

.pgcb-winners li {
  display: flex; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.3rem;
}
.pgcb-winners li span:last-child { color: var(--pgcb-warm); font-weight: 700; }

/* ============ Payment / app CTA ============ */
.pgcb-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pgcb-pay-row .pgcb-pay-item {
  flex: 1 1 30%; background: var(--pgcb-bg-deep); border-radius: 10px;
  padding: 10px; text-align: center; font-size: 1.2rem; color: var(--pgcb-text);
}

.pgcb-app-cta {
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(255,179,71,0.12));
  border: 1px solid var(--pgcb-border);
  border-radius: var(--pgcb-radius); padding: 16px; text-align: center;
}
.pgcb-app-cta h3 { color: var(--pgcb-white); margin-bottom: 10px; }

/* ============ FAQ ============ */
.pgcb-faq-item {
  background: var(--pgcb-bg-soft); border-radius: 10px; padding: 12px; margin-bottom: 8px;
}
.pgcb-faq-item h4 { color: var(--pgcb-accent); font-size: 1.4rem; margin-bottom: 6px; }
.pgcb-faq-item p { color: var(--pgcb-text-soft); font-size: 1.3rem; line-height: 2rem; }

/* ============ Footer ============ */
.pgcb-footer {
  background: var(--pgcb-bg-deep);
  border-top: 1px solid var(--pgcb-border);
  padding: 18px 14px 24px;
  color: var(--pgcb-text-soft);
  font-size: 1.3rem;
}
.pgcb-footer h4 { color: var(--pgcb-primary); margin: 10px 0 6px; font-size: 1.4rem; }
.pgcb-footer-links {
  display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0;
}
.pgcb-footer-links a {
  color: var(--pgcb-text); font-size: 1.25rem;
}
.pgcb-footer-links a:hover { color: var(--pgcb-accent); text-decoration: underline; }
.pgcb-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.pgcb-footer-copy { margin-top: 12px; color: var(--pgcb-text-soft); font-size: 1.2rem; }

/* ============ Bottom mobile nav ============ */
.pgcb-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 62px;
  background: rgba(18, 18, 31, 0.98);
  border-top: 1px solid var(--pgcb-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.pgcb-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  color: var(--pgcb-text-soft); cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.pgcb-bottomnav-btn i,
.pgcb-bottomnav-btn .material-icons-outlined,
.pgcb-bottomnav-btn ion-icon { font-size: 22px; }
.pgcb-bottomnav-btn span { font-size: 1.05rem; }
.pgcb-bottomnav-btn:active { transform: scale(0.92); }
.pgcb-bottomnav-btn:hover { color: var(--pgcb-accent); }
.pgcb-nav-active { color: var(--pgcb-accent); }
.pgcb-nav-active::after {
  content: ""; position: absolute; top: 0; width: 28px; height: 3px;
  background: var(--pgcb-accent); border-radius: 0 0 3px 3px;
}

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .pgcb-bottomnav { display: none; }
  .pgcb-wrapper { box-shadow: 0 0 30px rgba(0,0,0,0.4); }
  main { padding-bottom: 30px; }
}

/* make bottom-nav button position context for active bar */
.pgcb-bottomnav-btn { position: relative; }
