@font-face {
  font-family: NexaLight;
  src: url(../fonts/NexaLight.ttf);
}

@font-face {
  font-family: Nexa;
  src: url(../fonts/Nexa.ttf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  color: #fff;
  font-family: Nexa, Arial, Helvetica, sans-serif;
}

body.toggle {
  color: #080808;
}

.background {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.background.toggle::after {
  opacity: 1;
}

a {
  color: #fff;
  text-decoration: none;
}

a.toggle {
  color: #000000;
}

span {
  cursor: default;
}

h1 {
  font-size: 3.5rem;
  background: #ffffff;
  background: linear-gradient(to bottom, #ffffff 0%, #dddddd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: default;
  transition: all 0.5s ease;
}

h1.toggle {
  background: #000000;
  background: linear-gradient(to bottom, #000000 0%, #242424 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1:hover {
  scale: 1.0125;
  margin-bottom: 5px;
}

h2 {
  font-size: 3rem;
  background: #ffffff;
  background: linear-gradient(to bottom, #ffffff 0%, #dddddd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: default;
}

h2.toggle {
  background: #000000;
  background: linear-gradient(to bottom, #000000 0%, #242424 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 1rem;
  cursor: default;
  font-family: NexaLight, Arial, Helvetica, sans-serif;
}

.greenText {
  background: #00e022;
  background: linear-gradient(to bottom, #00e022 0%, #19bb47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================ SCROLL REVEAL ANIMATIONS ================ */

/* Base state for all animated content (except home) */
.reveal-content {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Different animation types */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal-fade-down {
  opacity: 0;
  transform: translateY(-60px);
  transition: all 0.8s ease;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(10deg) scale(0.9);
  transition: all 0.8s ease;
}

/* Active state when in view */
.reveal-content.revealed,
.reveal-fade-up.revealed,
.reveal-fade-down.revealed,
.reveal-fade-left.revealed,
.reveal-fade-right.revealed,
.reveal-scale.revealed,
.reveal-rotate.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotate(0);
}

/* Staggered animations for child elements */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stagger-children.revealed > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.stagger-children.revealed > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.stagger-children.revealed > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.stagger-children.revealed > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* ================ HEADER ================ */

header {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 4rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.headerContainer {
  width: 1500px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
}

.headerContainer.scrolled {
  width: 1250px;
  margin-top: 0.5rem;
  padding: 0 1rem;
  border-radius: 2rem;
  background-color: rgba(14, 14, 14, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.headerContainer.scrolled.toggle {
  background-color: transparent;
}

.headerRight {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.headerLeft {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.headerBtn {
  transition: all 0.5s ease;
}

.headerBtn:hover {
  scale: 1.05;
  color: rgb(222, 222, 222);
}

.headerLogo {
  display: inline-block;
  background-image: url(../images/logoexample.png);
  background-size: 2.5rem 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  transition: all 0.5s ease;
}

.headerLogo:hover {
  scale: 1.1;
}

.headerLogoText {
  background: #00e022;
  background: linear-gradient(to bottom, #00e022 0%, #19bb47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.headerlogos {
  width: 20px;
  height: auto;
  transition: transform 0.2s;
  animation: fadeIn 3s;
  margin: 5px;
  cursor: pointer;
}

.docslogo.toggle {
  content: url(../images/docslogobl.png);
}

.xlogo.toggle {
  content: url(../images/xlogobl.png);
}

.headerlogos:hover {
  transform: scale(1.1);
}

.daynight {
  cursor: pointer;
  width: 25px;
}

.daynight.toggle {
  content: url(../images/nighticon.png);
}

/* ================ CONTAINER ================ */

.scrollContainer {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y proximity;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  height: 100vh;
  width: 1250px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.content {
  width: 100%;
  height: 100vh;
  transition: 1s all ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* margin-top: 2rem; */
}

/* .appear {
  transform: translateY(0);
  opacity: 1;
  transition: 1s all ease;
} */

/* ================ sectionOne ================ */

.homeContent {
  height: 80vh;
  margin-top: 10rem;
}

.homeTop {
  height: 70%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.homeLeft {
  height: 100%;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  gap: 2rem;
}

.homeRight {
  height: 100%;
  width: 40%;
  padding: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.homeRightImg {
  background-image: url(../images/coinanimation.gif);
  background-size: cover;
  background-position: center;
  width: 20rem;
  height: 20rem;
  border: 1px solid #383838;
  border-radius: 20px;
  opacity: 0.8;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.homeRightImg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.homeRightImg:hover {
  scale: 1.05;
  opacity: 0.95;
  filter: brightness(1.2);
}

.homeRightImg:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.homeBtns {
  display: flex;
  gap: 1rem;
}

/* TRADE BTN */

.tradeBtn {
  position: relative;
  color: #171717ff;
  font-weight: 700;
  border: 1px solid #03ff28;
  border-radius: 2rem;
  padding: 1rem 3rem;
  background: #00e022;
  background: linear-gradient(to bottom, #00e022 0%, #19bb47 100%);
  transition: all 0.5s ease;
  overflow: hidden;
  cursor: pointer;
  pointer-events: all;
}

.tradeBtn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.tradeBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.tradeBtn:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

/* LAUNCH BTN */

.launchBtn {
  position: relative;
  color: #fff;
  font-weight: 700;
  border: 1px solid #383838;
  border-radius: 2rem;
  padding: 1rem 3rem;
  background-color: rgba(30, 30, 30, 0.5);
  transition: all 0.5s ease;
  overflow: hidden;
  cursor: pointer;
  pointer-events: all;
}

.launchBtn.toggle {
  background-color: rgb(41, 41, 41, 1);
}

.launchBtn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.launchBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.launchBtn:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.homeLower {
  height: 40%;
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

/* ========================= CONTRACT ADDRESS ========================= */

.address {
  font-family: NexaLight, Nexa, sans-serif;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: white;
  border: 1px solid #383838;
  border-radius: 2rem;
  padding: 0.25rem 2rem;
  background: #1f1f1f;
  background-color: rgba(30, 30, 30, 0.5);
  width: auto;
  transition: all 0.5s ease;
}

.address.toggle {
  background-color: rgb(41, 41, 41, 1);
}

.address:hover {
  background-color: rgba(30, 30, 30, 0.95);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  scale: 1.01;
}

.address #btn-copy {
  width: 25px;
  transition: all 0.2s;
  margin-top: 0.25rem;
}

.titleh1 {
  margin: 0 0 0.5rem 0; /* Remove default margins, add small bottom margin */
}

.titleh2 {
  margin: 0; /* Remove all margins from h2 inside address */
}

.titlep {
  margin: 0.5rem 0 0 0; /* Remove default margins, add small top margin */
}

.address {
  margin: 0.5rem 0; /* Control spacing around the address container */
}

/* ================ sectionTwo ================ */

.aboutBorderContainer {
  width: 100%;
  height: 80%;
  background: rgba(19, 19, 19, 0.1);
  background: linear-gradient(
    180deg,
    rgba(7, 7, 7, 0) 0%,
    rgba(7, 7, 7, 0.6) 100%
  );
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.aboutBorderContainer.toggle {
  background: transparent;
}

.boxContainer {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

.box {
  height: 20rem;
  width: 20rem;
  border: 1px solid rgb(97, 97, 97);
  border-radius: 1rem;
  background: rgba(17, 17, 17, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.5s ease;
  overflow: hidden;
  pointer-events: all;
}

.box.toggle {
  color: #fff;
}

.box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.box:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.box:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.boxTop {
  width: 100%;
  height: 25%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgb(97, 97, 97);
}

.boxBottom {
  width: 100%;
  height: 75%;
  padding: 1rem;
}

.aboutIcon {
  display: inline-block;
  background-size: 2rem 2rem;
  width: 2rem;
  height: 2rem;
}

.iconCoin {
  background-image: url(../images/coinicon.png);
}

.iconLock {
  background-image: url(../images/lockicon.png);
}

.iconLightning {
  background-image: url(../images/lightningicon.png);
}

/* ================ sectionThree ================ */

.sectionThree {
  position: relative;
}

/* FAQ */

.faq {
  margin-top: 3rem;
}

summary {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  border: 1px solid #383838;
  border-radius: 2rem;
  padding: 1rem 3rem;
  background-color: rgba(30, 30, 30, 0.5);
  transition: all 0.5s ease;
  overflow: hidden;
  cursor: pointer;
  pointer-events: all;
}

summary.toggle {
  background-color: rgba(41, 41, 41, 0.9);
  color: #fff;
}

details > summary::after {
  position: absolute;
  content: "+";
  right: 20px;
}
details[open] > summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}
details > summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
}
@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

details {
  margin-top: 1rem;
  width: 1250px;
}

/* Footer */

.footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
  margin-bottom: 1rem;
}
