@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600&display=swap");

:root {
  --primary-clr: rgba(228, 228, 229, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  background: url(https://github.com/ecemgo/mini-samples-great-tricks/assets/13468728/8727c9b1-be21-4932-a221-4257b59a74dd);
  background-repeat: no-repeat;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: slidein 120s forwards infinite alternate;
}

@keyframes slidein {

  0%,
  100% {
    background-position: 20% 0%;
    background-size: 3400px;
  }

  50% {
    background-position: 100% 0%;
    background-size: 2400px;
  }
}

.album-cover {
  width: 90%;
}

.swiper {
  width: 100%;
  padding: 40px 0 100px;
}

.swiper-slide {
  position: relative;
  max-width: 200px;
  aspect-ratio: 1/1;
  border-radius: 10px;
}

.swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  -webkit-box-reflect: below -5px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
  user-select: none;
}

.swiper-slide-active .overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 22, 37, 0.6);
  border-radius: inherit;
  opacity: 0;
  transition: all 0.4s linear;
}

.swiper-slide:hover .overlay {
  opacity: 1;
}

.swiper-slide .overlay ion-icon {
  opacity: 0;
}

.swiper-slide-active:hover .overlay ion-icon {
  font-size: 4rem;
  color: #eb0b0b;
  opacity: 1;
  cursor: pointer;
}

/* Music Player */

.music-player {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--primary-clr);
  width: 380px;
  padding: 10px 30px;
  border-radius: 20px;
}

.music-player h1 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
}

.music-player p {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
}

/* Music Player Progress */

#progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(163, 162, 164, 0.4);
  border-radius: 4px;
  margin: 32px 0 24px;
  cursor: pointer;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(163, 162, 164, 0.9);
  width: 16px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  outline: 4px solid var(--primary-clr);
  box-shadow: 0 6px 10px rgba(5, 36, 28, 0.3);
}

/* Music Player Controls */

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  aspect-ratio: 1/1;
  margin: 20px;
  background: rgba(163, 162, 164, 0.3);
  color: var(--primary-clr);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline: 0;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(5, 36, 28, 0.3);
  cursor: pointer;
  transition: all 0.3s linear;
}

.controls button:is(:hover, :focus-visible) {
  transform: scale(0.96);
}

.controls button:nth-child(2) {
  transform: scale(1.3);
}

.controls button:nth-child(2):is(:hover, :focus-visible) {
  transform: scale(1.25);
}



.gif-intro {
  position: absolute;
  top: 35%;
  width: 13vh;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}


.no-scroll {
  overflow: hidden;
  /* Kaydırmayı devre dışı bırakır */
  height: 100%;
  /* Yüksekliği sabitler */
}

.intro {
  overflow: hidden;
  /* Kaydırmayı devre dışı bırak */
  z-index: 99;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  font-family: 'Arial', sans-serif;
  font-size: 4rem;
  font-weight: bold;
  animation: glitchEffect 4s ease-in-out forwards;
}

@keyframes glitchEffect {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    text-shadow: 2px 2px rgb(179, 17, 127), -2px -2px blue;
  }

  25% {
    transform: scale(1.05) rotate(1deg);
    text-shadow: 3px 3px blue, -3px -3px rgb(179, 17, 127);
  }

  50% {
    opacity: 0.9;
    transform: scale(1) rotate(-1deg);
    text-shadow: 2px 2px rgb(179, 17, 127), -4px -4px blue;
  }

  75% {
    transform: scale(1.1) rotate(2deg);
    text-shadow: 3px 3px blue, -3px -3px rgb(179, 17, 127);
  }

  100% {
    opacity: 0;
    transform: scale(1) rotate(0deg);
    text-shadow: 3px 3px rgb(0, 0, 0), -3px -3px rgb(179, 17, 127);

    text-shadow: none;
  }
}


@keyframes glitchEffect2 {
  0% {
    text-shadow: 2px 2px rgb(179, 17, 127), -2px -2px blue;
  }

  25% {
    text-shadow: 3px 3px blue, -3px -3px rgb(179, 17, 127);
  }

  50% {
    text-shadow: 2px 2px rgb(179, 17, 127), -3px -2px blue;
  }

  75% {
    text-shadow: 3px 3px blue, -3px -3px rgb(179, 17, 127);
  }

  100% {
    text-shadow: 2px 2px rgb(179, 17, 127), -2px -3px blue;
  }
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  bottom: 30%;
  height: 30%;
  position: relative;
  opacity: 0;
  /* Başlangıçta görünmez */
}

.gif-logo {
  width: 100px;
  height: auto;
  animation: glitchEffect2 6s infinite forwards;

}

.logo-text {
  font-family: 'Arial', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: glitchEffect2 6s infinite forwards;
}

/* Pop-up başlangıçta gizli */
.popup-overlay {

  font-family: Arial, Helvetica, sans-serif;
  display: none;
  position: absolute;
  top: 60%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #222;
  text-decoration: none;
  color: white;
  font-size: 28px;
  transition: transform 0.3s, background-color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons a.youtube:hover {
  background-color: #FF0000;
}

.social-icons a.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons a.spotify:hover {
  background-color: #1DB954;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .social-icons {
    gap: 15px;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Pop-up içeriği */
.popup-content {
  background: #2c2c2c;
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Kapatma butonu */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
  color: white;
}

/* İndirme butonu */
.download-btn {
  font-family: Arial, Helvetica, sans-serif;
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(45deg, #560062, #000000);
  color: rgb(255, 255, 255);
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.download-btn:hover {
  background: linear-gradient(45deg, #000000, #000000);
}

/* Animasyon */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}



.links {
  font-family: 'Arial', sans-serif;

  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 65px;
}

.link {
  text-decoration: none;
  font-size: 1.2rem;
  color: #ffffff;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  font-family: 'Arial', sans-serif;

}

.link:hover {
  color: rgb(179, 17, 127);
  border-bottom: 2px solid #ffffff;
}

@media (max-width: 1900px) {
  .gif-intro {
    width: 15vh;
    top: 32%;
  }
}


/* Mobil uyum */
@media (max-width: 768px) {
  .intro {
    font-size: 3rem;
  }

  .gif-intro {
    width: 100px;
    top: 36.5%;
  }

  .gif-logo {
    width: 100px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .link {
    font-size: 0.9rem;
  }
}

.text-gradient {
  font-size: 1.2rem;
  /* Yazı boyutu */
  font-weight: bold;
  /* Kalın yazı */
  font-family: 'Arial', sans-serif;
  /* Yazı tipi */
  background: linear-gradient(90deg, #f7e2c8, #ffd700, #fff8dc, #f4e842);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  animation: shine 3s linear infinite;
}

/* Parlama animasyonu */
@keyframes shine {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 200%;
  }
}



.left {
  position: relative;
  max-width: 50%;
  text-align: left;
  left: 11%;
  float: left;
  justify-content: center;
}

.bundle {

  font-size: 4em;
  color: #e12e7e;
  font-family: 'Courier New', Courier, monospace;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.quote {

  font-size: 2.5em;
  color: #f9d4d1;
  margin-top: 20px;
  font-style: italic;
}

.kuromi-icon {
  width: 400px;
  position: absolute;
  left: 175px;
  float: left;
  top: 135%;
  font-family: 'Arial', sans-serif;

}