@import url("../shared/app-base.css");

:root {
  --bg: #05060a;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f8ff;
  --muted: #9aa3b7;
  --accent: #7d83ff;
  --accent-strong: #a7aaff;
  --body-background:
    radial-gradient(circle at 76% 10%, rgba(72, 78, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(70, 52, 180, 0.12), transparent 24rem),
    var(--bg);
  --header-background: rgba(5, 6, 10, 0.78);
  --brand-mark-size: 14px;
  --brand-mark-background: var(--accent);
  --brand-mark-shadow: 0 0 24px rgba(125, 131, 255, 0.9);
  --button-primary-border: rgba(125, 131, 255, 0.7);
  --button-primary-text: #080912;
  --support-border: 1px solid rgba(125, 131, 255, 0.28);
  --support-background:
    radial-gradient(circle at 100% 0%, rgba(125, 131, 255, 0.2), transparent 20rem),
    var(--surface);
  --policy-content-color: #dfe3ef;
  --policy-copy-color: #b7bfce;
}

.preview-frame {
  display: flex;
  justify-content: center;
  margin: 0;
}

.preview-frame img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(125, 131, 255, 0.24);
  border-radius: var(--radius-large);
  background: #0a0b10;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.48), 0 0 90px rgba(69, 74, 255, 0.12);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(125, 131, 255, 0.42);
  border-radius: var(--radius-large);
  background: rgba(0, 0, 0, 0.26);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.screenshot-card figcaption {
  margin: 0;
  padding: 22px 26px 24px;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 820px) {
  .preview-frame { order: -1; }

  .screenshot-grid {
    max-width: 100%;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .preview-frame img {
    width: 100%;
    max-height: none;
  }

  .screenshot-card {
    border-radius: var(--radius-medium);
  }
}
