/* Film bitiş ekranı */
.credits-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  z-index: 10001;
  overflow: hidden;
  animation: fadeInCredits 2s ease-in-out;
}

.credits-content {
  position: absolute;
  width: 100%;
  bottom: -100vh;
  text-align: center;
  color: #ffffff;
  font-family: "Georgia", "Times New Roman", serif;
  animation: creditsScroll 30s linear infinite;
  padding: 50px 20px;
}

.credits-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 80px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  background: linear-gradient(45deg, #ff6b6b, #ffc3a0, #ffafbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.credits-section {
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeInCredit 2s ease-in-out forwards;
}

.credits-section:nth-child(2) {
  animation-delay: 2s;
}
.credits-section:nth-child(3) {
  animation-delay: 4s;
}
.credits-section:nth-child(4) {
  animation-delay: 6s;
}
.credits-section:nth-child(5) {
  animation-delay: 8s;
}
.credits-section:nth-child(6) {
  animation-delay: 10s;
}
.credits-section:nth-child(7) {
  animation-delay: 12s;
}
.credits-section:nth-child(8) {
  animation-delay: 14s;
}

.credits-role {
  font-size: 24px;
  font-weight: 300;
  color: #cccccc;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.credits-name {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}

.credits-final {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  animation: fadeInCredit 3s ease-in-out 16s forwards;
}

.credits-heart {
  font-size: 40px;
  animation: heartBeat 2s ease-in-out infinite;
}

.credits-end {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
  letter-spacing: 5px;
}

/* Animasyonlar */
@keyframes fadeInCredits {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes creditsScroll {
  0% {
    transform: translateY(100vh);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes fadeInCredit {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .credits-title {
    font-size: 36px;
    margin-bottom: 60px;
  }

  .credits-role {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .credits-name {
    font-size: 26px;
    letter-spacing: 1px;
  }

  .credits-end {
    font-size: 32px;
    letter-spacing: 3px;
  }

  .credits-heart {
    font-size: 32px;
  }

  .credits-final {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .credits-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .credits-role {
    font-size: 16px;
  }

  .credits-name {
    font-size: 22px;
  }

  .credits-end {
    font-size: 28px;
  }

  .credits-section {
    margin-bottom: 40px;
  }
}
