/* Minimal, mobile-first cyberpunk theme with frosted glass and magenta neon accents */

/* Reset / base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #e9e9f0;
  line-height: 1.4;
  /* White neon glow background layers for a hacker vibe */
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.25) 0 25%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,.15) 0 25%, transparent 40%),
    #0a0a10;
  background-attachment: fixed;
  background-size: cover;
  /* Slight glow edges on the viewport */
  text-shadow: 0 0 0 transparent;
  overflow-x: hidden;
}

/* Color tokens */
:root {
  --mag: #ff00ff;
  --mag-dark: #e600e6;
  --glass: rgba(255,255,255,.14);
  --glass-stroke: rgba(255,255,255,.28);
  --bg-glow: rgba(255,0,255,.6);
}
a { color: var(--mag); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mag); outline-offset: 2px; border-radius: 6px; }

/* Layout: mobile-first */
main {
  display: grid;
  place-items: center;
  padding: 28px 12px 20px;
  min-height: 60vh;
}

.image-frame {
  width: 100%;
  max-width: 980px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 6px 40px rgba(0,0,0,.35), 0 0 20px rgba(255,0,255,.25) inset;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(255,0,255,.6);
  border: 1px solid rgba(255,255,255,.25);
}

footer {
  width: 100%;
  max-width: 980px;
  margin: 24px auto 40px;
  padding: 0 12px;
  text-align: center;
  color: #d8d8e2;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--mag);
  text-shadow: 0 0 6px rgba(255,0,255,.7);
}
.product-ad a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff19ff 0%, #7a00ff 100%);
  box-shadow: 0 6px 18px rgba(127,0,255,.65);
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }

/* Text block beneath product ad (footer) */
footer p {
  margin: 8px 0 0;
  font-size: .875rem;
  color: #c9c9d6;
}

/* Focus visibility for all focusable with keyboard navigation */
:focus-visible { outline: 2px solid var(--mag); outline-offset: 2px; border-radius: 6px; }

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 40px 0; min-height: 70vh; }
  .image-frame { padding: 18px; }
  .image-frame img { border-radius: 14px; }
}
@media (min-width: 900px) {
  footer { padding: 0 0 6px; }
  .product-ad { flex-direction: row; gap: 14px; align-items: center; justify-content: center; }
  .product-ad h3 { font-size: 1.05rem; }
}
