@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --green: #0bb903;
  --ring: #33be2b;
  --icon: #149c14;
  --text: #000;
  --muted: #555;
  --line: #e8e8e8;
  --font: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  font-family: var(--font);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  text-align: center;
  -webkit-text-size-adjust: none;
}

div#container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.above-the-fold {
  max-width: 480px;
}

#creative {
  width: 100%;
  max-width: 1200px;

  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 28px;
  display: block;
}

.state-container,
#blocker {
  display: none;
}

.show-smsinstruction #smsinstruction,
.show-subscriptionpolling #subscriptionpolling,
.show-congrats #congrats,
.show-alreadysubscribed #alreadysubscribed,
.show-terminate #terminate,
.show-redirect #blocker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 15px;
}

#subscriptionpolling,
#congrats,
#alreadysubscribed,
#terminate {
  gap: 15px;
  padding: 10px 0;
}

.show-congrats #smsinstruction {
  display: none;
}

.show-congrats .sms-instruction__click,
.show-congrats .sms-instruction__offer,
.show-congrats .sms-instruction__cta,
.show-congrats .sms-instruction__title,
.show-congrats .sms-instruction__steps {

  display: none;
}

h2 {
  font-size: 22px;
  margin: 0;
}

p {
  margin: 0;
  line-height: 130%;
}

.sms-instruction__step-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 30px;
}

.sms-instruction__icon {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1 / 1;
}

.ring path {
  fill: none;
  stroke: var(--ring);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sms-instruction__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  padding: 0;
  margin: 0;

}

.sms-instruction__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sms-instruction__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  background: #fefcfe;
  border: 2px solid #eee;
  border-radius: 50px;
  font-size: 16px;
  text-align: left;
  box-shadow: 0 0 8px rgba(0, 0, 0, .08);
}

.sms-instruction__step+.sms-instruction__step::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 2px;
  height: 12px;
  background: var(--line);
}

.sms-instruction__highlight {
  color: var(--green);
  font-weight: 700;
}

.sms-instruction__step-icon {
  width: 100%;
  max-width: 40px;
  aspect-ratio: 1 / 1;

  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 15%, #b6f3b3 100%);
  box-shadow: 0 0 0 1px #e2f5e2;
}

.sms-instruction__step-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--icon);
}

.sms-instruction__click {
  display: block;
  width: 100%;
  color: var(--green);
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
  background: radial-gradient(ellipse 50% 50% at 50% 60%, rgba(150, 240, 145, .4) 0, rgba(150, 240, 145, 0) 100%);
  transition: all .3s ease;
  animation: pulseA 1000ms ease-in-out infinite;
}

@keyframes pulseA {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.sms-instruction__offer {
  font-weight: 400;
  font-size: 12px;
}

.sms-instruction__cta {
  display: block;
  width: 100%;

  padding: 15px;
  border-radius: 15px;
  background: var(--green);
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #d8f6e0;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#blocker {
  padding: 30px 0;
}

.blocker::after,

.show-redirect::after,
.show-redirectreturn::after,
.show-redirectservice::after,
.show-redirectxhrreturn::after,
.show-immediatesubscribe::after,
.show-alreadysubscribed::after,
.overlay::after {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.85);
}

.error {
  display: none;
  margin-top: 12px;
  color: #c62828;
  font-size: 14px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.disclaimer {
  font-size: 12px;
  color: #595959;
  font-weight: 400;
  line-height: 120%;
}

.links {
  font-size: 12px;
}

.links a {
  color: var(--muted);
}

.above-the-fold .header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.above-the-fold {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  gap: 15px;
}

#congrats {
  gap: 10px;
}

#congrats::before {
  content: "🎉";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 50px;
}

.show-directsubscribe #directsubscribe,
.show-mo #mo,
.blocker #blocker,
.show-popup #popup,
.show-redirectservice #blocker,
.show-alreadysubscribed #blocker,
.show-terminate #terminate {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#blocker {
  width: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0) !important;
  transform: translate3d(-50%, -50%, 0) !important;
  z-index: 9999;
}