@charset "utf-8";
/* ============================================================
   Tong Its Go - Mobile-first stylesheet
   Class prefix: pgeb-
   Palette: #F08080 | #CD5C5C | #1E1E1E | #8B0000 | #DAA520
   Dark backgrounds (#1E1E1E / #8B0000) with light text (#F08080,
   #DAA520 accents). Composed for 320-430px phone canvas only.
   ============================================================ */

:root {
  --pgeb-bg: #1E1E1E;
  --pgeb-bg-2: #251010;
  --pgeb-bg-3: #120808;
  --pgeb-card: #2a1414;
  --pgeb-brand: #CD5C5C;
  --pgeb-brand-2: #F08080;
  --pgeb-gold: #DAA520;
  --pgeb-deep: #8B0000;
  --pgeb-text: #f7ecec;
  --pgeb-text-soft: #d9b7b7;
  --pgeb-line: #3a2222;
  --pgeb-white: #ffffff;
  --pgeb-radius: 14px;
  --pgeb-radius-sm: 10px;
  --pgeb-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --pgeb-header-h: 56px;
  --pgeb-bottom-h: 60px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--pgeb-bg);
  color: var(--pgeb-text);
  line-height: 1.55;
  font-size: 15px;
  min-width: 320px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pgeb-brand-2); text-decoration: none; }
a:hover, a:focus { color: var(--pgeb-gold); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: 22px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }

/* ---------- Skip link ---------- */
.pgeb-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--pgeb-gold); color: #1a1a1a;
  padding: 8px 14px; z-index: 9999; border-radius: 0 0 8px 0;
}
.pgeb-skip:focus { left: 0; }

/* ============================================================
   Header
   ============================================================ */
.pgeb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--pgeb-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2a1010 0%, #1E1E1E 100%);
  border-bottom: 1px solid var(--pgeb-line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.pgeb-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.pgeb-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pgeb-gold);
  flex-shrink: 0;
  background: #fff;
}
.pgeb-brand-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--pgeb-brand-2);
  letter-spacing: .3px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pgeb-brand-name small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--pgeb-text-soft);
  letter-spacing: 1px;
}

.pgeb-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pgeb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 34px;
  transition: transform .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.pgeb-btn:active { transform: scale(.96); }
.pgeb-btn:focus-visible { outline: 2px solid var(--pgeb-gold); outline-offset: 2px; }

.pgeb-btn-login {
  background: transparent;
  color: var(--pgeb-brand-2);
  border: 1px solid var(--pgeb-brand);
}
.pgeb-btn-register {
  background: linear-gradient(180deg, var(--pgeb-brand-2), var(--pgeb-deep));
  color: #fff;
  box-shadow: 0 3px 10px rgba(139, 0, 0, .5);
}

.pgeb-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--pgeb-line);
  border-radius: 8px;
  color: var(--pgeb-brand-2);
  cursor: pointer;
  flex-shrink: 0;
}
.pgeb-icon-btn svg { width: 20px; height: 20px; }

/* ============================================================
   Expandable menu
   ============================================================ */
.pgeb-menu {
  position: absolute;
  top: var(--pgeb-header-h);
  left: 0;
  right: 0;
  background: var(--pgeb-bg-2);
  border-bottom: 1px solid var(--pgeb-line);
  box-shadow: var(--pgeb-shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  z-index: 55;
}
.pgeb-menu-open { max-height: 540px; }
.pgeb-menu-inner { padding: 8px 12px 14px; }
.pgeb-menu-section { margin-top: 8px; }
.pgeb-menu-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pgeb-gold);
  margin: 10px 4px 6px;
}
.pgeb-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pgeb-menu-link {
  display: block;
  padding: 9px 10px;
  background: var(--pgeb-bg-3);
  border: 1px solid var(--pgeb-line);
  border-radius: var(--pgeb-radius-sm);
  color: var(--pgeb-text);
  font-size: 13px;
  font-weight: 600;
}
.pgeb-menu-link:hover {
  background: var(--pgeb-card);
  color: var(--pgeb-brand-2);
  text-decoration: none;
}

/* ============================================================
   Hero carousel
   ============================================================ */
