.footer-wrapper {
  background-color: #111111;
  padding: 60px 80px 0 80px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}

/* LEFT: Legalitas */
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table tr {
  vertical-align: top;
}

.legal-table td {
  padding: 0;
  font-size: 13px;
  color: #fff;
  line-height: 1.7;
}

.legal-table .label-cell {
  width: 260px;
  padding-right: 8px;
  white-space: nowrap;
  padding-bottom: 16px;
}

.legal-table .value-cell {
  color: #fff;
  padding-bottom: 4px;
}

.legal-table .value-cell .val-line {
  display: block;
  line-height: 1.7;
}

/* RIGHT: Peringatan Risiko */
.risk-section .section-title {
  margin-bottom: 20px;
}

.risk-text {
  font-size: 13px !important;
  color: #fff;
  line-height: 1.85;
}

/* Copyright bar */
.copyright-bar {
  padding: 20px 0;
  font-size: 12px;
  color: #888888;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .footer-wrapper {
    padding: 32px 20px 0 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  /* Legalitas section bottom border on mobile */
  .legalitas-section {
    padding-bottom: 32px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 32px;
  }

  /* On mobile: stack label above values */
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table .label-cell {
    width: 100%;
    white-space: normal;
    padding-right: 0;
    padding-bottom: 4px;
    font-size: 13px;
    color: #fff;
  }

  .legal-table .value-cell {
    padding-bottom: 16px;
    padding-left: 4px;
  }

  .legal-table .value-cell .val-line {
    font-size: 13px;
  }

  /* Peringatan Risiko bottom border */
  .risk-section {
    padding-bottom: 32px;
    border-bottom: 1px solid #2a2a2a;
  }

  .copyright-bar {
    padding: 20px 0;
    font-size: 12px;
  }
}
