.credits-hero {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 16vw, 180px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}

.credits-hero::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%,   rgba(240,168,192,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%,  rgba(168,212,160,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%,  rgba(245,232,168,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.credits-hero::after {
  content: '';
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240,168,192,0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: heroBreath 8s ease-in-out infinite;
}

@keyframes heroBreath {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1);   }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

.credits-hero-eyebrow {
  font-family: "Cinzel", serif;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 6px;
  color: rgba(245,232,168,0.75);
  margin-bottom: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
}

.credits-hero-title {
  font-family: "Cinzel Decorative", cursive;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  background: linear-gradient(135deg,
    var(--pink)       0%,
    var(--gold-light) 40%,
    rgba(245,232,168,0.9) 55%,
    var(--gold-light) 70%,
    var(--green)      100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: clamp(3px, 0.6vw, 8px);
  line-height: 1.1;
  margin-bottom: clamp(16px, 2.5vw, 24px);
  animation: titleShimmer 6s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0%   50%; }
  50%       { background-position: 100% 50%; }
}

.credits-hero-sub {
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 1.9vw, 22px);
  font-style: italic;
  color: rgba(248,243,238,0.85);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.85;
}

.credits-hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.credits-hero-deco-line {
  width: clamp(40px, 10vw, 100px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,232,168,0.3));
}

.credits-hero-deco-line:last-child {
  transform: scaleX(-1);
}

.credits-hero-deco-diamond {
  width: 7px;
  height: 7px;
  background: rgba(245,232,168,0.45);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(245,232,168,0.3), 0 0 18px rgba(245,232,168,0.12);
  animation: diamondPulse 3s ease-in-out infinite;
}

@keyframes diamondPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(245,232,168,0.3), 0 0 18px rgba(245,232,168,0.12); }
  50%       { box-shadow: 0 0 14px rgba(245,232,168,0.6), 0 0 32px rgba(245,232,168,0.22); }
}

.credits-main {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 120px);
}

.credits-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
}

.credits-section {
  margin-bottom: clamp(48px, 7vw, 88px);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.credits-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.credits-section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.credits-section-title {
  font-family: "Cinzel Decorative", cursive;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--pink);
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(240,168,192,0.35);
}

.credits-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(240,168,192,0.3), transparent);
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(10px, 1.8vw, 16px);
}

.credit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: clamp(18px, 2.5vw, 26px) clamp(20px, 2.8vw, 28px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.018);
  backdrop-filter: blur(4px);
  transition:
    border-color 0.35s,
    background   0.35s,
    transform    0.35s var(--ease),
    box-shadow   0.35s;
  overflow: hidden;
}

.credit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,232,168,0.0), rgba(245,232,168,0.0), transparent);
  transition: background 0.4s;
}

.credit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--pink), var(--gold), transparent);
  transition: height 0.4s var(--ease);
}

.credit-card:hover {
  border-color: var(--border-h);
  background: rgba(255,255,255,0.042);
  transform: translateX(5px);
  box-shadow:
    0  4px 24px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(245,232,168,0.04);
}

.credit-card:hover::before {
  background: linear-gradient(to right, transparent, rgba(245,232,168,0.35), rgba(240,168,192,0.2), transparent);
}

.credit-card:hover::after {
  height: 100%;
}

.credit-card:hover .credit-role {
  color: rgba(245,232,168,0.7);
}

.credit-role {
  font-family: "Cinzel", serif;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 3px;
  color: rgba(245,232,168,0.55);
  text-transform: uppercase;
  transition: color 0.3s;
}

.credit-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
}

.credit-name a {
  color: var(--pink-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,168,192,0.18);
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

.credit-name a:hover {
  color: var(--pink);
  border-color: var(--pink);
  text-shadow: 0 0 12px rgba(240,168,192,0.35);
}

.credit-note {
  font-family: "Playfair Display", serif;
  font-size: clamp(14px, 1.5vw, 17px);
  font-style: italic;
  color: rgba(248,243,238,0.7);
  margin-top: 3px;
  line-height: 1.6;
}

.credits-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: clamp(32px, 5vw, 60px) 0;
  opacity: 0.35;
}

.credits-divider-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, rgba(245,232,168,0.45), transparent);
}

.credits-divider-mark {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(245,232,168,0.65);
}

.credits-note-block {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.5vw, 36px) clamp(28px, 4vw, 44px);
  border: 1px solid rgba(168,212,160,0.14);
  background: rgba(168,212,160,0.025);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.credits-note-block::before,
.credits-note-block::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(168,212,160,0.3);
  border-style: solid;
}

.credits-note-block::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.credits-note-block::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 1px 1px 0;
}

.credits-note-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.credits-note-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 1.9vw, 21px);
  font-style: italic;
  color: rgba(248,243,238,0.85);
  line-height: 1.95;
  text-align: center;
}

.credits-note-text strong {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(168,212,160,0.25);
}