/* Minimal reset & black hacker theme with lime accents */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

/* Color tokens & accessibility */
:root {
  --bg: #000;
  --text: #eaffd6;
  --lime: #39ff14;
  --lime-soft: rgba(57,255,20,.25);
  --glass: rgba(255,255,255,.12);
  --glass-border: rgba(255,255,255,.28);
}

html, body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg);
  /* Black low-poly triangles background (tiny SVG tile) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><polygon points='0,0 100,0 0,100' fill='%23000000'/><polygon points='100,0 100,100 0,100' fill='%230a0a0a'/><polygon points='40,0 100,0 0,60' fill='%23020202'/><polygon points='0,40 60,0 0,0' fill='%23101010'/><polygon points='60,60 100,40 100,100' fill='%230f0f0f'/><polygon points='20,60 60,40 60,100' fill='%230b0b0b'/><polygon points='0,20 40,60 0,100' fill='%23070707'/><polygon points='70,0 100,20 100,0' fill='%230e0e0e'/></svg>");
  background-size: 180px 180px;
  background-repeat: repeat;
  display: grid;
  place-items: center;
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page layout (mobile-first) */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92%, 720px);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.65);
  display: grid;
  justify-items: center;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.25);
  /* subtle neon edge */
  box-shadow: 0 0 14px rgba(57,255,20,.25);
}

/* Footer with a neon-ish product ad CTA */
footer {
  width: 100%;
  padding: 1.25rem 1rem 2rem;
  text-align: center;
  color: #e8ffd8;
}

/* Product ad as a frosted glass pill with CTA */
.product-ad {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0,0,0,.6);
  margin-bottom: .75rem;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  color: #9aff8a;
  display: inline-block;
  vertical-align: middle;
}

.product-ad a {
  text-decoration: none;
  color: inherit;
}

.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: .25rem .75rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(57,255,20,.25), rgba(0,0,0,.2));
  color: #eaffd6;
  border: 1px solid rgba(57,255,20,.5);
  font-weight: 600;
}

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

/* Keyboard navigation hint for links in footer (optional subtle glow) */
a:focus-visible { text-decoration: none; }

/* Small screens default typography tweaks for readability on mobile */
p, li { font-size: 15px; color: #d7ffd1; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Breakpoints for nicer hero on larger screens */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.75rem; border-radius: 20px; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  footer { padding: 1.5rem 0 2rem; }
}