.modal-backdrop.show {
    opacity: 0.8 !important;
    background-color: #000;
    backdrop-filter: blur(18px);
}

/* Remove scroll completely */
.modal-fit {
    max-width: 90vw;
}

/* Force modal inside viewport */
.modal-fit .modal-content {
    height: auto;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image should scale properly */
.popup-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}
 
.modal-content {
    position: relative;
}

.popup-img {
    display: block;
}
 

.modal-backdrop.show {
    background: rgba(0, 0, 0, 0.2); /* glass dark */
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}
.btn-close{ margin-top:-20px !important;}








.free-img {
  width: 60px; /* adjust as needed */
  height: auto;
  transform-origin: left center;
  animation: wavePaper 2.5s ease-in-out infinite; 
}

/* Gentle floating effect */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
 
@keyframes wavePaper {
  0% {
    transform: perspective(600px) rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: perspective(600px) rotateY(6deg) rotateZ(-1deg);
  }
  50% {
    transform: perspective(600px) rotateY(-4deg) rotateZ(1deg);
  }
  75% {
    transform: perspective(600px) rotateY(3deg) rotateZ(-1deg);
  }
  100% {
    transform: perspective(600px) rotateY(0deg) rotateZ(0deg);
  }
}

 
.floating-free:hover .free-img { 
  transform: scale(1.05);
}











.welcome-egg {
  top: -30px;
  background: linear-gradient(135deg, #157cba, #23618c);
  width: 250px;
  height: 59px;
  border-radius: 0px 0px 697px 697px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  padding-bottom: 5px;
 
  border: 1px solid #fff;
  z-index: 1000;
}

/* Add a subtle glowing effect */
@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.9); }
  100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
}

.welcome-egg {
  animation: glowPulse 3s ease-in-out infinite;
}

 

.windows-logo {
  display: grid;
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 3px;
  transform-origin: center;
  transition: transform 0.6s ease-in-out;
}

.windows-logo .box {
  width: 13px;
  height: 13px;
  background-color: #000; /* Change color as needed */
  border-radius: 2px;
}

.box11 { background: #0d6efd !important; } /* Blue */
.box21 { background: #dc3545 !important; } /* Red */
.box31 { background: #ffc107 !important; } /* Yellow */
.box41 { background: #198754 !important; } /* Green */

/* Optional: rotate animation via CSS keyframes */
.rotate {
  transform: rotate(360deg);
}