.pgeb-hero {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #000;
}
.pgeb-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.pgeb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pgeb-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(30,10,10,.85) 100%);
}
.pgeb-slide-text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  color: #fff;
}
.pgeb-slide-text h2 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--pgeb-brand-2);
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.pgeb-slide-text p {
  margin: 0;
  font-size: 12px;
  color: var(--pgeb-text-soft);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.pgeb-slide-active { opacity: 1; }

.pgeb-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 4;
}
.pgeb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
}
.pgeb-dot-active { background: var(--pgeb-gold); }

/* ============================================================
   Generic container / section
   ============================================================ */
.pgeb-wrap { padding: 14px 12px; }
.pgeb-section { margin-bottom: 22px; }
.pgeb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.pgeb-section-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--pgeb-brand-2);
}
.pgeb-section-head h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--pgeb-gold);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -3px;
}
.pgeb-more {
  font-size: 12px;
  color: var(--pgeb-text-soft);
}
.pgeb-text-muted { color: var(--pgeb-text-soft); font-size: 13px; }

/* ---------- Filter chips ---------- */
.pgeb-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 8px;
  -webkit-overflow-scrolling: touch;
}
.pgeb-chips::-webkit-scrollbar { display: none; }
.pgeb-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pgeb-bg-3);
  border: 1px solid var(--pgeb-line);
  color: var(--pgeb-text-soft);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.pgeb-chip-active {
  background: linear-gradient(180deg, var(--pgeb-brand-2), var(--pgeb-deep));
  color: #fff;
  border-color: var(--pgeb-brand);
}

/* ============================================================
   Game grid (4 columns on 320px+, 4-5 on wider)
   ============================================================ */
.pgeb-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 380px) {
  .pgeb-game-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
}

.pgeb-game {
  display: block;
  background: var(--pgeb-card);
  border: 1px solid var(--pgeb-line);
  border-radius: var(--pgeb-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .12s ease, box-shadow .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.pgeb-game:active { transform: scale(.97); }
.pgeb-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.pgeb-game-name {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  color: var(--pgeb-text);
  padding: 4px 5px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pgeb-game-hot {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--pgeb-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: .5px;
}

/* ============================================================
   Promo strip / banner
   ============================================================ */
.pgeb-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, var(--pgeb-deep), var(--pgeb-card));
  border: 1px solid var(--pgeb-brand);
  border-radius: var(--pgeb-radius);
  margin-bottom: 18px;
  cursor: pointer;
}
.pgeb-promo-ic {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--pgeb-gold);
  color: #1a1a1a;
  border-radius: 50%;
  font-size: 22px;
}
.pgeb-promo-txt { flex: 1; min-width: 0; }
.pgeb-promo-txt strong { color: var(--pgeb-brand-2); font-size: 14px; display: block; }
.pgeb-promo-txt span { font-size: 12px; color: var(--pgeb-text-soft); }
.pgeb-promo-cta {
  background: var(--pgeb-gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   Info / SEO content blocks
   ============================================================ */
.pgeb-info-card {
  background: var(--pgeb-card);
  border: 1px solid var(--pgeb-line);
  border-radius: var(--pgeb-radius);
  padding: 14px;
  margin-bottom: 14px;
}
.pgeb-info-card h2 { color: var(--pgeb-brand-2); font-size: 17px; }
.pgeb-info-card h3 { color: var(--pgeb-gold); font-size: 14px; margin-top: 12px; }
.pgeb-info-card ul, .pgeb-info-card ol { padding-left: 20px; }
.pgeb-info-card li { margin-bottom: 6px; font-size: 14px; color: var(--pgeb-text); }

.pgeb-faq details {
  background: var(--pgeb-bg-3);
  border: 1px solid var(--pgeb-line);
  border-radius: var(--pgeb-radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.pgeb-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--pgeb-brand-2);
  font-size: 14px;
  list-style: none;
  position: relative;
  padding-right: 18px;
}
.pgeb-faq summary::-webkit-details-marker { display: none; }
.pgeb-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--pgeb-gold);
  font-size: 18px;
  line-height: 1;
}
.pgeb-faq details[open] summary::after { content: "−"; }
.pgeb-faq p { margin: 8px 0 0; font-size: 13px; color: var(--pgeb-text-soft); }

