body {
  font-family: 'Tajawal', sans-serif;
  background: linear-gradient(135deg, #fefaf6, #f3efe9);
  margin: 0;
  padding: 60px 20px;
  color: #333;
  text-align: center;
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #333;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffaa00;
  box-shadow: 0 0 30px rgba(255, 170, 0, 0.2);
  transition: transform 0.4s ease;
}

.profile-img:hover {
  transform: scale(1.08);
}

.verified {
  width: 26px;
  height: 26px;
}

.social-links {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.social-links a {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.social-links a:nth-child(1) { animation-delay: 0.2s; }
.social-links a:nth-child(2) { animation-delay: 0.4s; }
.social-links a:nth-child(3) { animation-delay: 0.6s; }
.social-links a:nth-child(4) { animation-delay: 0.8s; }
.social-links a:nth-child(5) { animation-delay: 1s; }
.social-links a:nth-child(6) { animation-delay: 1.2s; }
.social-links a:nth-child(7) { animation-delay: 1.4s; }

.social-links a:hover {
  transform: translateY(-10px) scale(1.12);
  box-shadow: 0 0 30px rgba(255, 170, 0, 0.4), 0 0 50px rgba(255, 170, 0, 0.3);
}

.social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
}

.tooltip {
  position: absolute;
  bottom: -30px;
  background: #ffaa00;
  color: #000;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.social-links a:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .profile-img {
    width: 130px;
    height: 130px;
  }

  .social-links a {
    width: 55px;
    height: 55px;
  }

  .social-links img {
    width: 24px;
    height: 24px;
  }

  .tooltip {
    font-size: 12px;
    padding: 5px 8px;
  }
}

/* تخصيص لون الدائرة لكل منصة عند الضغط */
.social-links a:nth-child(1):active {
  background: #3b5998; /* لون فيسبوك */
  box-shadow: 0 0 30px rgba(59, 89, 152, 0.4), 0 0 50px rgba(59, 89, 152, 0.3);
}

.social-links a:nth-child(2):active {
  background: #1DA1F2; /* لون تويتر */
  box-shadow: 0 0 30px rgba(29, 161, 242, 0.4), 0 0 50px rgba(29, 161, 242, 0.3);
}

.social-links a:nth-child(3):active {
  background: #E1306C; /* لون انستغرام */
  box-shadow: 0 0 30px rgba(225, 48, 108, 0.4), 0 0 50px rgba(225, 48, 108, 0.3);
}

.social-links a:nth-child(4):active {
  background: #FF0000; /* لون يوتيوب */
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.4), 0 0 50px rgba(255, 0, 0, 0.3);
}

.social-links a:nth-child(5):active {
  background: #0088cc; /* لون تليجرام */
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.4), 0 0 50px rgba(0, 136, 204, 0.3);
}

.social-links a:nth-child(6):active {
  background: #000000; /* لون تيك توك */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 0, 0, 0.3);
}

.social-links a:nth-child(7):active {
  background: #FF5A5F; /* لون الموقع */
  box-shadow: 0 0 30px rgba(255, 90, 95, 0.4), 0 0 50px rgba(255, 90, 95, 0.3);
}

/* تأثير تكبير الأيقونة عند الضغط */
.social-links a:active img {
  transform: scale(1.2);
}
