/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b0f14;
  --card: rgba(255, 255, 255, 0.08);
  --text: #eaffd0;
  --lime: #baff00;
  --yellow: #ffd600;
  --focus: 3px solid #fff;
}
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Lime zigzag background (neon hacker vibe) */
body {
  margin: 0;
  color: var(--text);
  background-color: #0b0f14;
  /* lime zigzag tile pattern for cyberpunk aesthetic */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><polyline points='0,30 15,15 30,30 45,45 60,30' fill='none' stroke='%23baff00' stroke-width='6' stroke-linecap='round'/></svg>");
  background-repeat: repeat;
  background-size: 60px 60px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.4);
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* Footer with accessible CTA styling */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #d2e59a;
  font-size: 0.95rem;
}

/* Product ad CTA - prominent, accessible button look */
.product-ad {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  display: inline-block;
  margin: 0 0 0.25rem;
  color: #eaff99;
  font-size: 0.95rem;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  margin: 0 0 0 0.75rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd800 0%, #ffd000 100%);
  color: #111;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
footer p {
  margin: 0.5rem 0 0;
  color: #9bd36b;
  font-size: 0.9rem;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 2.5rem; min-height: calc(100vh - 200px); }
  .image-frame { padding: 1.25rem; }
  footer { font-size: 1rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem; }
  .image-frame { width: min(860px, 72vw); }
  .image-frame:hover { transform: translateY(-2px); transition: transform 0.2s ease; }
}