body {
    background-image: url('assets/ethos-logo.png.jpg'); /* atau 'assets/background.jpg' sesuai lokasi file kamu */
    background-size: cover; /* agar gambar menyesuaikan ukuran layar */
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  
  .background {
    position: relative;
    width: 100vw;
    height: 100vh;
  }
  
  .logo-bg {
    position: absolute;
    top: 50%;
    left: 40%;
    width: 40%;
    opacity: 0.07;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  
  .ethos-text {
    position: absolute;
    top: 10%;
    width: 100%;
    color: white;
    font-size: 64px;
    text-align: center;
    z-index: 2;
    user-select: none;
  }
  
  #player {
    position: absolute;
    bottom: 0;
    left: 60px;
    width: 70px;
    height: 80px;
    z-index: 10;
  }
  
  .player-img {
    width: 100%;
  }
  
#obstacle {
    position: absolute;
    bottom: 0;
    left: 0%;
    width: 60px; /* ukuran bisa kamu sesuaikan */
    height: 60px;
    background-image: url(assets/bear.png.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    z-index: 10;


}


  
  
  
  
  @keyframes moveObstacle {
    from { right: -60px; }
    to { right: 100vw; }
  }
  
  #score {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    z-index: 100;
  }
  
.social-icons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 999;
}

.social-icons img {
  width: 32px;
  height: 32px;
  filter: invert(1) brightness(2); /* opsional, agar sesuai tema hijau neon */
  transition: transform 0.2s ease;
}

#credit {
  position: fixed;
  right: 10px;
  bottom: 10px;
  color: white;
  font-size: 14px;
  font-family: sans-serif;
  opacity: 0.7;
  z-index: 1000;
}


