/* Global reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

/* Theme & colors (magenta neon glow + teal hacker vibe) */
:root {
  --magenta: #ff00ff;
  --magenta-glow: rgba(255,0,255,0.9);
  --teal: #00ffd5;
  --teal-dark: #0ec2ab;
  --bg: #0b0013;
  --glass: rgba(255,255,255,0.08);
  --glass-stroke: rgba(0,255,210,0.45);
}

/* Mobile-first, cyberpunk background */
body {
  min-height: 100vh;
  margin: 0;
  color: #eafff7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* magenta neon glow with teal accents */
  background: radial-gradient(circle at 15% 0, rgba(255,0,255,0.25), transparent 40%),
              radial-gradient(circle at 85% 10%, rgba(0,255,212,0.25), transparent 40%),
              linear-gradient(135deg, #0b001a 0%, #1a0a2a 60%, #0b001a 100%);
  background-blend-mode: screen, screen, normal;
  /* subtle hacker grid overlay */
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,212,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,255,.08) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* Layout: mobile-first stacking */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Frosted glass image frame with neon glow for hero */
.image-frame {
  position: relative;
  width: min(92%, 860px);
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 210, 0.45);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow:
    0 0 0 2px rgba(0,255,210,.25),
    0 8px 40px rgba(0,0,0,.45),
    0 0 60px rgba(255,0,255,.45);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  z-index: 1;
}
.image-frame::after {
  content: "";
  position: absolute;
  top: -12px; left: -12px; right: -12px; bottom: -12px;
  border-radius: 22px;
  box-shadow: 0 0 40px 12px rgba(255,0,255,.45);
  z-index: 0;
  pointer-events: none;
  filter: blur(0.5px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.image-frame { /* ensure glow is noticeable on the frame itself */
  box-shadow:
    0 0 0 2px rgba(0,255,210,.25),
    0 8px 40px rgba(0,0,0,.45),
    0 0 60px rgba(255,0,255,.45);
}

/* Footer with CTA
   CTA is a block within the anchor (as per HTML structure) */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem;
  margin-top: 0.5rem;
  gap: 0.75rem;
}
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(0,255,210,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  text-align: center;
}
.product-ad h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #d3fff1;
  letter-spacing: .2px;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1.1rem;
  font-weight: 700;
  color: #032626;
  background: linear-gradient(135deg, rgba(0,255,212,.95), rgba(0,180,255,.95));
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.15);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover p { filter: brightness(1.03); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small responsive tweaks */
@media (min-width: 600px) {
  main { padding: 3rem 1.5rem; }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(860px, 90%); }
}