/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: #e9e0cc;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
  background-color: #0b0b0b;
  /* Lime crosshatch background for hacker vibe */
  background-image:
    linear-gradient(45deg, rgba(197, 255, 0, 0.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(197, 255, 0, 0.25) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(197, 255, 0, 0.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(197, 255, 0, 0.25) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 0, 6px 6px, 6px 6px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

/* Layout (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 28px;
}

.image-frame {
  width: min(92vw, 860px);
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(to bottom right, rgba(18,12,7,0.65), rgba(18,12,7,0.25));
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), inset 0 0 12px rgba(0,0,0,0.25);
  backdrop-filter: saturate(1.15) blur(8px);
  -webkit-backdrop-filter: saturate(1.15) blur(8px);
}

/* Frosted glass look for the image inside frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Footer / promo section (hacker-style CTA) */
footer {
  padding: 16px;
  text-align: center;
  color: #e9e0cc;
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(40, 20, 10, 0.75);
  border: 1px solid rgba(255,255,255,0.18);
  margin: 6px auto 12px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.product-ad:hover { transform: translateY(-1px); }

.product-ad h3 {
  font-size: 0.92rem;
  margin: 0;
  color: #dfffb3;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  color: inherit;
}
.product-ad a p {
  margin: 0;
  padding-left: 6px;
  font-weight: 700;
  color: #c9ff8a;
  text-transform: none;
}

/* Bold, accessible focus styles for interactive elements */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #9dff00;
  outline-offset: 2px;
  border-radius: 6px;
}
a:hover { text-decoration: none; color: #eaff88; }

/* Light accessibility tweaks for contrast on text */
p { color: #e9e0cc; }

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 680px) {
  main {
    padding: 40px;
  }
  .image-frame {
    padding: 20px;
  }
}
@media (min-width: 1024px) {
  main {
    min-height: calc(100vh - 160px);
  }
  .image-frame {
    width: min(720px, 70vw);
  }
}