 @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 :root{
      --bg:#f6f8ff;
      --card:#ffffff;
      --text:#101323;
      --muted:#6d728d;
      --brand:#3b5cff; /* primary blue */
      --brand-2:#8aa3ff; /* light blue */
      --quote:#eef2ff;
      --shadow:0 10px 30px rgba(24,39,75,.12),0 2px 6px rgba(24,39,75,.08);
    }
    *{box-sizing:border-box}
    body{
      margin:0; background:radial-gradient(1200px 600px at 70% -100px,#e8edff 0,#f7f8ff 40%,#fbfcff 100%); 
       font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
      color:var(--text);
      display:grid; place-items:center; min-height:100vh; padding:24px;
    background: #9D50BB;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #6E48AA, #9D50BB);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #6E48AA, #9D50BB); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


    }
    .card{
      width:100%;
      /*max-width:320px; */
      margin:0 auto;
      background:var(--card);
      border-radius:28px; box-shadow:var(--shadow);
      padding:22px 20px 26px; position:relative; overflow:hidden;
    }
    /* header */
    .top{display:flex; align-items:center; justify-content:center; gap:12px;}
    .logo{display:flex; align-items:flex-end; gap:8px; font-weight:700; font-size:28px; letter-spacing:.2px}
    .logo-word{position:relative}
    .logo .accent{
        position: absolute;
    left: -7px;
    top: -5px;
    width: 40px;
    height: 14px;
    border-radius: 28px;
    border: 5px solid #b000fff0;
    border-bottom: 0;
    transform: rotate(2deg);
    
    }
    .chip{background:#e9edff; color:#3341a0; font-weight:600; padding:10px 16px; border-radius:999px; display:inline-flex; align-items:center; gap:10px; box-shadow:inset 0 1px 0 #fff8, 0 1px 2px #0001}
    .chip svg{width:16px; height:16px}

    .divider{height:1px; background:#e7e9f5; margin:16px 0 14px}

/* 3D Intro Section Styling */
.intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  background: linear-gradient(145deg, #ffffff, #f0f0ff);
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(24, 39, 75, 0.12), 0 2px 6px rgba(24, 39, 75, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}


/* Smooth card motion for professional touch */
.intro * {
  transition: all 0.3s ease;
}

.title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.title b {
  font-weight: 800;
}

.link {
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

/* Avatar wrap tweaks for 3D balance */
.avatar-wrap {
  position: relative;
  transform: translateZ(20px);
}

/* Avatar 3D effect */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(70% 80% at 30% 30%, #ffffff 0, #e9efff 60%, #dde6ff 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 12px 30px rgba(59, 92, 255, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: rotateX(6deg);
}

    /* simple cartoon head */
    .avatar svg{width:80px; height:80px}

    /* socials */
    .socials{display:flex; gap:22px; margin:12px 0 10px}
    .socials a{display:grid; place-items:center; width:28px; height:28px; color:var(--brand); text-decoration:none}
    .socials svg{width:24px; height:24px}

    /* quote */
    .quote{background:var(--quote); padding:18px 18px; border-radius:16px; color:#1b1f33; line-height:1.45; font-weight:600; box-shadow:0 8px 24px rgba(59,92,255,.08) inset; margin-top:25px;}
    

    /* contact panel */
    .panel{background:linear-gradient(to bottom, #6366f1, #a855f7); color:#fff; border-radius:22px; margin-top:18px; padding:18px; position:relative;}
    .row{display:flex; align-items:center; gap:12px; padding:10px 4px}
    .row svg{width:22px; height:22px}
    .row + .row{border-top:1px solid rgba(255,255,255,.12)}
    .cta-stack{position:absolute; right:14px; top:14px; display:flex; flex-direction:column; gap:14px}
    .circle-btn{width:48px; height:48px; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:0 8px 18px rgba(0,0,0,.12)}
    .circle-btn svg{width:22px; height:22px}

    a.white{color:#fff; text-decoration:none}
    a.white:hover{ text-decoration:underline}

    @media (max-width:390px){
      .avatar{width:84px; height:84px}
      .avatar svg{width:70px; height:70px}
      .title{font-size:20px}
    }
    .input {
  border-radius: 10px;
  outline: 2px solid #FEBF00;
  border: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  /* background-color: #e2e2e2; */
  outline-offset: 3px;
  padding: 10px 1rem;
  transition: 0.25s;
  width: 100%;  
}

.input:focus {
  outline-offset: 5px;
  background-color: #fff
}



.input-container {
  position: relative;
  width: 15rem; /* 60 (Tailwind unit) * 0.25rem = 15rem */
}

.highlight-bar {
  position: absolute;
  left: -2px; /* -0.5 * 4px */
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0.375rem; /* 1.5 * 0.25rem */
  border-radius: 0.375rem;
  background: linear-gradient(to bottom, #6366f1, #a855f7); /* indigo-500 to purple-500 */
  opacity: 0.7;
  transition: all 0.3s;
}

.input-container:focus-within .highlight-bar {
  opacity: 1;
}

.input-field {
  width: 100%;
  padding: 1.5rem 1rem 0.5rem 1.5rem; /* pt-6 pr-4 pb-2 pl-6 */
  font-size: 0.875rem;
  color: #1f2937; /* text-gray-800 */
  background-color: #fff;
  border: 1px solid #e5e7eb; /* border-gray-200 */
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-md approximation */
  outline: none;
  transition: all 0.3s ease;
  transition-delay: 0.2s;
}

.input-field:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5); /* ring-indigo-300 */
}

.input-label {
  position: absolute;
  left: 1.5rem;
  top: 0.875rem; /* top-3.5 = 14px */
  font-size: 0.875rem;
  color: #6b7280; /* text-gray-500 */
  cursor: text;
  transition: all 0.2s ease-in-out;
}

.input-field::placeholder {
  color: transparent;
}

/* When placeholder is shown */
.input-field:placeholder-shown + .input-label {
  top: 0.875rem;
  font-size: 1rem;
  color: #9ca3af; /* text-gray-400 */
}

/* When input is focused */
.input-field:focus + .input-label {
  top: 0.25rem; /* top-1 = 4px */
  font-size: 0.875rem;
  color: #6366f1; /* text-indigo-500 */
  font-weight: 600;
}


.input-field:not(:placeholder-shown) + .input-label {
  top: 0.25rem; /* top-1 = 4px */
  font-size: 0.875rem;
  color: #6366f1; /* text-indigo-500 */
  font-weight: 600;
}


/* From Uiverse.io by adamgiebl */ 
.cssbuttons-io-button {
  background: linear-gradient(to bottom, #6366f1, #a855f7); /* indigo-500 to purple-500 */
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #714da6;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
  margin-top: 1em;
}

.cssbuttons-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;
  right: 0.3em;
  transition: all 0.3s;
}

/* .cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
} */

.cssbuttons-io-button .icon svg {
  width: 1.1em;
  transition: transform 0.3s;
  color: #7b52b9;
}

.cssbuttons-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}
.gradient-avatar {
 
  border-radius: 50%;
  background: linear-gradient(
114deg, #0e00fe1a, #857cffd1); /* Gradient background */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.inner-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #eef2ff; /* Optional background to match SVG */
  overflow: hidden;
}

.inner-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Badge Style */

.badge {
  position: relative;
  /* margin-top: 8px; */
  /* padding: 6px 14px; */
  background: linear-gradient(to bottom, #6366f1, #a855f7);
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-radius: 999px;
  /* animation: bounceGlow 2.5s ease-in-out infinite; */
  overflow: hidden;
  text-align: center;
}

/* Shine effect */
.badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.908), transparent);
  transform: rotate(25deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

/* Unique Bounce + Glow Animation */
@keyframes bounceGlow {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 10px rgba(255, 120, 173, 0.6);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 120, 173, 0.9);
  }
}

/* Shine effect animation */
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

.panel {
  position: relative;
  border-radius: 20px;
  padding: 30px 5px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.92), rgba(168,85,247,0.92));
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Background PNG with overlay */
.bg-overlay {
  position: absolute;
  inset: 0;
  /* background: url("gift.png") center/cover no-repeat; */
  opacity: 0.2;
  filter: blur(3px);
  z-index: 0;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* Overlay */
  z-index: 1;
}

/* Half circle heading container */
.steps-heading-wrap {
 position: absolute;
    top: -157px;
    left: 50%;
    transform: translateX(-50%);
    width: 114%;
    height: 213px;
    border-radius: 50%;
    background: linear-gradient(181deg, #6649ab, #1900518c);
    display: flex
;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    z-index: 2;
    margin-bottom: 30px;
 
}

/* Heading text */
.steps-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Steps list */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* gap: 14px; */
  position: relative;
  z-index: 2;
  margin-top:40px;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  border-radius: 12px;
  /* background: rgba(255,255,255,0.08); */
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.15); */
  transition: transform 0.3s ease;
  text-align: left;
}

.steps-list li:hover {
  transform: translateY(-4px);
}

.steps-list span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(to bottom, #6366f1, #a855f7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
/* Base toast */
.toast {
  position: fixed;
  bottom: 5px;
  /* top: 20px; */
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 999;
  white-space: nowrap;
}

/* Variants */
.toast.success {
  background: linear-gradient(to right, #22c55e, #16a34a); /* Green */
}

.toast.error {
  background: linear-gradient(to right, #ef4444, #dc2626); /* Red */
}

/* Show state */
.toast.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
  animation: floatUp 0.4s ease, fadeOut 0.5s ease 2.5s forwards;
}

/* Floating animation */
@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Auto fade out */
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
  }
}

.stepper {
  max-width: 270px;
  margin: 40px auto;
  font-family: 'Roboto', Arial, sans-serif;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 20px;
}

/* Step wrapper */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2; /* above the line */
}

.circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #9ca3af; /* gray */
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step.active .circle {
  background: #7b52b9;
}

/* Label always below */
.label {
  margin-top: 8px;
  font-size: 13px;
  color: #525252;
  line-height: 1.3em;
  max-width: 100px;
  font-weight:bold;
}

/* Line is drawn behind circles */
.line {
  height: 1px;
  background: #4a4848;
  margin: 15px 2px;
  width: 50%;
}


.loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  position: relative;
  z-index: 999;
}

.green-ball {
  width: 40px;
  height: 40px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: dropFlipExpand 2s ease forwards;
  transform-origin: center;
}

.activated-text {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #22c55e;
  opacity: 0;
  animation: showText 0.6s ease 1.7s forwards;
}

/* Animation keyframes */
@keyframes dropFlipExpand {
  0% {
    transform: translateY(-80px) scale(1) rotate(0deg);
  }
  30% {
    transform: translateY(0) scale(1) rotate(180deg);
  }
  60% {
    transform: translateY(10px) scale(1) rotate(360deg);
  }
  80% {
    transform: scale(1.2) rotate(360deg);
  }
  100% {
    width: 220px;
    height: 60px;
    border-radius: 16px;
    background-color: #22c55e;
    transform: scale(1);
  }
}

@keyframes showText {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loader-container {
  display: none;
  justify-content: center;
  align-items: center;
  height: 200px;
  flex-direction: column;
  transition: opacity 2s ease, transform 0.8s ease;
  opacity: 1;
  transform: scale(1);
}

.ball-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ball {
  width: 40px;
  height: 40px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: drop 0.5s ease-out forwards, flip 1s ease-in-out 0.5s forwards, expand 0.6s ease-in-out 1.5s forwards;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

/* ₹ icon initially visible */
.rupee-icon {
  font-size: 20px;
  color: white;
  font-weight: bold;
  opacity: 1;
  position: absolute;
  transition: opacity 0.3s ease;
  animation: fadeOut 0.3s ease forwards;
  animation-delay: 2s;
}

/* Text appears after expand */
.success-text {
  opacity: 0;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 0 10px;
  transition: opacity 0.3s ease;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 2.3s;
}

/* Animations */

@keyframes drop {
  0% {
    transform: translateY(-100px) scale(1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes flip {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes expand {
  0% {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  100% {
    width: 200px;
    height: 60px;
    border-radius: 12px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.redirect-text {
  margin-top: 10px;
  font-size: 14px;
  color: #6b7280;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 3s; /* Appear after box animation */
}