.screenshots-section {
  position: relative;
  overflow: hidden;
}

.screenshots-section::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 68%);
  pointer-events: none;
}

.screenshot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.shot-card {
  margin: 0;
  display: grid;
  gap: 13px;
  min-width: 0;
}

.shot-card.large {
  grid-row: span 3;
}

.shot-card a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(239,246,255,0.58));
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shot-card a::after {
  content: "Open preview";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  font-size: 0.75rem;
  font-weight: 520;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shot-card a:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 26px 68px rgba(37, 99, 235, 0.13);
}

.shot-card a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.shot-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
}

.shot-card.large img {
  min-height: 520px;
}

.shot-card figcaption {
  display: grid;
  gap: 3px;
  padding-inline: 4px;
}

.shot-card figcaption strong {
  color: #0f172a;
  font-weight: 560;
}

.shot-card figcaption span {
  color: #5d6b82;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-card.large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .shot-card.large img {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .shot-card img,
  .shot-card.large img {
    min-height: 250px;
  }

  .shot-card a::after {
    opacity: 1;
    transform: none;
  }
}
