/*===== Modal Custom Style =====*/
.modal-dialog.modal-xl {
  max-width: 90%;
  margin: auto;
}

.modal-content {
  background: rgb(76 76 76 / 17%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Modal Header */
.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.btn-close:hover {
  opacity: 1;
}

/* Modal Body */
.modal-body {
  padding: 1rem;
}

/* Product Cards */
.products .card {
  border: none;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.products .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card-img-top {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a1a1a;
}

.card-img-top img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.card-img-top .overlay {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 1rem;
}

.card:hover .card-img-top .overlay {
  bottom: 0;
  opacity: 1;
}

.card-img-top .overlay .btn {
  width: 100%;
  background-color: rgb(68 92 124 / 62%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: none;
  color: white;
  font-weight: 500;
}
.card-img-top .overlay .btn:hover {
  background-color: #0b5ed7;
}

/* Card Body Info */
.card-body {
  padding: 1rem;
  color: #e0e0e0;
}

.card-body .info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.card-body .price {
  font-weight: bold;
  color: #fff;
}

.card-body .text-primary {
  color: #4d8bff !important;
}

.card-title {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

.halo-background {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 65%;
  aspect-ratio: 1 / 1;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  filter: blur(200px);
  transform: translateY(-66%);
  z-index: 0;
  pointer-events: none;

  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% {
    background-color: rgba(93, 93, 93, 0.302); 
  }
  50% {
    background-color: rgba(255, 255, 255, 0.248);
  }
}

.accordion-button-2 {
    position: relative;
    display: flex
;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1rem;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background: linear-gradient(135deg, #156b8969, #5a565600);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

  .searchbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    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;
    box-shadow: none;
}

.footer .logo p.text-muted {
  font-size: 0.95rem;
  opacity: 0.8;
}

.btn-buy-now {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #4e97fd, #3a3fff);
  color: white;
  transition: background 0.3s ease, transform 0.2s;
  cursor: pointer;
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #3a3fff, #1a1aff);
  transform: translateY(-1px);
}

.btn-buy-now .icon {
  transition: transform 0.2s ease;
}

.btn-buy-now:hover .icon {
  transform: translateX(4px);
}
.card-img-top {
  position: relative;
  overflow: hidden;
}

.buy-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 10;
}

.card:hover .buy-icon-overlay {
  opacity: 1;
}

.buy-icon svg {
  color: #4e97fd;
  transition: transform 0.2s ease;
}

.buy-icon:hover svg {
  transform: scale(1.1);
}
.tilt-card {
  perspective: 1000px;
  cursor: pointer;
}

.tilt-inner {
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.tilt-3d {
  perspective: 1000px;
  cursor: pointer;
}

.tilt-3d-inner {
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.socials .social {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: #fff;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.socials .social:hover {
  transform: scale(1.05) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 20px 30px rgba(0,0,0,0.4);
}

.socials .social .left,
.socials .social .right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.socials .social:hover .left svg,
.socials .social:hover .right svg {
  transform: scale(1.2) rotate(5deg);
}

.socials .social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.socials .social::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.5s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.socials .social:hover::before {
  top: -50%;
  left: -50%;
  opacity: 1;
}

.socials .social svg {
  background: #222;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

  @media (max-width: 768px) {
    .character-floating {
      height: 220px;
      top: -40px;
    }
  }

.border-top {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  margin-top: 1rem;
  margin-bottom: 20px;
  text-align: right;
}


.payment-icon {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: white;
}

.payment-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.payment-icon svg {
  height: 24px;
  width: auto;
  display: block;
  fill: currentColor;
}

/* Popup*/
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: rgba(0, 0, 0, 0.597);
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: background 0.2s;
}
.popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background-color: #0040565e;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 2.5rem;
  max-width: 600px;
  width: 90%;
  margin: auto;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: popup-show 0.4s ease-out;
  color: #fff;
}

.popup-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.popup-box p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #ffffff;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.popup-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  background: #0d6efd;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.popup-cta:hover {
  background: #0b5ed7;
}

@keyframes popup-show {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}