.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.66), rgba(6, 11, 22, 0.78)),
    url("/images/pages/swap/bg.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 340px at 10% 10%, rgba(57, 140, 255, 0.28), transparent 62%),
    radial-gradient(560px 280px at 88% 18%, rgba(0, 194, 255, 0.2), transparent 62%);
  animation: heroAuraShift 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -16% -8%;
  background:
    radial-gradient(320px 220px at 24% 34%, rgba(71, 114, 255, 0.3), transparent 72%),
    radial-gradient(360px 250px at 72% 58%, rgba(0, 211, 255, 0.26), transparent 74%),
    radial-gradient(280px 220px at 58% 16%, rgba(153, 96, 255, 0.24), transparent 70%);
  filter: blur(12px) saturate(1.1);
  mix-blend-mode: screen;
  opacity: 0.8;
  animation: heroNebulaMove 20s linear infinite;
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: calc(92vh - 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0 14px;
}

.hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.46) 0 1px, transparent 2px),
    radial-gradient(circle at 36% 74%, rgba(255, 255, 255, 0.38) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 30%, rgba(255, 255, 255, 0.36) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 54%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 54% 82%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px);
  opacity: 0.55;
  pointer-events: none;
  animation: heroStarsTwinkle 4.5s ease-in-out infinite;
}

.hero__inner::after {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(96, 144, 255, 0.05) 0 1px,
      transparent 1px 90px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(96, 144, 255, 0.035) 0 1px,
      transparent 1px 70px
    );
  mask-image: radial-gradient(circle at 36% 45%, #000 28%, transparent 72%);
  pointer-events: none;
  animation: heroGridDrift 18s linear infinite;
}

.hero__title {
  max-width: 700px;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero__title .s1,
.hero__title .s2 {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 0.9;
  font-size: clamp(52px, 9vw, 118px);
  text-shadow: 0 8px 22px rgba(23, 75, 177, 0.36);
}

.hero__title .s2 {
  color: #d6e4ff;
}

.hero__title .s3 {
  display: inline-block;
  margin-top: 14px;
  max-width: 620px;
  font-size: clamp(22px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  color: #deebff;
  text-shadow: 0 4px 16px rgba(27, 64, 160, 0.35);
}

.hero__deer {
  position: absolute;
  right: 6%;
  top: 52%;
  transform:
    translate3d(var(--blob-x, 0px), calc(-50% + var(--blob-y, 0px)), 0)
    rotateX(var(--blob-rx, 0deg))
    rotateY(var(--blob-ry, 0deg));
  width: clamp(240px, 30vw, 460px);
  height: clamp(260px, 34vw, 500px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: saturate(1.08);
  transition: filter 0.22s ease;
  will-change: transform, filter;
}

.hero__deer::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle, rgba(255, 66, 109, 0.28), transparent 66%);
  filter: blur(28px);
  z-index: 0;
  animation: lampGlowPulse 5.5s ease-in-out infinite;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 210, 0.9), rgba(255, 195, 100, 0.8) 26%, rgba(255, 83, 112, 0.88) 60%, rgba(151, 72, 255, 0.54) 100%);
  box-shadow:
    0 0 18px rgba(255, 109, 133, 0.46),
    0 0 34px rgba(255, 121, 60, 0.3),
    inset -8px -10px 14px rgba(119, 35, 89, 0.32),
    inset 8px 10px 14px rgba(255, 228, 161, 0.2);
  filter: saturate(1.14) blur(0.2px);
  opacity: 0.96;
}

.bubble--1 {
  width: 130px;
  height: 130px;
  left: 26%;
  bottom: 3%;
  animation: bubbleFloatA 8.2s ease-in-out infinite;
}

.bubble--2 {
  width: 92px;
  height: 92px;
  left: 52%;
  bottom: 12%;
  animation: bubbleFloatB 6.6s ease-in-out infinite;
}

.bubble--3 {
  width: 74px;
  height: 74px;
  left: 38%;
  bottom: 34%;
  animation: bubbleFloatC 7.8s ease-in-out infinite;
}

.bubble--4 {
  width: 58px;
  height: 58px;
  left: 62%;
  bottom: 44%;
  animation: bubbleFloatD 6.9s ease-in-out infinite;
}

.bubble--5 {
  width: 52px;
  height: 52px;
  left: 22%;
  bottom: 46%;
  animation: bubbleFloatE 7.2s ease-in-out infinite;
}

