/* ============================================
   jyjili.click - Core Base Stylesheet
   Prefix: pg7e-  |  Hash: 7e615b0b
   Palette: #333333 | #A0522D | #2F2F2F | #696969 | #FFEFD5
   ============================================ */

:root {
  --pg7e-bg: #2F2F2F;
  --pg7e-bg-2: #333333;
  --pg7e-accent: #A0522D;
  --pg7e-muted: #696969;
  --pg7e-light: #FFEFD5;
  --pg7e-text: #FFEFD5;
  --pg7e-card: #3a3a3a;
  --pg7e-border: rgba(255, 239, 213, 0.12);
  --pg7e-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --pg7e-radius: 14px;
}

* { 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", Roboto, Arial, sans-serif;
  background: var(--pg7e-bg);
  color: var(--pg7e-text);
  line-height: 1.6;
  font-size: 1.6rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

a { color: var(--pg7e-light); text-decoration: none; }

/* ============ Header ============ */
.pg7e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, #2F2F2F 0%, #333333 100%);
  border-bottom: 2px solid var(--pg7e-accent);
  box-shadow: var(--pg7e-shadow);
}

.pg7e-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pg7e-light);
  letter-spacing: 0.5px;
}

.pg7e-logo .pg7e-logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #A0522D, #c97a4a);
  display: grid; place-items: center;
  color: #FFEFD5;
  font-weight: 800;
  font-size: 1.6rem;
}

.pg7e-header-actions { display: flex; align-items: center; gap: 8px; }

.pg7e-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  font-family: inherit;
}
.pg7e-btn:active { transform: scale(0.96); }

.pg7e-btn-login {
  background: transparent;
  color: var(--pg7e-light);
  border: 1.5px solid var(--pg7e-muted);
}
.pg7e-btn-login:hover { border-color: var(--pg7e-light); }

.pg7e-btn-register {
  background: linear-gradient(135deg, #A0522D, #c97a4a);
  color: #FFEFD5;
  box-shadow: 0 3px 10px rgba(160, 82, 45, 0.45);
}

.pg7e-menu-toggle {
  background: transparent;
  border: 1px solid var(--pg7e-border);
  color: var(--pg7e-light);
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ============ Mobile Menu ============ */
.pg7e-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100%;
  background: #2a2a2a;
  z-index: 9999;
  padding: 70px 18px 30px;
  overflow-y: auto;
  transition: right .28s ease;
  border-left: 1px solid var(--pg7e-border);
}
.pg7e-mobile-menu.pg7e-open { right: 0; }

.pg7e-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: var(--pg7e-bg-2);
  color: var(--pg7e-light);
  border: none;
  border-radius: 10px;
  font-size: 1.8rem;
  cursor: pointer;
}
.pg7e-mobile-menu h4 {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pg7e-muted);
  margin: 18px 0 8px;
}
.pg7e-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--pg7e-light);
  font-size: 1.45rem;
  border-bottom: 1px solid var(--pg7e-border);
}
.pg7e-mobile-menu a:hover { background: rgba(160, 82, 45, 0.18); }

.pg7e-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}
.pg7e-overlay.pg7e-open { display: block; }

/* ============ Hero / Carousel ============ */
.pg7e-main { padding: 0 0 80px; }

.pg7e-hero {
  position: relative;
  padding: 22px 16px;
  background:
    radial-gradient(circle at 20% 10%, rgba(160,82,45,0.35), transparent 60%),
    linear-gradient(135deg, #333333 0%, #2F2F2F 100%);
  border-bottom: 1px solid var(--pg7e-border);
  overflow: hidden;
}
.pg7e-hero::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,239,213,0.08), transparent 70%);
  pointer-events: none;
}
.pg7e-hero h1 {
  font-size: 2.6rem;
  line-height: 1.3;
  color: var(--pg7e-light);
  margin-bottom: 10px;
  font-weight: 800;
}
.pg7e-hero h1 span { color: #d99a6a; }
.pg7e-hero p {
  font-size: 1.45rem;
  color: #d8c9b3;
  margin-bottom: 16px;
}
.pg7e-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pg7e-hero-cta .pg7e-btn { padding: 11px 20px; font-size: 1.45rem; }

.pg7e-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.pg7e-carousel::-webkit-scrollbar { display: none; }
.pg7e-carousel { scrollbar-width: none; }
.pg7e-slide {
  flex: 0 0 86%;
  scroll-snap-align: center;
  border-radius: var(--pg7e-radius);
  overflow: hidden;
  position: relative;
  min-height: 140px;
  background: linear-gradient(135deg, #A0522D, #696969);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: var(--pg7e-shadow);
}
.pg7e-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent 70%);
}
.pg7e-slide-title {
  position: relative;
  color: #FFEFD5;
  font-size: 1.7rem;
  font-weight: 700;
}
.pg7e-slide-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--pg7e-accent);
  color: #FFEFD5;
  font-size: 1.1rem;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
}

