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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: #eaffff;
  /* blue radial gradient background with teal accents for hacker vibe */
  background: radial-gradient(circle at 15% -10%, rgba(0,150,255,.25) 0%, transparent 40%),
              radial-gradient(circle at 85% 90%, rgba(0,255,230,.25) 0%, transparent 40%),
              linear-gradient(#050b1a, #04102b 60%, #04152f);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  flex: 1;
}

/* Frosted glass card around the image */
.image-frame {
  width: min(92vw, 900px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 240, 230, 0.28);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

/* Footer with glassy cyberpunk styling and CTA */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #d9fff7;
  background: linear-gradient(to top, rgba(2,8,20,.96), rgba(2,8,20,.84) 70%, rgba(2,8,20,.96));
  border-top: 1px solid rgba(0,255,230,.25);
}

.product-ad {
  margin: 0.25rem auto 0;
  padding: 0.25rem;
  display: inline-block;
  border-radius: 999px;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(0,255,230,.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.product-ad h3 {
  font-size: .92rem;
  font-weight: 700;
  color: #aafff4;
  margin: 0 0 .4rem;
  letter-spacing: .3px;
}

.product-ad a {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #041018;
  font-weight: 800;
  background: linear-gradient(135deg, #0bd6bf 0%, #2af2e5 60%, #2afff2 100%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:focus-visible {
  outline: 3px solid #7afcff;
  outline-offset: 2px;
}
.product-ad a:hover { filter: brightness(1.05); }

footer p {
  margin: .6rem 0 0;
  font-size: .85rem;
  color: #bffaf1;
}

/* Global focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid #7afcff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 2.5rem; }
  .image-frame { width: min(72vw, 860px); padding: 18px; }
}
@media (min-width: 1024px) {
  .image-frame { padding: 22px; }
  footer { padding: 1.75rem 0; }
}