:root {
  --primary-color: ;
  --secondary-color: ;
  --tertiary-color: ;
  --font-1: ;
  --font-2: ;
  --font-3: ;
  --font-4: ;
  --font-5: ;

  --padding: ;
}


body,
html {
  width: 100%;
  font-size: 24px;
  overflow-x: clip;
  background-color: var(--secondary-color);
  transition: all .4s ease;
  color: var(--primary-color);
  scroll-behavior: smooth;
}


body {
  /* background-image: linear-gradient(to right top, #002620, #012b24, #023029, #03352d, #053a32, #083f36, #0b443b, #0e493f, #124f44, #17544a, #1b5a4f, #1f6055); */

  background-image: linear-gradient(to right top, #002620, #002b24, #013028, #02352d, #033a31, #043f35, #05443a, #07493e, #094f43, #0b5548, #0d5b4e, #0f6153);
}


.hero {
  min-height: 50vh;

}

.hero h1 {
  font-family: var(--font-4);
  font-size: 10vw;
  position: relative;
  top: 19vh;
  /* text-align: center; */
  left: 50%;
  text-wrap: nowrap;
  transform: translate(-50%, 0px);
  text-transform: uppercase;
  text-align: center;
  /*  */

  background: linear-gradient(to bottom, #cdd9ce 15%, #97b499 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}







/* section-1 */


.section-1 {
  position: relative;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: start;
  /* background: linear-gradient(135deg, #0d1f23, #183f40); */
  color: var(--secondary-color);
  font-family: var(--font-2);
  padding: var(--padding);

}

.section-1::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: url("https://images.pexels.com/photos/3130810/pexels-photo-3130810.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover no-repeat; */
  opacity: 0.15;
  z-index: 0;
}

.tasks-wrapper {
  width: min(700px, 100%);
  height: 700px;
  position: relative;
  perspective: 1000px;
  z-index: 1;
}

.tasks-front,
.tasks-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
  backface-visibility: hidden;
  transition: transform 1s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tasks-front {
  background: linear-gradient(145deg, #0c1e1f, #133a36);
  gap: 30px;
}

.tasks-back {
  background: linear-gradient(145deg, #0b2e28, #0f4742);
  transform: rotateY(180deg);
}

.tasks-wrapper.flipped .tasks-front {
  transform: rotateY(180deg);
}

.tasks-wrapper.flipped .tasks-back {
  transform: rotateY(0deg);
}

/* ✅ Tasks styling */
.task {
  width: 80%;
  height: 100px;
  border-radius: 16px;
  background-color: gray;
  opacity: 0.6;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  font-family: var(--font-3);
  font-weight: lighter;
  transition: all 0.4s ease;
  box-shadow: 0px 0px 9px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  cursor: not-allowed;
}

.task.active {
  background-image: linear-gradient(to right top, #002620, #013028, #033a31, #0f6153);
  opacity: 1;
  transform: scale(1.02);
  pointer-events: auto;
  cursor: pointer;
  animation: glow 2s infinite ease-in-out;
}

.task h3 {
  font-size: 34px;
  text-align: center;
}

/* ✅ Wallet side */
.tasks-back input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  margin-top: 14px;
  outline: none;
  font-size: 18px;
}

.tasks-back button {
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-2);
  transition: all 0.3s ease;
  font-weight: bold;
}

.tasks-back button:hover {
  transform: scale(1.05);
}

#walletMsg {
  margin-top: 15px;
  font-size: 18px;
  color: #9ef6e0;
  text-align: center;
}

.tasks-back {
  box-shadow: 0px 0px 14px 3px #cbd9d3a3;
  height: 85vh;
  padding: 25px;
}

.tasks-back h2 {
  text-align: center;
  font-family: var(--font-4);
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 10px;
  margin: 0 auto;
}


.tasks-back button {
  width: 100%;

  position: relative;
  font-size: 20px;
  font-family: var(--font-2);
  background-color: var(--tertiary-color);
  border: 1px solid var(--primary-color);
  /* box-shadow: 0px 0px 8px 4px rgba(210, 209, 207, 0.736); */
}

.tasks-back {
  gap: 25px;
}

.form-row {
  color: var(--primary-color);
  grid-template-columns: 1fr;
  font-size: 15px;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  font-family: var(--font-2);
}

.entry-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, var(--secondary-color) 60%, #111);
  background: radial-gradient(circle at center, #08433a 60%, #ffffff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: white;
  text-align: center;


}



.entry-overlay p {
  margin-top: 10px;
  color: #ff6060;
  font-size: 0.9rem;
  height: 1rem;
  font-family: var(--font-2);
}

.entry-overlay h1 {
  font-size: 60px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-family: var(--font-4);
  color: var(--primary-color);
  width: 90%;
}

.entry-overlay input {
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  outline: none;
  text-align: center;
  margin-bottom: 10px;
  width: min(500px, 90%);
  font-family: var(--font-2);
  background: #e7e9e8;
}

.entry-overlay button {
  padding: 10px 24px;
  background: var(--primary-color);
  font-family: var(--font-2);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: min(500px, 90%);
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: 700;

}





/* ✨ Glow animation for active task */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.6);
  }

  100% {
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.3);
  }
}



/* universal */
.bg-print {
  object-fit: cover;
  opacity: .045;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  left: 0px;
  object-fit: cover;
  /* display: none; */


}

@media (max-width:1000px) {
  .hero h1 {
    font-size: calc(56px + 3vw);
    white-space: unset;
  }

}


@media (max-width:760px) {
  .task {
    width: 91%;
  }

  .task h3 {
    font-size: calc(20px + 1.5vw);
    width: 90%;
    margin: 0 auto;
  }

  .hero {
    min-height: 40vh;
  }
}



@media (max-width:600px) {
  .tasks-back h2 {
    font-size: calc(25px + 1.7vw);
  }

  .hero h1 {
    font-size: clamp(49px, 11vw, 75px);
    width: 95%;
  }

  .tasks-wrapper {
    /* height: 600px; */
  }
  .entry-overlay h1 {
    font-size: 11.5vw;
  }
}

