/* ============================================================
   ANASAYFA.CSS - Anasayfa Bölümü Stilleri
   ------------------------------------------------------------
   Bu dosya, anasayfadaki şu bileşenleri içerir:
   - Sosyal medya ikonları (share-icons)
   - Yıldız animasyonu (star-img)
   - Takip Et yazısı (follow-text)
   
   NOT: body, ul, a gibi global reset'ler tailwind.css'te.
   ============================================================ */

/* ============================================================
   1. SOSYAL MEDYA İKONLARI - KAPALI BUTON
   ============================================================ */
.share-icons {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  padding: 0;
  height: 40px;
  margin-top: -20px;
  border: 3px double rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 215, 0, 0.1);
  cursor: pointer;
  border-radius: 13px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================================
   2. SOSYAL MEDYA İKONLARI - AÇIK BUTON (HOVER)
   ============================================================ */
.share-icons:hover,
.share-icons:focus-within {
  width: auto;
  padding: 0 0.25rem;
  border: 1px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 215, 0, 0.2);
}

/* ============================================================
   3. ARKA PLAN BLOKLARI (SİYAH GRADYAN)
   ============================================================ */
.share-icons__block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  transition: transform 0.3s, filter 0.2s;
  transition-timing-function: ease-in-out;
}

.share-icons__block-left,
.share-icons__block-right {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000000 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: 0.6s;
  border-radius: 13px;
}

.share-icons__block-left {
  clip-path: inset(0 50% 0 0);
}

.share-icons__block-right {
  clip-path: inset(0 0 0 50%);
}

/* ============================================================
   4. İKON ÖĞELERİ - BAŞLANGIÇTA GİZLİ
   ============================================================ */
.share-icons__item {
  padding: 0.65rem 0.75rem;
  z-index: 2;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  pointer-events: none;
}

/* ============================================================
   5. İKON ÖĞELERİ - HOVER'DA GÖRÜNÜR
   ============================================================ */
.share-icons:hover .share-icons__item,
.share-icons:focus-within .share-icons__item {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1.1);
  pointer-events: auto;
}

/* ============================================================
   6. İKON VE LİNK STİLİ
   ============================================================ */
.share-icons__item a {
  color: #f0f0f0;
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s;
}

.share-icons__item a:hover {
  color: #FFD700;
}

/* ============================================================
   7. HOVER EFEKTLERİ
   ============================================================ */
.share-icons:hover .share-icons__block,
.share-icons:focus-within .share-icons__block {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

.share-icons:hover .share-icons__block-left,
.share-icons:focus-within .share-icons__block-left {
  transform: translateX(-50%) scale(1.2);
}

.share-icons:hover .share-icons__block-right,
.share-icons:focus-within .share-icons__block-right {
  transform: translateX(50%) scale(1.2);
}

/* ============================================================
   8. TAKİP ET YAZISI
   ============================================================ */
.follow-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffffd3;
  font-weight: 900;
  font-size: 18px;
  gap: 8px;
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
}

/* ============================================================
   9. YILDIZ GÖRSELİ
   ============================================================ */
.star-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0;
  filter: drop-shadow(0 0 6px rgba(250, 200, 21, 0.8));
  animation: starBlink 2s infinite ease-in-out;
}

/* İkinci yıldızın animasyonu gecikmeli */
.star-img:nth-of-type(2) {
  animation-delay: 0.7s;
}

/* ============================================================
   10. RESPONSIVE
   ============================================================ */

/* Çok küçük ekranlar (480px altı) */
@media (max-width: 480px) {
  .star-img {
    width: 18px;
    height: 18px;
  }
  .follow-text {
    font-size: 14px;
    gap: 6px;
  }
}

/* Küçük ekranlar (500px altı) */
@media (max-width: 500px) {
  .share-icons__item a {
    font-size: 1.1rem;
  }
  .follow-text {
    font-size: 1rem;
  }
  .share-icons:hover .share-icons__item,
  .share-icons:focus-within .share-icons__item {
    padding: 0.5rem 0.6rem;
  }
}
/* ============================================================
   11. İSTATİSTİK KUTUSU İKON DÖNME
   ============================================================ */

.centered-bounce {
  rotate: 60deg;
  transform-origin: center;
}