/* Mobile-first reset and base */
:root{
  --bg-dark: #0b0b0b;
  --card-bg: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.22);
  --text: #e9e9e9;
  --muted: #bdbdbd;
  --red: #e50914;
  --red-dark: #b50c0f;
  --gold: #d4af37;
  --shadow: 0 8px 24px rgba(0,0,0,.25);
}
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg-dark);
  overflow-x: hidden;
  position: relative;
}

/* Gold abstract blur background (frosted cyberpunk glow) */
body::before {
  content: "";
  position: fixed;
  inset: -10% -10% auto auto;
  width: 120%;
  height: 120%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,215,0,0.50) 0 28%, transparent 40%),
    radial-gradient(circle at 75% 35%, rgba(255,230,128,0.50) 0 22%, transparent 40%);
  filter: blur(48px);
  z-index: -1;
  mix-blend-mode: screen;
  animation: drift 16s ease-in-out infinite;
}
@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-6px,6px,0) scale(1.02); }
}

/* Layout: center content (mobile-first) */
main {
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 2rem 1rem 0;
  gap: 1.75rem;
  min-height: 60vh;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Footer area with a prominent CTA-style ad */
footer {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 1.75rem 1rem 2rem;
  color: #d9d9d9;
  background: rgba(0,0,0,0.25);
}
.product-ad {
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffd400;
  letter-spacing: .3px;
}
.product-ad a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 14px rgba(229,9,20,.6);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: #cc0f12;
}
.product-ad a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.product-ad p {
  margin: 0;
  color: #e9e9e9;
  font-weight: 600;
  font-size: .95rem;
  opacity: .95;
}

/* Small caption under the ad for accessibility and clarity (optional) */
.product-ad small {
  display: block;
  margin-top: 6px;
  color: #d8d8d8;
  font-size: .85rem;
  opacity: .9;
}

/* Footer copy (brand) styling */
footer p {
  margin: 0.75rem 0 0;
  font-size: .9rem;
  color: #cfcfcf;
  opacity: .95;
  letter-spacing: .4px;
  user-select: none;
}

/* Responsive adjustments (mobile-first) */
@media (min-width: 720px) {
  main {
    padding: 3rem 2rem 0;
  }
  .image-frame {
    max-width: 760px;
  }
  .product-ad {
    grid-template-columns: auto 1fr;
    padding: 16px 20px;
  }
}
@media (min-width: 1024px) {
  /* Keep centered layout with generous whitespace on larger screens */
  main { padding: 4rem 2rem 2rem; }
  .image-frame { max-width: 820px; }
}