/* ===========================
   Credits Page Styles
=========================== */

.credits-page {
  background: #fff;
  color: #383a38;
  font-family: "Segoe UI", ui-sans-serif, system-ui, Arial, Roboto, sans-serif;
}

/* Header */
.credits-header {
  background: #383a38;
  color: #fff6e2;
  padding: 36px 20px;
  text-align: center;
  position: relative;
}
.credits-header h1 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.25;
}
.credits-header .back-button {
  position: absolute;
  left: 16px;
  top: 16px;
  color: #fff6e2;
  text-decoration: none;
  border: 1px solid #fff6e2;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background-color 0.2s ease;
}
.credits-header .back-button:hover {
  background: rgba(255, 215, 0, 0.1);
}

/* Main container */
.credits-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

/* Courtesy note */
.credits-note {
  background: #fff6ef;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.credits-small {
  font-size: 0.95rem;
  color: #5a5a5a;
  margin: 0;
}

/* Sections */
.credits-section {
  margin: 26px 0;
}
.credits-section h2 {
  font-size: 1.5rem;
  margin: 10px 0 8px;
  color: #222;
}
.credits-section h3 {
  font-size: 1.15rem;
  margin: 18px 0 6px;
  color: #2a2a2a;
}

/* List layout: multi-column on wide screens */
.credits-list {
  list-style: disc outside;
  padding-left: 1.2rem;
  margin: 0;
  columns: 1;
  column-gap: 28px;
}
.credits-list li {
  break-inside: avoid;
  margin: 5px 0;
  line-height: 1.5;
  color: #222;
}

/* Footer line */
.footer-line {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 30px;
}

.smallprint {
  width: 100%;
  margin: 0 auto;
  margin-top: 16px;
  text-align: center;
  align-self: center; /* safe for flex parents */
  font-size: 0.8rem; /* smaller text */
  color: #888;
}

/* Responsive */
@media (min-width: 900px) {
  .credits-list {
    columns: 2;
  }
}
