/* Light reset and CSS variables for hacker vibe */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #e9f0ff;
  background: #0a0f14;
  line-height: 1.45;
  overflow-x: hidden;
  position: relative;
}

/* Olive neon glow background + purple accents for a cyberpunk hacker theme */
:root {
  --olive: #7bd389;
  --olive-dark: #5ba874;
  --purple: #9b5cff;
  --panel: rgba(255,255,255,.08);
  --panel-border: rgba(255,255,255,.22);
  --text: #e9f0ff;
  --muted: #cbd5e1;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(123,211,137,.25), transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(155,92,255,.25), transparent 40%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(123,211,137,.12), transparent 40%),
    radial-gradient(circle at 30% 70%, rgba(155,92,255,.12), transparent 40%);
  mix-blend-mode: screen;
  z-index: -1;
  pointer-events: none;
}

/* Layout */
main {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(94%, 720px);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 1px solid rgba(255,255,255,.12);
}

/* Footer / product ad area */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem;
  margin: 1rem auto 0;
  background: rgba(10, 12, 25, .66);
  border-radius: 14px;
  border: 1px solid rgba(128, 110, 255, .35);
  max-width: 520px;
  box-shadow: inset 0 0 8px rgba(0,0,0,.25), 0 8px 22px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 1rem;
  color: var(--olive);
  margin: 0;
  text-shadow: 0 0 6px rgba(123,211,137,.8);
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad > a > p {
  margin: 0;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(123,211,137,.95), rgba(155,92,255,.95));
  color: white;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  display: inline-block;
  text-align: center;
}

/* Accessibility: clear focus styles for interactive elements */
a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad > a > p:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  border-radius: 999px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: 720px; }
}
@media (min-width: 900px) {
  .image-frame { padding: 1.25rem; border-radius: 22px; }
  .product-ad { padding: 1rem 1.25rem; }
  .product-ad h3 { font-size: 1.05rem; }
}