/* ========================================================================
   Credits — header button + modal
   ======================================================================== */

.credits-button {
  --neon-color: #b888ff;
  gap: 6px;
  padding: 8px 12px;
}
.credits-button:hover {
  border-color: var(--neon-color);
  color: #fff;
}
.credits-button .credits-icon {
  font-size: 16px;
  line-height: 1;
  color: var(--neon-color);
  text-shadow: 0 0 4px var(--neon-color);
}

.credits-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.credits-modal.hidden { display: none; }

.credits-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.credits-modal-content {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  background: #0c0c10;
  border: 1px solid rgba(184, 136, 255, 0.35);
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(184, 136, 255, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.credits-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #1f1f22;
}
.credits-modal-title {
  margin: 0;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 5px rgba(184, 136, 255, 0.6);
}
.credits-modal-close {
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.credits-modal-close:hover { border-color: #d14545; color: #d14545; }

.credits-body {
  overflow-y: auto;
  padding: 20px 26px 26px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.55;
}

.credits-section {
  margin-bottom: 22px;
}
.credits-section:last-child { margin-bottom: 0; }

/* Disclaimer da Digital Extremes — destacado no topo do modal */
.credits-disclaimer {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: linear-gradient(
    135deg,
    rgba(184, 136, 255, 0.10) 0%,
    rgba(240, 201, 122, 0.07) 100%
  );
  border: 1px solid rgba(240, 201, 122, 0.45);
  border-left: 3px solid #f0c97a;
  border-radius: 6px;
  box-shadow:
    0 0 12px rgba(240, 201, 122, 0.15),
    inset 0 0 20px rgba(184, 136, 255, 0.05);
}
.credits-disclaimer-label {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f0c97a;
  text-shadow: 0 0 5px rgba(240, 201, 122, 0.6);
  margin-bottom: 6px;
}
.credits-disclaimer p {
  margin: 0;
  color: #e0e0e0;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
}
.credits-disclaimer-link {
  margin-top: 8px !important;
  font-style: normal !important;
  font-size: 12.5px !important;
  text-align: right;
}
.credits-disclaimer-link a {
  color: #f0c97a;
  border-bottom-color: rgba(240, 201, 122, 0.5);
  letter-spacing: 0.5px;
}
.credits-disclaimer-link a:hover {
  color: #ffdb9a;
  border-bottom-color: #ffdb9a;
  text-shadow: 0 0 5px rgba(255, 219, 154, 0.55);
}

.credits-section-label {
  margin: 0 0 6px;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f0c97a;
  text-shadow: 0 0 4px rgba(240, 201, 122, 0.45);
}

.credits-section p { margin: 0; }

.credits-subref {
  margin-top: 4px !important;
  padding-left: 12px;
  font-size: 12.5px;
  color: #888;
}

.credits-name {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow:
    0 0 4px rgba(184, 136, 255, 0.5),
    0 0 12px rgba(184, 136, 255, 0.25);
  letter-spacing: 0.5px;
}

.credits-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.credits-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(184, 136, 255, 0.08);
}
.credits-list li:last-child { border-bottom: none; }

.credits-body a {
  color: #b888ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(184, 136, 255, 0.5);
  transition: color 0.12s, border-color 0.12s, text-shadow 0.12s;
}
.credits-body a:hover {
  color: #d4b2ff;
  border-bottom-color: #d4b2ff;
  text-shadow: 0 0 4px rgba(212, 178, 255, 0.55);
}

@media (max-width: 600px) {
  .credits-button .credits-text { display: none; }
  .credits-modal-content { max-height: 95vh; }
  .credits-name { font-size: 16px; }
}

