/* Overlay */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rectangle {
  position: relative;
  width: 600px;
  height: 750px;
  background: linear-gradient(180deg, #0b0f10 0%, #15181a 100%);
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 24px;
  overflow: hidden;
}
.btn-hero {
  display: block;
  width: 250px;            
  margin: 10px auto 0 auto; 
  background: linear-gradient(90deg, #00ffc7, #00a6ff);
  color: #00202a;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 0;
  border-radius: 28px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  position: relative;
  z-index: 2;              
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 255, 199, 0.5);
}



.neon-ring {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 4px rgba(0,255,170,0.14),
              0 0 36px rgba(0,255,170,0.22);
  background: linear-gradient(135deg, rgba(0,255,170,0.06), rgba(0,200,255,0.04));
}

/* Inner content card */
.inner-card {
  width: 100%;
  color: #fff;
  z-index: 2;
  text-align: center;
}

.inner-card h2 {
  font-size: 36px;
  color: #00ffc7;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.inner-card p {
  font-size: 16px;
  line-height: 1.7;
}

/* Image panel */
.image-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-top: 20px;
}

.image-panel img {
  width: 500px;
  height: 390px;
  border-radius: 20px;
  object-fit: cover;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}

/* Badge */
.badge {
  position: absolute;
  right: 5%;
  bottom: 12%;
  background: #00ffc7;
  color: #002022;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  transform: rotate(-8deg);
  font-size: 13px;
  z-index: 3;
}

/* Close button */
.close-btn {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #002125;
  color: #00ffc7;
  border-radius: 50%;
  border: 3px solid rgba(0,255,170,0.12);
  cursor: pointer;
  font-size: 16px;
  z-index: 3;
}



/* Responsive */
@media (max-width: 700px) {
  .rectangle {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .image-panel img {
    width: 80%;
    height: auto;
    margin-top: 20px;
  }

  .badge {
    display: none;
  }
}
