/* Global reset and base styles (mobile-first) */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  color: #eaf2ff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  min-height: 100dvh;
  /* blue radial gradient background with a dark cyberpunk base */
  background: radial-gradient(circle at 20% -10%, rgba(80,170,255,.25) 0 40%, transparent 40%),
              radial-gradient(circle at 85% 10%, rgba(0,120,255,.25) 0 40%, transparent 40%),
              #050816;
  background-attachment: fixed;
}

/* Subtle focus visibility for accessibility */
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Frosted glass style helper */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* Layout: mobile-first, centered hero image with frosted frame */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(92vw, 860px);
  padding: 1rem;
}

.image-frame .frame {
  border-radius: 12px;
  overflow: hidden;
  display: block;
  width: 100%;
  height: auto;
  /* ensure backdrop glass look around the image frame */
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  padding: 0;
}

/* The image itself inside the frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05);
  /* subtle red glow vignette for hacker vibe */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),
              0 0 0 rgba(0,0,0,0);
}

/* Footer with frosted glass product ad and copyright */
footer {
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  gap: 0.5rem;
  background: rgba(13, 18, 40, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: .4px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e11d48 0%, #f87171 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 14px rgba(239,68,68,.45);
}
.product-ad a:hover { transform: translateY(-1px); }

/* copyright text */
footer p {
  margin: 0.25rem 0 0;
  color: rgba(234, 241, 255, 0.75);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 600px) {
  main {
    padding: 5rem 0;
  }
  .image-frame { padding: 1.25rem; }
  .product-ad { flex-direction: row; gap: 1rem; align-items: center; }
  .product-ad h3 { margin: 0 0 .25rem 0; }
  footer { padding-bottom: 2rem; }
}

@media (min-width: 900px) {
  body { font-size: 17px; }
  .image-frame { width: min(72vw, 900px); }
  .product-ad { padding: .85rem 1.25rem; }
}