*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

:root {
  --green: #39ff14;
  --green-dark: #2bd44a;
  --text: #d6ffd9;
  --bg-purple: #2b0f2f;
  --glass: rgba(0,0,0,.28);
  --shadow: 0 10px 30px rgba(0,0,0,.28);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--bg-purple);
  /* purple paper texture feel */
  background-image:
    radial-gradient(circle at 10% 0%, rgba(57,255,212,.08) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 100%, rgba(0,255,120,.10) 0 8px, transparent 9px),
    linear-gradient(#2a0f2f, #2a0f2f);
  background-blend-mode: overlay;
  background-size: 40px 40px, 60px 60px, 100% 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, .45);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: var(--shadow);
  position: relative;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  outline: 1px solid rgba(0,255,140,.25);
}

footer {
  padding: 1.25rem 1rem;
  text-align: center;
  color: #caffd0;
}

.product-ad {
  display: inline-block;
  padding: .8rem;
  border-radius: 14px;
  background: rgba(8,0,15,.55);
  border: 1px solid rgba(57,255,20,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .75rem;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  color: #b6ffbd;
  letter-spacing: .02em;
}

.product-ad a {
  text-decoration: none;
  color: inherit;
}

.product-ad a p {
  margin: 0;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #041e0a;
  background: linear-gradient(135deg, rgba(57,255,20,.95), rgba(0,255,140,.9));
  border: 1px solid rgba(57,255,20,.8);
  display: inline-block;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.product-ad a:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(57,255,20,.8);
  outline-offset: 2px;
  border-radius: 999px;
}

@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(900px, 82vw); }
  .product-ad { margin-top: .5rem; }
}

@media (min-width: 1024px) {
  :root { --bg-purple: #2b0f2f; }
  main { padding: 4rem 3rem; }
  .image-frame { border-radius: 24px; }
  .product-ad h3 { font-size: 1.05rem; }
}