/* Gifts Block Animations */
@keyframes wheelAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Typography */
.gifts-title {
  font-family: Raritas, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 124%;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #FFF0D4;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-title {
    font-size: 48px;
  }
}

@media (max-width: 760px) {
  .gifts-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 118%;
    letter-spacing: 1.7px;
  }
}

.gifts-subtitle {
  font-family: Raritas, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 124%;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #FFF0D4;
  text-shadow:
    0 0 19.912px rgba(255, 212, 27, 0.14),
    0 0 10.83px rgba(255, 212, 27, 0.11),
    0 0 5.525px rgba(255, 212, 27, 0.09),
    0 0 2.77px rgba(255, 212, 27, 0.07),
    0 0 34px rgba(255, 212, 27, 0.04);
  background: linear-gradient(0deg, #ffb401 0%, #fffeea 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-subtitle {
    font-size: 48px;
  }
}

@media (max-width: 760px) {
  .gifts-subtitle {
    font-size: 34px;
    letter-spacing: 2px;
  }
}

.gifts-description {
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 150%;
  color: #fff8c5;
}

@media (max-width: 760px) {
  .gifts-description {
    font-size: 16px;
    line-height: 155%;
  }
}

.gifts-button-text {
  font-family: 'Raritas', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 135%;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7C3D0B;
}

@media (max-width: 760px) {
  .gifts-button-text {
    font-size: 18px;
    letter-spacing: 0.9px;
  }
}

/* Roulette */
.gifts-roulette {
  position: absolute;
  z-index: 1;
  width: 578px;
  height: 578px;
  top: -148px;
  right: -518px;
  flex-shrink: 0;
  border-radius: 578px;
  box-shadow:
    0 7px 45px 0 rgba(234, 197, 0, 0.28),
    0 5.091px 30.331px 0 rgba(234, 197, 0, 0.23),
    0 3.544px 19.617px 0 rgba(234, 197, 0, 0.19),
    0 2.324px 12.173px 0 rgba(234, 197, 0, 0.16),
    0 1.4px 7.313px 0 rgba(234, 197, 0, 0.14),
    0 0.738px 4.351px 0 rgba(234, 197, 0, 0.12),
    0 0.306px 2.602px 0 rgba(234, 197, 0, 0.09),
    0 0.071px 1.38px 0 rgba(234, 197, 0, 0.05);
}

.gifts-roulette::after {
  position: absolute;
  content: '';
  width: 600px;
  height: 600px;
  top: 0;
  left: -10px;
  bottom: 0;
  right: 0;
  margin: auto;
  background: url(../img/gifts/roulette-in.webp) no-repeat center;
  background-size: contain;
  animation: wheelAnimation 7s linear infinite;
}

.gifts-roulette::before {
  position: absolute;
  content: '';
  width: 130px;
  height: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../img/gifts/roulette-logo.png) no-repeat center;
  background-size: contain;
  z-index: 3;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-roulette {
    right: -480px;
  }
}

@media (max-width: 760px) {
  .gifts-roulette {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -3;
  }

  .gifts-roulette::after {
    animation: wheelAnimation 21s linear infinite;
  }
}

/* Roulette Backdrop */
.gifts-roulette-backdrop {
  width: 600px;
  height: 600px;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  background: linear-gradient(180deg, #180707 0%, rgba(24, 7, 7, 0) 100%);
}

/* Sky Pictures */
.gifts-sky-picture {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  object-fit: contain;
  object-position: left bottom;
}

@media (max-width: 760px) {
  .gifts-sky-picture {
    display: none;
  }
}

.gifts-blurred-sky-picture {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  object-fit: contain;
  object-position: right bottom;
}

@media (max-width: 760px) {
  .gifts-blurred-sky-picture {
    display: none;
  }
}

/* Layout */
.gifts-layout {
  position: relative;
  width: 100%;
  padding: 60px 0 150px;
}

.gifts-layout > .gifts-roulette-backdrop {
  display: none;
}

.gifts-layout > .gifts-roulette {
  display: none;
}

@media (max-width: 760px) {
  .gifts-layout {
    height: initial;
    overflow: hidden;
    padding: 100px 0 0 0;
  }

  .gifts-layout > .gifts-roulette-backdrop {
    display: initial;
  }

  .gifts-layout > .gifts-roulette {
    display: initial;
  }
}

/* Container */
.gifts-container {
  max-width: 1344px;
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-container {
    max-width: 1280px;
  }
}

@media (max-width: 760px) {
  .gifts-container {
    padding: 120px 20px 0 20px;
  }
}

/* Section */
.gifts-section {
  position: relative;
  padding: 80px 100px;
  border-radius: 8px;
  max-width: 822px;
  width: 100%;
  height: max-content;
  background: radial-gradient(
    227.73% 291.91% at 50% 0%,
    #180707 18.5%,
    #f06706 70%
  );
  display: flex;
  flex-direction: column;
  margin-top: 128px;
  z-index: 1;
}

.gifts-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    152.7% 65.36% at 50% 50.36%,
    #ffdda8 31.33%,
    rgba(69, 24, 5, 0.6) 100%
  );
  border: 3px solid transparent;
  border-radius: inherit;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  transition: 0.2s ease-in-out;
}

