
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --mobile-breakpoint: 768px;
    --link-padding: 1rem;
  }

  html, body {
    height: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: 'Arial', sans-serif;
    background: rgb(0, 0, 0);
    color: rgb(250, 249, 249);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    /* Removed overflow: hidden to allow scrolling */
    z-index: 0;
  }

  /* Blurred bubbles background - now fixed so they don't scroll */
  .bgPrimary, .bgTeal, .bgPurp, .bgCyan {
    opacity: 0.5;
    filter: blur(90px);
    border-radius: 9999px;
    position: fixed;
    z-index: -1;
    /* Added visibility check */
    outline: 1px solid transparent; /* Forces rendering */
  }
  

  .bgPrimary {
    background-color: rgb(47, 68, 255);
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation: one 8s infinite alternate;
  }

  .bgTeal {
    background-color: rgb(255, 48, 162);
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
    animation: two 7s infinite alternate;
  }

  .bgPurp {
    background-color: rgb(140, 40, 255);
    width: 400px;
    height: 400px;
    top: 50%;
    right: 20%;
    animation: one 9s infinite alternate;
  }

  /* Fixed Cyan Bubble - Now Guaranteed Visible */
  .bgCyan {
    background-color: rgba(0, 255, 200, 0.7); /* Increased opacity */
    width: 350px;
    height: 350px;
    bottom: 30%;
    left: 15%; /* Positioned on LEFT side */
    animation: two 6s infinite alternate-reverse;
    /* Debugging border (remove after testing) */
    box-shadow: 0 0 0 1px red; /* Will show even if color isn't visible */
  }
  

/* Improved animations */

.bgCyan {
animation: 
  two 7s infinite alternate-reverse,
  pulse 3s infinite ease-in-out;
}

@keyframes one {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
  }
  
  @keyframes two {
    0% { transform: translate(0, 0); }
    33% { transform: translate(15px, -10px); }
    66% { transform: translate(-10px, 20px); }
    100% { transform: translate(0, 0); }
  }

@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 0.7; }
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes iconPulse {
  0% {
      transform: translateY(-6px) scale(1.2) rotate(5deg);
  }
  50% {
      transform: translateY(-8px) scale(1.25) rotate(5deg);
  }
  100% {
      transform: translateY(-6px) scale(1.2) rotate(5deg);
  }
}
  /* Main content container with scroll */
  .content {
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
  }

  

  /* Profile & content styles */
  .profile {
    text-align: center;
    margin: 2rem 0 1.5rem;
  }

  .profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }

  .name {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: bold;
}

.name {
  font-family: 'Lucida Handwriting', 'Bradley Hand', 'Comic Sans MS', cursive;
}

  .role {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    color: #ccc;
  }

  .social-icons {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  margin: 0 0.75rem;
  }

  .social-icons i {
    margin: 0 10px;
    cursor: pointer;
    font-size: 20px;
  }

  .social-icons a.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

  .link {
    width: 100%;
    max-width: 500px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 30px;
    padding: var(--link-padding);
    margin: 0.5rem 0;
    text-align: center;
    font-weight: bold;
    font-size: clamp(0.875rem, 4vw, 1rem);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    
  }

  .link.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

  .link:hover {
    background: rgba(255, 255, 255, 0.164);
    transform: translateY(-2px);
    border-color: #00ff88;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

  .footer {
    margin-top: 30px;
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
  }


  .social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
    transition: transform 0.3s;
    display: inline-block;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
    color: #00ff88; /* Hover color */
  }

  .link a {
    transition: transform 0.3s ease;
    
  }
  
  .link:hover i {
    transform: rotate(15deg) scale(1.2);
  }

  a {
    -webkit-tap-highlight-color: transparent;
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }

  @media (max-width: 767px) {
    body {
      padding: 15px;
    }
  
    .content {
      width: 100%;
      padding-bottom: 20px;
    }
  
    .profile img {
      width: 80px;
      height: 80px;
    }
  
    .name {
      font-size: 1.5rem;
    }
  
    .role {
      font-size: 0.9rem;
    }
  
    /* Social Icons */
    .social-icons {
      margin: 20px 0;
    }
  
    .social-icons a {
      margin: 0 12px;
      font-size: 1.8rem;
    }
  
    /* Links/Buttons */
    .link {
      padding: 16px;
      margin: 8px 0;
      font-size: 1rem;
      min-height: 56px; /* Minimum touch target size */
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    /* Footer */
    .footer {
      font-size: 0.9rem;
      padding: 12px 20px;
      margin-top: 20px;
      text-align: center;
      line-height: 1.4;
    }



      /* Responsive styles */
@media (max-width: 767px) {
  body {
      padding: 15px;
  }

  .content {
      width: 100%;
      padding-bottom: 20px;
  }

  .profile img {
      width: 80px;
      height: 80px;
  }

  .name {
      font-size: 1.5rem;
  }

  .role {
      font-size: 0.9rem;
  }

  .social-icons {
      margin: 20px 0;
  }

  .social-icons a {
      margin: 0 12px;
      font-size: 1.8rem;
  }

  .link {
      padding: 16px;
      margin: 8px 0;
      font-size: 1rem;
      min-height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .footer {
      font-size: 0.9rem;
      padding: 12px 20px;
      margin-top: 20px;
      text-align: center;
      line-height: 1.4;
  }

  .bgPrimary, .bgPurp {
      width: 250px;
      height: 250px;
  }
  
  .bgTeal, .bgCyan {
      width: 200px;
      height: 200px;
  }
}

@media (max-width: 374px) {
  .link {
      font-size: 0.9rem;
      padding: 14px;
  }
  
  .social-icons a {
      margin: 0 10px;
      font-size: 1.6rem;
  }
}}

/* أساسيات الأنيميشن */
.link, .social-icons a {
    opacity: 0;
    transform: translateY(20px);
    transition: 
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

/* حالة الظهور */
.link.is-visible, 
.social-icons a.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات Hover (تعمل بعد ظهور العنصر) */
.link:hover, 
.social-icons a:hover {
    transform: translateY(-5px) scale(1.05) !important;
    cursor: pointer;
}