/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #f5f28a;
  background-color: #0b1020;
  /* Indigo polka dots background */
  background-image:
    radial-gradient(circle at 10px 10px, rgba(95, 70, 255, 0.25) 2px, transparent 2px),
    radial-gradient(circle at 40px 20px, rgba(95, 70, 255, 0.25) 2px, transparent 2px);
  background-size: 60px 60px, 120px 120px;
  background-position: 0 0, -20px -20px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, centered content */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92%, 780px);
  background: rgba(14, 0, 40, 0.45);
  border: 1px solid rgba(255, 214, 0, 0.35);
  border-radius: 20px;
  padding: 14px;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer / CTA area (prominent CTA via link styling) */
footer { padding: 1rem; }

.product-ad {
  display: grid;
  justify-items: center;
  align-items: center;
  width: min(92%, 720px);
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(7, 0, 40, 0.5);
  border: 1px solid rgba(255, 255, 0, 0.4);
  color: #fffbd2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  text-align: center;
}
.product-ad h3 {
  font-size: 1.05rem;
  margin-bottom: .25rem;
  color: #ffd400;
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.8);
}
.product-ad a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: #111;
  color: #ffd400;
  text-decoration: none;
  border: 1px solid rgba(255,255,0,.4);
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 0 12px rgba(255, 214, 0, .7); }
.product-ad p { margin: .25rem 0 0; font-size: .92rem; opacity: .95; }

footer p {
  text-align: center;
  color: #7e7a46;
  font-size: .85rem;
  margin-top: .75rem;
}

/* Accessibility: clear focus styles for interactive elements */
a { color: #ffd400; text-decoration: none; }
a:focus { outline: 3px solid #ffd400; outline-offset: 2px; border-radius: 4px; }

/* Focus-visible for keyboard users */
a:focus-visible { outline: 3px solid #ffd400; outline-offset: 2px; }

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding-top: 3rem; }
  .image-frame { padding: 18px; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 2rem; }
  .image-frame { padding: 22px; border-radius: 22px; max-width: 860px; }
}