/* Global: cegah geser horizontal di mobile */
html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: var(--header-h, 70px) !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
svg,
table {
  max-width: 100%;
  height: auto;
}

/* Header tetap di atas saat scroll — desktop & mobile */
.header,
.bronze-7d23 {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

/* Sticky sub-nav — top mengikuti --header-h dari site.js */
.detail_638b,
.video-wood-919c {
  top: var(--header-h, 70px) !important;
  transition: top 0.2s ease;
}

/* Tombol CTA header — selalu kelihatan */
.nav-right,
.brown_0836,
.element-narrow-ef09 {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  body {
    padding-top: var(--header-h, 118px) !important;
  }

  .nav-right,
  .brown_0836,
  .element-narrow-ef09 {
    display: flex !important;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .nav-right .btn,
  .brown_0836 .sidebar-12ae,
  .element-narrow-ef09 .sidebar-12ae {
    flex: 1 1 0;
    min-width: 0;
    font-size: 13px;
    padding: 8px 10px;
    min-height: 40px;
  }

  .container,
  .text-32cc,
  .label-db06 {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  .nav,
  .blue_2ced {
    max-width: 100%;
    min-width: 0;
  }

  .section,
  .hero,
  .tag_orange_fb2d,
  .info-e85d,
  .idx-compat-section,
  .idx-pkg-section,
  .idx-secure-section {
    overflow-x: hidden;
    max-width: 100%;
  }
}

/* Guide track: scroll dalam area, bukan seluruh halaman */
.guide-track {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* ===================================================
   Index — Kompatibilitas & Perbandingan Paket (no cards)
   =================================================== */
.idx-compat-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(228, 243, 235, 0.55) 100%);
}

.idx-pkg-section {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(148, 204, 164, 0.35);
  border-bottom: 1px solid rgba(148, 204, 164, 0.35);
}

.idx-compat-lead,
.idx-compat-foot {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  text-align: center;
}

.idx-compat-foot {
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 15px;
}

.idx-compat-lead a,
.idx-compat-foot a,
.idx-pkg-notes a {
  color: var(--em-primary, #1565C0);
  font-weight: 700;
  text-decoration: underline;
}

.idx-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto 32px;
  border-radius: 12px;
  border: 1px solid rgba(144, 202, 249, 0.45);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.06);
  position: relative;
}

.idx-table-wrap.is-scrollable::after {
  content: '← geser →';
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--em-primary, #1565C0);
  opacity: 0.65;
  pointer-events: none;
}

.idx-seo-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.idx-seo-table thead {
  background: linear-gradient(90deg, #0A2744, #1565C0);
  color: #fff;
}

.idx-seo-table th,
.idx-seo-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 204, 164, 0.35);
}

