/* Light reset */
*,
*::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;
  color: #e9d5ff;
  background-color: #1a0f08;
  /* Brown galaxy / purple hacker theme */
  background-image:
    radial-gradient(circle at 10% 15%, rgba(160,110,255,.25) 0 2px, transparent 4px),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,.20) 0 2px, transparent 4px),
    radial-gradient(circle at 85% 75%, rgba(189, 92, 255, .25) 0 2px, transparent 4px),
    linear-gradient(#1a0f08, #0b0609);
  background-size: cover, cover, cover, cover;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass hero frame containing the image */
.image-frame {
  width: min(640px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 12px;
  background: rgba(25, 0, 50, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: saturate(110%);
}

/* Footer / product ad */
footer {
  width: 100%;
  padding: 1.25rem;
  text-align: center;
  color: #d9c7ff;
  background: rgba(13, 6, 12, 0.6);
  border-top: 1px solid rgba(236, 214, 255, 0.15);
}
.product-ad {
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(138, 0, 255, 0.28);
  border: 1px solid rgba(180, 120, 255, 0.55);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 0.95rem;
  color: #f3e4ff;
}
.product-ad a {
  text-decoration: none;
}
.product-ad p {
  margin: 0;
  font-weight: 700;
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #7a3dff 0%, #b36aff 50%, #7a3dff 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  transition: transform .15s ease;
}
.product-ad p:hover { transform: translateY(-1px); }

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #8e5df3;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Small helpers for readable typography when link is used as a button */
p { line-height: 1.6; }

/* Responsive: mobile-first; scale up on larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: 62vw; min-width: 520px; }
  footer { padding: 1.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}