/* Sonsuz yıldız katmanı: arka planda sabit durur, pozisyonu JS ile kayar */
.bg{
  position: fixed;
  inset: 0;
  background-image: url("estrella1.gif"); /* küçük tile GIF */
  background-repeat: repeat;
  background-position: 0 0;
  z-index: 0; /* her şeyin altında */
}

/* Sayfa / tipografi / genel cursor */
html, body { height: 100%; }
body{
  margin: 0;
  background: #000;                  /* düz siyah; desen .bg'de */
  color:#fff;
  font-family:sans-serif;
  image-rendering:pixelated;
  text-align:center;
  cursor: url("fareikonu.png") 0 0, auto;
}

/* Linklerde özel cursor */
a, button, .gif-item, .gif-item img {
  cursor: url("linkustu.png") 0 0, pointer;
}

/* --- SABİT UI KATMANI (başlık, ikonlar, gif grid burada durur) --- */
.fixed-ui{
  position: fixed;
  inset: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}
.fixed-ui *{ pointer-events: auto; }

/* Sırf scroll yaratmak için boş alan (yüksekliği ayarlayabilirsin) */
.scroll-space{ height: 500vh; }

/* Başlık logo */
.site-title{ margin-top:24px; }
.logo{ width:600px; max-width:92vw; height:auto; image-rendering:pixelated; }

/* GIF grid */
.gif-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  margin-top: 60px;
}
.current-grid { margin-top: 40px; }
.storage-grid { margin-top: 120px; }

.gif-item img {
  width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}
.gif-item:hover img { transform: scale(1.2) rotate(8deg); }
.catbar {
  position: fixed;   /* sabit kalsın */
  bottom: 20px;      /* ekranın altından 20px */
  left: 50%;         /* ortalamak için */
  transform: translateX(-50%); /* tam ortaya hizalar */
  z-index: 20;       /* diğer şeylerin üstünde kalsın */
}

.catbar img {
  width: 600px;      /* bar genişliği (ayarlayabilirsin) */
  height: auto;
  image-rendering: pixelated; /* pixel art net gözüksün */
}


.caption {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gif-item:hover .caption { opacity: 1; }

.gif-item {
  position: relative;
  display: inline-block;
}

/* Ses butonu + tooltip */
#sound-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}
#sound-btn img {
  width: 96px;
  height: auto;
  image-rendering: pixelated;
}
#sound-btn::after{
  content: attr(data-tip);
  position: fixed;
  top: 70px;
  right: 20px;
  background: rgba(0,0,0,.85);
  color: #fff;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
#sound-btn:hover::after{ opacity: 1; }

@media (hover: none){
  #sound-btn:active::after{ opacity: 1; transition: none; }
}


