/* Reset and base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eaffff;
  background-color: #0b0f0a;
  /* olive striped background with turquoise accents for hacker theme */
  background-image: repeating-linear-gradient(
      135deg,
      #6b8e23 0 22px,
      #3a3a1f 22px 44px
    );
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68vh;
  padding: 2rem;
}

.image-frame {
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(8, 12, 14, 0.28);
  border: 1px solid rgba(0, 255, 230, 0.65);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  position: relative;
  overflow: hidden;
}

/* Subtle neon glow/overlay to emphasize hacker vibe */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0,0,0,0) 60%, rgba(0,255,230,0.22) 60%);
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  /* slight glow around the image to enhance cyber aesthetic */
  box-shadow: 0 0 22px rgba(46, 230, 207, 0.25);
}

/* Footer and CTA */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #dcefe6;
  background: transparent;
}

.product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  margin-top: .75rem;
  border-radius: 12px;
  background: rgba(16, 28, 24, 0.4);
  border: 1px solid rgba(0, 255, 230, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad h3 {
  font-size: .95rem;
  margin-bottom: .25rem;
  color: #9ff;
  letter-spacing: .5px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem 0.9rem;
  border-radius: 8px;
  margin-top: .25rem;
  background: rgba(0, 255, 230, 0.30);
  color: #eaffff;
  border: 1px solid rgba(0, 255, 230, 0.9);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 0 14px rgba(0,255,230,0.8);
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,255,230,0.9);
}
.product-ad a:focus-visible {
  outline: 3px solid #2ee6cf;
  outline-offset: 2px;
}

/* Text color tweaks for contrast on olive backdrop */
p { color: #e6f2ed; }

/* Accessibility: focus visibility for interactive elements in dark theme */
a:focus-visible {
  outline: 3px solid #2ee6cf;
  outline-offset: 2px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 4rem 0; }
  .image-frame { width: min(70vw, 900px); }
  .product-ad { margin-top: 1.2rem; }
}