/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eaeaf3;
  min-height: 100%;
  /* Pink crosshatched background for hacker aesthetic */
  background-color: #0b0b12;
  background-image:
    linear-gradient(45deg, rgba(255,0,170,.20) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,0,170,.20) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  line-height: 1.6;
}

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

/* Frosted glass card around the image (hero) */
.image-frame {
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: 18px;
  background: rgba(14, 16, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  position: relative;
  overflow: hidden;
}
.image-frame::after {
  /* soft neon glow to hint cyberpunk vibe */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  box-shadow: 0 0 40px 6px rgba(255, 0, 170, 0.45);
  pointer-events: none;
  z-index: 0;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* Footer with a prominent CTA-styled product ad */
footer {
  width: 100%;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,0,0,.25);
}

/* Product ad block (pink CTA) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(20, 20, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: min(92vw, 680px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  width: max-content;
}
.product-ad a p {
  margin: 0;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  /* pink CTA look */
  background: linear-gradient(135deg, rgba(255,0,170,.95), rgba(255,0,170,.75));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:focus-visible {
  outline: 3px solid rgba(255, 107, 216, 0.95);
  outline-offset: 2px;
  border-radius: 10px;
}
.product-ad p:hover { filter: brightness(1.05); }

/* Small helper text color for footer copy */
footer p {
  color: #d9d9e6;
  font-size: 0.92rem;
  opacity: 0.95;
}

/* Accessibility: focus for interactive elements in general */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(255, 107, 216, 0.95);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: widen hero and scale typography on larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 2rem; border-radius: 22px; }
  .product-ad { margin-top: 0.5rem; }
}
