/* Real Divvum app screens */

.gate-app-phone {
  box-sizing: border-box;
  aspect-ratio: 946 / 2048;
  overflow: hidden;
  border: 7px solid #080a09;
  border-radius: 42px;
  clip-path: none;
  background: #fff;
}

.gate-app-phone::before,
.app-screen-device::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: -1px;
  left: 50%;
  width: 34%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #080a09;
  pointer-events: none;
}

.gate-app-phone img,
.app-screen-device img,
.inline-app-shot img,
.screenshot-board > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.real-screen-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 72% 24%, rgba(26, 188, 156, .2), transparent 30%),
    linear-gradient(145deg, #eef4f1, #e3e9e6);
}

.app-screen-device {
  position: relative;
  box-sizing: content-box;
  width: 216px;
  height: 470px;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  border: 8px solid #101211;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(16, 34, 28, .23);
  transform: none;
}

.app-screen-device img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  image-rendering: auto;
  backface-visibility: hidden;
}

.screen-float-label {
  position: absolute;
  right: 26px;
  bottom: 34px;
  min-width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  background: rgba(17, 20, 19, .92);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
  transform: rotate(3deg);
}

.screen-float-label span,
.screen-float-label strong {
  display: block;
}

.screen-float-label span {
  color: #9da6a1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.screen-float-label strong {
  margin-top: 4px;
  font-size: 16px;
}

.screenshot-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inline-app-shot {
  flex: 1;
  min-height: 310px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #e1e6e3;
  border-radius: 19px;
  background: #f3f4f3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.shot-caption {
  padding-top: 13px;
}

.shot-caption b,
.shot-caption small {
  display: block;
}

.shot-caption b {
  color: #181b1a;
  font-size: 15px;
}

.shot-caption small {
  margin-top: 3px;
  color: #737b77;
  font-size: 12px;
  line-height: 1.35;
}

.screenshot-board {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  padding: 0 !important;
  background: #f4f5f4;
}

.screen-shot-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(17, 20, 19, .9);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

@media (max-width: 900px) {
  .inline-app-shot {
    min-height: 430px;
    flex: none;
  }

  .screenshot-board {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  .real-screen-visual {
    min-height: 600px;
    place-items: start center;
    padding: 18px 14px 100px;
  }

  .gate-app-phone {
    border-width: 5px;
    border-radius: 31px;
  }

  .gate-app-phone::before,
  .app-screen-device::before {
    height: 18px;
  }

  .screen-float-label {
    right: auto;
    bottom: 18px;
    left: 50%;
    width: min(230px, calc(100% - 28px));
    min-width: 0;
    padding: 13px 16px;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .inline-app-shot {
    min-height: 390px;
  }

  .screenshot-board {
    min-height: 520px;
  }
}
