/* 930 ok - Core base stylesheet (mobile-first) */
/* Prefix: pg20- */

:root {
  --pg20-primary: #B03060;
  --pg20-accent: #00E5FF;
  --pg20-bg: #0E1621;
  --pg20-bg-2: #14203100;
  --pg20-surface: #1a2738;
  --pg20-text: #FFC0CB;
  --pg20-text-light: #f5f7fa;
  --pg20-muted: #8896a6;
  --pg20-border: #2a3a52;
  --pg20-gold: #FFD580;
  --pg20-success: #2ecc71;
  --pg20-danger: #ff5a5f;
  --pg20-radius: 12px;
  --pg20-shadow: 0 6px 22px rgba(0,0,0,.35);
  --pg20-header-h: 56px;
  --pg20-bottomnav-h: 60px;
  --pg20-font: "Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--pg20-font);
  background: var(--pg20-bg);
  color: var(--pg20-text-light);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pg20-accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Header ===== */
.pg20-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--pg20-header-h);
  background: linear-gradient(90deg, #0E1621 0%, #1a2738 60%, #2a0e1f 100%);
  border-bottom: 2px solid var(--pg20-primary);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.pg20-logo { display: flex; align-items: center; gap: 8px; color: var(--pg20-text-light); font-weight: 700; font-size: 1.7rem; }
.pg20-logo img { width: 30px; height: 30px; border-radius: 6px; }
.pg20-logo span b { color: var(--pg20-primary); }
.pg20-header-actions { display: flex; align-items: center; gap: 8px; }
.pg20-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 1.3rem; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.pg20-btn:active { transform: scale(.96); }
.pg20-btn-register { background: linear-gradient(135deg, #B03060, #ff5a8a); color: #fff; box-shadow: 0 4px 12px rgba(176,48,96,.5); }
.pg20-btn-login { background: transparent; color: var(--pg20-text-light); border: 1.5px solid var(--pg20-accent); }
.pg20-menu-btn { color: var(--pg20-text-light); font-size: 2.1rem; padding: 4px 8px; }

/* ===== Mobile Menu Drawer ===== */
.pg20-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .25s;
}
.pg20-menu-overlay.active { opacity: 1; visibility: visible; }
.pg20-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px;
  height: 100%; background: #0b1320; z-index: 9999;
  transition: right .3s ease; padding: 18px 14px; overflow-y: auto;
  border-left: 1px solid var(--pg20-border);
}
.pg20-mobile-menu.active { right: 0; }
.pg20-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pg20-menu-head h3 { color: var(--pg20-text-light); font-size: 1.7rem; }
.pg20-menu-close { color: var(--pg20-muted); font-size: 2rem; }
.pg20-menu-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pg20-menu-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 10px; border-radius: 8px; color: var(--pg20-text-light);
  font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.pg20-menu-list a:active { background: rgba(176,48,96,.15); }
.pg20-menu-list a i { color: var(--pg20-accent); width: 22px; text-align: center; }
.pg20-menu-cta { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.pg20-menu-cta .pg20-btn { justify-content: center; }

/* ===== Layout ===== */
.pg20-main { padding-top: calc(var(--pg20-header-h) + 8px); min-height: 100vh; }
.pg20-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.pg20-section { padding: 18px 0; }
.pg20-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.8rem; font-weight: 700; color: var(--pg20-text-light);
  margin-bottom: 12px; padding-left: 10px; border-left: 4px solid var(--pg20-primary);
}
.pg20-section-title i { color: var(--pg20-accent); }

/* ===== Hero / Carousel ===== */
.pg20-carousel { position: relative; border-radius: var(--pg20-radius); overflow: hidden; box-shadow: var(--pg20-shadow); }
.pg20-carousel-track { display: flex; transition: transform .5s ease; }
.pg20-slide { min-width: 100%; position: relative; }
.pg20-slide img { width: 100%; height: 180px; object-fit: cover; }
.pg20-slide-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: #fff; padding: 20px 12px 10px; border-radius: 8px;
}
.pg20-slide-cap h2 { font-size: 1.7rem; margin-bottom: 4px; color: var(--pg20-gold); }
.pg20-slide-cap p { font-size: 1.2rem; color: var(--pg20-text); }
.pg20-carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; }
.pg20-carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.pg20-carousel-dots button.active { background: var(--pg20-primary); width: 22px; border-radius: 4px; }