.bubble--6 {
  width: 38px;
  height: 38px;
  left: 47%;
  bottom: 62%;
  animation: bubbleFloatF 5.9s ease-in-out infinite;
}

.hero__medias {
  position: absolute;
  right: 14px;
  top: 54%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__medias-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 11, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__medias-link img {
  width: 15px;
  height: 15px;
}

@keyframes heroAuraShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-1.5%, 1%, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes heroNebulaMove {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(1.2%, -1.5%, 0) rotate(2deg);
  }
  100% {
    transform: translate3d(-1.6%, 1%, 0) rotate(-2deg);
  }
}

@keyframes heroGridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(70px, 32px, 0);
  }
}

@keyframes heroStarsTwinkle {
  0%,
  100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.68;
  }
}

@keyframes lampGlowPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.06);
  }
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
}

@keyframes bubbleFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, -26px, 0) scale(1.08); }
  100% { transform: translate3d(6px, -6px, 0) scale(0.96); }
}

@keyframes bubbleFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14px, -32px, 0) scale(1.12); }
  100% { transform: translate3d(-7px, -8px, 0) scale(0.95); }
}

@keyframes bubbleFloatC {
  0% { transform: translate3d(0, 0, 0) scale(0.96); }
  50% { transform: translate3d(-8px, -38px, 0) scale(1.1); }
  100% { transform: translate3d(8px, -12px, 0) scale(0.9); }
}

@keyframes bubbleFloatD {
  0% { transform: translate3d(0, 0, 0) scale(0.94); }
  50% { transform: translate3d(10px, -26px, 0) scale(1.06); }
  100% { transform: translate3d(-6px, -10px, 0) scale(0.9); }
}

@keyframes bubbleFloatE {
  0% { transform: translate3d(0, 0, 0) scale(0.92); }
  50% { transform: translate3d(-12px, -30px, 0) scale(1.02); }
  100% { transform: translate3d(8px, -9px, 0) scale(0.88); }
}

@keyframes bubbleFloatF {
  0% { transform: translate3d(0, 0, 0) scale(0.86); }
  50% { transform: translate3d(6px, -18px, 0) scale(0.98); }
  100% { transform: translate3d(-5px, -7px, 0) scale(0.84); }
}

.statistics {
  padding: 54px 0 40px;
  position: relative;
}

.statistics__data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 15, 30, 0.84);
  padding: 22px;
}

.statistics__data-item {
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 8px;
}

.statistics__data-item-number {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
}

.statistics__data-item-name {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-dim);
}

.statistics__title {
  max-width: 820px;
  margin: 38px auto;
  text-align: center;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
}

.statistics__title span {
  font-weight: 500;
  color: var(--text-dim);
}

.statistics__networks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.statistics__networks-item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  padding: 10px 8px;
  text-align: center;
}

.statistics__networks-item img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
}

.statistics__networks-item p {
  margin-top: 8px;
  font-size: 13px;
  color: #c2d2fa;
}

.requirements {
  position: relative;
  padding: 56px 0 74px;
  overflow: hidden;
}

.requirements::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(60, 140, 255, 0.1), transparent 44%),
    linear-gradient(240deg, rgba(0, 194, 255, 0.12), transparent 48%);
}

.requirements__content {
  position: relative;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 15, 30, 0.86);
  padding: 24px;
}

.requirements__title {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}

.requirements__text {
  margin-top: 12px;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.62;
  color: #bcccf5;
}

.requirements__btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(110deg, rgba(60, 140, 255, 0.35), rgba(0, 194, 255, 0.22));
}

.requirements__img {
  position: absolute;
  right: -20px;
  top: -30px;
  width: min(42vw, 520px);
  z-index: -1;
  opacity: 0.22;
  filter: hue-rotate(90deg) saturate(1.2);
}

.statistics__stars {
  display: none;
}

@media (max-width: 1024px) {
  .statistics__data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statistics__networks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero__inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 28px;
  }

  .hero__deer {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: min(72vw, 300px);
    height: min(76vw, 320px);
    margin: 16px auto 0;
    animation: heroLampFloatMobile 6.5s ease-in-out infinite;
  }

  .hero__title {
    padding: 0;
    border-radius: 0;
  }

  .hero__medias {
    right: 20px;
    top: 96px;
    transform: none;
  }

  .statistics__data {
    grid-template-columns: 1fr;
  }

  .statistics__networks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .requirements__img {
    display: none;
  }
}

@keyframes heroLampFloatMobile {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
