
@font-face {
  font-family:"ClashDisplay-Regular.ttf" ;
  src: url('../asset/font/ClashDisplay-Regular.ttf');
}
html,
body {
  font-family: clash;
  overflow: hidden; 
  margin: 0;
  padding: 0;
}
/* h4{
  font-size: 20px;
} */
*{
  font-family: "ClashDisplay-Regular.ttf";
}
.gradient-name {
  background: linear-gradient(#FEF200, #E08C2F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

#gbc-output{
  overflow-wrap:anywhere ;
}
#gbc-output,#gbc-sub,#gbc-sub1{
  display: none;
  color: #ffffff;
}
#main-div {
  z-index: 99999;
}
.logo{
  width: 200px;
}
h6{
  font-size: 14px;
  margin: 20px 0px 25px !important;
  padding: 0px;
  font-weight: 300;

}
b{
  font-weight: bold;
  font-size: 16px;
}
h4{
  font-size: 16px;
  margin: 0px 0px 5px !important;
  font-weight: 400;
}
h2{
  font-size: 22px;
  margin: 0px 0px 25px;
  padding: 0px 10px;
  font-weight: bolder;

}
h1{
  font-size:22px;
}


h1,h2,h3,p{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}
h1{
 font-size: 40px;
}
#gbc-output{
  color: #ffffff;
}
#butimg{
  width: 10px;
}
button {
  font-size: 25px;
  padding: 20px 90px;
  border-radius: 10px;
  margin-top: 40px;
  /* font-size: 16px; */
  background: linear-gradient(to right, #FEF700, #EF7800);
  border: none;
  cursor: pointer;
  transition: background 0.5s, transform 0.3s;
  display: flex;
  text-align: center;
  gap: 20px;
  font-weight: bold;
}

button:hover {
  background: linear-gradient(to right, #ff0000, #ff6a00, #ff0000);
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff6347, 0 0 30px #ff4500;
}
#primary-div{
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
  align-items: center;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url("../asset/images/Bg-Light.webp") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
}

.scene {
  position: relative;
  width: 300px;
  height: 200px;
  display: none;
  margin: auto;
}

.matchbox-container {
  position: absolute;
  bottom: 20px;
  left: 50px;
  width: 60px;
  height: 150px;
  perspective: 1000px;
}
.sparkle-container {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

.sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #fffacd 0%, #ffd700 70%, transparent 100%);
  border-radius: 50%;
  opacity: 0.8;
  animation: sparkleRise 1s ease-out forwards;
}

@keyframes sparkleRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) scale(0.5);
    opacity: 0;
  }
}

.matchbox {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(0deg);
  opacity: 1;
}

.matchbox.visible {
  opacity: 1;
}

.matchbox.opening {
  animation: openMatchbox 0.5s ease-out forwards;
}

@keyframes openMatchbox {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(90deg);
  }
}

.matchbox-face {
  position: absolute;
  width: 200px;
  height: 100%;
  /* background: #; */
  border-radius: 4px;
  /* box-shadow: 
          0 4px 8px rgba(0, 0, 0, 0.3),
          0 0 0 1px rgba(0, 0, 0, 0.1); */
  background-size: cover;
  background-position: center;
}

.matchbox-front {
  transform: translateZ(-30px);
  transform: translateX(15px);
  margin-right: 60px;
  background-image: url("../asset/images/matchbox.webp");
  width: 200px;
  margin-left: -18px;
}

.matchbox-back {
  transform: translateZ(-30px) rotateY(180deg);
  background-image: url("matchbox.html");
}

.matchbox-right {
  transform: rotateY(90deg) translateZ(30px);
  width: 60px;
  background: #34495e;
}

.matchbox-left {
  transform: rotateY(-90deg) translateZ(30px);
  width: 60px;
  background: #34495e;
}

.matchbox-top {
  transform: rotateX(90deg) translateZ(75px);
  height: 60px;
  background: #2c3e50;
}

.matchbox-bottom {
  transform: rotateX(-90deg) translateZ(75px);
  height: 60px;
  background: #2c3e50;
}

.strike-strip {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(90deg, #e74c3c, #c0392b),
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.1) 0px,
      rgba(0, 0, 0, 0.1) 1px,
      transparent 1px,
      transparent 2px
    );
  border-radius: 4px;
  transform: translateZ(31px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.matchbox-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(31px);
  color: #ecf0f1;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.matchstick {
  position: absolute;
  bottom: 20px;
  right: 70px;
  width: 6px;
  height: 90px;
  background: #deb887;
  border-radius: 3px;
  transform-origin: bottom center;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  cursor: pointer;
  opacity: 1;
}

.matchstick.visible {
  opacity: 1;
}

.matchstick.pulling {
  animation: pullMatchstick 0.5s ease-out forwards;
}

