:root {
    --ig1: #feda75;
    --ig2: #d62976;
    --ig3: #4f5bd5;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --primary: #8a3ab9;
    --secondary: #4c68d7;
    --accent: #fbad50;
    --dark: #121212;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #574590 100%);
    color: #fff;
    overflow-x: hidden;
}

/* Premium Navbar */
.navbar {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Premium gradient border utility */
.gradient-border {
    position: relative;
    background: rgba(18, 18, 18, 0.7);
    border-radius: 16px;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Card entrance animations */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-floatIn {
    animation: floatIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Premium hover effect */
.premium-hover {
    transition: all 0.3s ease;
}

.premium-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Glass effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeUp {
    animation: fadeUp 0.35s ease-out both;
}

/* Pulse effect for CTA */
.ring-pulse {
    box-shadow: 0 0 0 0 rgba(138, 58, 185, 0.7);
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 58, 185, 0.7);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(138, 58, 185, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(138, 58, 185, 0);
    }
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Shine effect on cards */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine 5s infinite linear;
    opacity: 0;
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }

    20% {
        opacity: 1;
    }

    40% {
        opacity: 0;
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }

    100% {
        opacity: 0;
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}

/* Error animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
}

/* Success checkmark */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #10B981;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    animation: checkmark 0.5s ease-in-out;
}

.popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #007BFF;
    /* Blue */
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(100%);
    /* नीचे से आएगा */
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 9999;
    /* ऊपर दिखे */
}

.popup.show {
    opacity: 1;
    transform: translateY(0);
    /* ऊपर उठेगा */
}

html {
    scroll-behavior: smooth;
}

.bounce {
    transition: transform 0.4s ease;
}

a img,
button img {
    height: 24px;
    width: auto;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-bounceIn {
  animation: bounceIn 0.6s ease-out;
}

#chat-icon,
    #chat-box {
      position: fixed;
      z-index: 999999 !important;
      /* sabse upar dikhega */
    }



    /* Instagram Gradient Animation */
    .insta-gradient {
      background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
      background-size: 300% 300%;
      animation: gradientMove 5s ease infinite;
    }

    @keyframes gradientMove {
      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }
    }

    /* Smooth Scrollbar */
    #chat-log::-webkit-scrollbar {
      width: 6px;
    }

    #chat-log::-webkit-scrollbar-thumb {
      background-color: rgba(180, 180, 180, 0.5);
      border-radius: 3px;
    }
    .purchase-popup {
  position: fixed;
  bottom: 25px;
  right: 25px; /* 👈 bottom-right corner (left: 25px; bhi kar sakte ho) */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 22px;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #111;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  pointer-events: none;
}

.purchase-popup::before {
  content: "🛍️";
  font-size: 18px;
}

.purchase-popup.show {
  opacity: 1;
  transform: translateY(0);
}

/* Optional glowing edge effect */
.purchase-popup.show {
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.2);
  border-image: linear-gradient(45deg, #00ff9d, #00b3ff) 1;
  animation: popupGlow 2.5s infinite;
}

@keyframes popupGlow {
  0% { box-shadow: 0 0 10px rgba(0, 255, 128, 0.25); }
  50% { box-shadow: 0 0 25px rgba(0, 255, 128, 0.45); }
  100% { box-shadow: 0 0 10px rgba(0, 255, 128, 0.25); }
}

