/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: #e6ffea;
  /* Gray carbon-fiber backdrop with subtle glow for hacker vibe */
  background-color: #0b0f12;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.55) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.55) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 0 0;
  /* keep layout crisp on all devices */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light reset for layout elements */
main { display: grid; place-items: center; padding: 2rem; min-height: calc(100vh - 120px); }
footer { padding: 1.5rem 1rem; text-align: center; }

/* Frosted glass container for the hero image */
.image-frame {
  width: 100%;
  max-width: 860px;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(8, 12, 12, 0.40);
  border: 1px solid rgba(0, 255, 140, 0.65);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  outline: 1px solid rgba(0,0,0,.08);
}

/* Neon hacker accents for headings/text (where present) */
.neon {
  color: #9affc6;
  text-shadow: 0 0 6px rgba(0,255,140,.8);
}

/* Footer product ad as a frosted glass CTA card */
.product-ad {
  display: inline-block;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,255,140,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,.5);
}
.product-ad h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #9affc6;
  text-shadow: 0 0 6px rgba(0,255,140,.8);
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad p {
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #eafff0;
  background: linear-gradient(135deg, rgba(0,255,140,.25), rgba(0,255,140,.55));
  border: 1px solid rgba(0,255,140,.9);
  text-align: center;
  text-shadow: 0 0 6px rgba(0,255,140,.9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad p:hover, .product-ad p:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0,255,140,.9);
}
.product-ad p:focus-visible {
  outline: 2px solid #00ff88;
  outline-offset: 2px;
}

/* Global link/button accessibility */
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #00ff88; outline-offset: 2px; border-radius: 4px; }

/* Typography tweaks for readability on dark hacker theme */
p { line-height: 1.5; color: #d9ffd8; }

/* Responsive mobile-first adjustments */
@media (min-width: 600px) {
  body { color: #eaffea; }
  main { padding: 3rem; }
  .image-frame { padding: 1.25rem; border-radius: 16px; }
  .product-ad { padding: 16px 20px; }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { border-radius: 18px; }
  .product-ad { display: inline-block; margin-top: 1rem; }
}