.adv-hero {
  padding: 0;
}

.adv-hero__banner {
  margin-top: calc(20px * var(--scale));
  position: relative;
  overflow: hidden;
  border-radius: calc(12px * var(--scale));
  background: radial-gradient(ellipse 60% 70% at 80% 115%, rgba(var(--color-accent-rgb), 0.28), rgba(var(--color-accent-rgb), 0) 70%), #052145;
  padding: calc(32px * var(--scale)) calc(20px * var(--scale)) calc(20px * var(--scale));
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(40px * var(--scale));
  align-items: center;
}

.adv-hero__copy {
  position: relative;
  min-width: 0;
  z-index: 2;
}

.adv-hero__title {
  margin: 0;
  color: var(--color-banner-text, #fff);
  font-size: clamp(calc(30px * var(--scale)), 4.3vw, calc(57px * var(--scale)));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: calc(-0.5px * var(--scale));
}

.adv-hero__title .u-accent {
  color: var(--color-banner-accent, var(--accent-large));
}

.adv-hero__lead {
  margin: calc(24px * var(--scale)) 0 0;
  color: var(--color-banner-text, #fff);
  font-size: calc(17px * var(--scale));
  line-height: 1.55;
  max-width: calc(460px * var(--scale));
}

.adv-hero__btns {
  margin-top: 0;
  display: flex;
  gap: calc(16px * var(--scale));
  flex-wrap: wrap;
}

.adv-hero__btns .btn {
  flex: 1 1 100%;
  font-size: calc(15px * var(--scale));
  min-height: calc(50px * var(--scale));
  -webkit-appearance: none;
  appearance: none;
}

.adv-hero__ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.adv-hero__ghost:hover {
  background: #fff;
  color: #052145;
}

.adv-hero__stack {
  position: relative;
  width: 100%;
  max-width: calc(500px * var(--scale));
  height: calc(330px * var(--scale));
  justify-self: center;
  pointer-events: none;
}

.adv-hero__stack--photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: calc(220px * var(--scale));
  pointer-events: none;
}

.adv-hero__stack--photo img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
}

.adv-hero__layer {
  position: absolute;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.adv-hero__float {
  will-change: transform;
}

.adv-hero__coin {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 calc(18px * var(--scale)) calc(24px * var(--scale)) rgba(0, 0, 0, 0.4));
}

.adv-hero__coin--flip {
  transform: scaleX(-1);
  filter: drop-shadow(0 calc(16px * var(--scale)) calc(20px * var(--scale)) rgba(0, 0, 0, 0.45));
}

.adv-hero__k1 {
  top: calc(-24px * var(--scale));
  left: 26%;
  width: calc(100px * var(--scale));
}

.adv-hero__k1-rot {
  transform: rotate(-14deg);
}

.adv-hero__k1 .adv-hero__float {
  animation: obFlD 9s ease-in-out infinite;
}

.adv-hero__k2 {
  top: calc(268px * var(--scale));
  right: 2%;
  width: calc(64px * var(--scale));
}

.adv-hero__k2-rot {
  transform: rotate(18deg);
}

.adv-hero__k2 .adv-hero__float {
  animation: obFlB 7s ease-in-out infinite;
}

.adv-hero__c1 {
  top: 0;
  right: 0;
  width: 68%;
}

.adv-hero__c1-rot {
  transform: rotate(9deg);
}

.adv-hero__c1 .adv-hero__float {
  animation: obFlC 9s ease-in-out infinite;
}

.adv-hero__c2 {
  top: calc(70px * var(--scale));
  left: 0;
  width: 68%;
}

.adv-hero__c2-rot {
  transform: rotate(-7deg);
}

.adv-hero__c2 .adv-hero__float {
  animation: obFlB 8s ease-in-out infinite;
}

.adv-hero__c3 {
  top: calc(170px * var(--scale));
  left: 9%;
  width: 82%;
}

.adv-hero__c3-rot {
  transform: rotate(2deg);
}

.adv-hero__c3 .adv-hero__float {
  animation: obFlA 10s ease-in-out infinite;
}

.adv-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  border-radius: calc(16px * var(--scale));
  padding: calc(16px * var(--scale)) calc(18px * var(--scale));
  display: flex;
  flex-direction: column;
}

.adv-card--eur {
  background: linear-gradient(145deg, #15396f 0%, #0b2649 55%, #071b38 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 calc(20px * var(--scale)) calc(50px * var(--scale)) rgba(0, 0, 0, 0.35);
}

.adv-card--usd {
  background: linear-gradient(140deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #052145;
  box-shadow: 0 calc(24px * var(--scale)) calc(50px * var(--scale)) rgba(0, 0, 0, 0.35);
}

.adv-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 65%);
}

.adv-card--usd .adv-card__shine {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.28) 46%, rgba(255, 255, 255, 0) 60%);
}

.adv-card__dollar {
  position: absolute;
  right: calc(-8px * var(--scale));
  bottom: calc(-46px * var(--scale));
  font-size: calc(170px * var(--scale));
  font-weight: 700;
  line-height: 1;
  color: #052145;
  opacity: 0.07;
}

.adv-card__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: calc(13px * var(--scale));
  color: #c3cad2;
}

.adv-card--usd .adv-card__top {
  color: #052145;
  font-weight: 500;
}

