/* ===========================================================
   ok panalo apk - style-c109.css
   All custom classes use the dynamic prefix "pgc1-".
   Palette: bg #2D2D2D / surface #1f1f1f / text #FAFAFA / gold #D4AF37
   Mobile-first (max-width 430px), rem units (root 62.5%).
   =========================================================== */

:root {
  --pgc1-bg: #2d2d2d;
  --pgc1-bg-2: #1f1f1f;
  --pgc1-bg-3: #3a3a3a;
  --pgc1-text: #fafafa;
  --pgc1-muted: #b8b3a8;
  --pgc1-gold: #d4af37;
  --pgc1-gold-dark: #a98527;
  --pgc1-border: rgba(212, 175, 55, 0.25);
  --pgc1-radius: 14px;
  --pgc1-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --pgc1-max: 430px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--pgc1-bg);
  color: var(--pgc1-text);
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--pgc1-gold);
  text-decoration: none;
}

.pgc1-wrap {
  max-width: var(--pgc1-max);
  margin: 0 auto;
  position: relative;
}

/* ---------- Header ---------- */
.pgc1-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #202020 0%, #2d2d2d 100%);
  border-bottom: 1px solid var(--pgc1-border);
  box-shadow: var(--pgc1-shadow);
}
.pgc1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
}
.pgc1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pgc1-text);
  min-width: 0;
}
.pgc1-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}
.pgc1-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pgc1-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pgc1-brand-name span {
  color: var(--pgc1-text);
  font-weight: 600;
  font-size: 1.3rem;
}
.pgc1-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.pgc1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  text-align: center;
  line-height: 1.1;
}
.pgc1-btn:active {
  transform: scale(0.96);
}
.pgc1-btn-gold {
  background: linear-gradient(135deg, var(--pgc1-gold), var(--pgc1-gold-dark));
  color: #2d2d2d;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}
.pgc1-btn-outline {
  background: transparent;
  color: var(--pgc1-gold);
  border: 1.5px solid var(--pgc1-gold);
}
.pgc1-btn-block {
  width: 100%;
}
.pgc1-btn-lg {
  min-height: 50px;
  font-size: 1.6rem;
}

/* ---------- Menu toggle ---------- */
.pgc1-menu-toggle {
  background: transparent;
  border: none;
  color: var(--pgc1-text);
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pgc1-menu-toggle:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* ---------- Mobile menu drawer ---------- */
.pgc1-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--pgc1-bg-2);
  border-left: 1px solid var(--pgc1-border);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 80px 18px 30px;
  overflow-y: auto;
  box-shadow: var(--pgc1-shadow);
}
.pgc1-mobile-menu.pgc1-is-open {
  transform: translateX(0);
}
.pgc1-mobile-menu a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 6px;
  color: var(--pgc1-text);
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.pgc1-mobile-menu a:hover,
.pgc1-mobile-menu a:focus {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--pgc1-border);
}
.pgc1-mobile-menu a i {
  color: var(--pgc1-gold);
  margin-right: 10px;
}
.pgc1-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  display: none;
}
.pgc1-menu-open .pgc1-menu-overlay {
  display: block;
}

/* ---------- Main / sections ---------- */
main {
  padding: 18px 14px 100px;
}
.pgc1-section {
  margin: 22px 0;
}
.pgc1-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pgc1-section-title i {
  color: var(--pgc1-gold);
}
.pgc1-section-sub {
  color: var(--pgc1-muted);
  font-size: 1.35rem;
  margin: -6px 0 14px;
}

/* ---------- Hero ---------- */
.pgc1-hero {
  position: relative;
  border-radius: var(--pgc1-radius);
  overflow: hidden;
  background: radial-gradient(
      120% 100% at 0% 0%,
      rgba(212, 175, 55, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, #1a1a1a, #333 70%);
  border: 1px solid var(--pgc1-border);
  padding: 22px 18px;
  box-shadow: var(--pgc1-shadow);
}
.pgc1-hero-eyebrow {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d2d2d;
  background: var(--pgc1-gold);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.pgc1-hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--pgc1-text);
}
.pgc1-hero h1 em {
  color: var(--pgc1-gold);
  font-style: normal;
}
.pgc1-hero p {
  color: var(--pgc1-muted);
  margin: 0 0 16px;
  font-size: 1.4rem;
}
.pgc1-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pgc1-hero-stats {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.pgc1-hero-stat {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--pgc1-border);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}
.pgc1-hero-stat b {
  display: block;
  color: var(--pgc1-gold);
  font-size: 1.7rem;
}
.pgc1-hero-stat small {
  color: var(--pgc1-muted);
  font-size: 1.1rem;
}

/* ---------- Promo carousel ---------- */
.pgc1-carousel {
  display: grid;
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}
.pgc1-carousel::-webkit-scrollbar {
  display: none;
}
.pgc1-slide {
  min-height: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pgc1-border);
  position: relative;
  box-shadow: var(--pgc1-shadow);
}
.pgc1-slide img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.pgc1-slide span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--pgc1-gold);
  border: 1px solid var(--pgc1-border);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 1.15rem;
  font-weight: 800;
}

/* ---------- Promo strip ---------- */
.pgc1-promo-strip {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), transparent);
  border: 1px solid var(--pgc1-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
}
.pgc1-promo-strip strong {
  color: var(--pgc1-gold);
  font-size: 1.5rem;
}