/* ============ Section ============ */
.pg7e-section { padding: 20px 16px; }
.pg7e-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pg7e-section-head h2 {
  font-size: 1.9rem;
  color: var(--pg7e-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg7e-section-head h2 i { color: var(--pg7e-accent); }
.pg7e-section-head a {
  font-size: 1.25rem;
  color: #d99a6a;
}

/* ============ Category Tabs ============ */
.pg7e-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
}
.pg7e-tabs::-webkit-scrollbar { display: none; }
.pg7e-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pg7e-card);
  color: var(--pg7e-light);
  font-size: 1.3rem;
  border: 1px solid var(--pg7e-border);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.pg7e-tab.pg7e-active,
.pg7e-tab:hover {
  background: var(--pg7e-accent);
  color: #FFEFD5;
}

/* ============ Game Grid ============ */
.pg7e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pg7e-card {
  background: var(--pg7e-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pg7e-border);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.pg7e-card:hover { transform: translateY(-3px); box-shadow: var(--pg7e-shadow); }
.pg7e-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
}
.pg7e-card-body {
  padding: 8px 9px 10px;
}
.pg7e-card-title {
  font-size: 1.2rem;
  color: var(--pg7e-light);
  font-weight: 600;
  line-height: 1.3;
  height: 3.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pg7e-card-btn {
  margin-top: 6px;
  display: block;
  width: 100%;
  background: var(--pg7e-accent);
  color: #FFEFD5;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 5px 0;
  border-radius: 7px;
  border: none;
  cursor: pointer;
}

/* ============ Feature / Promo strip ============ */
.pg7e-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 6px 16px 18px;
}
.pg7e-feature {
  background: var(--pg7e-card);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  border: 1px solid var(--pg7e-border);
}
.pg7e-feature i {
  font-size: 2.4rem;
  color: var(--pg7e-accent);
  margin-bottom: 6px;
}
.pg7e-feature span {
  display: block;
  font-size: 1.2rem;
  color: var(--pg7e-light);
  font-weight: 600;
}

