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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: #eaffff;
  /* Red sunset gradient background with turquoise accents vibe */
  background: linear-gradient(135deg, #2b0000 0%, #570015 40%, #9a001d 70%, #ff2d2d 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  min-height: 60vh;
}

.image-frame {
  width: min(100%, 940px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  position: relative;
}

/* Image fills frame as hero content */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  /* Optional subtle neon glow effect via filter */
  image-rendering: auto;
  filter: saturate(1.05);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Frosted-glass-esque glow + cyber aura */
  background:
    radial-gradient(circle at 15% 0%, rgba(0,255,255,0.25), transparent 40%),
    linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.25) 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Footer area with frosted glass ad card and CTA */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(0, 255, 255, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eaffff;
  margin: 0 auto;
  max-width: 420px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #d6fffa;
  text-shadow: 0 0 6px rgba(0,255,255,.65);
  letter-spacing: .04em;
}

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

.product-ad a p {
  margin: 0;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ff0e0, #14d4c8);
  color: #062c2f;
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-block;
  /* Ensure the CTA stands out on all backgrounds */
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

/* Focus styles for accessibility on keyboard navigation */
a:focus-visible {
  outline: 3px solid #00ffd6;
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad:focus-within {
  outline: 3px solid #00ffd6;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Small screens: mobile-first adjustments */
@media (min-width: 640px) {
  .image-frame { border-radius: 22px; }
  .product-ad { margin-top: 0.5rem; }
}
@media (min-width: 900px) {
  main { padding: 2rem 1rem 3rem; }
  footer { padding: 2rem 1rem 2.5rem; }
}