@keyframes pullMatchstick {
  0% {
    transform: rotate(40deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.matchstick.rotating {
  animation: rotateMatchstick 0.5s ease-out forwards;
}

@keyframes rotateMatchstick {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

.matchstick:hover {
  transform: rotate(87deg);
}

.matchstick.striking {
  animation: strikeMatch 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes strikeMatch {
  0% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(45deg) translateX(-50px) translateY(20px);
  }
  100% {
    transform: rotate(180deg) translateX(-100px) translateY(40px);
  }
}
#gbc-input{
  padding:20px 40px;
  border-radius: 10px;
  text-align: center;
}
.match-head {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #e74c3c;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.second-flame {
  left: 100%; /* adjust this as needed */
  bottom: -47px; /* optional tweak */
  z-index: 1;
}


.flame {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .flame.igniting {
  width: 35px;
  height: 70px;
  background: linear-gradient(
    to top,
    #ffffff 0%,
    #ffd700 20%,
    #ff8e53 40%,
    #ff4500 60%,
    #8b0000 80%,
    transparent 100%
  );
  box-shadow: 0 0 20px #ff4500, 0 0 40px #ff8e53, 0 0 60px #ffd700;
  animation: flicker 0.1s infinite, flameWave 0.5s infinite,
    flamePulse 0.3s infinite;
  animation-play-state: running;
} */

/* @keyframes flicker {
  0%,
  100% {
    transform: translateX(-50%) scale(1) skewX(0deg);
    opacity: 1;
  }
  25% {
    transform: translateX(-50%) scale(1.05) skewX(2deg);
    opacity: 0.95;
  }
  50% {
    transform: translateX(-50%) scale(1.1) skewX(-2deg);
    opacity: 0.9;
  }
  75% {
    transform: translateX(-50%) scale(1.05) skewX(1deg);
    opacity: 0.95;
  }
}

@keyframes flameWave {
  0%,
  100% {
    background-position: 0% 0%, 0% 0%;
  }
  25% {
    background-position: 5% 5%, 0% 5%;
  }
  50% {
    background-position: 0% 10%, 0% 10%;
  }
  75% {
    background-position: -5% 5%, 0% 5%;
  }
}

@keyframes flamePulse {
  0%,
  100% {
    box-shadow: 0 0 20px #ff4500, 0 0 40px #ff8e53, 0 0 60px #ffd700;
  }
  50% {
    box-shadow: 0 0 25px #ff4500, 0 0 45px #ff8e53, 0 0 65px #ffd700;
  }
} */

.fire-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ff8e53;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px #ff8e53;
}

@keyframes matchboxDisappear {
  0% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateX(0deg) rotateY(0deg);
  }
  100% {
    opacity: 0;
    transform: translateX(-100px) translateY(0) rotateX(0deg)
      rotateY(0deg);
  }
}
#matchstick-hint {
  display: none;
  position: absolute;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  width: 100%;
  font-weight: bolder;
}

.matchbox.disappearing {
  animation: matchboxDisappear 0.5s ease-out forwards;
}

.matchstick.centering {
  animation: matchstickToCenter 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: absolute;
  transform-origin: bottom center;
  left: 50%;
  top: 10%;
}

@keyframes matchstickToCenter {
  0% {
    transform: translate(150px, 20px) rotate(180deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}
input{
  font-size: large;
}
@media screen and (max-width:768px){
  #heading1{
    padding: 0px !important;
height: 0px;
  }
  h3{
    font-size: 16px;
    /* height: 0px; */
    margin-bottom: 30px;
  }
}
.flame {
  width: 100px;
  height: auto;
  position: absolute;
  left:53px;
  margin-left: -100px;
  top: 75px;
}
.flame svg {
  /* width: 100%; */
  /* height: auto; */
  left:50%;
  position: relative
}
.flame {
  animation-name: flamefly;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 1;
  rotate: 180deg;
  display: none;
  /* transform-origin: 50% 50% 0; */
}
.flame.one {
  animation-delay: 1s;
  animation-duration: 3s;
}
.flame3.two{
  animation-duration: 5s;
  animation-delay: 1s;
}

.flame-main {
  animation-name: flameWobble;
  animation-duration: 100s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.flame-main.one {
  animation-duration: 4s;
  animation-delay: 1s;
}
.flame-main.two {
  animation-duration: 3s;
  animation-delay: 2s;
}
.flame-main.three {
  animation-duration: 2.1s;
  animation-delay: 3s;
}
.flame-main.four {
  animation-duration: 3.2s;
  animation-delay: 4s;
}
.flame-main.five {
  animation-duration: 2.5s;
  animation-delay: 5s;
}
@keyframes flameWobble {
  50% {
    transform: scale(1,1.2) translate(0, -30px) rotate(-2deg);
  }
}

@keyframes deepamRise {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.deepam {
  position: absolute;
  bottom: 10px;
  left: 30%;
  transform: translateX(-50%);
  width: 120px;
  opacity: 0;
  display: none;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.deepam.lit {
  display: block;
  animation: deepamRise 0.7s ease-out forwards;
}

.deepam-flame {
  position: absolute;
  bottom: 80px;
  left: 30%;
  transform: translateX(-50%) scale(0);
  width: 100px;
  height: auto;
  opacity: 0;
  transition: all 0.5s ease-out;
  pointer-events: none;
  z-index: 2;
}

.deepam-flame.lit {
  animation: deepamFlameFadeIn 0.8s ease-in forwards;
  opacity: 1;
}

@keyframes deepamFlameFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-24%) translateY(26%);
  }
  100% {
    opacity: 1;
    transform: translateX(-24%) translateY(26%);
  }
}



@keyframes matchstickTiltToDeepam {
  0% {
    transform: rotate(180deg) translateX(-100px) translateY(40px);
  }
  100% {
    transform: rotate(130deg) translateX(-30px) translateY(80px); /* tilted in place */
  }
}

@keyframes matchstickReturnToNormal {
  0% {
    transform: rotate(130deg) translateX(-30px) translateY(80px);
    opacity: 1;
  }
  100% {
    transform: rotate(180deg) translateX(-100px) translateY(40px); /* back upright */
    opacity: 0;
  }
}



.matchstick.tilt-toward-deepam {
  animation: matchstickTiltToDeepam 0.5s ease-in-out forwards;
}

.matchstick.return-to-upright {
  animation: matchstickReturnToNormal 0.5s ease-in-out forwards;
}



.fade-out-flame {
  animation: flameOpacityFade 0.8s ease-out forwards;
}

@keyframes flameOpacityFade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Fade in from bottom animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Initial state for elements that will fade in */
#gbc-output, #gbc-sub, #gbc-sub1 {
  opacity: 0;
  transform: translateY(30px);
}