/* ============================================================
 * ph365 pro apk - Core base styles
 * Class prefix: pg22-
 * Palette: #66CDAA | #FFB6C1 | #262626 | #C9C9FF | #F08080
 * Mobile-first (max 430px). Dark background, light text.
 * ============================================================ */

:root {
  --pg22-primary: #66CDAA;
  --pg22-secondary: #FFB6C1;
  --pg22-bg: #262626;
  --pg22-bg-2: #1f1f1f;
  --pg22-accent: #C9C9FF;
  --pg22-warm: #F08080;
  --pg22-text: #f5f7f5;
  --pg22-muted: #c7c9c7;
  --pg22-border: rgba(255, 255, 255, 0.08);
  --pg22-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --pg22-radius: 14px;
  --pg22-radius-sm: 10px;
}

/* Reset */
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--pg22-bg);
  color: var(--pg22-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--pg22-primary); text-decoration: none; }
a:hover { color: var(--pg22-secondary); }
h1, h2, h3, h4 { margin: 0 0 0.6rem; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 1rem; }

.pg22-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg22-wrapper { width: 100%; }
.pg22-grid { display: grid; gap: 1rem; }
.pg22-hidden { display: none !important; }
.pg22-text-center { text-align: center; }

/* ---------------- Header ---------------- */
.pg22-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1f1f1f 0%, #262626 100%);
  border-bottom: 1px solid var(--pg22-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.pg22-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 54px;
}
.pg22-brand { display: flex; align-items: center; gap: 0.6rem; }
.pg22-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pg22-brand-text {
  font-size: 1.4rem; font-weight: 800; color: var(--pg22-primary);
  letter-spacing: 0.3px; line-height: 1.1;
}
.pg22-brand-text small { display: block; font-size: 1rem; color: var(--pg22-secondary); font-weight: 600; }
.pg22-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg22-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 38px; padding: 0 1.1rem;
  border-radius: 999px; border: none; cursor: pointer;
  font-size: 1.25rem; font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
}
.pg22-btn:active { transform: scale(0.96); }
.pg22-btn-login {
  background: transparent; color: var(--pg22-text);
  border: 1px solid var(--pg22-border);
}
.pg22-btn-register {
  background: linear-gradient(135deg, var(--pg22-primary) 0%, #4fb99a 100%);
  color: #11352a; box-shadow: 0 4px 12px rgba(102, 205, 170, 0.35);
}
.pg22-menu-toggle {
  background: transparent; border: 1px solid var(--pg22-border);
  color: var(--pg22-text); width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.pg22-menu-toggle.pg22-active { background: rgba(102, 205, 170, 0.18); }

/* ---------------- Mobile menu drawer ---------------- */
.pg22-mobile-menu {
  position: fixed; top: 54px; left: 0; right: 0; z-index: 9999;
  background: #1c1c1c; border-bottom: 1px solid var(--pg22-border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.pg22-mobile-menu.pg22-menu-open { max-height: 480px; overflow-y: auto; box-shadow: var(--pg22-shadow); }
.pg22-mobile-menu-inner { padding: 0.6rem 1rem 1rem; max-width: 430px; margin: 0 auto; }
.pg22-mobile-menu a {
  display: block; padding: 0.85rem 0.6rem; color: var(--pg22-text);
  border-bottom: 1px solid var(--pg22-border); font-size: 1.3rem;
}
.pg22-mobile-menu a:last-child { border-bottom: none; }
.pg22-mobile-menu a .material-icons-outlined,
.pg22-mobile-menu a i { vertical-align: middle; margin-right: 0.6rem; color: var(--pg22-primary); font-size: 1.8rem; }

/* ---------------- Hero / Carousel ---------------- */
.pg22-main { padding-top: 64px; }
@media (max-width: 768px) { .pg22-main { padding-bottom: 84px; } }

.pg22-hero { position: relative; margin: 1rem 0; border-radius: var(--pg22-radius); overflow: hidden; box-shadow: var(--pg22-shadow); }
.pg22-slides { position: relative; }
.pg22-slide {
  display: none; position: relative; cursor: pointer;
}
.pg22-slide.pg22-slide-active { display: block; }
.pg22-slide img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--pg22-radius); }
.pg22-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
}
.pg22-slide-overlay h2 { font-size: 1.7rem; margin: 0 0 0.2rem; color: var(--pg22-secondary); }
.pg22-slide-overlay p { margin: 0; font-size: 1.15rem; color: var(--pg22-accent); }
.pg22-dots {
  display: flex; justify-content: center; gap: 0.4rem; padding: 0.5rem 0 0.2rem;
}
.pg22-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35);
  border: none; padding: 0; cursor: pointer;
}
.pg22-dot.pg22-dot-active { background: var(--pg22-primary); width: 22px; border-radius: 6px; }

