/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #e8f0ff;
  /* red gradient + navy hacker vibe with frosted glass feel */
  background:
    radial-gradient(circle at 20% 0, rgba(255,0,0,.25), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(0,60,120,.25), transparent 40%),
    linear-gradient(135deg, #0a0f1a 0%, #0b1020 60%, #1a0f2a 100%);
  background-color: #040711;
  background-blend-mode: screen;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
  /* subtle cyber grid overlay */
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .25;
  mix-blend-mode: overlay;
}

/* Layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}
.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Footer with frosted glass card CTA */
footer {
  margin-top: 2rem;
  padding: 1.75rem 1rem;
  width: 100%;
  display: grid;
  justify-items: center;
  background: linear-gradient(to top, rgba(2,6,23,.95), rgba(2,6,23,.75));
  border-top: 1px solid rgba(255,255,255,.12);
  color: #d6e6ff;
}
.product-ad {
  text-align: center;
  width: min(92vw, 680px);
  padding: 1rem 1rem;
  border-radius: 14px;
  background: rgba(14,16,28,.62);
  border: 1px solid rgba(120,180,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  letter-spacing: .6px;
  color: #e6f0ff;
  text-shadow: 0 0 8px rgba(0,180,255,.9);
}
.product-ad a {
  display: inline-block;
  padding: .56rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(120,200,255,.6);
  background: linear-gradient(135deg, rgba(12,34,68,.95), rgba(6,12,32,.95));
  color: #eaffff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,180,255,.6);
}
.product-ad a p { margin: 0; font-size: .95rem; color: #eaffff; }
footer p { font-size: .85rem; color: #aabfff; margin: .75rem 0 0; text-align: center; }

/* Focus accessibility (keyboard users) */
:focus-visible {
  outline: 2px solid #7ef0ff;
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible { outline-offset: 3px; }

/* Responsive tweaks - mobile-first already; adjust at breakpoints */
@media (min-width: 700px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(760px, 70vw); }
}
@media (min-width: 1024px) {
  main { padding: 6rem 4rem; }
  footer { grid-auto-flow: column; gap: 2rem; align-items: start; }
  .product-ad { text-align: left; padding: 1.25rem 1.25rem; }
}