.adv-card__rate {
  position: relative;
  margin-top: calc(8px * var(--scale));
  display: flex;
  align-items: baseline;
  gap: calc(8px * var(--scale));
}

.adv-card__num {
  font-size: calc(28px * var(--scale));
  font-weight: 600;
  letter-spacing: calc(-0.5px * var(--scale));
  font-variant-numeric: tabular-nums;
}

.adv-card--usd .adv-card__num {
  font-weight: 700;
}

.adv-card__hint {
  font-size: calc(12px * var(--scale));
  color: #c3cad2;
}

.adv-card--usd .adv-card__hint {
  color: #052145;
}

.adv-card__bot {
  position: relative;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adv-card__mark {
  font-size: calc(11px * var(--scale));
  letter-spacing: 0.14em;
  color: #c3cad2;
}

.adv-card--usd .adv-card__mark {
  font-size: calc(12px * var(--scale));
  letter-spacing: 0;
  font-weight: 500;
  color: #052145;
}

.adv-flag {
  flex: none;
  width: calc(22px * var(--scale));
  height: calc(22px * var(--scale));
  border-radius: 50%;
  box-shadow: 0 0 0 calc(1.5px * var(--scale)) rgba(255, 255, 255, 0.55);
}

.adv-flag--eu {
  background: radial-gradient(circle, #003399 38%, #ffcc00 40% 46%, #003399 48%);
}

.adv-flag--us {
  background: linear-gradient(#3c3b6e, #3c3b6e) 0 0 / 45% 54% no-repeat, repeating-linear-gradient(#b22234 0 7.69%, #fff 7.69% 15.38%);
}

.adv-fix {
  border-radius: calc(16px * var(--scale));
  background: #fff;
  padding: calc(18px * var(--scale));
  color: #052145;
  box-shadow: 0 calc(30px * var(--scale)) calc(70px * var(--scale)) rgba(0, 0, 0, 0.4);
}

.adv-fix__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(10px * var(--scale));
  font-size: calc(13px * var(--scale));
  color: var(--ink-muted);
}

.adv-fix__label {
  display: flex;
  align-items: center;
  gap: calc(8px * var(--scale));
}

.adv-fix__time {
  font-variant-numeric: tabular-nums;
  color: #052145;
  font-weight: 600;
}

.adv-fix__sum {
  margin-top: calc(14px * var(--scale));
  display: flex;
  align-items: baseline;
  gap: calc(10px * var(--scale));
  flex-wrap: wrap;
}

.adv-fix__num {
  font-size: calc(24px * var(--scale));
  font-weight: 700;
  letter-spacing: calc(-0.3px * var(--scale));
  font-variant-numeric: tabular-nums;
}

.adv-fix__note {
  font-size: calc(13px * var(--scale));
  color: var(--ink-muted);
}

.adv-fix__bar {
  margin-top: calc(16px * var(--scale));
  height: calc(4px * var(--scale));
  border-radius: 2px;
  background: #f2f3f5;
}

.adv-fix__fill {
  height: 100%;
  border-radius: 2px;
  background: var(--btn-primary-bg);
  width: 99.7%;
}

.stats-section--adv {
  margin-top: calc(64px * var(--scale));
}

@media (min-width: 768px) {
  .stats-section--adv {
    margin-top: calc(96px * var(--scale));
  }

  .adv-hero__banner {
    margin-top: calc(24px * var(--scale));
    padding: clamp(calc(48px * var(--scale)), 5.5vw, calc(80px * var(--scale))) clamp(calc(32px * var(--scale)), 5vw, calc(72px * var(--scale)));
  }

  .adv-hero__stack {
    height: calc(440px * var(--scale));
  }

  .adv-hero__k1 {
    top: calc(-36px * var(--scale));
    left: calc(150px * var(--scale));
    width: calc(150px * var(--scale));
  }

  .adv-hero__k2 {
    top: calc(356px * var(--scale));
    right: calc(10px * var(--scale));
    width: calc(96px * var(--scale));
  }

  .adv-hero__c1,
  .adv-hero__c2 {
    width: calc(300px * var(--scale));
  }

  .adv-hero__c2 {
    top: calc(96px * var(--scale));
  }

  .adv-hero__c3 {
    top: calc(232px * var(--scale));
    left: calc(90px * var(--scale));
    width: calc(340px * var(--scale));
  }

  .adv-card {
    padding: calc(22px * var(--scale)) calc(24px * var(--scale));
  }

  .adv-card__num {
    font-size: calc(36px * var(--scale));
  }

  .adv-fix {
    padding: calc(22px * var(--scale)) calc(24px * var(--scale)) calc(24px * var(--scale));
  }

  .adv-fix__num {
    font-size: calc(30px * var(--scale));
  }

  .stats-section--adv {
    margin-top: calc(160px * var(--scale));
    padding: 0 calc(10px * var(--scale));
  }
}

@media (min-width: 960px) {
  .adv-hero__banner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(calc(40px * var(--scale)), 5.5vw, calc(80px * var(--scale)));
    row-gap: 0;
  }

  .adv-hero__copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .adv-hero__btns {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: calc(48px * var(--scale));
  }

  .adv-hero__btns .btn {
    flex: 0 0 auto;
    padding: calc(16px * var(--scale)) calc(32px * var(--scale));
  }

  .adv-hero__stack {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
