* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-1);
}
html {
  /* 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body,
html {
  width: 100%;
  height: 100%;
}
body {
  width: 100%;
  overflow-x: hidden;
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "pixel";
  src: url(assets/PixelPurl.ttf);
}
@font-face {
  font-family: "riffic";
  src: url(assets/RifficFree-Bold.ttf);
}
:root {
  --font-1: "pixel";
  --font-2: "riffic";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #c941ff;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
}
/* =========top-side======== */
.top-side {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  width: 100%;
  padding: 4rem 4% 2rem 4%;
}
/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 1;
  padding: 4rem 4% 0 4%;
}

/* =========heading section======== */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 6;
}

.heading {
  font-weight: 500;
  font-size: 34rem;
  line-height: 60%;
  letter-spacing: 0%;
}

/* ========btns section======== */
.btns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.link-btn {
  padding: 0 1rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s;
  z-index: 10;
  background-color: var(--white);
  border: 2.46px solid #f5a53c;
  box-shadow: 0px 0.17rem 0.17rem #000000;
}
.buy-btn:hover,
.link-btn:hover {
  transform: translateY(-8px);
}

.link-btn img {
  width: 100%;
  height: auto;
}

/* ========copy btn section======== */

.copy-btn-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  box-shadow: 0px 0.182rem 0.182rem #000000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.copy-btn {
  background-color: #f4a53c;
  cursor: pointer;
  transition: all 0.4s;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  border: 0.69px solid #000000;
}
.copy-btn img {
  width: 2.5rem;
  height: auto;
  cursor: pointer;
  transition: all 0.4s;
}
.copy-btn:hover .copy-img {
  transform: scale(1.06);
}
.copy-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--white);
  border: 0.61px solid #000000;
}
.ca {
  font-family: var(--font-2);
  font-size: 3rem;
  background-color: #f4a53c;
  padding: 1rem;
  font-weight: 700;
  font-style: Bold;
  border-right: 0.61px solid #000000;
}
.copy-text p {
  color: #f4a53c;
  font-weight: 500;
  padding: 1rem;
  font-size: clamp(1rem, 1.3rem, 1.5rem);
}
.copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* ========main-img section======== */

.side-img {
  height: auto;
  width: 90%;
  position: relative;
  z-index: 5;
}
#side-img-1 {
  max-width: 50rem;
}
#side-img-2 {
  max-width: 35rem;
}
.top-img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}
.light {
  position: absolute;
  width: 50%;
}
#light1 {
  left: -12%;
  top: -5rem;
}
#light2 {
  right: -23%;
  top: -3rem;
}
.side-img .img {
  width: 100%;
  height: 100%;
}
.bottom-side::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50%;
  background-image: url(assets/bg.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  z-index: 1;
}

/* responsiveness */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 50%;
  }
}
@media (max-width: 1150px) {
  .heading {
    font-size: 32rem;
  }
}
@media (max-width: 1100px) {
  .heading {
    font-size: 28rem;
  }
}
@media (max-width: 900px) {
  .heading {
    font-size: 26rem;
  }
}

@media (max-width: 850px) {
  .top-side {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 10rem 4% 2rem 4%;
  }
  .buy-btn {
    padding: 1rem;
  }
  .buy-btn span {
    font-size: 3rem;
  }
}

@media (max-width: 700px) {
  .copy-text p {
    font-size: 1.8vmin;
  }
}
@media (max-width: 450px) {
  .heading {
    font-size: 48vw;
  }
  .light {
    width: 35%;
  }
  #light2 {
    right: -7%;
    top: -1rem;
  }
  #light1 {
    left: 1%;
    top: -2rem;
  }
}
.copy-popup {
  text-align: center;
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50px;
  transform: translateX(-50%) scale(0.5);
  background: #f4a53c;
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 2rem;
  opacity: 0;
  pointer-events: none;
}

.copy-popup.active {
  animation: popupAnim 1s ease-out forwards;
}

@keyframes popupAnim {
  0% {
    transform: translateX(-50%) translateY(20px) scale(0.5);
    opacity: 0;
  }
  30% {
    transform: translateX(-50%) translateY(-10px) scale(1.1);
    opacity: 1;
  }
  70% {
    transform: translateX(-50%) translateY(-20px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-40px) scale(0.8);
    opacity: 0;
  }
}
