

body{
  font-family: IRANSans;
}
@font-face {
    font-family: IRANSans;
    src: url(/font/IRANSansWeb.woff2);
}







.artist-grid{
  max-width: 500px; /* می‌تونی بزرگ‌تر کنی */
  margin: 90px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px; /* فاصله ثابت بین کارت‌ها */
  padding: 10px;
  font-family: IRANSans;
}

.artist-card{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* نسبت ثابت مربعی */
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(255, 0, 100, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  border: 5px solid rgb(3, 36, 58);
  font-family: IRANSans;
}

.artist-card img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* عکس دقیق داخل کارت بدون کشیدگی */
}

.artist-name{
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  font-weight: bold;
  text-shadow: 0 0 10px black;
  background-color: rgb(11, 9, 41);
  font-size: 0.85rem;
  font-family: IRANSans;
}

.artist-card:hover{
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 0, 120, 0.6);
  border: 5px solid white;
}

/* موبایل */
@media (max-width:480px){
  .artist-grid{
    gap: 10px;
  }
  .artist-card{
    aspect-ratio: 1 / 1;
  }
}
.text-center{
    place-content: center;
    text-align: center;
    width: 100%;
    display: flex;
}
.text-center p{
    background-color: rgb(0, 0, 0);
    width: max-content;
    text-align: center;
    padding: 10px 10px;
    border-radius: 10px;
    font-weight: 700;
}










/*قسمت جستجو اضافه کردم*/
.search-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 0px;
  position:sticky;
  top: 0px;
  z-index: 1000;
  position: fixed;
  font-family: IRANSans;
}
.search-container input {
  width: 300px;
  padding: 10px 15px;
  border-bottom-left-radius: 15px;
  border-top-left-radius: 15px;
  border: 2px solid #f53192;
  outline: none;
  font-size: 16px;
  background:radial-gradient(circle at top, #0a1a12, #000);
  color: #fff;
  text-align: right;
  direction: ltr;
  font-family: IRANSans;
}
.search-container input::placeholder {
  color: #ccc;
  text-align: right;
}
.search-container button {
  padding: 10px 15px;
  border-bottom-right-radius: 15px;
  border-top-right-radius: 15px;
  border: none;
  background: #f53192;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.search-container button:hover {
  background: #0fe9d7;
}

@media only screen and (min-width: 600px) {
  .search-container input{
    width: 500px;
    font-size: 20px;
  }
  .search-container button{
    font-size: 25px;
  }
}