.pg7e-promo-strip {
  margin: 0 16px 20px;
  padding: 16px;
  border-radius: var(--pg7e-radius);
  background: linear-gradient(135deg, #A0522D, #696969);
  color: #FFEFD5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--pg7e-shadow);
}
.pg7e-promo-strip h3 { font-size: 1.6rem; margin-bottom: 4px; }
.pg7e-promo-strip p { font-size: 1.25rem; opacity: 0.9; }

/* ============ SEO Content ============ */
.pg7e-seo {
  padding: 22px 16px;
  background: var(--pg7e-bg-2);
  border-top: 1px solid var(--pg7e-border);
  border-bottom: 1px solid var(--pg7e-border);
}
.pg7e-seo h2 {
  font-size: 1.9rem;
  color: #d99a6a;
  margin-bottom: 10px;
}
.pg7e-seo h3 {
  font-size: 1.55rem;
  color: var(--pg7e-light);
  margin: 16px 0 6px;
}
.pg7e-seo p {
  font-size: 1.4rem;
  color: #d8c9b3;
  margin-bottom: 10px;
}
.pg7e-seo a { color: #d99a6a; text-decoration: underline; }
.pg7e-seo ul { padding-left: 20px; margin-bottom: 10px; }
.pg7e-seo li { font-size: 1.4rem; color: #d8c9b3; margin-bottom: 4px; }

/* ============ FAQ ============ */
.pg7e-faq { padding: 20px 16px; }
.pg7e-faq-item {
  background: var(--pg7e-card);
  border: 1px solid var(--pg7e-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.pg7e-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 14px;
  color: var(--pg7e-light);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: inherit;
}
.pg7e-faq-q i { color: var(--pg7e-accent); transition: transform .2s; }
.pg7e-faq-item.pg7e-open .pg7e-faq-q i { transform: rotate(45deg); }
.pg7e-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 14px;
  color: #d8c9b3;
  font-size: 1.35rem;
}
.pg7e-faq-item.pg7e-open .pg7e-faq-a {
  max-height: 400px;
  padding-bottom: 14px;
}

/* ============ Footer ============ */
.pg7e-footer {
  background: #262626;
  padding: 24px 16px 30px;
  border-top: 2px solid var(--pg7e-accent);
}
.pg7e-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.pg7e-footer h4 {
  font-size: 1.35rem;
  color: #d99a6a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pg7e-footer a {
  display: block;
  font-size: 1.25rem;
  color: #c7b8a3;
  padding: 4px 0;
}
.pg7e-footer a:hover { color: var(--pg7e-light); }
.pg7e-footer-bottom {
  border-top: 1px solid var(--pg7e-border);
  padding-top: 14px;
  font-size: 1.15rem;
  color: #8a7e6e;
  text-align: center;
}

/* ============ Help Page Components ============ */
.pg7e-page-hero {
  padding: 24px 16px 18px;
  background: radial-gradient(circle at top right, rgba(160,82,45,.35), transparent 55%), linear-gradient(135deg,#333333,#2F2F2F);
  border-bottom: 1px solid var(--pg7e-border);
}
.pg7e-page-hero h1 { font-size: 2.35rem; line-height: 1.28; color: var(--pg7e-light); margin-bottom: 8px; }
.pg7e-page-hero p { font-size: 1.42rem; color: #d8c9b3; }
.pg7e-panel {
  margin: 16px;
  padding: 16px;
  background: var(--pg7e-card);
  border: 1px solid var(--pg7e-border);
  border-radius: var(--pg7e-radius);
  box-shadow: var(--pg7e-shadow);
}
.pg7e-panel h2 { font-size: 1.8rem; color: #d99a6a; margin-bottom: 10px; }
.pg7e-panel h3 { font-size: 1.5rem; color: var(--pg7e-light); margin: 12px 0 6px; }
.pg7e-panel p, .pg7e-panel li { font-size: 1.38rem; color: #d8c9b3; margin-bottom: 8px; }
.pg7e-panel ul, .pg7e-panel ol { padding-left: 20px; }
.pg7e-text-link { color: #d99a6a; font-weight: 800; text-decoration: underline; cursor: pointer; }
.pg7e-steps { counter-reset: pg7e-step; display: grid; gap: 10px; }
.pg7e-step { position: relative; padding: 12px 12px 12px 44px; background: #303030; border-radius: 12px; border: 1px solid var(--pg7e-border); }
.pg7e-step::before { counter-increment: pg7e-step; content: counter(pg7e-step); position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--pg7e-accent); color: #FFEFD5; font-weight: 800; }
.pg7e-callout { margin: 16px; padding: 15px; border-left: 4px solid var(--pg7e-accent); background: rgba(160,82,45,.14); border-radius: 12px; color: #d8c9b3; }
.pg7e-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pg7e-link-grid a, .pg7e-link-grid button { min-height: 44px; border-radius: 12px; border: 1px solid var(--pg7e-border); background: #303030; color: var(--pg7e-light); font-weight: 700; font-family: inherit; padding: 10px; text-align: center; cursor: pointer; }
.pg7e-mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.pg7e-mini-stat { padding: 12px 8px; text-align: center; background: #303030; border: 1px solid var(--pg7e-border); border-radius: 12px; }
.pg7e-mini-stat strong { display:block; color:#d99a6a; font-size:1.7rem; }
.pg7e-mini-stat span { font-size:1.1rem; color:#d8c9b3; }

/* ============ Mobile Bottom Nav ============ */
.pg7e-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #333333, #2a2a2a);
  border-top: 2px solid var(--pg7e-accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.pg7e-bottomnav button,
.pg7e-bottomnav a {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pg7e-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: color .15s, transform .15s;
}
.pg7e-bottomnav button:active,
.pg7e-bottomnav a:active { transform: scale(0.92); }
.pg7e-bottomnav .pg7e-bn-icon { font-size: 2.2rem; line-height: 1; }
.pg7e-bottomnav .pg7e-bn-center .pg7e-bn-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #A0522D, #c97a4a);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: -22px;
  box-shadow: 0 4px 12px rgba(160,82,45,0.55);
  border: 3px solid #2F2F2F;
  color: #FFEFD5;
}
.pg7e-bottomnav .pg7e-active { color: #d99a6a; }

/* Desktop hides bottom nav */
@media (min-width: 769px) {
  .pg7e-bottomnav { display: none; }
  body { max-width: 430px; }
}
