/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eae6f3;
  background: #090912;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Magenta abstract blur background (magenta glow) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,0,155,.6) 0 25%, transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(255,102,255,.35) 0 40%, transparent 40%),
    radial-gradient(circle at 40% 70%, rgba(255,0,102,.35) 0 50%, transparent 50%);
  filter: blur(40px);
  transform: translateZ(0);
}

/* Layout */
main {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 2rem 1rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(680px, 92%);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* mild color pop for hacker vibe */
  filter: saturate(1.05) contrast(1.05);
}

/* Footer with cyberpunk glass slab */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  background: rgba(10,0,20,.5);
  border-top: 1px solid rgba(255,255,255,.12);
  color: #d9d2e6;
}

/* Product ad (CTA) with frosted glass feel */
.product-ad {
  display: inline-block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  color: #ffd6f0;
  text-shadow: 0 0 8px rgba(255,70,170,.8);
}

.product-ad a {
  display: inline-block;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5f86 0%, #ff6a8a 60%, #ff7d6f 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 6px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-ad a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,0,128,.5);
}

.product-ad a:focus-visible {
  outline: 3px solid #00e7ff;
  outline-offset: 2px;
}

.product-ad a p { margin: 0; padding: 0; font-weight: 700; }

footer p {
  opacity: .8;
  margin: 0.75rem 0 0;
  font-size: .9rem;
}

/* Accessibility: focus styles for keyboard navigation on CTA links */
:focus-visible {
  outline: 3px solid #00e7ff;
  outline-offset: 2px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { min-height: 78vh; padding: 3rem 2rem; }
  .image-frame { width: min(900px, 78%); padding: 1.25rem; }
}
