/* ===========================================================
   PT Gaming APK - basefiles stylesheet
   Prefix: pg30-
   Palette: #FF9800 (orange) | #DAA520 (gold) | #BF360C (deep red) | #212F3D (dark teal)
   Mobile-first: 320 - 430px canvas only.
   =========================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #f3f5f7;
  background: #0d1722;
  background-image: radial-gradient(1200px 600px at 50% -10%, #1d3146 0%, #0d1722 55%, #0a1119 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout containers ---------- */
.pg30-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 12px;
}
.pg30-main { padding-bottom: 92px; } /* clearance for fixed bottom nav */
section.pg30-section { padding: 22px 0 8px; }

/* ---------- Top header ---------- */
.pg30-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(33,47,61,0.96) 0%, rgba(19,30,42,0.96) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(218,165,32,0.25);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.pg30-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 56px;
}
.pg30-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.pg30-brand img.pg30-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #0d1722;
  box-shadow: 0 0 0 1px rgba(218,165,32,0.35);
  object-fit: cover;
}
.pg30-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.pg30-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg30-brand-tag {
  font-size: 10.5px;
  color: #DAA520;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.pg30-head-actions { display: flex; align-items: center; gap: 7px; }
.pg30-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 9px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  user-select: none;
}
.pg30-btn:active { transform: scale(0.96); }
.pg30-btn-login {
  background: transparent;
  color: #FF9800;
  border: 1px solid rgba(255,152,0,0.55);
}
.pg30-btn-login:hover { background: rgba(255,152,0,0.12); }
.pg30-btn-register {
  background: linear-gradient(135deg, #FF9800 0%, #BF360C 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(191,54,12,0.35);
}
.pg30-btn-register:hover { box-shadow: 0 6px 18px rgba(191,54,12,0.5); }
.pg30-menu-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(218,165,32,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(218,165,32,0.08);
}
.pg30-menu-btn span {
  display: block;
  width: 16px; height: 2px;
  background: #DAA520;
  position: relative;
}
.pg30-menu-btn span::before,
.pg30-menu-btn span::after {
  content: ""; position: absolute; left: 0;
  width: 16px; height: 2px; background: #DAA520;
}
.pg30-menu-btn span::before { top: -5px; }
.pg30-menu-btn span::after { top: 5px; }

/* ---------- Slide menu ---------- */
.pg30-menu {
  position: fixed;
  top: 0; right: -86%;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  z-index: 80;
  background: linear-gradient(180deg, #18283a 0%, #0e1925 100%);
  box-shadow: -8px 0 30px rgba(0,0,0,0.5);
  transform: translateX(0);
  transition: right 0.28s ease;
  overflow-y: auto;
  padding: 18px 16px 30px;
}
.pg30-menu.open { right: 0; }
.pg30-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(5,10,16,0.55);
  z-index: 70;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.pg30-menu-overlay.open { opacity: 1; pointer-events: auto; }
.pg30-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.pg30-menu-head img.pg30-logo { width: 34px; height: 34px; border-radius: 8px; }
.pg30-menu-title { font-size: 16px; font-weight: 800; color: #fff; }
.pg30-menu-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,152,0,0.15);
  color: #FF9800;
  font-size: 18px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.pg30-menu-cta {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.pg30-menu-cta .pg30-btn { flex: 1; padding: 11px 0; }
.pg30-menu-section-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #DAA520; margin: 14px 4px 8px;
}
.pg30-menu-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px;
  border-radius: 9px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #e6ecf2;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(218,165,32,0.12);
  transition: background 0.15s ease;
}
.pg30-menu-list li a:hover { background: rgba(255,152,0,0.12); color: #fff; }
.pg30-menu-list li a::after {
  content: "›"; color: #DAA520; font-size: 18px; font-weight: 700;
}

/* ---------- Hero / banner ---------- */
.pg30-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 14px 0 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  border: 1px solid rgba(218,165,32,0.25);
}
.pg30-hero img.pg30-hero-bg {
  width: 100%; height: 200px; object-fit: cover; display: block;
  filter: brightness(0.78) saturate(1.05);
}
.pg30-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,23,34,0.25) 0%, rgba(13,23,34,0.88) 78%, #0d1722 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.pg30-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  background: rgba(191,54,12,0.85);
  color: #fff;
  font-size: 10.5px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.pg30-hero-title {
  font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.pg30-hero-title em { color: #FF9800; font-style: normal; }
.pg30-hero-sub {
  font-size: 13px; color: #d6e0ea; margin-top: 5px;
}
.pg30-hero-actions { display: flex; gap: 8px; margin-top: 12px; }
.pg30-hero-actions .pg30-btn { flex: 1; padding: 11px 0; }

/* ---------- Carousel strip ---------- */
.pg30-strip {
  display: flex; gap: 8px;
  overflow-x: auto;
  margin: 10px -12px 4px;
  padding: 4px 12px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.pg30-strip::-webkit-scrollbar { display: none; }
.pg30-strip-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 96px;
  border: 1px solid rgba(218,165,32,0.2);
}
.pg30-strip-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.pg30-strip-card .pg30-strip-cap {
  position: absolute; left: 10px; bottom: 8px; right: 10px;
  font-size: 13px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ---------- Section heading ---------- */
.pg30-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0 10px;
}
.pg30-sec-title {
  font-size: 17px; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.pg30-sec-title::before {
  content: ""; display: inline-block;
  width: 4px; height: 17px; border-radius: 2px;
  background: linear-gradient(180deg, #FF9800, #BF360C);
}
.pg30-sec-link {
  font-size: 12px; color: #DAA520; font-weight: 600;
}
.pg30-sec-link:hover { color: #FF9800; }

/* ---------- Quick category chips ---------- */
.pg30-chips {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  margin: 0 -12px;
  padding-left: 12px; padding-right: 12px;
}
.pg30-chips::-webkit-scrollbar { display: none; }
.pg30-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(218,165,32,0.08);
  border: 1px solid rgba(218,165,32,0.3);
  color: #e6ecf2;
  font-size: 12.5px; font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.pg30-chip.active,
.pg30-chip:hover {
  background: linear-gradient(135deg, #FF9800, #BF360C);
  color: #fff; border-color: transparent;
}

/* ---------- Game grid ---------- */
.pg30-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) { .pg30-grid { gap: 9px; } }
@media (min-width: 410px) { .pg30-grid { grid-template-columns: repeat(5, 1fr); } }

.pg30-card {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  background: #15263a;
  border: 1px solid rgba(218,165,32,0.18);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}
.pg30-card:active { transform: scale(0.97); }
.pg30-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0e1c2c;
  overflow: hidden;
}
.pg30-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.pg30-card:hover .pg30-card-img img { transform: scale(1.06); }
.pg30-card-tag {
  position: absolute; top: 5px; left: 5px;
  font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 5px;
  background: rgba(191,54,12,0.92);
  color: #fff;
  letter-spacing: 0.4px;
}
.pg30-card-tag.hot { background: rgba(255,152,0,0.92); color: #212F3D; }
.pg30-card-tag.new { background: rgba(34,180,90,0.92); }
.pg30-card-name {
  padding: 5px 6px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #e6ecf2;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #15263a, #10202f);
}
.pg30-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,23,34,0.55);
  opacity: 0; transition: opacity 0.18s ease;
}
.pg30-card:hover .pg30-card-play { opacity: 1; }
.pg30-card-play span {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #FF9800, #BF360C);
  color: #fff; font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

/* ---------- Promo banner block ---------- */
.pg30-promo {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  margin: 14px 0 4px;
  border: 1px solid rgba(218,165,32,0.3);
  position: relative;
  background: linear-gradient(135deg, #BF360C 0%, #212F3D 70%);
  padding: 16px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.pg30-promo h3 { font-size: 16px; font-weight: 800; color: #FF9800; margin-bottom: 4px; }
.pg30-promo p { font-size: 12.5px; color: #f3d9b8; }
.pg30-promo .pg30-btn { margin-top: 10px; }

/* ---------- Feature list ---------- */
.pg30-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.pg30-feature {
  background: rgba(33,47,61,0.55);
  border: 1px solid rgba(218,165,32,0.18);
  border-radius: 12px;
  padding: 13px;
}
.pg30-feature-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,152,0,0.25), rgba(191,54,12,0.25));
  color: #FF9800;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  margin-bottom: 7px;
}
.pg30-feature h4 { font-size: 13.5px; color: #fff; font-weight: 700; margin-bottom: 3px; }
.pg30-feature p { font-size: 11.5px; color: #b8c4d0; line-height: 1.5; }

/* ---------- SEO content blocks ---------- */
.pg30-content {
  background: rgba(33,47,61,0.4);
  border: 1px solid rgba(218,165,32,0.15);
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
}
.pg30-content h2 {
  font-size: 18px; font-weight: 800; color: #fff;
  margin: 14px 0 8px;
}
.pg30-content h2:first-child { margin-top: 0; }
.pg30-content h3 { font-size: 14.5px; font-weight: 700; color: #FF9800; margin: 12px 0 5px; }
.pg30-content p { font-size: 13px; color: #cfd9e3; margin-bottom: 8px; }
.pg30-content ul { padding-left: 18px; margin: 6px 0 10px; list-style: disc; }
.pg30-content ul li { font-size: 12.5px; color: #c2cdda; margin-bottom: 4px; }
.pg30-content a { color: #DAA520; text-decoration: underline; }
.pg30-content a:hover { color: #FF9800; }

/* ---------- Steps ---------- */
.pg30-steps { counter-reset: step; margin-top: 6px; }
.pg30-step {
  position: relative;
  padding: 10px 10px 10px 44px;
  margin-bottom: 8px;
  background: rgba(13,23,34,0.55);
  border: 1px solid rgba(218,165,32,0.15);
  border-radius: 10px;
}
.pg30-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #FF9800, #BF360C);
  color: #fff; font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.pg30-step h4 { font-size: 13px; color: #fff; font-weight: 700; }
.pg30-step p { font-size: 11.5px; color: #b8c4d0; margin-top: 2px; }

/* ---------- FAQ ---------- */
.pg30-faq { margin-top: 6px; }
.pg30-faq-item {
  border: 1px solid rgba(218,165,32,0.18);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  background: rgba(33,47,61,0.5);
}
.pg30-faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px; font-weight: 700; color: #fff;
}
.pg30-faq-q .pg30-faq-icon {
  flex: 0 0 auto;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,152,0,0.2); color: #FF9800;
  font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.pg30-faq-item.open .pg30-faq-icon { transform: rotate(45deg); }
.pg30-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
}
.pg30-faq-item.open .pg30-faq-a { max-height: 360px; padding: 0 14px 12px; }
.pg30-faq-a p { font-size: 12.5px; color: #cfd9e3; }

/* ---------- Footer ---------- */
.pg30-footer {
  background: linear-gradient(180deg, #0f1c2a 0%, #0a131d 100%);
  border-top: 1px solid rgba(218,165,32,0.25);
  padding: 22px 0 18px;
  margin-top: 22px;
}
.pg30-footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.pg30-footer-brand img.pg30-logo { width: 34px; height: 34px; border-radius: 8px; }
.pg30-footer-brand-name { font-size: 14px; font-weight: 800; color: #fff; }
.pg30-footer-brand-tag { font-size: 11px; color: #DAA520; }
.pg30-footer-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 14px;
}
.pg30-footer-col h5 {
  font-size: 12px; color: #DAA520; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  margin-bottom: 7px;
}
.pg30-footer-col a {
  display: block;
  font-size: 12px; color: #b8c4d0;
  padding: 3px 0;
}
.pg30-footer-col a:hover { color: #FF9800; }
.pg30-footer-pay {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 10px 0;
}
.pg30-footer-pay span {
  font-size: 10.5px; font-weight: 700;
  padding: 4px 9px; border-radius: 5px;
  background: rgba(218,165,32,0.1);
  border: 1px solid rgba(218,165,32,0.25);
  color: #e6ecf2;
}
.pg30-footer-disc {
  font-size: 11px; color: #7d8b99; line-height: 1.6;
  border-top: 1px solid rgba(218,165,32,0.12);
  padding-top: 12px; margin-top: 8px;
}
.pg30-footer-copy {
  font-size: 11px; color: #6a7886; text-align: center;
  margin-top: 8px;
}

/* ---------- Mobile bottom nav ---------- */
.pg30-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20,33,46,0.98) 0%, rgba(10,17,25,0.98) 100%);
  border-top: 1px solid rgba(218,165,32,0.3);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px 8px;
}
.pg30-bottomnav a.pg30-navbtn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 5px 2px;
  font-size: 10px;
  font-weight: 600;
  color: #8c9aa8;
  border-radius: 8px;
  transition: color 0.15s ease;
}
.pg30-navbtn svg { width: 22px; height: 22px; }
.pg30-navbtn.active { color: #FF9800; }
.pg30-navbtn.promo {
  color: #DAA520;
}
.pg30-navbtn.promo .pg30-nav-icon-wrap {
  background: linear-gradient(135deg, #FF9800, #BF360C);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: -16px;
  box-shadow: 0 4px 10px rgba(191,54,12,0.45);
  border: 2px solid #0d1722;
}
.pg30-navbtn.promo .pg30-nav-icon-wrap svg { width: 20px; height: 20px; color: #fff; }
.pg30-navbtn.promo span { color: #DAA520; font-weight: 700; }

/* ---------- Utilities ---------- */
.pg30-hide { display: none !important; }
.pg30-text-center { text-align: center; }
.pg30-mt-8 { margin-top: 8px; }
.pg30-mt-12 { margin-top: 12px; }

/* Accessible focus states and content helpers. */
.pg30-btn:focus-visible, .pg30-menu-list a:focus-visible, .pg30-card:focus-visible, .pg30-bottomnav a:focus-visible, .pg30-faq-q:focus-visible, .pg30-strip-card:focus-visible { outline: 3px solid #FF9800; outline-offset: 2px; }
.pg30-card-promo { cursor: pointer; }
.pg30-note { border-left: 3px solid #DAA520; padding: 10px 12px; background: rgba(218,165,32,0.08); color: #dbe5ee; font-size: 12.5px; }
.pg30-compare { display: grid; gap: 8px; }
.pg30-compare-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 9px 10px; border-bottom: 1px solid rgba(218,165,32,0.13); font-size: 12px; color: #cfd9e3; }
.pg30-compare-row strong { color: #FF9800; }
.pg30-callout { background: linear-gradient(135deg, rgba(191,54,12,0.34), rgba(33,47,61,0.65)); border: 1px solid rgba(255,152,0,0.32); border-radius: 10px; padding: 13px; margin: 10px 0; }
.pg30-callout p { margin: 0; }
/* Larger screens: keep mobile canvas, just center */
@media (min-width: 481px) {
  body { background-attachment: fixed; }
}
