*,
*::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, Arial;
  color: #f8f8f8;
  background: linear-gradient(135deg, #7a0000 0%, #3a0000 60%, #1a0000 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 10%, rgba(255,0,0,.25) 0 40%, transparent 40%),
    radial-gradient(circle at 75% 0%, rgba(240,0,80,.15) 0 40%, transparent 40%);
  mix-blend-mode: screen;
  z-index: -1;
  filter: saturate(1.2);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92%, 720px);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.14); /* frosted glass */
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

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

/* CTA pill for Product Ad */
.product-ad {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  margin: 0 auto 0.75rem;
}

.product-ad h3 {
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #e02121, #b70d0d);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a { text-decoration: none; color: inherit; }

footer p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* Focus states for accessibility on interactive elements */
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; }
}

@media (min-width: 1024px) {
  .image-frame { border-radius: 20px; }
  .product-ad { padding: 0.6rem 1rem; }
}