/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #f9f9f9;
  background: linear-gradient(135deg, #ff2a2a 0%, #8b0000 50%, #320000 100%);
  min-height: 100vh;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  min-height: 60vh;
}
.image-frame {
  width: 92%;
  max-width: 980px;
  border-radius: 16px;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Footer / CTA */
footer {
  padding: 2rem 1rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 12px;
  background: rgba(12,12,12,0.58);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-ad h3 {
  margin: 0 0 .35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
  color: #ffd6d6;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a5a, #c01919);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad p { margin: .25rem 0 0; color: #ffdede; }

/* Links/buttons accessibility */
a, button { color: #fff; }
:focus { outline: 2px solid transparent; outline-offset: 2px; }
:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; border-radius: 6px; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 2rem; }
  .image-frame { width: 78%; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
}