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

html, body {
  height: 100%;
}

:root {
  --bg: #0a0028;
  --text: #e9e0ff;
  --muted: #d6caff;
  --accent: #ff7ad9;
  --accent2: #a14dff;
  --surface: rgba(255, 255, 255, 0.14);
  --surface-strong: rgba(255, 255, 255, 0.22);
  --ring: 3px solid #ff7ad9;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: #0a001a;
  min-height: 100dvh;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Pink abstract blur background for a hacker/cyberpunk vibe */
body::before {
  content: "";
  position: fixed;
  inset: -25vmax;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,0,170,.25), transparent 40%),
    radial-gradient(circle at 75% 25%, rgba(128,0,255,.25), transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(255,0,200,.15), transparent 50%);
  filter: blur(60px);
  z-index: -3;
  pointer-events: none;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,0,18,.6), rgba(6,0,18,.2) 60%, rgba(0,0,0,0));
  z-index: -2;
  pointer-events: none;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  min-height: 70vh;
}

.image-frame {
  width: min(92vw, 760px);
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

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

/* Frosted footer and ad */
footer {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(6,0,18,.6), rgba(6,0,18,.3) 60%, rgba(6,0,18,.2));
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0 auto 0.75rem;
}

.product-ad h3 {
  font-size: 0.9rem;
  margin: 0;
  color: #ffd6ff;
  font-weight: 700;
  letter-spacing: .2px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7ad9, #a14dff);
  color: #0b0020;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-block;
  border: 1px solid rgba(255,255,255,.5);
  transition: transform .15s ease;
}

.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

footer p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  opacity: .9;
}

/* Focus styles for accessibility */
a, a:visited { color: inherit; outline: none; }
a:focus-visible {
  outline: var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: mobile-first scaling */
@media (min-width: 640px) {
  main { padding: 6rem 2rem; }
  .image-frame { width: min(72vw, 860px); padding: 1.25rem; }
  .product-ad { font-size: 1rem; }
}

@media (min-width: 1024px) {
  main { padding: 8rem 4rem; }
  .image-frame { width: min(60vw, 900px); padding: 1.5rem; }
  .product-ad h3 { font-size: 1.05rem; }
}