:root{
  --bg: #ff00ff;
  --red: #ff2a2a;
  --red-dk: #d61f3d;
  --fg: #ffffff;
  --glass: rgba(255,255,255,0.08);
}

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

/* Light reset for margins on body to keep layout predictable */
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Mobile-first hero layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass frame around the hero image */
.image-frame {
  width: min(90vw, 680px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,0,0,0.35);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.image-frame:focus-within { outline: 2px solid rgba(255,255,255,.9); outline-offset: 2px; }
.image-frame:hover { transform: translateY(-1px); }

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

/* Footer with a hacker/cyberpunk vibe and glass feel */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #fff;
  user-select: none;
}

/* Frosted glass ad card */
.product-ad {
  display: inline-block;
  padding: 0.9rem;
  margin: 0 auto 0.75rem;
  background: rgba(0,0,0,0.28);
  border-radius: 12px;
  border: 1px solid rgba(255,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255,0,0,.9);
}
.product-ad a { text-decoration: none; display: inline-block; }

.product-ad a p {
  margin: 0;
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.product-ad a:hover p { transform: translateY(-1px); }

/* Focus accessible styles for keyboard users on CTA */
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 8px; }

/* Footer copy styling */
footer p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  opacity: 0.95;
}

/* Responsive tweaks for larger screens (desktop) */
@media (min-width: 768px) {
  main { padding: 3rem 0; }
  .image-frame { width: 860px; }
  .product-ad { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; }
  .product-ad h3 { font-size: 1.15rem; }
  .product-ad a p { padding: 1rem 1.4rem; }
}
