.hero {
  min-height: 100vh;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -155px;
  transform: translateY(-50%);
  width: 420px;
  max-width: 420px;
  height: 420px;
  background-image: url("../img/hero_rhombus.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: appear 1.2s ease-out 0.3s forwards;
}

.hero__glow-ball {
  position: absolute;
  top: 0;
  right: -200px;
  width: 760px;
  height: 760px;
  background-image: url("../img/glow_hero.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: appear 1.6s ease-out 1.6s forwards;
  
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
}

.hero__content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: appear 0.4s ease-out 0.1s forwards;
}

.hero__content::after {
  content: "";
  background-image: url("../img/statuette.svg");
  background-repeat: no-repeat;
  width: 430px;
  max-width: 700px;
  min-width: 280px;
  height: 742px;
  max-height: 742px;
  min-height: 280px;
  position: absolute;
  top: 84%;
  right: -28%;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  animation: appear 0.7s ease-out 0.7s forwards;
}

.hero__content::before {
  content: "";
  position: absolute;
  width: 950px;
  height: 1236px;
  top: -300px;
  right: -6%;
  transform-origin: top right;
  background-image: url('../img/top-light-hero.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: appear 1.4s ease-out 1.4s forwards;
}

.hero__badge {
  font-family: "Proxima Nova Regular", sans-serif;
  display: inline-block;
  font-weight: 400;
  font-size: 28px;
  color: rgba(237, 244, 252, 1);
  margin-bottom: 12px;
  line-height: 35px;
}

.hero__title {
  font-weight: 800;
  font-size: 111px;
  color: rgba(237, 244, 252, 1);
  font-family: "Proxima Nova Extrabold", sans-serif;
  line-height: 108px;
  letter-spacing: -5px;
  margin: 0 0 8px 0;
}

.hero__title-line {
  display: block;
}

.hero__title--gradient {
  display: block;
  font-weight: 800;
  font-size: 111px;
  line-height: 1.05;
  background-image:
    linear-gradient(
      105deg,
      transparent 0%,
      transparent 42%,
      rgba(255, 255, 255, 0.9) 48%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0.9) 52%,
      transparent 58%,
      transparent 100%
    ),
    linear-gradient(
      100deg,
      #a77427 6.84%,
      #ddb55f 22.38%,
      #f7e3a8 37.91%,
      #fbefc8 50%,
      #f0d48f 63.81%,
      #c79436 79.35%,
      #a77427 93.16%
    );
  background-size: 250% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero__sub {
  font-weight: 400;
  font-family: "Proxima Nova Regular", sans-serif;
  font-size: 33px;
  color: rgba(184, 134, 47, 1);
  margin-top: 16px;
  margin-bottom: 80px;
  letter-spacing: 0.01em;
}

.hero__btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.hero__btn {
  font-family: "Proxima Nova Semibold";
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 48px;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-align: center;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.hero__btn--primary {
  position: relative;
  overflow: hidden;
  color: rgba(26, 18, 4, 1);
  background: linear-gradient(
    102deg,
    #b8862f 7.84%,
    #f7e3a8 39.88%,
    #fbefc8 51.69%,
    #e3bc6a 71.92%,
    #b8862f 92.16%
  );
  box-shadow: 0px 8px 34px 0px rgba(227, 188, 106, 0.26);
}

.hero__btn--primary::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: buttonShine 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 1s;
}

.hero__btn--primary:hover {
  box-shadow: 0px 10px 40px 0px rgba(227, 188, 106, 0.4);
}

.hero__btn--primary:active {
  box-shadow: 0px 4px 16px 0px rgba(227, 188, 106, 0.24);
  filter: brightness(0.94);
}

.hero__btn--secondary {
  color: rgba(237, 244, 252, 1);
  background: rgba(46, 138, 224, 0.06);
  border: 1px solid rgba(148, 190, 240, 0.28);
  backdrop-filter: blur(2px);
}

.hero__btn--secondary:hover {
  background: rgba(46, 138, 224, 0.12);
  border-color: rgba(148, 190, 240, 0.45);
}

.hero__btn--secondary:active {
  background: rgba(46, 138, 224, 0.18);
  border-color: rgba(148, 190, 240, 0.6);
  filter: brightness(0.95);
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes titleShine {
  0% {
    background-position: 120% 0, 0 0;
  }
  8% {
    background-position: 120% 0, 0 0;
  }
  50% {
    background-position: -40% 0, 0 0;
  }
  100% {
    background-position: -40% 0, 0 0;
  }
}

@keyframes buttonShine {
  0%,
  25% {
    right: -60%;
    opacity: 0;
  }
  26% {
    opacity: 1;
  }
  50% {
    right: 120%;
    opacity: 1;
  }
  55% {
    right: 120%;
    opacity: 0;
  }
  100% {
    right: 120%;
    opacity: 0;
  }
}

@media (max-width: 991px) {
.hero {
  min-height: auto;
  padding: 60px 0;
}

.hero__text-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  position: relative;
  isolation: isolate;
}

.hero__text-wrapper::before {
  content: "";
  width: 800px;
  height: 800px;
  position: absolute;
  top: 70%;
  left: 46%;
  transform: translate(calc(-50% - 60px), calc(-50% - 80px));
  background: radial-gradient(50% 50% at 50% 42%, rgba(46, 138, 224, 0.3), rgba(18, 78, 146, 0.12) 45%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  top: 35%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.hero__content::before {
  display: none;
}

.hero__badge {
  order: 1;
  font-size: 22px;
  line-height: 28px;
}

.hero__title,
.hero__title--gradient {
  order: 2;
  font-size: 72px;
  line-height: 76px;
  letter-spacing: -3px;
}

.hero__sub {
  order: 3;
  font-size: 26px;
  margin-top: 12px;
  margin-bottom: 40px;
}

.hero__content::after {
  order: 4;
  position: static;
  top: auto;
  right: auto;
  transform: none;
  z-index: auto;
  width: 320px;
  height: 552px;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin: 0 auto 40px;
  background-position: center;
  background-size: contain;
}

.hero__btn-group {
  order: 5;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.hero__btn {
  width: 100%;
  padding: 18px 24px;
}

.hero__glow-ball {
  width: 560px;
  height: 560px;
  right: -180px;
  top: 25%;
}
}

@media (max-width: 512px) {
.hero {
  padding: 40px 0 48px;
}

.hero__badge {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 8px;
}

.hero__title,
.hero__title--gradient {
  font-size: 52px;
  line-height: 56px;
  letter-spacing: -2px;
}

.hero__sub {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 28px;
}

.hero__content::after {
  width: 250px;
  height: 430px;
  margin-bottom: 32px;
}

.hero__btn-group {
  gap: 14px;
}

.hero__btn {
  padding: 16px 20px;
}

.hero__glow-ball {
  width: 420px;
  height: 420px;
  right: -160px;
}
}