/* ---------------- Section headings ---------------- */
.pg22-section { margin: 1.6rem 0; }
.pg22-section-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem;
}
.pg22-section-title {
  font-size: 1.55rem; color: #fff; display: flex; align-items: center; gap: 0.5rem;
}
.pg22-section-title .material-icons-outlined,
.pg22-section-title i { color: var(--pg22-primary); font-size: 2rem; }
.pg22-section-link { font-size: 1.15rem; color: var(--pg22-secondary); font-weight: 600; }

/* H1 hero */
.pg22-h1 {
  font-size: 1.9rem; color: #fff; margin: 1.2rem 0 0.6rem; line-height: 1.3;
}
.pg22-h1 span { color: var(--pg22-primary); }
.pg22-subtitle { color: var(--pg22-muted); font-size: 1.25rem; margin-bottom: 1rem; }

/* ---------------- CTA banner ---------------- */
.pg22-cta {
  background: linear-gradient(135deg, var(--pg22-warm) 0%, var(--pg22-secondary) 100%);
  color: #2a0e0e; border-radius: var(--pg22-radius);
  padding: 1.1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  box-shadow: 0 6px 18px rgba(240, 128, 128, 0.35);
}
.pg22-cta-text { font-size: 1.25rem; font-weight: 700; }
.pg22-cta-text small { display: block; font-weight: 500; font-size: 1.05rem; opacity: 0.85; }
.pg22-cta .pg22-btn { background: #2a0e0e; color: #fff; }

/* ---------------- Filter chips ---------------- */
.pg22-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.4rem 0 0.8rem; -webkit-overflow-scrolling: touch; }
.pg22-chips::-webkit-scrollbar { display: none; }
.pg22-chip {
  flex: 0 0 auto; padding: 0.45rem 0.95rem; border-radius: 999px;
  background: #1f1f1f; color: var(--pg22-muted); font-size: 1.15rem;
  border: 1px solid var(--pg22-border); cursor: pointer; white-space: nowrap;
}
.pg22-chip.pg22-chip-active { background: var(--pg22-primary); color: #11352a; border-color: transparent; font-weight: 700; }

/* ---------------- Game grid ---------------- */
.pg22-cat-section { margin-bottom: 1.4rem; }
.pg22-cat-title {
  font-size: 1.4rem; color: var(--pg22-secondary); margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.45rem;
}
.pg22-cat-title .material-icons,
.pg22-cat-title i { font-size: 1.8rem; color: var(--pg22-accent); }

.pg22-grid-games {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.pg22-game-card {
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius-sm); overflow: hidden; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pg22-game-card:active { transform: scale(0.96); box-shadow: 0 4px 12px rgba(102,205,170,0.25); }
.pg22-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #111; }
.pg22-game-name {
  font-size: 1.05rem; line-height: 1.25; padding: 0.45rem 0.4rem 0.55rem;
  text-align: center; color: var(--pg22-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------------- Feature / info cards ---------------- */
.pg22-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.pg22-card {
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius); padding: 1rem;
}
.pg22-card .pg22-card-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(102,205,170,0.15); color: var(--pg22-primary); margin-bottom: 0.6rem; font-size: 2.2rem;
}
.pg22-card h3 { font-size: 1.25rem; color: #fff; }
.pg22-card p { font-size: 1.1rem; color: var(--pg22-muted); margin: 0; }

/* ---------------- Steps / how to ---------------- */
.pg22-steps { counter-reset: step; display: grid; gap: 0.7rem; }
.pg22-step {
  position: relative; background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius-sm); padding: 0.8rem 0.9rem 0.8rem 3.2rem;
}
.pg22-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--pg22-primary); color: #11352a; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.pg22-step h4 { font-size: 1.2rem; margin: 0 0 0.2rem; color: #fff; }
.pg22-step p { margin: 0; font-size: 1.08rem; color: var(--pg22-muted); }

/* ---------------- Promo inline text link ---------------- */
.pg22-promo-link {
  color: var(--pg22-secondary); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--pg22-secondary);
}
.pg22-promo-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, var(--pg22-primary) 0%, #4fb99a 100%);
  color: #11352a; padding: 0.55rem 1.1rem; border-radius: 999px;
  font-weight: 700; font-size: 1.2rem; cursor: pointer; border: none;
}

