/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; padding: 0; background: #2a0a4a; color: #eafff5; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; line-height: 1.4; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Subtle neon ambiance (neon hacker vibe) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 25% 20%, rgba(0,255,140,.12), transparent 40%),
              radial-gradient(circle at 75% 70%, rgba(0,255,140,.12), transparent 40%);
  mix-blend-mode: screen;
  filter: saturate(120%);
}

/* Layout */
main {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.image-frame {
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: saturate(110%) blur(2px);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 0;
  border: 0;
  image-rendering: crisp-edges;
  /* subtle glow around the image for cyberpunk vibe */
  box-shadow: 0 0 14px rgba(0,255,140,.8);
}

/* Frosted glass footer panel for the product ad */
footer { padding: 1rem; text-align: center; }
.product-ad {
  max-width: 700px;
  margin: 1rem auto 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  display: grid;
  gap: 0.5rem;
  align-items: start;
  justify-items: start;
  text-align: left;
}
.product-ad h3 {
  margin: 0;
  color: #baffc7;
  text-shadow: 0 0 6px rgba(43,255,140,.8);
  font-weight: 700;
  letter-spacing: .5px;
}
.product-ad a {
  display: inline-block;
  text-decoration: none;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(43,255,140,.8);
  color: #06261e;
  background: linear-gradient(135deg, rgba(43,255,140,.95), rgba(43,255,140,.6));
  font-weight: 700;
  box-shadow: 0 0 12px rgba(43,255,140,.8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(43,255,140,.95); }

/* Focus accessibility */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #00ffb3;
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad a:focus-visible { outline-offset: 4px; }

/* Text and small devices tweaks */
footer p { color: rgba(234,254,239,.9); font-size: .9rem; margin: .75rem 0 0; }

/* Responsive adjustments (mobile-first) */
@media (min-width: 768px) {
  main { padding: 2rem; }
  .image-frame { padding: 1.25rem; border-radius: 20px; }
  .product-ad { margin-top: 1.5rem; padding: 1.25rem; }
  footer p { font-size: 1rem; }
}