/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaffff;
  background-color: #041414;
  /* Teal striped pattern background */
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0, 168, 168, 0.25) 0 12px,
    rgba(0,0,0,0) 12px 24px
  );
  background-attachment: fixed;
  min-height: 100dvh;
  isolation: isolate;
}

/* Neon hacker ambience overlays */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0, rgba(255,0,194,.15), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(0,255,204,.12), transparent 40%);
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom right, rgba(0,0,0,0), rgba(0,0,0,.25) 60%);
  mix-blend-mode: overlay;
}

/* Layout */
main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.image-frame {
  width: min(92vw, 960px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Footer with CTA */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #d7fff9;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  margin: 0 0 0.5rem;
  color: #ff66d9;
  font-weight: 700;
  letter-spacing: .5px;
}
.product-ad p { margin: 0; }
.product-ad a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #ff0b8d;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px rgba(0, 216, 255, .25); }
.product-ad a p { margin: 0; color: #fff; }

/* Accessibility focus for general controls */
a:focus-visible, button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 216, 255, .25);
}
p { margin: 0; }

/* Mobile-first responsiveness */
@media (min-width: 768px) {
  main { padding: 3rem; min-height: 70vh; }
  .image-frame { border-radius: 20px; }
}
@media (min-width: 1024px) {
  footer { padding: 2.5rem 0; }
  .product-ad { transform: translateY(0); }
}