/* Light reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e8e7ff;
  background: linear-gradient(135deg,
    #0b1020 0%,
    #1a1148 35%,
    #4c1d95 60%,
    #f472b6 85%,
    #f59e0b 100%);
  min-height: 100vh;
}

/* Layout */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
}
.image-frame {
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  background: rgba(255,255,255,.08);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Frosted glass overlay on the image (overlay blur) */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
  border-radius: inherit;
}

/* Subtle cyberpunk accent glow around the frame (optional) */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, .55);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .6;
}

/* Footer / Call-to-action styling (frosted card + CTA) */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #e9e7ff;
  background: linear-gradient(to top, rgba(0,0,0,.0), rgba(0,0,0,.15));
}
.product-ad {
  display: inline-block;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(124,58,237,.55);
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124,58,237,.65);
}
.product-ad a:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}
footer p {
  margin: 0;
  font-size: 0.95rem;
  opacity: .9;
}

/* Accessibility helpers */
:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main {
    padding: 3rem 2rem;
  }
  .image-frame {
    width: min(900px, 88vw);
    border-radius: 22px;
  }
  footer {
    padding: 2.5rem 2rem;
  }
}
