@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  background: linear-gradient(180deg, #0f172a, #1e293b);
  font-family: 'Poppins', sans-serif;
  color: #f8fafc;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap {
  width: 95%;
  max-width: 1100px;
  margin: auto;
  padding: 30px;
  text-align: center;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  animation: fadeInDown 0.8s ease;
}

.lead {
  color: #cbd5e1;
  margin-bottom: 30px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.search input {
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  width: 250px;
  font-size: 1rem;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: white;
}

.btn {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.btn:hover {
  transform: scale(1.05);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-content: center;
}

.card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  flex-wrap: wrap;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.08);
}

.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-btn {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(90deg, #f87171, #ec4899, #8b5cf6);
  padding: 6px 12px;
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.3s;
}

.insta-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ec4899, #a855f7);
}

.info h2 {
  margin: 0;
  font-size: 1.3rem;
}
.info h3 {
  margin: 4px 0 10px;
  font-weight: 400;
  color: #a5b4fc;
}
.info p {
  font-size: 0.95rem;
  color: #e2e8f0;
}
.tags {
  margin-top: 10px;
}
.tags span {
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 6px;
  margin-right: 6px;
  font-size: 0.8rem;
}

footer {
  margin-top: 40px;
  color: #94a3b8;
  font-size: 0.9rem;
}
footer .back {
  display: block;
  margin-bottom: 10px;
  color: #818cf8;
  text-decoration: none;
  transition: color 0.3s;
}
footer .back:hover {
  color: #a78bfa;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