/* ---------- Testimonials ---------- */
.pgeb-testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pgeb-testi {
  background: var(--pgeb-card);
  border: 1px solid var(--pgeb-line);
  border-radius: var(--pgeb-radius-sm);
  padding: 10px;
}
.pgeb-testi-stars { color: var(--pgeb-gold); font-size: 12px; }
.pgeb-testi p { margin: 4px 0; font-size: 12px; color: var(--pgeb-text); }
.pgeb-testi cite { font-size: 11px; color: var(--pgeb-text-soft); font-style: normal; }

/* ---------- Payments ---------- */
.pgeb-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pgeb-pay {
  background: var(--pgeb-bg-3);
  border: 1px solid var(--pgeb-line);
  border-radius: var(--pgeb-radius-sm);
  padding: 10px 4px;
  text-align: center;
  font-size: 11px;
  color: var(--pgeb-text-soft);
  font-weight: 600;
}

/* ============================================================
   Expanded footer (homepage only)
   ============================================================ */
.pgeb-extend {
  background: var(--pgeb-bg-2);
  border-top: 1px solid var(--pgeb-line);
  padding: 18px 12px 8px;
}
.pgeb-extend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pgeb-extend-col h3 {
  color: var(--pgeb-gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pgeb-extend-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--pgeb-text);
  border-bottom: 1px dashed rgba(218,165,32,.12);
}
.pgeb-extend-col a:hover { color: var(--pgeb-brand-2); text-decoration: none; }
.pgeb-extend-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.pgeb-extend-promo {
  padding: 12px;
  background: linear-gradient(135deg, var(--pgeb-deep), var(--pgeb-card));
  border: 1px solid var(--pgeb-brand);
  border-radius: var(--pgeb-radius-sm);
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.pgeb-extend-promo strong { display: block; color: var(--pgeb-brand-2); font-size: 13px; }
.pgeb-extend-promo span { font-size: 11px; color: var(--pgeb-text-soft); }

.pgeb-disclaimer {
  font-size: 11px;
  color: var(--pgeb-text-soft);
  padding: 10px 4px 4px;
  border-top: 1px solid var(--pgeb-line);
  margin-top: 8px;
  line-height: 1.6;
}

/* ============================================================
   Site footer
   ============================================================ */
.pgeb-footer {
  background: var(--pgeb-bg-3);
  padding: 16px 12px;
  text-align: center;
  border-top: 1px solid var(--pgeb-line);
  color: var(--pgeb-text-soft);
  font-size: 12px;
}
.pgeb-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin-bottom: 8px;
}
.pgeb-footer-links a { color: var(--pgeb-text-soft); font-size: 12px; }
.pgeb-footer-links a:hover { color: var(--pgeb-brand-2); }
.pgeb-footer-copy { font-size: 11px; color: var(--pgeb-text-soft); }

/* Reserve space for fixed bottom nav */
.pgeb-content { padding-bottom: calc(var(--pgeb-bottom-h) + 14px); }

/* ============================================================
   Bottom navigation (5 buttons, brand-strong ribbon)
   ============================================================ */
.pgeb-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  height: var(--pgeb-bottom-h);
  background: linear-gradient(180deg, #2a1010, #120808);
  border-top: 1px solid var(--pgeb-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 70;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, .55);
}
.pgeb-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--pgeb-text-soft);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  text-decoration: none;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.pgeb-nav-btn svg { width: 22px; height: 22px; }
.pgeb-nav-btn:hover { color: var(--pgeb-brand-2); text-decoration: none; }
.pgeb-nav-active {
  color: var(--pgeb-gold);
}
.pgeb-nav-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--pgeb-gold);
  border-radius: 0 0 3px 3px;
}
.pgeb-nav-promo {
  color: #fff;
  background: linear-gradient(180deg, var(--pgeb-brand-2), var(--pgeb-deep));
}
.pgeb-nav-promo svg { color: #fff; }

/* utility */
.pgeb-hidden { display: none !important; }
.pgeb-center { text-align: center; }
.pgeb-mt { margin-top: 12px; }
.pgeb-mb { margin-bottom: 12px; }
