/* Global reset and lime cyberpunk foundation */
*, *::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: #eafffb;
  min-height: 100dvh;
  background-color: #0b0f0f;
  /* Lime carbon fiber feel with cyan glow */
  background-image:
    linear-gradient(135deg, rgba(0,255,128,.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,255,128,.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.25) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

/* Mobile-first layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100dvh - 120px);
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(5, 8, 12, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.55);
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px) saturate(1.2);
  overflow: hidden;
}

/* Image inside uses full frame */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Frosted footer area with a cyan CTA feel */
footer {
  width: 100%;
  padding: 1rem;
  display: grid;
  place-items: center;
  background: transparent;
}

/* CTA styling (within product ad) */
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem .6rem;
  border-radius: 999px;
  background: rgba(0, 255, 255, .12);
  border: 1px solid rgba(0, 255, 255, .5);
  box-shadow: inset 0 0 12px rgba(0, 255, 255, .25);
}
.product-ad h3 {
  font-size: .92rem;
  margin: 0;
  font-weight: 700;
  color: #eaffff;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.product-ad a:focus-visible {
  outline: 3px solid #00ffd9;
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad a:hover {
  transform: translateY(-1px);
}
.product-ad a p {
  margin: 0;
  padding: .38rem .7rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .92rem;
  color: #041414;
  background: rgba(0, 255, 255, 0.85);
}

/* Footer copy style */
footer p {
  margin: 0.75rem 0 0;
  font-size: .82rem;
  color: #a5fff0;
  text-align: center;
}

/* Accessibility: ensure high contrast focus for keyboard users */
:focus-visible {
  outline: 3px solid #00ffe0;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks for larger screens */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(68vw, 1000px); }
  .product-ad h3 { font-size: 1rem; }
}