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

html, body { height: 100%; }

:root {
  --green: #39ff14;
  --bg: #0a0f0a;
  --panel: rgba(0,0,0,.45);
  --line: rgba(255,255,255,.04);
}

html, body { margin: 0; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #eaffee;
  background: var(--bg);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 8px, rgba(0,0,0,.04) 8px 16px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92vw, 860px);
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(0,255,120,.5);
  border-radius: 14px;
  padding: 1.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.5), inset 0 0 16px rgba(0,0,0,.25);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,255,120,.5);
  box-shadow: 0 4px 20px rgba(0,0,0,.6);
}

footer {
  padding: 1rem;
  text-align: center;
}

.product-ad {
  display: inline-block;
  margin: 0 auto .75rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(4,8,8,.6);
  border: 1px solid rgba(0,255,120,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: min(92vw, 420px);
  text-align: center;
}

.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #cfffcc;
  text-shadow: 0 0 6px rgba(57,255,20,.6);
}

.product-ad a { display: inline-block; text-decoration: none; }

.product-ad a p {
  margin: 0;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(#1b3f18, #0b2f0b);
  color: #eaffee;
  border: 1px solid rgba(0,255,140,.6);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0,255,120,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}

.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(0,255,120,.9);
}

.product-ad a:focus-visible p {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

footer p {
  font-size: .85rem;
  color: #a8f5b2;
  margin: .25rem 0 0;
}

@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 2rem; }
  .product-ad { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}