.react-theme .redo-button svg {
   fill: #FFFFFF; /* White icon for contrast on gradient */
 }  
  .react-theme .loading-spinner.no-position {
    border-top-color: #AAAAAA; /* Light Gray */
  }
  .react-theme .try-another-container {
    border-top-color: rgba(255, 255, 255, 0.2); /* Light border */
  }

  .react-theme .try-another-button {
    background: linear-gradient(45deg, #4A4A4A, #2B2B2B); /* Dark Gray Gradient */
    color: #FFFFFF; 
    border: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }
  .react-theme .try-another-button:hover {
    background: linear-gradient(45deg, #5A5A5A, #3C3C3C); /* Lighter Gray Gradient on Hover */
    box-shadow: 0 0 5px rgba(255,255,255,0.1);
  }
  .react-theme .redo-button {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); 
  }

  .react-theme .try-another-button {
   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
 }
 
  .react-theme h1.main-title {
   
   margin-top: 2rem;
 margin-bottom: 2rem;

 font-size: 26px;
}

.react-theme h1.main-title svg.x-logo {
   height: 24px;
   width: auto;
   margin-left: 0px;
   margin-top: -6px;
   fill: #FFFFFF; /* White X logo */
}

.react-theme h1.main-title span {
   color: #FFFFFF; /* White text */
   /* Applying gradient to text is tricky, let's use a bright color with shadow */
   /* Using a bright color from the palette, or white with a colorful shadow */
   text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Soft white glow */
   letter-spacing: 0.05em;
   font-size: 32px;
   font-weight: 700;
 
}
.rain-canvas {
   position: absolute; /* Or absolute, depending on desired scroll behavior */
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none; /* Make it non-interactive */
 }
 
 .extender-page.react-theme > * {
   z-index: 2;
}



.react-theme .extender-container {
   background: rgba(18, 10, 42, 0.6); /* Dark translucent base for content */
   border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle light border */
   backdrop-filter: blur(10px);
   box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
 }


 @media (max-width: 768px) {
     
 .react-theme .examples-section .examples-title {
   font-size: 1.5rem; /* Adjust as needed */
 }
 }


  /* Add a class for react theme specific overrides */
  .extender-page.react-theme {
   background: linear-gradient(135deg, #111111 0%, #333333 50%, #111111 100%); /* Dark grayscale gradient */
   color: #F5F5F5; /* Light off-white text */
   justify-content: flex-start;
   
 }
 .extender-page.react-theme h1.main-title,
 .extender-page.react-theme h1.main-title a {
     color: #FFFFFF; /* White */
     text-shadow: 0 0 10px rgba(255, 0, 122, 0.7), 0 0 20px rgba(0, 123, 255, 0.5); /* Pink and Blue glow for title */
 }
 /* ... Add more react theme styles ... */


 .react-theme .back-to-home {
   color: #F5F5F5; /* Light off-white */
 }
 .react-theme .back-to-home svg {
  stroke: #F5F5F5;
 }

 .react-theme .extender-input-prefix {
   color: rgba(245, 245, 245, 0.6); 
 }




 .react-theme .extender-input {
   background: rgba(255, 255, 255, 0.1); 
   border-color: rgba(255, 255, 255, 0.3);
   color: #FFFFFF; 
 }

 .react-theme .extender-input::placeholder {
   color: rgba(245, 245, 245, 0.6); 
 }
  .react-theme .extender-input:focus {
    border-color: #AAAAAA; /* Light Gray on focus */
    box-shadow: 0 0 8px rgba(170, 170, 170, 0.4); /* Gray glow */
  }

  .react-theme .extender-button {
    background: linear-gradient(45deg, #4A4A4A, #2B2B2B); /* Dark Gray Gradient */
    color: #fff;
    border: none;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  }

  .react-theme .extender-button:hover {
   background: linear-gradient(45deg, #5A5A5A, #3C3C3C); /* Lighter Gray Gradient */
   box-shadow: 0 0 5px rgba(255,255,255,0.1);
 }

 


 .react-theme .feedback-section {
   color: rgba(245, 245, 245, 0.8); 
 }
  /* Example: React Gallery Title */
  .react-theme .examples-section .examples-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF; /* White text */
    text-shadow:
      0 0 15px rgba(255, 255, 255, 0.3); /* Soft white glow */
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .react-theme .examples-section .examples-title svg {
    width: 28px;
    height: auto;
    stroke: #AAAAAA; /* Light Gray */
    filter: drop-shadow(0 0 8px rgba(170,170,170,0.5));
    vertical-align: middle;
    margin-right: 6px;
  }

  .react-theme .result-container.loading {
   background: rgba(255, 255, 255, 0.1); /* Light translucent loading */
 }
 
  .react-theme .result-container.loading::after {
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%, /* Shimmer effect */
      transparent 100%);
  }

  .react-theme .x-share-button {
    background: rgba(255, 255, 255, 0.1); 
    color: #FFFFFF; 
    border: 1px solid rgba(255,255,255,0.3);
    text-shadow: 0 0 5px rgba(0,0,0,0.2);
  }
  .react-theme .x-share-button:hover {
    background: rgba(255, 255, 255, 0.2); 
  }
  .react-theme .x-share-button svg {
    fill: #FFFFFF;
  }


  .react-theme .border-overlay {
   background-color: #120A2A; /* Dark base to match page background */
 }

 .react-theme .example-badge {
   background: rgba(18, 10, 42, 0.75); /* Dark translucent badge */
   color: #FFFFFF; 
   backdrop-filter: blur(5px);
 }
  .react-theme .example-badge:hover {
    background: rgba(30, 20, 62, 0.9);
  }
  .react-theme .feedback-link {
    color: #AAAAAA; /* Light Gray for links */
    text-decoration: none;
  }
   .react-theme .feedback-link:hover {
    color: #CCCCCC; /* Lighter Gray for links on hover */
    text-decoration: underline;
  }
  .react-theme .feedback-link svg.x-logo-small {
    fill: #AAAAAA; /* Light Gray */
  }
  .react-theme .feedback-link:hover svg.x-logo-small {
    fill: #CCCCCC; /* Lighter Gray */
  }


  .react-theme .redo-button {
    background: linear-gradient(45deg, #4A4A4A, #2B2B2B); /* Dark Gray Gradient */
    color: #FFFFFF;
    border: none;
    box-shadow:
      0 1px 3px rgba(0,0,0,0.2); /* Subtle shadow for depth */
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  }
  
  .react-theme .redo-button:hover {
    background: linear-gradient(45deg, #5A5A5A, #3C3C3C); /* Lighter Gray Gradient */
    box-shadow:
      0 2px 5px rgba(0,0,0,0.3), /* Slightly more pronounced shadow on hover */
      0 0 5px rgba(255,255,255,0.1);
    border: none;
  }

  
  .react-theme .redo-button .redo-icon {
    stroke: #FFFFFF; 
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
  }
  
    .react-theme .payment-modal-content {
      background: linear-gradient(135deg, rgba(18, 10, 42, 0.95), rgba(0, 50, 102, 0.95)); /* Dark Blue gradient for modal */
      border: 1px solid rgba(0, 123, 255, 0.5); /* Blue border */
      box-shadow: 0 8px 32px 0 rgba(0, 123, 255, 0.37);
    }
    .react-theme .payment-modal h3 {
      color: #FFFFFF; 
      text-shadow:
        0 0 15px rgba(255, 255, 255, 0.3); /* Soft white glow */
    }

    
    .react-theme .payment-modal p {
      color: rgba(245, 245, 245, 0.9);
      text-shadow: 0 0 5px rgba(0,0,0,0.2);
    }
    
    .react-theme #card-element-container {
      background: rgba(255, 255, 255, 0.05); 
      border-color: rgba(255, 255, 255, 0.2); 
      box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1); 
    }

    .react-theme .payment-buttons button {
      border: none;
      text-shadow: 0 0 8px rgba(0,0,0,0.3);
    }
    .react-theme .cancel-payment {
      background: rgba(255, 255, 255, 0.1);
      color: #FFFFFF;
      box-shadow:
        0 0 10px rgba(0,0,0,0.2),
        inset 0 0 10px rgba(0,0,0,0.1);
    }
    .react-theme .cancel-payment:hover {
      background: rgba(255, 255, 255, 0.2);
      box-shadow:
        0 0 15px rgba(0,0,0,0.3),
        inset 0 0 15px rgba(0,0,0,0.2);
    }

    .react-theme .confirm-payment {
      background: linear-gradient(45deg, #4A4A4A, #2B2B2B); /* Dark Gray Gradient */
      color: #FFFFFF;
      box-shadow:
        0 1px 3px rgba(0,0,0,0.2); 
    }
    
    .react-theme .confirm-payment:hover {
      background: linear-gradient(45deg, #5A5A5A, #3C3C3C); /* Lighter Gray Gradient */
      box-shadow:
        0 2px 5px rgba(0,0,0,0.3),
        0 0 5px rgba(255,255,255,0.1);
    }
    .react-theme .StripeElement {
      background: rgba(255, 255, 255, 0.05) !important;
      border-color: rgba(255, 255, 255, 0.2) !important;
      box-shadow: inset 0 0 10px rgba(0,0,0,0.05) !important;
      color: #FFFFFF !important; /* Ensure Stripe text is white */
    }

    .react-theme .StripeElement--focus {
      border-color: #AAAAAA !important; /* Light Gray */
      box-shadow:
        inset 0 0 10px rgba(170,170,170,0.1),
        0 0 10px rgba(170,170,170,0.3) !important;
    }

    /* Ensure Stripe placeholder text is visible */
    .react-theme .StripeElement::placeholder {
      color: rgba(245, 245, 245, 0.6) !important;
    }



    .credits-section-inner {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }
    .credits-section {
      width: 100%;
      padding-top: 20px;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .credits-section .ai-memes svg,
  .credits-section .fal-ai svg {
      width: auto;
      height: 50px;
      background: transparent; /* Transparent background */
      border-radius: 10px;
      overflow: visible;
      /* padding: 5px; remove padding */
      /* box-shadow: 0 4px 15px rgba(0,0,0,0.2); remove box-shadow */
  }


  .react-theme .logo-container {
   margin-bottom: 0;
  }

  .react-theme .back-to-home {
   margin-top: 2rem;
  }

/* 
  .react-theme .extender-page-inner {
   max-width: 700px;
  } */


  .result-container .showing-gif img {
    width: 100%;
  }

  .extender-input-wrapper {
    margin-top: 1rem;
  }

  .extender-label {
    font-size: 114%;
  }

  .feedback-section {
    margin-top: 4rem;
  }
 

  .react-share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
  }
.react-share-button svg {
    width: 20px;
    height: 20px;
}

.react-share-button.x-share-button svg {
  width: 14px;
  height: 14px;
}
 
  .react-share-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.react-theme .action-buttons-container {
  margin-top: 0;
}


.share-buttons-inner {
  display: flex;
  margin-top: 30px;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.share-buttons-inner .react-share-button {
  max-width: unset;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  height: 100%;
  height: 42px;
}

.mobile-react-text {
  display: none;
}

@media (max-width: 768px) {
 
  .mobile-react-text {
    display: block;
  }
  .desktop-react-text {
    display: none;
  }
 
 
.share-buttons-inner .react-share-button {
  font-size: 14px;
  padding: 0.75rem 0.75rem;
}

.share-buttons-inner {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.action-buttons-container {
  width: 100%;
}

.share-buttons {
  width: 100%;
}

.action-buttons-container {
  width: 100%;
}

 
  .credits-section-inner {
    flex-direction: column-reverse;
  }
}

 
