.ip-hero-svg-left {
  top: -382px;
}

.ip-hero-render {
  position: relative;
  width: min(1120px, 100%);
  aspect-ratio: 1.78 / 1;
  margin: 44px auto 0;
}

.ip-hero-screen {
  position: absolute;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #e6e8f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(35, 40, 94, 0.11);
}

.ip-hero-screen img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.ip-hero-screen--main {
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 76%;
  aspect-ratio: 1.78 / 1;
  padding: 8px;
  border-radius: 20px;
  box-shadow:
    0 30px 75px rgba(35, 40, 94, 0.16),
    0 8px 24px rgba(35, 40, 94, 0.08);
  transform: translate(-50%, -50%);
}

.ip-hero-screen--main img {
  border-radius: 13px;
  object-fit: contain;
}

.ip-hero-screen--left {
  top: 18%;
  left: 0;
  z-index: 2;
  width: 30%;
  aspect-ratio: 1.77 / 1;
  transform: rotate(-3deg);
}

.ip-hero-screen--right {
  top: 9%;
  right: 0;
  z-index: 3;
  width: 28%;
  aspect-ratio: 1.79 / 1;
  transform: rotate(3deg);
}

.ip-hero-screen--bottom {
  bottom: 1%;
  left: 7%;
  z-index: 5;
  width: 31%;
  aspect-ratio: 1.77 / 1;
  transform: rotate(-1.5deg);
}

.ip-mini-phone {
  position: relative;
  width: 122px;
  height: 174px;
  padding: 17px 10px 10px;
  border: 6px solid #25234d;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(53, 43, 126, 0.18);
  transform: rotate(-4deg);
}

.ip-mini-phone::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 35px;
  height: 4px;
  border-radius: 99px;
  background: #d4d4e2;
  content: "";
  transform: translateX(-50%);
}

.ip-mini-kicker {
  margin-bottom: 8px;
  color: #8d90a5;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.ip-mini-question {
  margin-bottom: 9px;
  color: #252741;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.ip-mini-answer {
  margin-top: 6px;
  padding: 7px;
  border: 1px solid #e2e3ed;
  border-radius: 7px;
  color: #717489;
  font-size: 7px;
  font-weight: 600;
}

.ip-mini-answer.is-active {
  border-color: #717be3;
  background: #eef0ff;
  color: #5661c6;
}

.ip-quiz-stack {
  position: relative;
  width: 190px;
  height: 170px;
}

.ip-quiz-sheet {
  position: absolute;
  width: 155px;
  padding: 16px;
  border: 1px solid rgba(48, 110, 96, 0.12);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(32, 98, 84, 0.13);
}

.ip-quiz-sheet:first-child {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

.ip-quiz-sheet:last-child {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.ip-quiz-progress {
  overflow: hidden;
  height: 5px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: #edf1f0;
}

.ip-quiz-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: #39bfa7;
}

.ip-quiz-sheet strong {
  display: block;
  margin-bottom: 10px;
  color: #262b32;
  font-size: 10px;
  line-height: 1.3;
}

.ip-quiz-choice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px;
  border-radius: 7px;
  background: #f3f8f6;
  color: #737a7c;
  font-size: 7px;
}

.ip-quiz-choice b {
  display: grid;
  width: 12px;
  height: 12px;
  place-items: center;
  border: 1px solid #cfdcd8;
  border-radius: 50%;
  color: #fff;
  font-size: 7px;
}

.ip-quiz-choice.is-correct {
  background: #ddf6ee;
  color: #21715f;
}

.ip-quiz-choice.is-correct b {
  border-color: #39bfa7;
  background: #39bfa7;
}

.ip-word-cloud {
  display: flex;
  width: 100%;
  max-width: 190px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 10px;
  line-height: 1;
  text-align: center;
}

.ip-word-cloud span {
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #d26c53;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(119, 70, 48, 0.08);
}

.ip-word-cloud span:nth-child(2n) {
  color: #6a60c9;
  font-size: 14px;
}

.ip-word-cloud span:nth-child(3n) {
  color: #348c75;
  font-size: 20px;
}

.ip-word-cloud span:nth-child(4n) {
  color: #4d5566;
  font-size: 10px;
}

.ip-leaderboard {
  width: 210px;
  padding: 14px;
  border: 1px solid rgba(131, 101, 22, 0.1);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(121, 91, 23, 0.1);
}

.ip-leaderboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #3a3e4e;
  font-size: 9px;
  font-weight: 800;
}

.ip-leaderboard-title span {
  color: #b38d2e;
}

.ip-player-row {
  display: grid;
  grid-template-columns: 18px 26px 1fr auto;
  gap: 7px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid #f1f1f5;
  color: #646778;
  font-size: 8px;
}

.ip-player-row:first-of-type {
  border-top: 0;
}

.ip-player-row b {
  color: #a27d2a;
  text-align: center;
}

.ip-avatar {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #e8e9ff;
  color: #6774e5;
  font-size: 9px;
  font-weight: 800;
}

