* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e50914;
  --bg-dark: #071022;
  --text: #eaeefc;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 0, 0, 0.35);
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: #071022;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Blue abstract blur background (soft neon cyber) */
body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 170, 255, 0.65) 0 25%, transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(0, 90, 255, 0.55) 0 30%, transparent 40%),
    linear-gradient(#061428, #040a1a);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

/* Layout layering so content appears above the bg */
main, footer {
  position: relative;
  z-index: 1;
}

/* Light reset for structural elements inside the page */
.image-frame {
  width: min(92vw, 900px);
  margin: 4rem auto 2rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  overflow: hidden;
}

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

/* Footer with a clear CTA section */
footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}

/* Featured product ad (CTA area) */
.product-ad {
  display: block;
  margin: 0 auto 1rem;
  padding: .75rem;
  max-width: 680px;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 12px;
  text-align: left;
}

/* Ad heading with red accent */
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #ff6b6b;
}

/* CTA button style (prominent) */
.product-ad a {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad p { margin: 0; }

/* Small text footer note */
footer p {
  margin-top: .25rem;
  font-size: .9rem;
  color: #cbd5e1;
}

/* Accessibility helpers for focus styles on key navigations */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive: mobile-first, scale up gracefully */
@media (min-width: 700px) {
  .image-frame {
    margin: 5rem auto 2rem;
    width: min(60ch, 70%);
  }
  .product-ad {
    margin: 0 auto;
  }
}
