/* ============================================================
   TABLES — data, feature, VS comparison
   ============================================================ */

/* --- Data table (main rankings) --- */

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-100);
}

.data-table thead th {
  background: var(--navy);
  color: var(--gold-light);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background var(--transition);
}

.data-table tbody tr:nth-child(even) { background: var(--grey-50); }
.data-table tbody tr:hover { background: rgba(212,168,67,0.05); }

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--grey-100);
  color: var(--grey-800);
  line-height: 1.5;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.rank-cell {
  font-weight: 800;
  color: var(--gold-dark);
  text-align: center;
  width: 1%;
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 0.9375rem;
}

.casino-name {
  font-weight: 700;
  color: var(--navy);
}

.cta-cell { text-align: center; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-md);
}

.table-wrap table { margin: 0; }

/* --- Feature table --- */

.feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-100);
}

.feature-table thead th {
  background: var(--navy-light);
  color: var(--grey-200);
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-table thead th:first-child {
  text-align: left;
  padding-left: 16px;
}

.feature-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--grey-100);
}

.feature-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  padding-left: 16px;
}

.feature-table tbody tr:nth-child(even) { background: var(--grey-50); }
.feature-table tbody tr:last-child td { border-bottom: none; }

.icon-yes { color: var(--green); font-size: 1.125rem; font-weight: 700; }
.icon-no { color: var(--grey-200); font-size: 1rem; }

/* --- VS comparison table --- */

.vs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  font-size: 0.8125rem;
}

.vs-table thead th {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vs-table thead th:first-child {
  background: var(--grey-800);
  color: var(--white);
  text-align: left;
}

.vs-table thead th:nth-child(2) {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  text-align: center;
}

.vs-table thead th:nth-child(3) {
  background: var(--navy);
  color: var(--grey-200);
  text-align: center;
}

.vs-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--grey-100);
}

.vs-table td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.vs-table td:nth-child(2), .vs-table td:nth-child(3) {
  text-align: center;
  color: var(--grey-600);
}

.vs-table tbody tr:nth-child(even) { background: var(--grey-50); }
.vs-table tbody tr:last-child td { border-bottom: none; }

.stars {
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.stars-value {
  color: var(--navy);
  font-weight: 800;
  margin-left: 6px;
  font-size: 0.8125rem;
}
