/* CSS for green galaxy hacker-theme landing (mobile-first, single stylesheet) */

/* Reset (light) */
*, *::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, Arial;
  color: #eafff1;
  line-height: 1.5;
  min-height: 100dvh;
  /* Green galaxy starscape background with subtle glow */
  background-color: #06140a;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(0,255,140,.9) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 60% 20%, rgba(0,255,110,.8) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 30% 70%, rgba(0,255,120,.8) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 85% 60%, rgba(0,255,90,.75) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 50% 50%, rgba(0,255,100,.6) 0 1.5px, transparent 1.5px),
    linear-gradient(#04160f, #02130d 60%, #04160f);
  background-blend-mode: screen, screen, screen, screen, screen, normal;
  animation: star-pulse 12s infinite alternate;
}
@keyframes star-pulse {
  to { filter: brightness(1.05) saturate(1.05); }
}
main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
  min-height: calc(100dvh - 150px);
}

/* Image frame (hero) with frosted glass and cyber glow */
.image-frame {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 40px rgba(0,255,120,.15);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05);
}
.image-frame::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px) saturate(1.1);
  border-top: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
}
.image-frame::before {
  content: "";
  position: absolute; inset: 0;
  /* subtle cyber scanline overlay for hacker vibe */
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0 23%, rgba(0,0,0,.08) 23% 24%);
  background-size: 100% 24px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Frosted glass helper (for potential text/cards) */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(8px) saturate(1.3);
  -webkit-backdrop-filter: blur(8px) saturate(1.3);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  padding: 0.75rem;
}

/* Footer with prominent orange CTA */
footer {
  padding: 1.25rem;
  text-align: center;
}
.product-ad {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0.6rem; border-radius: 12px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.18);
  margin: 0 auto 0.75rem;
}
.product-ad h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: 9px;
  color: #111;
  background: linear-gradient(135deg, #ff8a00, #ff5500);
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
}
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Copyright text */
footer p { color: #b9fbd0; font-size: 0.92rem; margin: 0.5rem 0 0; }

/* Focus management for links (accessibility) */
a:focus-visible {
  outline: 3px solid #ffea00;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 2rem; }
  .product-ad h3 { font-size: 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 24px; }
  .product-ad { transform: translateY(-4px); }
}