/* ---------------- Table (RTP / data) ---------------- */
.pg22-table {
  width: 100%; border-collapse: collapse; background: var(--pg22-bg-2);
  border-radius: var(--pg22-radius-sm); overflow: hidden;
  font-size: 1.15rem;
}
.pg22-table th, .pg22-table td { padding: 0.7rem 0.8rem; text-align: left; border-bottom: 1px solid var(--pg22-border); }
.pg22-table th { background: rgba(102,205,170,0.12); color: var(--pg22-primary); font-weight: 700; }
.pg22-table tr:last-child td { border-bottom: none; }
.pg22-table td.pg22-num { color: var(--pg22-secondary); font-weight: 700; }

/* ---------------- Testimonials ---------------- */
.pg22-testimonials { display: grid; gap: 0.7rem; }
.pg22-testimonial {
  background: var(--pg22-bg-2); border-left: 3px solid var(--pg22-warm);
  border-radius: var(--pg22-radius-sm); padding: 0.8rem 0.9rem;
}
.pg22-testimonial p { margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--pg22-text); font-style: italic; }
.pg22-testimonial cite { font-size: 1.05rem; color: var(--pg22-accent); font-style: normal; }

/* ---------------- Winners ---------------- */
.pg22-winners { display: grid; gap: 0.5rem; }
.pg22-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: 8px; padding: 0.55rem 0.8rem; font-size: 1.1rem;
}
.pg22-winner .pg22-winner-name { color: var(--pg22-text); }
.pg22-winner .pg22-winner-amount { color: var(--pg22-primary); font-weight: 800; }

/* ---------------- Payment methods ---------------- */
.pg22-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.pg22-pay-item {
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: 10px; padding: 0.7rem 0.4rem; text-align: center;
  font-size: 1.05rem; color: var(--pg22-muted);
}
.pg22-pay-item .material-icons,
.pg22-pay-item i { font-size: 2rem; color: var(--pg22-accent); display: block; margin-bottom: 0.25rem; }

/* ---------------- FAQ ---------------- */
.pg22-faq-list { display: grid; gap: 0.5rem; }
.pg22-faq-item {
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius-sm); overflow: hidden;
}
.pg22-faq-q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  padding: 0.85rem 1rem; color: #fff; font-size: 1.2rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
}
.pg22-faq-q .pg22-faq-icon { color: var(--pg22-secondary); transition: transform 0.2s; }
.pg22-faq-item.pg22-faq-open .pg22-faq-icon { transform: rotate(45deg); }
.pg22-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 1rem; color: var(--pg22-muted); font-size: 1.1rem;
}
.pg22-faq-item.pg22-faq-open .pg22-faq-a { max-height: 320px; padding: 0 1rem 0.9rem; }

