* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eaf4ff;
  background:
    repeating-linear-gradient(135deg, rgba(192,192,192,.25) 0 2px, transparent 2px 20px),
    linear-gradient(to bottom right, rgba(0,0,0,.75), rgba(0,0,0,.65));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 70vh;
}

/* Frosted glass card around the image for cyberpunk feel */
.image-frame {
  position: relative;
  width: min(92%, 860px);
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Subtle neon glow accent on the glass frame */
.image-frame::before {
  content: "";
  position: absolute;
  left: -6px; top: -6px; right: -6px; bottom: -6px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(0,176,255,.25), rgba(0,0,0,0) 60%);
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}

footer {
  text-align: center;
  padding: 1.75rem 1rem;
  color: rgba(234, 244, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px) saturate(0.9);
}

footer .product-ad {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem;
  border-radius: 12px;
  margin: 0.75rem auto;
}

footer .product-ad h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #eaf6ff;
  font-weight: 700;
}

footer .product-ad a { text-decoration: none; }

footer .product-ad a p {
  display: inline-block;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e49ff, #1f7bff);
  color: #fff;
  font-weight: 700;
}

footer p {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.9;
  color: rgba(234, 244, 255, 0.9);
}

/* Accessible focus styles for links and interactive elements */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #8be9ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small hover uplift for the hero image on larger screens */
@media (min-width: 768px) {
  main {
    padding: 3rem 2rem;
    min-height: 80vh;
  }
  .image-frame {
    width: min(70%, 860px);
    padding: 1.75rem;
  }
  .image-frame:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
  }
}

/* Subtle fixed background feel on wide screens to reinforce hacker vibe */
@media (min-width: 1024px) {
  body { background-attachment: fixed; }
  footer { padding: 2rem 2rem; }
}