/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

/* Theme: hacker future cyberpunk with navy checkerboard and lime accents */
:root {
  --bg-navy: #0b1020;
  --bg-navy-dark: #060f24;
  --lime: #b6ff00;
  --lime-deep: #93ff00;
  --glass: rgba(8, 12, 28, 0.65);
  --glass-border: rgba(0, 255, 128, 0.25);
  --text: #eaffd0;
  --muted: rgba(210, 255, 180, 0.9);
}

html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg-navy);
  /* Navy checkerboard background using layered gradients */
  background-image:
    linear-gradient(45deg, rgba(9, 18, 54, 0.95) 25%, rgba(9, 18, 54, 0.0) 25%),
    linear-gradient(-45deg, rgba(9, 18, 54, 0.95) 25%, rgba(9, 18, 54, 0.0) 25%),
    linear-gradient(45deg, transparent 75%, rgba(9, 18, 54, 0.95) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(9, 18, 54, 0.95) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--lime); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Layout: mobile-first */
main { padding: 1.25rem 1rem; display: block; }
.image-frame { display: flex; justify-content: center; align-items: center; padding: 1rem; }
.image-frame img {
  width: 100%; height: auto; max-width: 1100px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.55);
  border: 1px solid rgba(0, 255, 128, 0.35);
  display: block;
  /* subtle neon glow to reinforce hacker vibe */
  filter: saturate(1.05);
  outline: 1px solid rgba(0,0,0,.15);
}
.image-frame img:focus { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Frosted glass footer / ad panel (prominent CTA) */
footer { padding: 1.25rem 1rem; display: grid; gap: .75rem; place-items: center; }
.product-ad {
  background: var(--glass);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  width: min(92%, 520px);
  text-align: center;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  color: #e6ffd1;
  letter-spacing: .3px;
}
.product-ad a {
  color: #baff00;
  text-decoration: none;
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(176, 255, 0, 0.5);
  background: rgba(0,0,0,.25);
  transition: transform .2s ease, background .25s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: rgba(0,0,0,.30); }

/* Footer copyright text (accessible contrast) */
footer p { margin: 0; color: rgba(210, 255, 180, 0.9); font-size: .88rem; text-align: center; padding-top: .25rem; }

/* Responsive tweaks */
@media (min-width: 700px) {
  main { padding: 2rem 1.5rem; }
  .image-frame { padding: 1.25rem; }
  .product-ad { width: min(720px, 60%); }
}