/* ---------------- Long-form SEO content ---------------- */
.pg22-prose { font-size: 1.2rem; color: var(--pg22-muted); }
.pg22-prose h2 { font-size: 1.5rem; color: #fff; margin-top: 1.2rem; }
.pg22-prose h3 { font-size: 1.3rem; color: var(--pg22-primary); margin-top: 1rem; }
.pg22-prose p { margin: 0 0 0.8rem; }
.pg22-prose ul { padding-left: 1.2rem; margin: 0 0 0.8rem; }
.pg22-prose li { margin-bottom: 0.4rem; }

/* ---------------- Footer ---------------- */
.pg22-footer {
  margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--pg22-border);
  background: #1c1c1c;
}
.pg22-footer-brand {
  font-size: 1.3rem; font-weight: 800; color: var(--pg22-primary); margin-bottom: 0.4rem;
}
.pg22-footer-desc { font-size: 1.1rem; color: var(--pg22-muted); margin-bottom: 1rem; }
.pg22-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.pg22-footer-promos .pg22-promo-btn { font-size: 1.1rem; padding: 0.45rem 0.9rem; }
.pg22-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 0.8rem; margin: 0.8rem 0;
}
.pg22-footer-links a { font-size: 1.1rem; color: var(--pg22-muted); }
.pg22-footer-links a:hover { color: var(--pg22-primary); }
.pg22-copyright {
  font-size: 1.05rem; color: #8a8a8a; padding: 0.8rem 0; text-align: center;
  border-top: 1px solid var(--pg22-border);
}

