:root {
  --claim-green: #06be00;
}

.claim-hero {
  width: 100%;
  z-index: 40;
}

.claim-hero[hidden] {
  display: none !important;
}

.claim-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.claim-hero__logo {
  display: none;
  width: auto;
  height: auto;
}

.claim-hero__offer {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.claim-hero .form__head-content-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.claim-hero .form__head-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  column-gap: 0;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.claim-hero .offer-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  margin-left: 16px;
}

.claim-hero .offer1,
.claim-hero .offer2,
.claim-hero .offer3 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--tb-display);
  line-height: 1;
}

.claim-hero .offer1 {
  flex: 0 0 auto;
  font-size: clamp(56px, 16vw, 88px);
  font-weight: 800;
  color: #d21502;
  text-shadow: none;
  white-space: nowrap;
}

.claim-hero .offer2 {
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  font-size: clamp(26px, 7.5vw, 42px);
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.claim-hero .offer3 {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--claim-green);
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.claim-hero__timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.claim-hero__live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.claim-hero__live-label {
  margin: 0;
  font-family: var(--tb-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.claim-hero__live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.claim-hero__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--claim-green);
  box-shadow: 0 0 8px var(--claim-green);
  animation: claimLivePulse 1.6s ease-in-out infinite;
}

.claim-hero__live-text {
  font-family: var(--tb-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  color: var(--claim-green);
  text-transform: uppercase;
}

.claim-hero__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(324px, 100%);
}

.claim-hero__segment {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 6px;
  border-radius: 16px;
  background: #2c2c2e;
}

.claim-hero__digit {
  margin: 0;
  width: 100%;
  font-family: var(--tb-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.claim-hero__unit {
  margin: 0;
  width: 100%;
  font-family: var(--tb-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: #aeaeb2;
  text-align: center;
  text-transform: uppercase;
}

.claim-hero__segment.is-tick .claim-hero__digit {
  animation: claimDigitTick 0.28s ease;
}

.claim-hero__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(422px, 100%);
  height: 56px;
  margin-top: 28px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--tb-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #9b0e00;
  cursor: pointer;
  box-shadow:
    0 1px 0 #9b0e00,
    0 10px 28px rgba(210, 21, 2, 0.38);
  animation: claimCtaNudge 2.8s ease-in-out infinite;
  transition:
    background-color 0.2s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    opacity 0.18s ease;
}

.claim-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 64%
  );
  transform: translateX(-130%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.claim-hero__cta:hover {
  background: var(--accent-hover);
  animation: claimCtaWiggle 0.5s ease;
  box-shadow:
    0 1px 0 #9b0e00,
    0 12px 32px rgba(210, 21, 2, 0.5);
  filter: saturate(1.08);
}

.claim-hero__cta:hover::before {
  transform: translateX(130%);
}

.claim-hero__cta:active {
  animation: none;
  transform: scale(0.97);
  box-shadow:
    0 1px 0 #9b0e00,
    0 4px 14px rgba(210, 21, 2, 0.32);
  filter: saturate(1);
}

.claim-hero__cta[disabled] {
  opacity: 0.85;
  cursor: default;
  animation: none;
  transform: none;
  filter: none;
  box-shadow:
    0 1px 0 #9b0e00,
    0 6px 16px rgba(210, 21, 2, 0.28);
}

.claim-hero__cta[disabled]::before {
  display: none;
}

.app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.62s ease;
}

.app.is-form::after {
  opacity: 1;
}

@media screen and (max-width: 530px) {
  .app.is-form::after {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }
}

.app.is-claim .form__block {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.app.is-claim-leaving .claim-hero__inner {
  opacity: 0;
  transform: translateY(-18px) scale(0.98);
  transition:
    opacity 0.36s ease,
    transform 0.36s ease;
}

.app.is-form .form__block {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 30;
  margin-left: auto;
  margin-right: auto;
  animation: claimFormIn 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.app.is-form .form__title {
  animation: claimFormRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.app.is-form .form__wrap {
  animation: claimFormRise 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.app.is-form .logo {
  z-index: 40;
}

.app.is-form-instant .form__block,
.app.is-form-instant .form__title,
.app.is-form-instant .form__wrap,
.app.is-form-instant .logo {
  animation: none !important;
}

.app.is-form-instant::after {
  transition: none;
}

.app.is-form .claim-hero__inner {
  opacity: 0;
  transform: translateY(-24px) scale(0.96);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

@keyframes claimCtaNudge {
  0%,
  68%,
  100% {
    transform: rotate(0deg);
  }
  72% {
    transform: rotate(-1.6deg);
  }
  76% {
    transform: rotate(1.8deg);
  }
  80% {
    transform: rotate(-1.1deg);
  }
  84% {
    transform: rotate(0.6deg);
  }
  88% {
    transform: rotate(0deg);
  }
}

@keyframes claimCtaWiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  18% {
    transform: rotate(-2.2deg);
  }
  36% {
    transform: rotate(2.4deg);
  }
  54% {
    transform: rotate(-1.4deg);
  }
  72% {
    transform: rotate(0.9deg);
  }
}

@keyframes claimLivePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.7);
  }
}

@keyframes claimDigitTick {
  0% {
    transform: translateY(4px);
    opacity: 0.45;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes claimFormIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
  }
  55% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes claimFormRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media screen and (max-width: 1024px) {
  .claim-hero {
    position: relative;
    display: flex;
    justify-content: center;
  }

  .claim-hero__inner {
    gap: 0;
  }

  .app.is-claim .form__block {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .app.is-form .form__block {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    clip: unset;
  }
}

@media screen and (min-width: 531px) and (max-width: 1024px) {
  .claim-hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px
      max(16px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  .claim-hero__inner {
    justify-content: center;
  }
}

@media screen and (max-width: 530px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .claim-hero {
    padding: 101px 21px 24px;
    max-height: 100dvh;
    overflow: hidden;
  }

  .app.is-form .form__block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    animation: claimFormInMobile 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes claimFormInMobile {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .app.is-form .form__title,
  .app.is-form .form__wrap {
    animation: claimFormRiseMobile 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .app.is-form .form__wrap {
    animation-delay: 0.06s;
  }

  @keyframes claimFormRiseMobile {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .claim-hero__inner {
    gap: 0;
    width: 100%;
    max-width: 334px;
  }

  .claim-hero .form__head-content {
    gap: 0;
    column-gap: 0;
  }

  .claim-hero .offer-side {
    gap: 0;
    margin-left: 10px;
  }

  .claim-hero .offer1 {
    font-size: clamp(72px, 25vw, 94px);
  }

  .claim-hero .offer2 {
    font-size: clamp(36px, 12.5vw, 50px);
  }

  .claim-hero .offer3 {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: 6px 10px;
    border-radius: 4px;
  }

  .claim-hero__timer {
    gap: 10px;
    margin-top: 16px;
  }

  .claim-hero__live {
    gap: 10px;
  }

  .claim-hero__live-label {
    font-size: 15px;
    line-height: 30px;
  }

  .claim-hero__live-dot {
    width: 5px;
    height: 5px;
  }

  .claim-hero__countdown {
    width: min(290px, 100%);
    gap: 7px;
  }

  .claim-hero__segment {
    flex: 1 1 0;
    max-width: 90px;
    height: 80px;
    padding: 12px 7px;
    border-radius: 14px;
  }

  .claim-hero__digit {
    font-size: 32px;
  }

  .claim-hero__unit {
    font-size: 11px;
  }

  .claim-hero__cta {
    width: min(290px, 100%);
    height: 50px;
    margin-top: 44px;
    padding: 0 20px;
    font-size: 20px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1025px) {
  .app.is-claim .logo {
    opacity: 0;
    pointer-events: none;
  }

  .app.is-form .logo {
    animation: claimLogoIn 0.5s ease 0.12s both;
  }

  .claim-hero {
    position: absolute;
    left: calc(140 * var(--fu));
    top: 50%;
    transform: translateY(-50%);
    width: calc(966 * var(--fu));
    max-width: calc(100vw - 280px);
    padding: 0;
    overflow: visible;
  }

  .claim-hero__offer {
    width: 100%;
    overflow: visible;
  }

  .claim-hero .form__head-content-wrap {
    overflow: visible;
  }

  .claim-hero .form__head-content {
    gap: calc(24 * var(--fu));
    column-gap: calc(24 * var(--fu));
    max-width: none;
    width: max-content;
  }

  .claim-hero .offer-side {
    gap: calc(16 * var(--fu));
    margin-left: 0;
    flex: 0 0 auto;
    width: fit-content;
    max-width: none;
  }

  .claim-hero .offer2,
  .claim-hero .offer3 {
    overflow: visible;
    max-width: none;
  }

  .claim-hero .offer2 {
    width: max-content;
  }

  .claim-hero .offer3 {
    width: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    padding: calc(12 * var(--fu)) calc(18 * var(--fu));
    border-radius: calc(8 * var(--fu));
  }

  .claim-hero__inner {
    gap: calc(44 * var(--fu));
    padding: calc(80 * var(--fu)) calc(32 * var(--fu)) calc(24 * var(--fu));
  }

  .claim-hero__logo {
    display: block;
    width: calc(325 * var(--fu));
    height: auto;
    margin-bottom: calc(36 * var(--fu));
  }

  .claim-hero__timer {
    gap: calc(11 * var(--fu));
    margin-top: 0;
  }

  .claim-hero__live {
    gap: calc(11 * var(--fu));
  }

  .claim-hero__live-label {
    font-size: calc(24 * var(--fu));
    line-height: calc(34 * var(--fu));
  }

  .claim-hero__live-text {
    font-size: calc(10 * var(--fu));
  }

  .claim-hero__countdown {
    width: calc(324 * var(--fu));
    gap: calc(8 * var(--fu));
  }

  .claim-hero__segment {
    padding: calc(14 * var(--fu)) calc(8 * var(--fu));
    border-radius: calc(16 * var(--fu));
  }

  .claim-hero__digit {
    font-size: calc(36 * var(--fu));
  }

  .claim-hero__unit {
    font-size: calc(11 * var(--fu));
  }

  .claim-hero__cta {
    width: calc(422 * var(--fu));
    height: calc(84 * var(--fu));
    margin-top: calc(36 * var(--fu));
    padding: calc(16 * var(--fu)) calc(32 * var(--fu));
    border-radius: calc(16 * var(--fu));
    font-size: calc(32 * var(--fu));
  }

  .app.is-form .form__block {
    margin-left: auto;
    margin-right: auto;
    animation-name: claimFormInDesktop;
  }

  .app.is-form .logo {
    z-index: 40;
  }

  @keyframes claimFormInDesktop {
    from {
      opacity: 0;
      transform: translateY(36px) scale(0.96);
    }
    60% {
      opacity: 1;
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes claimLogoIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .claim-hero__live-dot,
  .claim-hero__segment.is-tick .claim-hero__digit,
  .claim-hero__cta,
  .claim-hero__cta::before,
  .app.is-form .form__block,
  .app.is-form .form__title,
  .app.is-form .form__wrap,
  .app.is-form .logo,
  .app.is-form .claim-hero__inner,
  .app.is-claim-leaving .claim-hero__inner,
  .app::after {
    animation: none !important;
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }

  .claim-hero__cta,
  .claim-hero__cta:hover,
  .claim-hero__cta:active {
    transform: none !important;
    filter: none !important;
  }
}
