:root {
  --magenta: #ff2bd6;
  --magenta-glow: rgba(255, 43, 214, 0.9);
  --text: #eafff7;
  --glass: rgba(255, 255, 255, 0.14);
}

*,
*::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: var(--text);
  /* green cyber-noise backdrop */
  background: linear-gradient(#0a2f14, #0a2f14 40%, #0b2f1a 100%);
  position: relative;
  overflow-x: hidden;
  /* soft overall glow using magenta accent in the background */
  text-shadow: 0 0 0 transparent;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  /* faux green noise texture via layered gradients */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.15) 1px, transparent 2px),
    radial-gradient(circle at 6px 10px, rgba(0,0,0,.08) 1px, transparent 2px),
    radial-gradient(circle at 12px 4px, rgba(0,0,0,.07) 1px, transparent 2px),
    radial-gradient(circle at 16px 14px, rgba(0,0,0,.06) 1px, transparent 2px);
  background-size: 16px 16px, 16px 16px, 16px 16px, 16px 16px;
  mix-blend-mode: soft-light;
  filter: saturate(120%);
}

main {
  min-height: 60vh;
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
}

.image-frame {
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.image-frame:hover img { transform: scale(1.04); }

footer {
  width: 100%;
  padding: 1rem 0 2rem;
  display: grid;
  justify-items: center;
  text-align: center;
  color: #d1ffd0;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0.0));
}

.product-ad {
  width: min(680px, 92vw);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 0, 255, 0.15); /* magenta glass */
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: var(--magenta);
  text-shadow: 0 0 6px var(--magenta-glow);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a {
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  color: #04120b;
  background: linear-gradient(135deg, #e8ff00 0%, #5dfc9f 100%);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0,0,0,.25);
  display: inline-block;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0,0,0,.3);
}
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid #1aeb60;
  outline-offset: 2px;
}
footer p {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: #b8ffcd;
}

/* Focus styles for general links for accessibility */
a:focus-visible {
  outline: 3px solid #1aeb60;
  outline-offset: 2px;
}

@media (min-width: 720px) {
  main { padding: 3rem 2rem; }
  footer { padding: 1.5rem 0; }
  .product-ad { padding: 1.1rem 1.2rem; }
  .product-ad h3 { font-size: 1.15rem; }
  .image-frame { border-radius: 20px; }
}

@media (min-width: 1024px) {
  main { padding: 4rem 0; }
  .image-frame { width: min(860px, 85vw); }
  footer { padding: 2rem 0; }
}