.ip-player-row strong {
  color: #333749;
  font-size: 8px;
}

.slide-demo__wheel {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 20px auto 10px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: conic-gradient(#d7569c 0 25%, #8c62dd 0 50%, #6774e5 0 75%, #ea907f 0);
  box-shadow: 0 8px 20px rgba(66, 61, 132, 0.24);
}

.slide-demo__wheel::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #f3f4fa;
  content: "";
  transform: translate(-50%, -50%);
}

.slide-demo__wheel::after {
  position: absolute;
  top: -12px;
  left: 50%;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #252847;
  border-left: 8px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.slide-demo__wheel span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #6774e5;
  transform: translate(-30%, -50%);
}

.slide-demo__option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e9ecf8;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.slide-demo__option:hover {
  border-color: #c9cef8;
  box-shadow: 0 8px 24px rgba(38, 43, 92, 0.07);
}

.slide-demo__option:focus-visible {
  outline: 3px solid rgba(103, 116, 229, 0.3);
  outline-offset: 2px;
}

.slide-demo__option[aria-selected="true"] {
  border-color: #6774e5;
  background: #f0f2ff;
  box-shadow: 0 10px 30px rgba(68, 78, 178, 0.1);
}

.slide-demo__option-icon {
  display: flex;
  width: 42px;
  height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f3f4fa;
  color: #6872d6;
  transition: color 180ms ease, background-color 180ms ease;
}

.slide-demo__option-icon svg {
  width: 24px;
  height: 24px;
}

.slide-demo__option[aria-selected="true"] .slide-demo__option-icon {
  background: #6774e5;
  color: #fff;
}

.slide-demo__option-arrow {
  display: flex;
  width: 32px;
  height: 32px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f3f4fa;
  color: #777b90;
  font-size: 18px;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.slide-demo__option[aria-selected="true"] .slide-demo__option-arrow {
  background: #6774e5;
  color: #fff;
  transform: translateX(2px);
}

.slide-demo__presentation {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 38px 26px 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7f8ff 0%, #f2f3fa 55%, #fafafc 100%);
}

.slide-demo__panel {
  position: relative;
  display: none;
  min-height: 496px;
}

.slide-demo__panel.is-active {
  display: block;
  animation: slide-demo-in 240ms ease both;
}

.slide-demo__screen {
  position: absolute;
  top: 42px;
  right: 0;
  width: 76%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 6px solid #252847;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(37, 40, 71, 0.18);
}

.slide-demo__phone {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 184px;
  height: 360px;
  padding: 8px;
  border: 6px solid #282b4c;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(37, 40, 71, 0.2);
}

.slide-demo__phone::before {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 46px;
  height: 5px;
  border-radius: 99px;
  background: #dadbe6;
  content: "";
  transform: translateX(-50%);
}

.slide-demo__phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 30px 14px 14px;
  border-radius: 18px;
  background: #f8f8fc;
}

.slide-demo__more {
  position: absolute;
  right: 26px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5c65cb;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.slide-demo__more:hover {
  color: #3f48aa;
}

.slide-demo__screen-label,
.slide-demo__phone-label {
  position: absolute;
  z-index: 3;
  color: #73778c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slide-demo__screen-label {
  top: 8px;
  right: 12px;
}

.slide-demo__phone-label {
  top: 10px;
  left: 0;
}

@keyframes slide-demo-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .ip-hero-render {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    aspect-ratio: auto;
    margin-top: 38px;
  }

  .ip-hero-screen {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1.77 / 1;
    padding: 5px;
    border-radius: 13px;
    transform: none;
  }

  .ip-hero-screen img {
    border-radius: 8px;
  }

  .ip-hero-screen--main {
    grid-column: 1 / -1;
    order: -1;
    width: 100%;
    padding: 7px;
    border-radius: 17px;
    transform: none;
  }

  .ip-hero-screen--main img {
    border-radius: 10px;
  }

}

@media (max-width: 640px) {
  .slide-demo__presentation {
    min-height: 0;
    padding: 18px 10px 12px;
  }

  .slide-demo__panel,
  .slide-demo__panel.is-active {
    min-height: 0;
  }

  .slide-demo__panel.is-active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .slide-demo__screen {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 30px;
  }

  .slide-demo__more {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
    padding-left: 2px;
  }

  .slide-demo__screen-label {
    top: 14px;
    right: 2px;
  }

  .slide-demo__phone,
  .slide-demo__phone-label {
    display: none;
  }

  .ip-hero-render {
    gap: 6px;
    margin-top: 30px;
  }

  .ip-hero-screen {
    padding: 3px;
    border-radius: 9px;
  }

  .ip-hero-screen img {
    border-radius: 6px;
  }

  .ip-hero-screen--main {
    padding: 5px;
    border-radius: 13px;
  }

  .ip-hero-screen--main img {
    border-radius: 8px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ip-page *,
  .ip-page *::before,
  .ip-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
