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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaf6ff;
  background-color: #0a0f1d;
  /* lime dot pattern background (mobile-first) */
  background-image: radial-gradient(circle at 1px 1px, rgba(150, 255, 0, 0.95) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  line-height: 1.6;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

main {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 860px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(180, 190, 255, 0.4);
  background: rgba(10, 12, 28, 0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 2px rgba(100, 100, 255, 0.25);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.image-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), 0 0 40px rgba(0, 255, 170, 0.25);
}

/* Frosted glass panel vibe over the image-frame (subtle overlay) */
.image-frame > *:not(img) { position: relative; }

/* Footer with prominent CTA and cyberpunk glass look */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #dbe6ff;
  background: rgba(2, 4, 20, 0.55);
  border-top: 1px solid rgba(100, 100, 200, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  margin-top: 1.5rem;
}

.product-ad {
  display: inline-block;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(15, 12, 40, 0.6);
  border: 1px solid rgba(120, 140, 255, 0.4);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  letter-spacing: .2px;
}

.product-ad a { text-decoration: none; color: inherit; }

.product-ad > a > p {
  margin: 0;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  background: linear-gradient(135deg, #4f46e5 0%, #08f5a7 100%);
  color: #fff;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease;
}

.product-ad > a > p:hover { transform: translateY(-1px); }

/* Accessibility: visible focus style for CTA */
.product-ad a:focus-visible > p {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

/* Small screens: tighten spacing for mobile first */
@media (max-width: 719px) {
  body { padding: 0; }
  main { padding: 1.5rem 0.75rem; }
  .image-frame { border-radius: 14px; }
  .product-ad > a > p { padding: .75rem 1rem; }
  .product-ad { display: inline-block; }
}

/* Slightly larger screens: emphasize the hero area with a subtle glow */
@media (min-width: 720px) {
  main { padding: 3rem 1rem; }
  .image-frame { border-radius: 20px; }
  footer { padding: 2rem 1rem; }
}