html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  cursor: none;
}

.custom-cursor {
      width: 15px;
      height: 15px;
      background-color: pink;
      border: 2px solid deeppink;
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 10000;
      transform: translate(-50%, -50%);
    }

    .trail {
      position: fixed;
      width: 10px;
      height: 10px;
      background: rgba(255, 105, 180, 0.5);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      animation: fadeOut 0.6s forwards;
    }

    @keyframes fadeOut {
      0% {
        opacity: 1;
        transform: scale(1);
      }
      100% {
        opacity: 0;
        transform: scale(2);
      }
    }
    
#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
  background: radial-gradient(ellipse at bottom, #c30786 0%, #170f14 100%);
  opacity: 50%;
  filter: blur(5px);
}

#black-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0 0 0 / 71%);
  pointer-events: none;
  z-index: -1;
}

.bg-card {
  --tw-bg-opacity: 0.2;
  background-color: rgba(var(--cl-card), var(--tw-bg-opacity));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  isolation: isolate;
  will-change: backdrop-filter;
}

.bg-card\/25 {
  background-color: rgba(var(--cl-card), 0.25);
}

.bg-card\/75 {
  background-color: rgba(var(--cl-card), 0.75);
}

.bg-glass-button {
  background-color: rgba(255, 105, 180, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: bold;
  transition: background 0.3s ease;
}
.bg-glass-button:hover {
  background-color: rgba(255, 105, 180, 1);
}

.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(0);
  z-index: 10;
  pointer-events: none;
  transition: none;
}

.group:hover .shine-effect {
  animation: shine-move 0.6s linear forwards;
}

@keyframes shine-move {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.transform-gpu {
  transform-style: preserve-3d;
}
img.absolute.inset-0.w-full.h-full.object-cover {
    opacity: 80%;
}

/* 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: #ec48997a;
  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: #cc5590;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.popup-cta:hover {
  background: #770f49;
}

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

.stat-number {
  transition: filter 0.1s ease;
}
.stat-number.blurring {
  filter: blur(2px);
}
.hover\:rotate-card:hover {
  transform: perspective(1000px) rotateY(5deg) scale(1.02);
  filter: blur(0.2px);
}

.three-d-image {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  max-width: none;
  opacity: 50%;
}

@media (max-width: 768px) {
  .three-d-image {
    width: 240px;
    top: -7px;
    right: -20px;
  }
}
@media (min-width: 769px) {
  .three-d-image {
    width: 300px;
    top: -15px;
    right: 10px;
  }
}

/* d */
.three-d-glow-wrapper-2 {
  position: absolute;
  right: 10px;
  top: -10px;
  width: 500px;
  pointer-events: none;
  user-select: none;
  z-index: 10;
  filter: drop-shadow(0 0 15px #ff4da6);
  animation: floatUpDown2 4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .three-d-glow-wrapper-2 {
    width: 270px;
    top: 170px;
    right: -40px;
  }
}

@keyframes floatUpDown2 {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 15px #ff4da6);
  }
  50% {
    transform: translateY(15px);
    filter: drop-shadow(0 0 25px #ff4da6);
  }
}

.three-d-img-2 {
  width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}

.flex.justify-between.items-center.gap-4.mt-4 {
    color: #ff4c9f;
}