.halo-background {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 65%;
  aspect-ratio: 1 / 1;
  background-color: rgb(255 0 134 / 93%);
  border-radius: 100px;
  filter: blur(219px);
  transform: translateY(-66%);
  z-index: 0;
  pointer-events: none;

  animation: pulse-glow 4s ease-in-out infinite;
}
.highlight {
    color: #e61cd9;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px #f6f6f6;
}

.text-image-block {
  position: relative;
  overflow: hidden;
}

.image-frame {
  position: relative;
  border: 6px solid #ffffff8f;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(230, 28, 217, 0.5);
  background: #c200ff4f;
  backdrop-filter: blur(4px);
  padding: 77px;
  overflow: visible;
}

.frame-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

.pig-overlay {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  max-width: 150px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
  transition: all 0.3s ease;
}

.pig-overlay:hover {
  transform: translateX(-50%) translateY(-5px);
  filter: drop-shadow(0 8px 15px rgba(230, 28, 217, 0.6));
}

@media (max-width: 768px) {
  .image-frame {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  
  .pig-overlay {
    width: 30%;
    max-width: 100px;
    top: -15%;
  }
  
  .frame-img {
    border-radius: 0;
  }
}
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 0, 30, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: overlayFadeIn 0.5s ease-out forwards;
}


#popup-content {
  position: relative;
  background: linear-gradient(135deg, #bb0370, #84046e);
  color: white;
  border-radius: 1rem;
  padding: 2rem 2rem 2rem 10rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 30%);
}

#popup-image {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  width: 160px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  animation: floatImage 4s ease-in-out infinite;
}

#popup-text {
  z-index: 2;
  text-align: left;
}

#popup-text h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

#popup-text p {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.popup-btn {
  background-color: white;
  color: #bb0370;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.popup-btn:hover {
  background-color: #f2f2f2;
}

#popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(-50%) rotate(-5deg) translateX(0); }
  50% { transform: translateY(-55%) rotate(-5deg) translateX(10px); }
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
    background: rgba(20, 0, 30, 0);
  }
  to {
    opacity: 1;
    background: rgba(20, 0, 30, 0.2);
  }
}
@media (max-width: 768px) {
  #popup-content {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 90%;
    padding-top: 3rem;
  }

  #popup-image {
    position: absolute;
    top: 200px;
    left: 60%;
    transform: translateX(-50%) rotate(-5deg);
    width: 140px;
  }

  #popup-text h3 {
    font-size: 1.5rem;
  }

  #popup-text p {
    font-size: 0.95rem;
  }

  .popup-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  #popup-close {
    top: 8px;
    right: 12px;
    font-size: 1.3rem;
  }
}
.modal-content {
    position: relative;
    display: flex
;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: #7c277ca8;
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
    border: 1px solid rgb(255 255 255 / 70%);
    backdrop-filter: blur(5px);
}
  .searchbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    background-color: rgb(255 255 255 / 17%);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .searchbar svg {
    flex-shrink: 0;
    fill: #fff;
    width: 24px;
    height: 24px;
  }
  .searchbar .form-control {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
    font-size: 1rem;
    padding: 0 30px;
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    color: #ffffff;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.accordion-button:not(.collapsed) {
    background-color: #0000008a;
}
.nav-link:focus, .nav-link:hover {
    color: rgb(255 97 216 / 80%);
}
.terms-section {
  padding-top: 6rem;
}

.terms-list {
  counter-reset: term-counter;
}

.terms-list p {
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #fff;
  background: rgb(254 130 204 / 27%);
  border-left: 4px solid #bb0370;
  border-radius: 0.75rem;
  padding: 1.2rem 1rem 1.2rem 3.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.terms-list p::before {
  counter-increment: term-counter;
  content: counter(term-counter);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 24px;
  height: 24px;
  background-image: url('https://discords.com/_next/image?url=https%3A%2F%2Fcdn.discordapp.com%2Femojis%2F871684536696721419.gif%3Fv%3D1&w=64&q=75');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  font-size: 0;
}
.section-title {
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cl-accent);
    animation: fadeInUp 0.6s ease;
}
.py-5-nav {
    padding-top: calc(74px + 1.5rem);
    padding-bottom: 1.5rem;
}
.text-muted {
  color: white;
}