/* ---------- Category tabs ---------- */
.pgc1-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.pgc1-cat-tabs::-webkit-scrollbar {
  display: none;
}
.pgc1-cat-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pgc1-bg-3);
  color: var(--pgc1-text);
  font-size: 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.pgc1-cat-tab i {
  margin-right: 4px;
}
.pgc1-cat-tab.pgc1-active {
  background: linear-gradient(135deg, var(--pgc1-gold), var(--pgc1-gold-dark));
  color: #2d2d2d;
}

/* ---------- Game grid ---------- */
.pgc1-game-panel {
  display: none;
}
.pgc1-game-panel.pgc1-show {
  display: block;
}
.pgc1-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pgc1-card {
  background: var(--pgc1-bg-2);
  border: 1px solid var(--pgc1-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s;
}
.pgc1-card:active {
  transform: scale(0.97);
}
.pgc1-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #111;
}
.pgc1-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pgc1-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--pgc1-gold);
  color: #2d2d2d;
  font-size: 1rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}
.pgc1-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s;
}
.pgc1-card:hover .pgc1-card-play {
  opacity: 1;
}
.pgc1-card-play span {
  background: var(--pgc1-gold);
  color: #2d2d2d;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.2rem;
}
.pgc1-card-name {
  padding: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--pgc1-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / feature cards ---------- */
.pgc1-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pgc1-feature {
  background: var(--pgc1-bg-2);
  border: 1px solid var(--pgc1-border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.pgc1-feature i {
  font-size: 2.4rem;
  color: var(--pgc1-gold);
  margin-bottom: 8px;
}
.pgc1-feature b {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.pgc1-feature p {
  margin: 0;
  color: var(--pgc1-muted);
  font-size: 1.2rem;
}

/* ---------- Steps ---------- */
.pgc1-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.pgc1-steps li {
  position: relative;
  padding: 12px 12px 12px 46px;
  margin-bottom: 8px;
  background: var(--pgc1-bg-2);
  border: 1px solid var(--pgc1-border);
  border-radius: 10px;
  counter-increment: step;
}
.pgc1-steps li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--pgc1-gold);
  color: #2d2d2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}
.pgc1-steps b {
  display: block;
  font-size: 1.4rem;
}
.pgc1-steps span {
  color: var(--pgc1-muted);
  font-size: 1.25rem;
}

/* ---------- FAQ ---------- */
.pgc1-faq details {
  background: var(--pgc1-bg-2);
  border: 1px solid var(--pgc1-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.pgc1-faq summary {
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 20px;
}
.pgc1-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--pgc1-gold);
  font-size: 1.8rem;
}
.pgc1-faq details[open] summary::after {
  content: "−";
}
.pgc1-faq p {
  margin: 8px 0 0;
  color: var(--pgc1-muted);
  font-size: 1.3rem;
}

/* ---------- Internal links list ---------- */
.pgc1-link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pgc1-link-list a {
  background: var(--pgc1-bg-2);
  border: 1px solid var(--pgc1-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pgc1-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pgc1-link-list a i {
  color: var(--pgc1-gold);
}

/* ---------- CTA banner ---------- */
.pgc1-cta {
  background: linear-gradient(135deg, var(--pgc1-gold), var(--pgc1-gold-dark));
  color: #2d2d2d;
  border-radius: var(--pgc1-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--pgc1-shadow);
}
.pgc1-cta h2 {
  margin: 0 0 6px;
  font-size: 2rem;
}
.pgc1-cta p {
  margin: 0 0 14px;
  font-size: 1.35rem;
}
.pgc1-cta .pgc1-btn {
  background: #2d2d2d;
  color: var(--pgc1-gold);
}

/* ---------- Footer ---------- */
.pgc1-footer {
  background: var(--pgc1-bg-2);
  border-top: 1px solid var(--pgc1-border);
  padding: 24px 16px 30px;
  margin-top: 30px;
}
.pgc1-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pgc1-footer h4 {
  color: var(--pgc1-gold);
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.pgc1-footer a {
  display: block;
  color: var(--pgc1-muted);
  padding: 4px 0;
  font-size: 1.25rem;
}
.pgc1-footer a:hover {
  color: var(--pgc1-gold);
}
.pgc1-footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pgc1-border);
  text-align: center;
  color: var(--pgc1-muted);
  font-size: 1.15rem;
}

/* ---------- Back to top ---------- */
.pgc1-to-top {
  position: fixed;
  right: 14px;
  bottom: 80px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pgc1-gold);
  color: #2d2d2d;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--pgc1-shadow);
  display: none;
}

/* ---------- Mobile bottom nav ---------- */
.pgc1-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #202020, #161616);
  border-top: 1px solid var(--pgc1-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 0 4px;
}
.pgc1-bottom-nav button,
.pgc1-bottom-nav a {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pgc1-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.pgc1-bottom-nav i {
  font-size: 22px;
}
.pgc1-bottom-nav .pgc1-nav-current,
.pgc1-bottom-nav button:hover,
.pgc1-bottom-nav a:hover {
  color: var(--pgc1-gold);
}
.pgc1-bottom-nav .pgc1-nav-promo {
  color: var(--pgc1-gold);
}
.pgc1-bottom-nav .pgc1-nav-promo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--pgc1-gold);
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body {
    background: #181818;
  }
  .pgc1-wrap {
    max-width: 960px;
  }
  .pgc1-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .pgc1-features {
    grid-template-columns: repeat(4, 1fr);
  }
  .pgc1-footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
  main {
    padding-bottom: 30px;
  }
  .pgc1-bottom-nav {
    display: none;
  }
  .pgc1-to-top {
    bottom: 24px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
