/**
 * bgd3.click - Main Stylesheet
 * Prefix: pg3b-
 */

:root {
  --pg3b-primary: #48D1CC;
  --pg3b-bg: #2E4057;
  --pg3b-bg-dark: #1a2a3a;
  --pg3b-accent: #DDA0DD;
  --pg3b-light: #AFEEEE;
  --pg3b-text: #f0f4f8;
  --pg3b-text-muted: #a0b4c8;
  --pg3b-card-bg: #384d63;
  --pg3b-border: rgba(72,209,204,0.2);
  --pg3b-radius: 8px;
  --pg3b-max-width: 430px;
  --pg3b-header-h: 56px;
  --pg3b-bottom-nav-h: 60px;
  --pg3b-font: 'Hind Siliguri', sans-serif;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: var(--pg3b-font);
  background: var(--pg3b-bg);
  color: var(--pg3b-text);
  font-size: 1.5rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pg3b-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pg3b-light); }

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

/* === HEADER === */
.pg3b-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--pg3b-header-h);
  background: var(--pg3b-bg-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 1px solid var(--pg3b-border);
  max-width: var(--pg3b-max-width);
  margin: 0 auto;
}
.pg3b-header-left { display: flex; align-items: center; gap: 8px; }
.pg3b-logo-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pg3b-primary), var(--pg3b-accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; color: var(--pg3b-bg-dark);
}
.pg3b-logo-text { font-size: 2rem; font-weight: 700; color: var(--pg3b-primary); letter-spacing: -0.5px; }
.pg3b-header-right { display: flex; align-items: center; gap: 6px; }
.pg3b-btn-register, .pg3b-btn-login {
  border: none; border-radius: 20px; padding: 6px 14px;
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  font-family: var(--pg3b-font); transition: transform 0.15s, box-shadow 0.2s;
}
.pg3b-btn-register {
  background: linear-gradient(135deg, var(--pg3b-primary), #3ab8b3);
  color: var(--pg3b-bg-dark); box-shadow: 0 2px 8px rgba(72,209,204,0.3);
}
.pg3b-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 14px rgba(72,209,204,0.5); }
.pg3b-btn-login {
  background: transparent; color: var(--pg3b-primary);
  border: 1.5px solid var(--pg3b-primary);
}
.pg3b-btn-login:hover { background: rgba(72,209,204,0.1); }
.pg3b-hamburger {
  background: none; border: none; color: var(--pg3b-primary);
  font-size: 2.2rem; cursor: pointer; padding: 4px 8px;
  display: flex; align-items: center;
}

/* === MOBILE MENU (slide from right) === */
.pg3b-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.pg3b-overlay-active { display: block; }
.pg3b-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 270px; height: 100%;
  background: var(--pg3b-bg-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 60px 20px 20px; overflow-y: auto;
}
.pg3b-menu-open { right: 0; }
.pg3b-menu-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; color: var(--pg3b-primary);
  font-size: 2.4rem; cursor: pointer;
}
.pg3b-mobile-menu a {
  display: block; padding: 12px 0; color: var(--pg3b-text);
  font-size: 1.5rem; border-bottom: 1px solid var(--pg3b-border);
  transition: color 0.2s, padding-left 0.2s;
}
.pg3b-mobile-menu a:hover { color: var(--pg3b-primary); padding-left: 8px; }

/* === MAIN CONTENT === */
.pg3b-main {
  max-width: var(--pg3b-max-width); margin: 0 auto;
  padding-top: var(--pg3b-header-h);
  min-height: 100vh;
}

/* === CAROUSEL === */
.pg3b-carousel {
  position: relative; overflow: hidden;
  border-radius: 0 0 var(--pg3b-radius) var(--pg3b-radius);
}
.pg3b-carousel-slide {
  display: none; width: 100%; cursor: pointer;
}
.pg3b-carousel-slide img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.pg3b-slide-active { display: block; }
.pg3b-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.pg3b-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: background 0.2s;
}
.pg3b-dot-active { background: var(--pg3b-primary); transform: scale(1.3); }

/* === SECTIONS === */
.pg3b-section {
  padding: 18px 12px;
}
.pg3b-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--pg3b-primary);
  margin-bottom: 12px; padding-left: 8px;
  border-left: 3px solid var(--pg3b-accent);
}

/* === GAME GRID (4 columns, compact) === */
.pg3b-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pg3b-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.15s;
}
.pg3b-game-item:hover { transform: scale(1.06); }
.pg3b-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--pg3b-radius);
  border: 1.5px solid var(--pg3b-border);
  background: var(--pg3b-card-bg);
}
.pg3b-game-item span {
  display: block; font-size: 1.15rem; color: var(--pg3b-text-muted);
  margin-top: 3px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* === CARDS === */
.pg3b-card {
  background: var(--pg3b-card-bg); border-radius: var(--pg3b-radius);
  padding: 16px; margin-bottom: 12px;
  border: 1px solid var(--pg3b-border);
}
.pg3b-card h3 {
  font-size: 1.6rem; color: var(--pg3b-primary); margin-bottom: 8px;
}
.pg3b-card p {
  font-size: 1.4rem; color: var(--pg3b-text-muted); line-height: 1.7;
}

/* === PROMO BUTTONS === */
.pg3b-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg3b-primary), var(--pg3b-accent));
  color: var(--pg3b-bg-dark); font-weight: 700; font-size: 1.4rem;
  padding: 10px 24px; border-radius: 24px; border: none; cursor: pointer;
  font-family: var(--pg3b-font); transition: transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.pg3b-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(72,209,204,0.4);
}

