/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-magenta: #b54f8a;
  --bg-magenta-deep: #7a2e66;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
  --text: #eafff0;
  --green: #39ff14;
  --green-dark: #0a8b3e;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 14px;
}

/* Light, accessible reset for the page background (magenta parchment) */
body {
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  background: radial-gradient(circle at 20% -10%, rgba(255,255,255,.08) 0, rgba(0,0,0,0) 40%),
              linear-gradient(135deg, #b54f8a 0%, #7a2e66 60%, #b54f8a 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-attachment: fixed;
}

/* Subtle neon glow overlay for a cyberpunk feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 70% 0%, rgba(57,255,20,.06) 0, transparent 40%),
              radial-gradient(circle at 0% 100%, rgba(50,200,100,.05) 0, transparent 40%);
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}

/* Layout: mobile-first, center content */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass frame around the image (hero) */
.image-frame {
  width: min(92%, 720px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  filter: saturate(1.05);
}

/* Footer and product ad (CTA) */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: rgba(232,255,230,.95);
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.15));
  border-top: 1px solid rgba(255,255,255,.14);
}

.product-ad {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
  margin-bottom: .75rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #ccffcc;
  letter-spacing: .2px;
  margin: 0 0 .25rem;
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(57,255,20,.95), rgba(0,255,120,.85));
  color: #062a05;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.product-ad a:focus-visible,
a:focus-visible {
  outline: 3px solid #00ff88;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-2px);
}

footer p {
  margin: 0.25rem 0 0;
  font-size: .9rem;
  color: rgba(200,255,210,.95);
}

/* Responsive tweaks: mobile-first, then scale up */
@media (min-width: 768px) {
  main { padding: 3rem 0; }
  .image-frame { width: 70%; }
}

@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  footer { padding: 2rem 0 3rem; }
  .product-ad h3 { font-size: 1.05rem; }
}