.gifts-section > button div {
  padding: 0 100px;
}

.gifts-section > :not(:first-child) {
  margin-top: 40px;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-section {
    max-width: 773px;
  }
}

@media (max-width: 760px) {
  .gifts-section {
    padding: 200px 20px 40px 20px;
  }

  .gifts-section > a,
  .gifts-section > button {
    width: 100%;
  }

  .gifts-section > button div {
    padding: 0;
  }

  .gifts-section .gifts-roulette {
    display: none;
  }
}

/* Title Wrapper */
.gifts-title-wrapper {
  display: flex;
  flex-direction: column;
}

/* Text Container */
.gifts-text-container {
  display: flex;
  flex-direction: column;
}

.gifts-text-container > :not(:first-child) {
  margin-top: 24px;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-text-container .gifts-description {
    max-width: 573px;
  }
}

/* Orion Wrapper */
.gifts-orion-wrapper {
  position: absolute;
  width: 418px;
  height: 418px;
  bottom: -35px;
  right: -300px;
  z-index: 2;
  flex-shrink: 0;
}

.gifts-orion-wrapper p {
  position: absolute;
  width: 346px;
  height: 138px;
  top: 150px;
  right: -150px;
  padding: 28px 18px 0 18px;
  white-space: pre-wrap;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: #7F340F;
  background: url(../img/gifts/orion-text.svg) no-repeat center;
  background-size: cover;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 155%;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .gifts-orion-wrapper {
    bottom: -50px;
    right: -250px;
  }
}

@media (max-width: 760px) {
  .gifts-orion-wrapper {
    width: 342px;
    height: 353px;
    left: -50px;
    right: initial;
    top: -210px;
  }

  .gifts-orion-wrapper p {
    width: 268px;
    height: 104px;
    padding: 28px 16px 0 16px;
    top: 150px;
    right: initial;
    left: 150px;
    background: url(../img/gifts/orion-text-mobile.svg) no-repeat center;
    background-size: cover;
    font-size: 14px;
    line-height: 140%;
    font-weight: 500;
    color: #7F340F;
  }
}

/* Orion Video */
.gifts-orion-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 5px;
}

/* Button Wrapper */
.gifts-button-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  overflow: hidden;
}

.gifts-button-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 254, 234, 0.8) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease-in-out;
  pointer-events: none;
}

.gifts-button-wrapper > :not(:first-child) {
  margin-left: 8px;
}

@media (hover: hover) {
  .gifts-button-wrapper:hover::after {
    left: 125%;
  }
}

/* Button Layout */
.gifts-button-layout {
  display: flex;
  width: max-content;
  border-radius: 100px;
  height: 72px;
  padding: 2px;
  cursor: pointer;
  border: none;
  transition: 0.2s ease-in-out;
  background: radial-gradient(
    227.73% 291.91% at 50% 0%,
    #1d0e02 18.5%,
    #e28900 70%
  );
  box-shadow:
    0 7px 45px 0 rgba(234, 197, 0, 0.28),
    0 5.091px 30.331px 0 rgba(234, 197, 0, 0.23),
    0 3.544px 19.617px 0 rgba(234, 197, 0, 0.19),
    0 2.324px 12.173px 0 rgba(234, 197, 0, 0.16),
    0 1.4px 7.313px 0 rgba(234, 197, 0, 0.14),
    0 0.738px 4.351px 0 rgba(234, 197, 0, 0.12),
    0 0.306px 2.602px 0 rgba(234, 197, 0, 0.09),
    0 0.071px 1.38px 0 rgba(234, 197, 0, 0.05);
}

.gifts-button-layout > div {
  background: #FFF8C5;
}

@media (max-width: 760px) {
    .gifts-button-layout {
        width: 100%;
    }

    .gifts-button-layout > div {
        padding: 0 20px;
    }
}
