/* ---------- إعدادات عامة ---------- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: url('/hola.gif') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* ---------- الحاوية الرئيسية ---------- */
.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- بطاقة البروفايل ---------- */
.profile-card {
  position: relative;
  width: 550px;
  background-color: rgba(0, 0, 0, 0.241);
  border-radius: 30px;
  padding: 0 0 60px;
  text-align: center;
  box-shadow: 0 0 25px rgb(255, 0, 0);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* ---------- صورة البنر ---------- */
.banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 30px 30px 0 0;
  display: block;
}

/* ---------- صورة البروفايل ---------- */
.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid red;
  position: absolute;
  top: 160px;
  left: 50%;
  transform: translate(-50%, -30%);
  background-color: #111;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 20px red;
  z-index: 10;
}

/* ---------- الاسم ---------- */
.name {
  font-size: 80px;
  color: white;
  margin-top: 0.1%;
  text-shadow: 0 0 10px red;
  font-weight: 800;
  letter-spacing: 15px;
  text-transform: uppercase;
}

/* ---------- الأيقونات ---------- */
.social-icons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.social-icons a:nth-child(1) { color: #e1306c; }
social-icons a:nth-child(2) { color: #5865F2; }
.social-icons a:nth-child(3) { color: #1877f2; }
.social-icons a:nth-child(4) { color: #25D366; }

.social-icons a:hover {
  transform: scale(1.7);
}

/* ---------- تصميم خاص للشاشات الصغيرة ---------- */
@media (max-width: 1023px) {
  body {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0;
    margin: 0;
  }

  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .profile-card {
    width: 90%;
    padding-bottom: 100px;
    border-radius: 100px;
    margin: 0 auto;
  }

  .banner {
    height: 150px;
    border-radius: 100px 100px 0 0;
  }

  .profile-img {
    width: 100px;
    height: 100px;
    top: 100px;
    transform: translate(-50%, -40%);
    border: 3px solid red;
    box-shadow: 0 0 10px red;
  }

  .name {
    font-size: 40px;
    letter-spacing: 8px;
    margin-top: 60px;
  }

  .social-icons {
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
}