/* ===== Game Grid ===== */
.pg20-cat-block { margin-bottom: 18px; }
.pg20-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pg20-cat-head h2 { font-size: 1.6rem; color: var(--pg20-text-light); display: flex; align-items: center; gap: 8px; }
.pg20-cat-head h2 i { color: var(--pg20-primary); }
.pg20-cat-head span { font-size: 1.2rem; color: var(--pg20-muted); }
.pg20-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pg20-game-card {
  background: var(--pg20-surface); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--pg20-border); transition: transform .15s;
  cursor: pointer;
}
.pg20-game-card:active { transform: scale(.95); }
.pg20-game-card img { width: 100%; height: 80px; object-fit: cover; }
.pg20-game-name {
  padding: 6px 4px; font-size: 1.15rem; color: var(--pg20-text-light);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}
.pg20-game-badge {
  position: absolute; top: 4px; left: 4px; background: var(--pg20-primary);
  color: #fff; font-size: 1rem; padding: 1px 6px; border-radius: 4px; font-weight: 700;
}
.pg20-game-card-wrap { position: relative; }

/* ===== Promo CTA ===== */
.pg20-cta {
  background: linear-gradient(135deg, #B03060 0%, #2a0e1f 100%);
  border-radius: var(--pg20-radius); padding: 18px 14px; text-align: center;
  margin: 18px 0; box-shadow: var(--pg20-shadow);
}
.pg20-cta h3 { color: var(--pg20-gold); font-size: 1.9rem; margin-bottom: 6px; }
.pg20-cta p { color: var(--pg20-text); font-size: 1.25rem; margin-bottom: 12px; }
.pg20-cta .pg20-btn { display: inline-flex; }

/* ===== Info Modules ===== */
.pg20-card {
  background: var(--pg20-surface); border-radius: var(--pg20-radius);
  padding: 14px; border: 1px solid var(--pg20-border); margin-bottom: 12px;
}
.pg20-card h3 { color: var(--pg20-accent); font-size: 1.5rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pg20-card p { color: var(--pg20-text-light); font-size: 1.3rem; margin-bottom: 8px; line-height: 1.7rem; }
.pg20-card ul { list-style: none; padding-left: 0; }
.pg20-card ul li { color: var(--pg20-text-light); font-size: 1.3rem; padding: 6px 0 6px 22px; position: relative; }
.pg20-card ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--pg20-success); position: absolute; left: 0; }
.pg20-card .pg20-inline-link { color: var(--pg20-primary); font-weight: 700; }

.pg20-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.pg20-feature-item { background: var(--pg20-surface); border-radius: 10px; padding: 12px; text-align: center; border: 1px solid var(--pg20-border); }
.pg20-feature-item i { font-size: 2.4rem; color: var(--pg20-accent); margin-bottom: 6px; }
.pg20-feature-item h4 { color: var(--pg20-text-light); font-size: 1.3rem; margin-bottom: 4px; }
.pg20-feature-item p { color: var(--pg20-muted); font-size: 1.15rem; }

