/* Social Card Pro - Version 2.8 - Custom Background Color */
.card {
    max-width: fit-content;
    min-width: 300px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(15px);
    background: #101029;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05),
                0 3px 10px rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1.5rem;
    margin: 0 auto;
  }
  
  .card ul {
    padding: 0.5rem;
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
  }
  
  .svg {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0.6rem;
    height: 45px;
    width: 45px;
    border-radius: 100%;
    background: #222;
    fill: currentColor;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1),
                0 3px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
  }
  
  .text {
    opacity: 0;
    border-radius: 5px;
    padding: 5px 10px;
    transition: all 0.3s;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    z-index: 9999;
  }
  
  .iso-pro:hover .text {
    opacity: 1;
    transform: translate(25px, -2px) skew(-5deg);
  }
  
  .iso-pro:hover .svg {
    transform: translate(8px, -8px);
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  /* افکت سایه شیشه‌ای حبابی */
  .iso-pro {
    position: relative;
  }
  
  .iso-pro:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.4) 0%, rgba(200, 200, 200, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1.3);
    z-index: -1;
    animation: bubbleGlow 0.4s ease-out;
  }
  
  .iso-pro:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(180, 180, 180, 0.3) 0%, rgba(180, 180, 180, 0.1) 60%, transparent 80%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1.6);
    z-index: -2;
    animation: bubbleGlow 0.4s ease-out 0.1s;
  }
  
  @keyframes bubbleGlow {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1.3);
    }
  }
  
  /* افکت حبابی برای هر پلتفرم */
  .iso-pro.whatsapp:hover .svg { 
    color: #25D366 !important; 
    transform: translate(8px, -8px) scale(1.05);
  }
  
  .iso-pro.instagram:hover .svg { 
    color: #E4405F !important; 
    background: #fff !important;
    transform: translate(8px, -8px) scale(1.05);
  }
  
  .iso-pro.linkedin:hover .svg { 
    color: #0a66c2 !important; 
    transform: translate(8px, -8px) scale(1.05);
  }
  
  .iso-pro.telegram:hover .svg { 
    color: #0088cc !important; 
    transform: translate(8px, -8px) scale(1.05);
  }
  
  .iso-pro.youtube:hover .svg { 
    color: #ff0000 !important; 
    transform: translate(8px, -8px) scale(1.05);
  }
  
  .iso-pro.twitter:hover .svg { 
    color: #1da1f2 !important; 
    transform: translate(8px, -8px) scale(1.05);
  }
  
  /* رنگ برندها */
  .iso-pro.whatsapp .svg { color: #25D366; } /* سبز روشن واتساپ */
  .iso-pro.instagram .svg { 
    color: #fff; 
    background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  }
  .iso-pro.linkedin .svg { color: #0a66c2; } /* آبی لینکدین */
  .iso-pro.telegram .svg { color: #0088cc; } /* آبی تلگرام */
  .iso-pro.youtube .svg { color: #ff0000; } /* قرمز یوتیوب */
  .iso-pro.twitter .svg { color: #1da1f2; } /* آبی توییتر */
  
  /* استایل‌های اضافی برای footer */
  .card.footer-style {
    background: #0d0d1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    min-width: 280px;
  }
  
  .card.footer-style .svg {
    height: 40px;
    width: 40px;
    padding: 0.5rem;
  }
  
  .card.footer-style ul {
    gap: 1.2rem;
    padding: 0.3rem;
  }
  
  /* افکت hover مخصوص footer */
  .card.footer-style .iso-pro:hover .svg {
    transform: translate(6px, -6px) scale(1.03);
    background: #fff !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25), 
                inset 0 0 8px rgba(255, 255, 255, 0.15);
  }
  
  /* ریسپانسیو برای موبایل */
  @media (max-width: 768px) {
    .card {
      padding: 0.6rem 1rem;
      min-width: 250px;
    }
    
    .card.footer-style {
      padding: 0.5rem 0.8rem;
      min-width: 220px;
    }
    
    .card ul {
      gap: 1rem;
      padding: 0.3rem;
    }
    
    .svg {
      height: 40px;
      width: 40px;
      padding: 0.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .card {
      padding: 0.5rem 0.8rem;
      min-width: 200px;
    }
    
    .card.footer-style {
      padding: 0.4rem 0.6rem;
      min-width: 180px;
    }
    
    .svg {
      height: 35px;
      width: 35px;
      padding: 0.4rem;
    }
    
    .card ul {
      gap: 0.8rem;
    }
  }
  