/* Shared App Store Style - used by Ballast, SimpleHealth, and other Gormantec apps */
:root {
  --bg: #f6f7fb;
  --card: #fff;
  --muted: #6b7280;
  --accent: #0070c9;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: #111;
}

.wrap {
  max-width: 980px;
  margin: 36px auto;
  padding: 24px;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
}

.app-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

.icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  flex: 0 0 96px;
  background: linear-gradient(135deg, #e6eef9, #dff1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
}

h1 {
  font-size: 22px;
  margin: 0;
}

.sub {
  color: var(--muted);
  margin-top: 6px;
}

.meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.rating {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: #b08900;
}

.store-btn {
  display: inline-block;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
}

.store-btn svg {
  vertical-align: middle;
  margin-right: 8px;
}

.content {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.player {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

video {
  width: 100%;
  height: 100%;
  display: block;
}

.right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.screenshot-thumb {
  height: 400px;
  width: 200px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.screenshot-thumb img {
  height: 400px;
  width: 200px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.shot {
  background: linear-gradient(180deg, #eef2ff, #fff);
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.info-card {
  padding: 14px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .content {
    grid-template-columns: 1fr;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .right {
    order: 2;
  }
}

@media (max-width: 640px) {
  .screenshot-thumb {
    height: 220px;
  }
  .screenshot-thumb img {
    height: 220px;
  }
}
