#SOG-pay {
  position: fixed;
  inset: 0;
  z-index: 100000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
#SOG-pay.is-open {
  display: flex;
}
#SOG-pay .sog-pay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#SOG-pay .sog-pay-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: radial-gradient(circle at 30% 20%, #045A9C 0%, #024272 100%);
  border-radius: 33px;
  box-shadow: 0 6px 0 #013257, 0 24px 60px rgba(0, 0, 0, 0.55);
  color: white;
  font-family: fontFamilyBold, sans-serif;
  animation: sogPayIn 0.22s ease-out;
}
#SOG-pay .sog-pay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(1, 50, 87, 0.85);
  color: #7ff0f5;
  cursor: pointer;
}
#SOG-pay .sog-pay-close svg {
  width: 17px;
  height: 17px;
}
#SOG-pay .sog-pay-close:hover {
  color: white;
}
#SOG-pay .sog-pay-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 32px 32px 40px;
  text-align: center;
  border-right: 2px solid rgba(127, 240, 245, 0.16);
}
#SOG-pay .sog-pay-mascot {
  width: 104px;
  height: auto;
  margin-bottom: 4px;
}
#SOG-pay .sog-pay-kicker {
  margin: 0;
  font-size: 19px;
  letter-spacing: 2px;
  color: #1fe3ef;
}
#SOG-pay .sog-pay-title {
  margin: 4px 0 22px;
  font-family: puzzleGamesMainFont, fontFamilyUltra, sans-serif;
  font-size: 46px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(1, 40, 70, 0.8);
}
#SOG-pay .sog-pay-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
#SOG-pay .sog-pay-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(1, 50, 87, 0.55);
}
#SOG-pay .sog-pay-perks b {
  display: block;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 0.5px;
}
#SOG-pay .sog-pay-perks small {
  display: block;
  margin-top: 2px;
  font-family: fontFamilyRegular, sans-serif;
  font-size: 14px;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-perk-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
#SOG-pay .sog-pay-perk-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
#SOG-pay .sog-pay-perk-icon.is-green {
  background: linear-gradient(180deg, #5fe36b, #24b33a);
}
#SOG-pay .sog-pay-perk-icon.is-yellow {
  background: linear-gradient(180deg, #ffd34a, #f0a800);
}
#SOG-pay .sog-pay-perk-icon.is-red {
  background: linear-gradient(180deg, #ff7a6b, #e0362b);
}
#SOG-pay .sog-pay-perk-icon.is-purple {
  background: linear-gradient(180deg, #b78cff, #7a4be0);
}
#SOG-pay .sog-pay-checkout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 34px 40px 26px 34px;
}
#SOG-pay .sog-pay-plans {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}
#SOG-pay .sog-pay-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px 11px;
  border: none;
  border-radius: 16px;
  background: #013257;
  box-shadow: inset 0 4px 0 #012c4c;
  color: #e8f6ff;
  font-family: fontFamilyBold, sans-serif;
  cursor: pointer;
}
#SOG-pay .sog-pay-plan.is-picked {
  background: #03467a;
  box-shadow: 0 0 0 3px #1ee2ee, 0 5px 0 #012c4c;
}
#SOG-pay .sog-pay-plan-name {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-plan-price {
  font-size: 20px;
}
#SOG-pay .sog-pay-plan-price small {
  margin-left: 1px;
  font-size: 13px;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-plan-note {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 1000px;
  background: linear-gradient(180deg, #5fe36b, #24b33a);
  color: #073b0b;
  font-size: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
}
#SOG-pay .sog-pay-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 4px 10px;
  border-bottom: 2px solid rgba(127, 240, 245, 0.16);
}
#SOG-pay .sog-pay-total .sog-pay-total-label {
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-total b {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 34px;
  font-weight: normal;
  letter-spacing: 1px;
}
#SOG-pay .sog-pay-total small {
  margin-left: 2px;
  font-size: 16px;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-or {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
#SOG-pay .sog-pay-or::before, #SOG-pay .sog-pay-or::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22));
}
#SOG-pay .sog-pay-or::after {
  transform: scaleX(-1);
}
#SOG-pay.has-express .sog-pay-or {
  display: flex;
}
#SOG-pay .sog-pay-element {
  position: relative;
  min-height: 210px;
}
#SOG-pay .sog-pay-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
#SOG-pay .sog-pay-loading span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ff0f5;
  animation: sogPayDot 1s infinite ease-in-out;
}
#SOG-pay .sog-pay-loading span:nth-child(2) {
  animation-delay: 0.15s;
}
#SOG-pay .sog-pay-loading span:nth-child(3) {
  animation-delay: 0.3s;
}
#SOG-pay.is-ready .sog-pay-loading {
  display: none;
}
#SOG-pay .sog-pay-error {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: #ffb020;
}
#SOG-pay .sog-pay-error:empty {
  display: none;
}
#SOG-pay .sog-pay-error.is-info {
  color: #7ff0f5;
}
#SOG-pay .sog-pay-submit {
  height: 60px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #10d4e0, #1ee2ee);
  box-shadow: 0 5px 0 #023459;
  color: white;
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 26px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(2, 52, 89, 0.45);
  cursor: pointer;
  transition: transform 0.1s, filter 0.1s;
}
#SOG-pay .sog-pay-submit:hover {
  filter: brightness(1.05);
}
#SOG-pay .sog-pay-submit:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #023459;
}
#SOG-pay .sog-pay-submit.is-busy {
  opacity: 0.75;
  cursor: progress;
}
#SOG-pay .sog-pay-fine {
  margin: 0;
  font-family: fontFamilyRegular, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-fine a {
  color: #7ff0f5;
}
#SOG-pay .sog-pay-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: #a9d4f2;
}
#SOG-pay .sog-pay-secure svg {
  width: 14px;
  height: 14px;
}
#SOG-pay .sog-pay-secure b {
  font-weight: normal;
  color: white;
}
@media (max-width: 860px) {
  #SOG-pay {
    padding: 12px;
  }
  #SOG-pay .sog-pay-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
  }
  #SOG-pay .sog-pay-offer {
    padding: 24px 24px 20px;
    border-right: none;
    border-bottom: 2px solid rgba(127, 240, 245, 0.16);
  }
  #SOG-pay .sog-pay-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #SOG-pay .sog-pay-checkout {
    padding: 22px 24px 24px;
  }
}

@keyframes sogPayIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sogPayDot {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
