/* ======================================================
   GHOST GAMING — LEGAL PAGES STYLESHEET
====================================================== */

.legal-page {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 100px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,207,0,0.12);
}

.legal-title {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: normal;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Intro block */
.legal-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 24px 28px;
  border-left: 3px solid var(--yellow);
  background: rgba(255,207,0,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 48px;
}

/* Sections */
.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.legal-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-section a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.legal-section a:hover {
  color: var(--yellow-light);
}

/* Contact block */
.legal-contact {
  margin-top: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-contact p {
  margin-bottom: 0 !important;
  font-size: 0.9rem;
}

/* Responsible Gaming orgs */
.rg-orgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.rg-org {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.rg-org:hover {
  border-color: rgba(255,207,0,0.25);
  background: var(--bg-card-hover);
}

.rg-org strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.rg-org span {
  font-size: 0.82rem;
}

.rg-org a {
  color: var(--yellow);
  text-decoration: none;
  transition: var(--transition);
}
.rg-org a:hover {
  color: var(--yellow-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Divider between sections */
.legal-section + .legal-section {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .rg-orgs { grid-template-columns: 1fr; }
  .legal-intro { padding: 18px 20px; }
}