/* ===== Testimonials ===== */
.pg20-testi { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pg20-testi-item { background: var(--pg20-surface); border-radius: 10px; padding: 12px; border-left: 3px solid var(--pg20-primary); }
.pg20-testi-item .pg20-stars { color: var(--pg20-gold); margin-bottom: 4px; font-size: 1.2rem; }
.pg20-testi-item p { color: var(--pg20-text-light); font-size: 1.25rem; margin-bottom: 6px; }
.pg20-testi-item .pg20-author { color: var(--pg20-muted); font-size: 1.1rem; }

/* ===== Payment ===== */
.pg20-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pg20-pay span { background: var(--pg20-surface); border: 1px solid var(--pg20-border); border-radius: 6px; padding: 6px 12px; color: var(--pg20-text-light); font-size: 1.2rem; display: inline-flex; align-items: center; gap: 6px; }
.pg20-pay span i { color: var(--pg20-accent); }

/* ===== Winners ===== */
.pg20-winner-list { display: flex; flex-direction: column; gap: 6px; }
.pg20-winner-row { display: flex; justify-content: space-between; background: var(--pg20-surface); padding: 8px 10px; border-radius: 6px; font-size: 1.2rem; }
.pg20-winner-row .pg20-amount { color: var(--pg20-gold); font-weight: 700; }

/* ===== App Download ===== */
.pg20-app-cta { background: linear-gradient(135deg,#00E5FF22, #B0306022); border: 1px solid var(--pg20-accent); border-radius: var(--pg20-radius); padding: 16px; text-align: center; }
.pg20-app-cta h3 { color: var(--pg20-accent); font-size: 1.7rem; margin-bottom: 6px; }
.pg20-app-cta p { color: var(--pg20-text-light); font-size: 1.25rem; margin-bottom: 10px; }
.pg20-app-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pg20-app-btns .pg20-btn { background: var(--pg20-accent); color: #0E1621; font-weight: 700; }
.pg20-app-btns .pg20-btn.outline { background: transparent; color: var(--pg20-accent); border: 1.5px solid var(--pg20-accent); }

/* ===== Footer ===== */
.pg20-footer { background: #060b14; padding: 22px 12px 90px; margin-top: 22px; border-top: 2px solid var(--pg20-primary); }
.pg20-footer .pg20-container { padding: 0; }
.pg20-footer-brand { color: var(--pg20-text); font-size: 1.25rem; line-height: 1.7rem; margin-bottom: 14px; }
.pg20-footer-brand b { color: var(--pg20-primary); }
.pg20-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pg20-footer-links a { background: var(--pg20-surface); border: 1px solid var(--pg20-border); color: var(--pg20-text-light); padding: 6px 10px; border-radius: 6px; font-size: 1.15rem; }
.pg20-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pg20-footer-promo button { background: linear-gradient(135deg,#B03060,#ff5a8a); color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 1.2rem; font-weight: 700; }
.pg20-footer-copy { color: var(--pg20-muted); font-size: 1.1rem; border-top: 1px solid var(--pg20-border); padding-top: 10px; text-align: center; }

/* ===== Bottom Nav ===== */
.pg20-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--pg20-bottomnav-h);
  background: linear-gradient(180deg, #1a2738 0%, #0b1320 100%);
  border-top: 2px solid var(--pg20-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 4px 0;
}
.pg20-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 52px; color: var(--pg20-muted);
  font-size: 1.05rem; gap: 2px; transition: color .2s, transform .15s;
  flex: 1;
}
.pg20-nav-item i { font-size: 22px; }
.pg20-nav-item .material-icons-outlined { font-size: 24px; }
.pg20-nav-item:active { transform: scale(.92); }
.pg20-nav-item.active { color: var(--pg20-primary); }
.pg20-nav-item.active i { color: var(--pg20-accent); }
.pg20-nav-badge { position: absolute; top: 4px; right: 18px; background: var(--pg20-danger); color: #fff; font-size: .9rem; padding: 0 4px; border-radius: 8px; min-width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .pg20-bottom-nav { display: none; }
  .pg20-container { max-width: 720px; }
  .pg20-grid { grid-template-columns: repeat(4, 1fr); }
  .pg20-features { grid-template-columns: repeat(4,1fr); }
  .pg20-footer { padding-bottom: 22px; }
  .pg20-slide img { height: 280px; }
}
@media (max-width: 768px) {
  .pg20-main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .pg20-grid { grid-template-columns: repeat(2, 1fr); }
  .pg20-logo span { display: none; }
}
