/* rules page extras — paytable, symbol legend, back-to-game cta */
.rules-body .sym-legend {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
  display:grid;
  gap: 6px;
}
.rules-body .sym-legend li {
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(122,78,255,0.5);
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.rules-body .sym-legend strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .02em;
}

.pt-wrap {
  margin: 14px 0 24px;
}
.pt-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.pt-table th,
.pt-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pt-table th {
  background: rgba(122,78,255,0.12);
  color: #ffffff;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pt-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 500;
}
.pt-table td {
  color: rgba(255,255,255,0.78);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
}
.pt-table tbody tr:last-child td { border-bottom: 0; }
.pt-table tbody tr:hover { background: rgba(122,78,255,0.06); }

.pt-glyph {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 16px;
  flex-shrink: 0;
}
.pt-glyph--crystal { background: linear-gradient(180deg, #1a1041, #0a0620); color:#cdb8ff; border: 1px solid rgba(205,184,255,0.3); }
.pt-glyph--comet   { background: linear-gradient(180deg, #0a1a3a, #050314); color:#93c5fd; border: 1px solid rgba(147,197,253,0.3); }
.pt-glyph--nebula  { background: linear-gradient(180deg, #1d1147, #0c0726); color:#7a4eff; border: 1px solid rgba(122,78,255,0.5); }
.pt-glyph--captain { background: linear-gradient(180deg, #2a1f0a, #120a02); color:#ffd166; border: 1px solid rgba(255,209,102,0.45); }
.pt-glyph--wild    { background: linear-gradient(180deg, #3a0a18, #14040a); color:#ff4d6d; border: 1px solid rgba(255,77,109,0.55); }

.pt-note {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: rgba(255,209,102,0.06);
  border-left: 2px solid rgba(255,209,102,0.5);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  border-radius: 0 3px 3px 0;
}

.rules-cta-foot {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
}
.rules-cta-foot__btn {
  display:inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #ffffff;
  color: #07051a;
  border-radius: 100px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: all .25s ease 0s;
}
.rules-cta-foot__btn:hover { background: #7a4eff; color: #ffffff; }

@media(max-width: 600px) {
  .pt-table th, .pt-table td { padding: 10px 8px; font-size: 12px; }
  .pt-table td:first-child { gap: 6px; }
  .pt-glyph { width: 24px; height: 24px; font-size: 13px; }
}