/* ---------------- Bottom nav ---------------- */
.pg22-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
  border-top: 1px solid var(--pg22-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.pg22-bottom-nav::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pg22-primary), transparent);
  opacity: 0.5;
}
.pg22-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--pg22-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 1rem; cursor: pointer; padding: 4px 2px;
  transition: color 0.15s, transform 0.15s;
}
.pg22-nav-btn:active { transform: scale(0.92); }
.pg22-nav-btn .material-icons-outlined,
.pg22-nav-btn i { font-size: 22px; }
.pg22-nav-btn .pg22-nav-label { font-size: 10px; line-height: 1; }
.pg22-nav-btn.pg22-nav-active { color: var(--pg22-primary); }
.pg22-nav-btn.pg22-nav-promo { color: var(--pg22-secondary); }
.pg22-nav-btn.pg22-nav-promo .pg22-nav-label { color: var(--pg22-secondary); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .pg22-bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* Desktop refinement */
@media (min-width: 431px) {
  body { background: #1a1a1a; }
  .pg22-container, .pg22-header-inner, .pg22-mobile-menu-inner, .pg22-footer { max-width: 430px; }
}

/* Utility spacing */
.pg22-mt-1 { margin-top: 0.5rem; }
.pg22-mt-2 { margin-top: 1rem; }
.pg22-mb-2 { margin-bottom: 1rem; }
.pg22-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

/* ============================================================
 * Part2 page components (game detail + feature pages)
 * ============================================================ */

/* Game hero card (game detail pages) */
.pg22-game-hero {
  background: linear-gradient(160deg, #1f1f1f 0%, #232028 60%, #1f1f1f 100%);
  border: 1px solid var(--pg22-border); border-radius: var(--pg22-radius);
  padding: 1.2rem 1rem; margin: 1rem 0; text-align: center;
  box-shadow: var(--pg22-shadow);
}
.pg22-game-hero-icon {
  width: 96px; height: 96px; margin: 0 auto 0.8rem; cursor: pointer;
  border-radius: 20px; overflow: hidden;
  border: 2px solid var(--pg22-warm);
  box-shadow: 0 0 18px rgba(240, 128, 128, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pg22-game-hero-icon:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 26px rgba(240, 128, 128, 0.6); }
.pg22-game-hero-icon img { width: 100%; height: 100%; object-fit: cover; }

/* Badges row */
.pg22-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.pg22-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(102, 205, 170, 0.14); color: var(--pg22-primary);
  border: 1px solid rgba(102, 205, 170, 0.35);
  padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 1.05rem; font-weight: 700;
}
.pg22-badge i { font-size: 1.1rem; }
.pg22-badge-warm { background: rgba(240, 128, 128, 0.16); color: var(--pg22-warm); border-color: rgba(240, 128, 128, 0.4); }
.pg22-badge-soft { background: rgba(255, 182, 193, 0.14); color: var(--pg22-secondary); border-color: rgba(255, 182, 193, 0.4); }
.pg22-badge-accent { background: rgba(201, 201, 255, 0.14); color: var(--pg22-accent); border-color: rgba(201, 201, 255, 0.4); }

/* Promo button color variants */
.pg22-promo-btn-soft { background: linear-gradient(135deg, var(--pg22-secondary) 0%, #f39aa8 100%); color: #3a1218; }
.pg22-promo-btn-warm { background: linear-gradient(135deg, var(--pg22-warm) 0%, #e06a6a 100%); color: #3a1212; }
.pg22-promo-btn-accent { background: linear-gradient(135deg, var(--pg22-accent) 0%, #a9a9f0 100%); color: #1c1c3a; }

/* Clickable banner (feature + game pages) */
.pg22-banner {
  position: relative; margin: 1rem 0; border-radius: var(--pg22-radius);
  overflow: hidden; cursor: pointer; box-shadow: var(--pg22-shadow);
  transition: transform 0.2s ease;
}
.pg22-banner:hover { transform: scale(1.01); }
.pg22-banner img { width: 100%; height: 190px; object-fit: cover; }

/* Split media layout (mahjong page) */
.pg22-split {
  display: flex; align-items: center; gap: 1rem;
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius); padding: 0.9rem; margin-bottom: 0.9rem;
}
.pg22-split-img { flex: 0 0 92px; cursor: pointer; }
.pg22-split-img img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 16px;
  border: 2px solid var(--pg22-accent); box-shadow: 0 0 14px rgba(201, 201, 255, 0.35);
}
.pg22-split-text p { margin: 0; font-size: 1.15rem; color: var(--pg22-muted); }

/* Icon tip list */
.pg22-tips-list { display: grid; gap: 0.6rem; }
.pg22-tip-item {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-left: 3px solid var(--pg22-accent);
  border-radius: var(--pg22-radius-sm); padding: 0.8rem 0.9rem;
}
.pg22-tip-item i { color: var(--pg22-accent); font-size: 1.7rem; margin-top: 0.1rem; }
.pg22-tip-item p { margin: 0; font-size: 1.12rem; color: var(--pg22-muted); }

/* Gem hero split (fortune gems page) */
.pg22-gem-hero { display: flex; gap: 1rem; align-items: center; margin: 0.8rem 0; }
.pg22-gem-icon {
  flex: 0 0 104px; width: 104px; height: 104px; cursor: pointer;
  border-radius: 22px; overflow: hidden;
  border: 2px solid var(--pg22-primary);
  box-shadow: 0 0 18px rgba(102, 205, 170, 0.45);
  transition: transform 0.2s ease;
}
.pg22-gem-icon:hover { transform: scale(1.04); }
.pg22-gem-icon img { width: 100%; height: 100%; object-fit: cover; }
.pg22-gem-intro .pg22-subtitle { margin-bottom: 0; }

/* Stat bar */
.pg22-statbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 0.8rem 0;
}
.pg22-stat {
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-top: 3px solid var(--pg22-primary);
  border-radius: var(--pg22-radius-sm); padding: 0.7rem 0.3rem; text-align: center;
}
.pg22-stat-val { display: block; font-size: 1.35rem; font-weight: 800; color: var(--pg22-primary); }
.pg22-stat-label { display: block; font-size: 0.95rem; color: var(--pg22-muted); margin-top: 0.2rem; }

/* Meter bars */
.pg22-meter-list { display: grid; gap: 0.6rem; margin-top: 0.9rem; }
.pg22-meter { display: flex; align-items: center; gap: 0.7rem; }
.pg22-meter-name { flex: 0 0 110px; font-size: 1.05rem; color: var(--pg22-muted); }
.pg22-meter-bar { flex: 1; height: 10px; border-radius: 6px; background: #161616; overflow: hidden; }
.pg22-meter-fill {
  display: block; height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--pg22-primary), var(--pg22-accent));
}

/* Screenshot gallery */
.pg22-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.pg22-gallery-item {
  position: relative; border-radius: var(--pg22-radius-sm); overflow: hidden;
  cursor: pointer; border: 1px solid var(--pg22-border);
  transition: transform 0.15s ease;
}
.pg22-gallery-item:hover { transform: translateY(-2px); }
.pg22-gallery-item img { width: 100%; height: 110px; object-fit: cover; }
.pg22-gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.5rem 0.6rem 0.4rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--pg22-secondary); font-size: 1rem; font-weight: 700;
}

/* Prize pool card (tournaments) */
.pg22-pool {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(135deg, #2b2417 0%, #1f1f1f 70%);
  border: 1px solid rgba(240, 128, 128, 0.4); border-radius: var(--pg22-radius);
  padding: 1.1rem 1rem; margin: 0.9rem 0;
}
.pg22-pool-label { color: var(--pg22-secondary); font-size: 1.1rem; font-weight: 700; }
.pg22-pool-amount {
  font-size: 2.6rem; font-weight: 800; color: var(--pg22-warm);
  text-shadow: 0 0 16px rgba(240, 128, 128, 0.5); margin: 0.3rem 0;
}
.pg22-pool-sub { color: var(--pg22-muted); font-size: 1.05rem; }

/* Schedule list */
.pg22-sched { display: grid; gap: 0.5rem; }
.pg22-sched-item {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius-sm); padding: 0.65rem 0.8rem;
}
.pg22-sched-day {
  flex: 0 0 44px; text-align: center; font-weight: 800; font-size: 1rem;
  color: #11352a; background: var(--pg22-primary); border-radius: 8px; padding: 0.4rem 0;
}
.pg22-sched-info { flex: 1; min-width: 0; }
.pg22-sched-info strong { display: block; font-size: 1.1rem; color: #fff; }
.pg22-sched-info small { display: block; font-size: 0.98rem; color: var(--pg22-muted); }
.pg22-sched-pool { color: var(--pg22-secondary); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }

/* Card color variants */
.pg22-card-gold { border-color: rgba(240, 128, 128, 0.5); }
.pg22-card-gold h3 { color: var(--pg22-warm); }
.pg22-card-warm { border-left: 3px solid var(--pg22-warm); }

/* Download card (app page) */
.pg22-dl-card {
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius); overflow: hidden; margin: 0.9rem 0;
  box-shadow: var(--pg22-shadow);
}
.pg22-dl-card > img { width: 100%; height: 160px; object-fit: cover; }
.pg22-dl-body { padding: 1rem; }

/* VIP tier list (casino page) */
.pg22-vip-list { display: grid; gap: 0.6rem; }
.pg22-vip-item {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--pg22-bg-2); border: 1px solid var(--pg22-border);
  border-radius: var(--pg22-radius-sm); padding: 0.75rem 0.9rem;
}
.pg22-vip-tier {
  flex: 0 0 74px; text-align: center; padding: 0.45rem 0; border-radius: 8px;
  font-weight: 800; font-size: 1rem; background: rgba(240, 128, 128, 0.2); color: var(--pg22-warm);
}
.pg22-vip-silver { background: rgba(201, 201, 255, 0.18); color: var(--pg22-accent); }
.pg22-vip-gold { background: rgba(255, 182, 193, 0.18); color: var(--pg22-secondary); }
.pg22-vip-diamond { background: rgba(102, 205, 170, 0.2); color: var(--pg22-primary); }
.pg22-vip-info strong { display: block; font-size: 1.12rem; color: #fff; }
.pg22-vip-info small { display: block; font-size: 0.98rem; color: var(--pg22-muted); }
