/* Minimal reset and system UI font for a compact, hacker-inspired style */
*, *::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: #eafff7;
  background-color: #071308;
  /* Green checkerboard background (soft neon glow) */
  background-image:
    linear-gradient(45deg, rgba(0,128,0,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,128,0,.25) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,128,0,.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,128,0,.25) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, 20px 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout root (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Frosted glass card around the art image (future cyberpunk) */
.image-frame {
  width: min(92vw, 860px);
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

/* Image scales cleanly inside frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  image-rendering: -webkit-optimize-contrast;
}

/* Footer area with a frosted glass CTA panel */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
}

/* Featured product panel (hacker neon feel) */
.product-ad {
  display: inline-block;
  padding: .6rem .8rem;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  transition: transform .15s ease;
}
.product-ad:hover { transform: translateY(-1px); }

/* Heading in the ad (neon, compact) */
.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: #eafff7;
  text-shadow: 0 0 6px rgba(43, 220, 102, 0.9);
}

/* CTA link styling (button-like) */
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 6px;
  margin: 0;
  background: #2bdc66;
  color: #041f0e;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 8px rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover p { transform: translateY(-1px); }

/* Focus styles for accessibility (keyboard users) */
a:focus-visible {
  outline: 3px solid #39ff9f;
  outline-offset: 2px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(57,255,159,.25);
}
a, button { color: inherit; }

/* Small base text tweaks for readability on dark glass */
p { color: #eafff7; margin: 0.25rem 0; }

/* Responsive adjustments (tablet, desktop) */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 18px; padding: 8px; }
  .product-ad { padding: .8rem 1rem; }
  .product-ad a p { padding: .75rem 1.25rem; font-size: 1rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem; }
}