/* Minimal, responsive CSS for a hacker-themed landing with frosted glass, blue gradient backdrop, and accessible UI */

/* Reset and helpers */
*,
*::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: #eaf2ff;
  /* blue-indigo hacker gradient background */
  background: linear-gradient(135deg, #0a1b3a 0%, #162a88 50%, #0a1b3a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle neon glow overlay on the page background */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 60%;
  background: radial-gradient(circle at 20% 20%, rgba(91,125,222,.25), transparent 40%),
              radial-gradient(circle at 80% 40%, rgba(80,210,255,.15), transparent 40%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

/* Layout structure */
main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
}

/* Frosted glass card framing the image (hero area) */
.image-frame {
  width: min(680px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(160, 190, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease;
}
.image-frame:hover { transform: scale(1.01); }

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* subtle hue to enhance cyberpunk mood without sacrificing accessibility */
  filter: saturate(1.05) contrast(1.02);
}

/* Frosted edge glow to emphasize hacker vibe */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  pointer-events: none;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  /* cyan glow around the frame */
  box-shadow: 0 0 40px 6px rgba(0, 200, 255, 0.25);
  z-index: 0;
  pointer-events: none;
}

/* Footer and product ad (CTA) */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #cbdcff;
  background: rgba(9, 11, 20, 0.5);
  border-top: 1px solid rgba(120, 160, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}

/* Card-like ad section with frosted glass */
.product-ad {
  display: inline-block;
  width: min(720px, 92%);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(120, 170, 255, 0.28);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  margin: 0.25rem auto 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #e9f3ff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a {
  display: inline-block;
  margin-top: .25rem;
  padding: .45rem .7rem;
  border-radius: 6px;
  text-decoration: none;
  color: #eaf6ff;
  border: 1px solid rgba(120, 180, 255, 0.6);
  background: linear-gradient(135deg, rgba(90,140,255,.25), rgba(0,0,0,0));
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(90,140,255,.4), rgba(0,0,0,0));
}
footer p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #a9b8e8;
}

/* Focus and accessibility */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring, 0 0 0 3px rgba(91,125,222,.6));
  border: 1px solid rgba(120,180,255,.95);
}
:focus:not(:focus-visible) { outline: none; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  footer { padding: 2rem 2rem; text-align: left; }
  .product-ad { display: block; }
}
@media (min-width: 1024px) {
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
  }
  .image-frame { width: 62%; min-width: 520px; }
}
