/* ============================================
   Chatki Bet — Legal Pages Styles
   ============================================ */

.main-content {
  padding-top: calc(var(--header-height) + var(--nav-height));
}

.legal-layout {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.legal-layout h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--color-muted);
  font-size: 13px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.legal-layout h2 {
  font-size: 1.25rem;
  margin-top: 2em;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5em;
}

.legal-layout h3 {
  font-size: 1.1rem;
  margin-top: 1.5em;
}

.legal-layout ul,
.legal-layout ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.legal-layout ul { list-style: disc; }
.legal-layout ol { list-style: decimal; }

.legal-layout li {
  margin-bottom: 0.5em;
  font-size: 14px;
}

.legal-layout p {
  font-size: 14px;
  line-height: 1.7;
}

.legal-layout a {
  color: var(--color-primary);
}

/* Reviews Page */
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.review-card .review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-card .reviewer-name {
  font-weight: 600;
  color: var(--color-text);
}
.review-card .review-date {
  font-size: 12px;
  color: var(--color-muted);
}
.review-stars {
  color: var(--color-primary);
  font-size: 16px;
  margin-bottom: 8px;
}

/* Responsible Gaming Highlights */
.rg-highlight {
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}
.rg-highlight h3 {
  color: var(--color-accent);
  margin-top: 0;
}

@media (max-width: 600px) {
  .legal-layout { padding: 16px 12px 32px; }
  .review-card { padding: 16px; }
}

/* Note Box */
.note-box {
  background: rgba(245, 179, 1, 0.06);
  border: 1px solid rgba(245, 179, 1, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
}
.note-box strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 6px;
}
.note-box ol,
.note-box ul {
  padding-left: 1.5em;
  margin-top: 8px;
  margin-bottom: 0;
}
.note-box li {
  margin-bottom: 0.5em;
}

/* Age Badge Large */
.age-badge-lg {
  width: 48px;
  height: 48px;
  font-size: 16px;
  font-weight: 800;
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Section styling for RG page */
.legal-layout section {
  margin-bottom: 1.5rem;
}
.legal-layout section h3 {
  color: var(--color-primary);
  font-size: 1.05rem;
}

/* Ensure links inside rg-highlight are visible */
.rg-highlight a {
  color: var(--color-primary);
  text-decoration: underline;
}
.rg-highlight a:hover {
  color: #ffd24d;
}
