/* ==========================================================================
   Qoruvexa Casino & Bistro – Regulamin (terms-and-conditions)
   Page-owned styles only. Scoped to .terms-page and its components.
   ========================================================================== */

.terms-page {
  width: 100%;
  background-color: var(--bg-obsidian);
}

/* ---------- Shared section rhythm ---------- */
.terms-section {
  padding-block: var(--space-9);
}

.terms-section--general,
.terms-section--casino,
.terms-section--liability {
  background-color: var(--bg-obsidian);
}

.terms-section--website,
.terms-section--bistro,
.terms-section--final {
  background-color: var(--bg-obsidian);
}

.terms-section__title {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  position: relative;
}

.terms-section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-brass);
  margin-top: var(--space-3);
}

.terms-subtitle {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--accent-brass);
  font-size: 20px;
  line-height: 1.3;
}

.terms-text {
  margin-bottom: var(--space-4);
  color: var(--text-crisp-white);
}

.terms-text--measure {
  max-width: 720px;
}

.terms-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: var(--space-5);
}

.terms-list--measure {
  max-width: 720px;
}

.terms-list__item {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-3);
  color: var(--text-crisp-white);
  line-height: 1.6;
}

.terms-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: var(--accent-brass);
  border-radius: 50%;
}

/* ---------- Hero ---------- */
.terms-hero {
  padding-block: var(--space-10) var(--space-8);
  background-color: var(--bg-obsidian);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.terms-hero__content {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.terms-hero__title {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.15;
  color: var(--text-crisp-white);
}

.terms-hero__date {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.terms-hero__lead {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-crisp-white);
}

/* ---------- Cards ---------- */
.terms-card,
.terms-column {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: var(--space-6);
  background-color: var(--bg-burgundy);
  border: 1px solid var(--accent-brass);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card), var(--shadow-inner);
}

.terms-column {
  max-width: 720px;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding-inline: var(--gutter-desktop);
}

.terms-card--definitions,
.terms-card--casino,
.terms-card--liability {
  max-width: 800px;
}

.terms-definition-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: var(--space-5);
  max-width: 720px;
}

.terms-definition-list__item {
  margin-bottom: var(--space-3);
  color: var(--text-crisp-white);
  line-height: 1.6;
}

.terms-definition-list__item strong {
  color: var(--accent-brass);
  font-weight: 700;
}

/* ---------- Felt callout ---------- */
.terms-callout--felt {
  margin-block: var(--space-5);
  padding: var(--space-5);
  background-color: rgba(27, 94, 32, 0.18);
  border-left: 4px solid var(--accent-felt);
  border-radius: var(--radius-small);
}

.terms-callout__title {
  margin-bottom: var(--space-3);
  color: var(--text-crisp-white);
  font-size: 22px;
  line-height: 1.25;
}

.terms-callout__text {
  margin-bottom: 0;
  color: var(--text-crisp-white);
  font-weight: 500;
}

/* ---------- Contact list ---------- */
.terms-list--contact .terms-list__item {
  padding-left: var(--space-5);
}

.terms-list--contact a {
  color: var(--accent-brass);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.terms-list--contact a:hover {
  color: var(--text-crisp-white);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .terms-card,
  .terms-card--definitions,
  .terms-card--casino,
  .terms-card--liability {
    max-width: 100%;
    margin-inline: var(--gutter-desktop);
    padding: var(--space-5);
  }

  .terms-column {
    max-width: 100%;
    padding-inline: var(--gutter-desktop);
  }

  .terms-hero__content {
    padding-inline: var(--gutter-desktop);
  }
}

@media (max-width: 768px) {
  .terms-section {
    padding-block: var(--space-7);
  }

  .terms-hero {
    padding-block: var(--space-8) var(--space-7);
  }

  .terms-hero__title {
    font-size: 36px;
  }

  .terms-hero__lead {
    font-size: 17px;
  }

  .terms-card,
  .terms-card--definitions,
  .terms-card--casino,
  .terms-card--liability {
    margin-inline: var(--gutter-mobile);
    padding: var(--space-4);
  }

  .terms-column {
    padding-inline: var(--gutter-mobile);
  }

  .terms-hero__content {
    padding-inline: var(--gutter-mobile);
  }

  .terms-callout--felt {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .terms-section {
    padding-block: var(--space-6);
  }

  .terms-hero {
    padding-block: var(--space-7) var(--space-6);
  }

  .terms-hero__title {
    font-size: 32px;
  }

  .terms-hero__lead {
    font-size: 16px;
  }

  .terms-card,
  .terms-card--definitions,
  .terms-card--casino,
  .terms-card--liability {
    margin-inline: var(--space-4);
    padding: var(--space-4);
  }

  .terms-column {
    padding-inline: var(--space-4);
  }

  .terms-hero__content {
    padding-inline: var(--space-4);
  }

  .terms-subtitle {
    font-size: 18px;
  }
}