/* === FAQ === */
.pg3b-faq-item {
  background: var(--pg3b-card-bg); border-radius: var(--pg3b-radius);
  padding: 14px; margin-bottom: 10px;
  border: 1px solid var(--pg3b-border);
}
.pg3b-faq-item h4 { color: var(--pg3b-primary); font-size: 1.45rem; margin-bottom: 6px; }
.pg3b-faq-item p { color: var(--pg3b-text-muted); font-size: 1.35rem; line-height: 1.6; }

/* === FEATURES LIST === */
.pg3b-features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pg3b-feature-item {
  background: var(--pg3b-card-bg); border-radius: var(--pg3b-radius);
  padding: 14px; text-align: center;
  border: 1px solid var(--pg3b-border);
  transition: border-color 0.2s;
}
.pg3b-feature-item:hover { border-color: var(--pg3b-primary); }
.pg3b-feature-item .material-icons {
  font-size: 2.8rem; color: var(--pg3b-primary); margin-bottom: 6px;
}
.pg3b-feature-item h4 { font-size: 1.35rem; color: var(--pg3b-text); margin-bottom: 4px; }
.pg3b-feature-item p { font-size: 1.2rem; color: var(--pg3b-text-muted); }

/* === PARTNERS === */
.pg3b-partners {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 10px 0;
}
.pg3b-partner-tag {
  background: var(--pg3b-card-bg); color: var(--pg3b-text-muted);
  padding: 5px 12px; border-radius: 16px; font-size: 1.2rem;
  border: 1px solid var(--pg3b-border);
}

/* === FOOTER === */
.pg3b-footer {
  background: var(--pg3b-bg-dark); padding: 24px 12px;
  text-align: center; border-top: 1px solid var(--pg3b-border);
}
.pg3b-footer-brand {
  font-size: 2rem; font-weight: 700; color: var(--pg3b-primary); margin-bottom: 8px;
}
.pg3b-footer-text { font-size: 1.3rem; color: var(--pg3b-text-muted); margin-bottom: 14px; line-height: 1.6; }
.pg3b-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px;
}
.pg3b-footer-links a {
  color: var(--pg3b-text-muted); font-size: 1.2rem;
  transition: color 0.2s;
}
.pg3b-footer-links a:hover { color: var(--pg3b-primary); }
.pg3b-copyright { font-size: 1.1rem; color: var(--pg3b-text-muted); margin-top: 10px; }

/* === BOTTOM NAVIGATION === */
.pg3b-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--pg3b-bottom-nav-h);
  background: var(--pg3b-bg-dark);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1.5px solid var(--pg3b-border);
  z-index: 1000;
  max-width: var(--pg3b-max-width); margin: 0 auto;
}
.pg3b-bottom-btn {
  background: none; border: none; color: var(--pg3b-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; min-height: 54px; cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  font-family: var(--pg3b-font);
}
.pg3b-bottom-btn:hover, .pg3b-bottom-btn:focus { color: var(--pg3b-primary); transform: scale(1.1); }
.pg3b-bottom-btn i, .pg3b-bottom-btn .material-icons {
  font-size: 2.2rem; margin-bottom: 2px;
}
.pg3b-bottom-btn span { font-size: 1rem; }

/* === BACK TO TOP === */
.pg3b-back-top {
  position: fixed; bottom: 72px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pg3b-primary); color: var(--pg3b-bg-dark);
  border: none; cursor: pointer; display: none;
  align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 2px 10px rgba(72,209,204,0.3); z-index: 999;
  transition: transform 0.2s;
}
.pg3b-back-top:hover { transform: scale(1.15); }

/* === H1 === */
.pg3b-h1 {
  font-size: 2.2rem; font-weight: 700; color: var(--pg3b-text);
  margin: 18px 12px 8px; line-height: 1.3;
}
.pg3b-h1-highlight { color: var(--pg3b-primary); }

/* === DESC TEXT === */
.pg3b-desc {
  font-size: 1.4rem; color: var(--pg3b-text-muted);
  padding: 0 12px 14px; line-height: 1.7;
}

/* === WINNERS TICKER === */
.pg3b-winners {
  background: var(--pg3b-bg-dark); padding: 10px 12px;
  border-radius: var(--pg3b-radius); margin: 0 12px 10px;
  border: 1px solid var(--pg3b-border);
}
.pg3b-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: 1.25rem; color: var(--pg3b-text-muted);
}
.pg3b-winner-row .pg3b-amount { color: var(--pg3b-accent); font-weight: 600; }

/* === CTA SECTION === */
.pg3b-cta-box {
  background: linear-gradient(135deg, rgba(72,209,204,0.15), rgba(221,160,221,0.15));
  border: 1.5px solid var(--pg3b-primary);
  border-radius: var(--pg3b-radius); padding: 20px 16px; margin: 14px 12px;
  text-align: center;
}
.pg3b-cta-box h3 { color: var(--pg3b-primary); font-size: 1.7rem; margin-bottom: 8px; }
.pg3b-cta-box p { color: var(--pg3b-text-muted); font-size: 1.35rem; margin-bottom: 14px; }

/* === DESKTOP: hide bottom nav === */
@media (min-width: 769px) {
  .pg3b-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .pg3b-main { padding-bottom: calc(var(--pg3b-bottom-nav-h) + 16px); }
}
