/*
============================================
=               Credits Page               =
============================================
*/
main {
  background-color: var(--togichu-black);
  min-height: 100vh;
}

.credits-container {
  background-color: var(--togichu-black);
  padding: 2rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.credits-hero {
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 4rem;
}

.credits-title {
  font-family: var(--font-grotesk);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--togichu-magenta);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.credits-subtitle {
  font-family: var(--font-inter);
  font-size: 1.25rem;
  color: #32b8c6;
  margin: 0;
  font-weight: 300;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.credit-card {
  background-color: #262828;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(0.625rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.credit-card-link {
  display: flex;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.credit-card:hover {
  border-color: var(--togichu-magenta);
}

.credit-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--togichu-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.credit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.credit-card:hover .credit-image {
  transform: scale(1.05);
}

.credit-info h3 {
  font-family: var(--font-grotesk);
  font-size: 1.5rem;
  font-weight: 600;
  color: #32b8c6;
  margin: 0 0 4px 0;
}

.credit-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--togichu-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px 0;
}

.credit-bio {
  font-family: var(--font-inter);
  font-size: 0.95rem;
  color: var(--togichu-peach);
  line-height: 1.6;
  margin-bottom: 20px;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--togichu-pink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

.credit-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.credit-card:hover .credit-link {
  gap: 12px;
  color: #32b8c6;
}

.credit-card:hover .credit-link span {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .credits-title {
    font-size: 2.5rem;
  }

  .credits-grid {
    grid-template-columns: 1fr;
  }

  .credits-container {
    padding: 2rem 1rem;
  }
}
