.popup-open {
  overflow: hidden;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: rgba(18, 20, 26, 0.44);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
}

.popup-panel {
  position: relative;
  width: min(100%, 800px);
  min-height: 600px;
  padding: 62px 40px 20px 40px;
  border-radius: 32px;
  background: url("../images/popup/im_popup_bg.cebd3fe3.png") no-repeat;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.popup-close:hover {
  transform: scale(1.2);
}

.popup-close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.popup-title {
  font-weight: 600;
  color: #000000;
  font-size: clamp(32px, 3.7vw, 2.5rem);
  font-weight: bold;
  line-height: 1.2;
  font-family: "Montserrat-SemiBold";
}

.popup-tag {
  height: 29px;
  background: linear-gradient(90deg, #caf746 0%, #72f843 100%);
  border-radius: 0px 20px 0px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 24px;
  font-size: 14px;
  color: #236902;
}

.popup-visual {
  flex-shrink: 0;
  position: relative;
}
.popup-visual-main {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 215px);
  margin-left: auto;
}

.popup-content {
  margin-top: 20px;
}

.popup-section + .popup-section {
  margin-top: 16px;
}

.popup-section-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  font-weight: 700;
  color: #000;
}

.popup-section-title::before {
  content: "+";
  color: #40d366;
  font-size: 22px;
  line-height: 1;
}

.popup-content p,
.popup-list {
  margin: 0;
  color: #333333;
  font-size: 14px;
  line-height: 1.4;
}

.popup-list-msg {
  margin-top: 16px !important;
}

.popup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.popup-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 44px;
  padding: 14px 28px;
  background: #deff86;
  border-radius: 50px 50px 50px 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: #181818;
  transition: all 0.2s ease;
}

.popup-store-btn--apple {
  background: #b0ff9a;
}

.popup-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(164, 220, 80, 0.34);
}

.popup-store-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.popup-footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9c9b99;
}

@media screen and (max-width: 767px) {
  .popup-overlay {
    padding: 16px;
  }

  .popup-panel {
    max-height: calc(100vh - 32px);
    padding: 46px 18px 20px;
    border-radius: 24px;
    overflow: auto;
  }

  .popup-close {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
  }

  .popup-tag {
    min-width: 0;
    margin-top: 18px;
    padding: 12px 20px;
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {
  .popup-actions {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }
  .popup-title {
    font-size: 20px;
  }
  .popup-visual-main {
    width: 25vw;
  }
}
