.ios-popup {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}

.ios-popup-show {
  background-color: rgba(0, 0, 0, .8);
}

.ios-popup-show .ios-popup-body {
  transform: translate(0, 0);
}

.ios-popup-body {
  position: absolute;
  height: 90%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #121212;
  transition: transform 0.3s;
  transform: translate(0, 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ios-popup-title {
  position: relative;
  text-align: center;
  line-height: 44px;
  font-size: 1rem;
  font-weight: 700;
  color: #b3b3b3;
  flex-shrink: 0;
}

.ios-popup-close {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.ios-popup-main {
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
  padding: 0 14px 120px 14px;
}

.guide-container {
  color: #b3b3b3;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

.warning-text {
  border: 1px dashed red;
  color: red;
  padding: 8px 12px;
  margin: 12px 0;
  border-radius: 8px;
  font-size: 14px;
}

.guide-container img {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.guide-container h3 {
  text-align: center;
  font-size: 16px;
}

.ios-popup-button {
  position: absolute;
  width: 60%;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.ios-popup-button button {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(to right, #ff8a00, #e52e71);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 0, 0, .2);
}

.ios-popup-button img {
  width: 50px;
  height: 50px;
  animation: 1s infinite both fingerAnim;
  position: absolute;
  bottom: -50%;
  left: 80%;
}

@keyframes fingerAnim {
  0%, 100% {
    transform: none;
  }
  70% {
    transform: scale3d(.8, .8, .8);
  }
}

@media only screen and (min-width: 768px) {
  .ios-popup-body {
    width: 60%;
    height: 100%;
    left: auto;
    top: 0;
    right: 0;
    bottom: 0;
    transform: translate(100%, 0);
  }
  .ios-popup-show .ios-popup-body {
    transform: translate(0, 0);
  }
}