/* Global reset and a white checkerboard, navy hacker theme with frosted glass */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body {
  margin: 0;
  color: #e8f0ff;
  background-color: #0b1220;
  /* white checkerboard background */
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%),
    linear-gradient(-45deg, #fff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #fff 75%),
    linear-gradient(-45deg, transparent 75%, #fff 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { padding: 1rem; }

/* Frosted glass hero frame for the image */
.image-frame {
  width: min(92vw, 860px);
  margin: 2rem auto;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(12, 18, 40, 0.72);
  border: 1px solid rgba(100, 180, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  position: relative;
  overflow: hidden;
}
.image-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(0,255,255,0.04), rgba(0,0,0,0.0) 40%);
  pointer-events: none;
}
.image-frame img {
  display: block;
  width: 100%; height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
}

/* Footer and CTA styling */
footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  color: #cbdaf6;
}
.product-ad {
  display: inline-block;
  width: 100%;
  max-width: 720px;
  padding: 0.75rem;
  margin: 0.5rem auto 0;
  border-radius: 12px;
  background: rgba(6, 12, 40, 0.85);
  border: 1px solid rgba(100,200,255,0.25);
}
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.product-ad a {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  color: #eaffff;
  background: linear-gradient(135deg, #0b1d3a 0%, #163a79 100%);
  border: 1px solid rgba(100, 200, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0, 230, 255, 0.6);
}
.product-ad a:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
}
footer p { margin: 0.75rem 0 0; font-size: 0.9rem; opacity: 0.9; }

/* Responsive, mobile-first tweaks */
@media (min-width: 600px) {
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 900px) {
  main { display: grid; place-items: start center; padding-top: 2rem; }
  .image-frame { margin: 3rem auto; }
  footer { text-align: center; }
}