.idx-seo-table thead th {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border-bottom: 2px solid var(--em-gold-mid, #FF8F00);
}

.idx-seo-table tbody tr:nth-child(even) {
  background: rgba(214, 240, 222, 0.28);
}

.idx-seo-table tbody tr:hover {
  background: rgba(183, 240, 204, 0.35);
}

.idx-seo-table tbody th[scope="row"] {
  font-weight: 700;
  color: #1A3D36;
  background: rgba(228, 243, 235, 0.5);
  white-space: nowrap;
}

.idx-compare-table thead th:first-child,
.idx-compare-table tbody th[scope="row"],
.idx-compare-table tfoot th {
  width: 22%;
  min-width: 120px;
}

.idx-compare-table td {
  text-align: center;
  font-size: 14px;
  color: #333;
}

.idx-compare-table td strong {
  color: var(--em-primary, #1565C0);
  font-size: 16px;
}

.idx-compare-cta-row td,
.idx-compare-cta-row th {
  background: rgba(228, 243, 235, 0.65);
  border-bottom: none;
  padding: 18px 12px;
  vertical-align: middle;
}

.idx-compare-cta-row .btn {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  min-height: 42px;
}

.idx-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.idx-status--ok {
  background: rgba(21, 101, 192, 0.12);
  color: var(--em-primary, #1565C0);
  border: 1px solid rgba(21, 101, 192, 0.28);
}

.idx-status--warn {
  background: rgba(201, 162, 39, 0.15);
  color: #8B6914;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.idx-compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(148, 204, 164, 0.4);
}

.idx-compat-block {
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(148, 204, 164, 0.35);
}

.idx-compat-block:first-child {
  border-right: 1px solid rgba(148, 204, 164, 0.35);
}

.idx-compat-h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--em-primary, #1565C0);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--em-primary-light, #29B6F6);
}

.idx-compat-list,
.idx-pkg-steps {
  margin: 0;
  padding-left: 20px;
  color: #555;
  line-height: 1.75;
  font-size: 14px;
}

.idx-compat-list li + li,
.idx-pkg-steps li + li {
  margin-top: 8px;
}

.idx-pkg-notes {
  max-width: 760px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px dashed rgba(148, 204, 164, 0.55);
}

.idx-pkg-steps {
  list-style: decimal;
  padding-left: 22px;
}

@media (max-width: 768px) {
  .idx-compat-grid {
    grid-template-columns: 1fr;
  }

  .idx-compat-block:first-child {
    border-right: none;
  }

  .idx-seo-table th,
  .idx-seo-table td {
    padding: 11px 12px;
    font-size: 13px;
  }

  .idx-compat-lead,
  .idx-compat-foot {
    font-size: 15px;
    text-align: left;
    padding: 0 4px;
  }

  .idx-compat-h3 {
    font-size: 16px;
  }

  .idx-compare-cta-row .btn {
    max-width: 100%;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .idx-seo-table {
    min-width: 520px;
  }
}

/* Index — review disclaimer & version heading */
.review-disclaimer {
  max-width: 760px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px dashed rgba(21, 101, 192, 0.2);
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  text-align: center;
}

.review-disclaimer a {
  color: var(--em-primary, #1565C0);
  font-weight: 700;
  text-decoration: underline;
}

.version-features-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #2A1810;
}

/* Index — Keamanan & verifikasi (no cards) */
.idx-secure-section {
  background: linear-gradient(165deg, rgba(13, 27, 42, 0.04) 0%, rgba(227, 242, 253, 0.65) 48%, rgba(255, 255, 255, 0.5) 100%);
  border-top: 1px solid rgba(21, 101, 192, 0.12);
}

.idx-secure-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(21, 101, 192, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}

.idx-secure-main {
  padding: 32px 36px;
  border-right: 1px solid rgba(21, 101, 192, 0.12);
}

.idx-secure-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 28px;
}

.idx-secure-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.idx-secure-checklist li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(21, 101, 192, 0.1);
}

.idx-secure-checklist li:first-child {
  border-top: none;
  padding-top: 0;
}

.idx-secure-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1565C0, #0D47A1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.idx-secure-checklist strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1A2E28;
  margin-bottom: 4px;
}

.idx-secure-checklist p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}

.idx-secure-aside {
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.92) 0%, rgba(21, 101, 192, 0.88) 100%);
  color: #fff;
}

.idx-secure-aside-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #FFB300;
}

.idx-secure-warn-list {
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}

.idx-secure-warn-list li + li {
  margin-top: 10px;
}

.idx-secure-aside-foot {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.idx-secure-link {
  display: inline-block;
  color: #FFB300;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 179, 0, 0.45);
  transition: color 0.2s, border-color 0.2s;
}

.idx-secure-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.idx-secure-band {
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 20px 28px;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.08), rgba(255, 143, 0, 0.1));
  border-left: 4px solid var(--em-gold-mid, #FF8F00);
  border-radius: 0 10px 10px 0;
}

.idx-secure-band p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.idx-secure-band a {
  color: var(--em-primary, #1565C0);
  font-weight: 700;
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .idx-secure-split {
    grid-template-columns: 1fr;
  }

  .idx-secure-main {
    border-right: none;
    border-bottom: 1px solid rgba(21, 101, 192, 0.12);
    padding: 24px 20px;
  }

  .idx-secure-aside {
    padding: 24px 20px;
  }

  .idx-secure-band {
    margin-top: 24px;
    padding: 16px 18px;
  }

  .idx-secure-band p {
    font-size: 14px;
  }
}

/* aplikasi.html — Tips pilih game */
.app-tips-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.app-tips-lead {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.65;
  color: #2A4A3E;
}

.app-tips-lead a {
  color: var(--em-primary, #1565C0);
  font-weight: 700;
  text-decoration: underline;
}

.app-tips-foot {
  max-width: 760px;
  margin: -16px auto 28px;
  font-size: 13px;
  color: #5A7A6A;
  font-style: italic;
}

.app-tips-list {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: #2A4A3E;
}

.app-tips-list li + li {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .app-tips-lead,
  .app-tips-list {
    font-size: 15px;
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
  }

  .app-tips-list {
    padding-left: 20px;
  }
}

/* aplikasi.html — Tabel kategori katalog */
.app-cat-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.app-cat-lead,
.app-cat-foot {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #2A4A3E;
}

.app-cat-foot {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 14px;
  color: #5A7A6A;
}

.app-cat-lead a,
.app-cat-foot a {
  color: var(--em-primary, #1565C0);
  font-weight: 700;
  text-decoration: underline;
}

.app-cat-table tbody th[scope="row"] {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .app-cat-lead,
  .app-cat-foot {
    font-size: 15px;
  }
}
