/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: #eaffd9;
  background-color: #0a0f0a;
  /* green checkerboard background (olive-toned) */
  background-image:
    linear-gradient(45deg, #2b3e1e 25%, transparent 25%),
    linear-gradient(-45deg, #2b3e1e 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2b3e1e 75%),
    linear-gradient(-45deg, transparent 75%, #2b3e1e 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

/* Layout scaffold */
main {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}
.image-frame {
  position: relative;
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(8, 14, 8, 0.42); /* frosted glass base */
  border: 1px solid rgba(140, 210, 140, 0.65);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 6px 28px rgba(0,0,0,.55);
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 1px solid rgba(0,0,0,.15);
}
/* Frosted glass hero label (overlay) */
.image-frame::after {
  content: "Midnight Cyberframe";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 6px 12px;
  font-size: 0.92rem;
  color: #eaffd7;
  background: rgba(12, 16, 12, 0.75);
  border: 1px solid rgba(120, 210, 140, 0.8);
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  letter-spacing: .5px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  pointer-events: none;
}

/* Footer with a prominent CTA */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #b6dca6;
  border-top: 1px solid rgba(0,0,0,.25);
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  background: rgba(16, 22, 16, 0.6);
  border: 1px solid rgba(140, 210, 140, 0.65);
  transition: transform .2s ease;
}
.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #d7ffd9;
  text-shadow: 0 0 8px rgba(0,0,0,.25);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: #062f0b;
  background: linear-gradient(135deg, #7ee27a, #4dbd53);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 14px rgba(0,0,0,.25), 0 0 12px rgba(61, 255, 164, 0.5);
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 2px solid #9fff9f;
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(61,255,164,.65);
}
footer p { margin: 0.75rem 0 0; color: #a8dba7; }

/* Typography helpers (neon/cyberpunk accents) */
a { color: inherit; text-decoration: none; }

/* Keyboard accessibility default focus */
:focus-visible {
  outline: 2px solid #9fff9f;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: mobile-first (enhance at larger widths) */
@media (min-width: 768px) {
  main { padding: 4rem 2rem; }
  .image-frame { border-radius: 24px; padding: 1.25rem; max-width: 860px; }
}
@media (min-width: 1024px) {
  main { padding: 5rem 3rem; }
  .image-frame { padding: 1.5rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}