.imageFrame {
  position: relative;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  height: 80%;
  width: 90%;
  background: #ffffff25;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  box-sizing: border-box;

  /* Stunning checkerboard shimmer pattern */
  background-image: 
      linear-gradient(135deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%,
                                   transparent 50%, rgba(255, 255, 255, 0.08) 50%,
                                   rgba(255, 255, 255, 0.08) 75%, transparent 75%,
                                   transparent);
  background-size: 40px 40px;

  /* Animated shimmer */
  animation: shimmerMove 15s linear infinite;
}

.overlayBackground
{
  position: absolute;
  top: 10%;
  left: 0;
  height: 100%;
  width: 100%;
  background: url(../IMAGES/Pollinations/contributeSection/contriboverlay.png);
  z-index: 2;
  background-size: cover;
  background-position: center;
  filter: opacity(0.8);
}
/* Shimmer effect */
@keyframes shimmerMove {
  from {
      background-position: 0 0;
  }
  to {
      background-position: 100% 100%;
  }
}


.imageFrame > .particleContainerImageFrame {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1; /* Ensure particles are behind */
}

/* Calculated widths and margin for seamless join with original clip paths */
.imageFrame .imageGithub {
    position: relative; /* Keep relative if needed for nested elements */
    width: 50%; /* Calculated width */
    height: 100%;
    background: url(../IMAGES/Pollinations/contributeSection/github-screenshot.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 20px;
    clip-path: polygon(0% 0%, 100% 0%, 48% 100%, 0% 100%);
    flex-shrink: 0; /* Prevent shrinking below calculated width */
    flex-grow: 0; /* Prevent growing */
}

.imageFrame > .redirectButtonContainer {
    position: absolute; 
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 50%;
    clip-path: polygon(42% 0, 100% 0, 48% 100%, 0 100%);
    background: rgba(255, 255, 255, 0.28);
    display: block;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    pointer-events: auto;
    z-index: 2;
}



.imageFrame .imageDiscord {
    position: relative; /* Keep relative if needed for nested elements */
    width: 50%; /* Calculated width */
    left: 0%;
    height: 100%;
    background: url(../IMAGES/Pollinations/contributeSection/discord-screenshot.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 20px;
    clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-top-right-radius: 20px;
    flex-shrink: 0; /* Prevent shrinking below calculated width */
    flex-grow: 0; /* Prevent growing */
}

