/* Hacker cyberpunk landing - orange gradient with lime accents, frosted glass, mobile-first */

*,
*::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: #eafff0;
  /* orange gradient backdrop with lime accents for a cyberpunk vibe */
  background: linear-gradient(135deg, #ff7a18 0%, #ff4d00 40%, #ffa500 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  flex: 1 1 auto;
}

.image-frame {
  width: min(1120px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  outline: 2px solid rgba(170, 255, 100, 0.6);
  outline-offset: 0;
  /* subtle lime glow border for hacker vibe */
  box-shadow: 0 14px 40px rgba(0,0,0,0.25), 0 0 14px rgba(176, 255, 0, 0.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight cool-tone shift for legibility over gradient */
  filter: saturate(1.05) contrast(1.02);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* frosted glass overlay */
  background: linear-gradient(to bottom right, rgba(255,255,255,0.15), rgba(255,255,255,0.05) 60%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  border-radius: 20px;
  /* faint lime tint for cyberpunk edge */
  mix-blend-mode: overlay;
}
.image-frame:focus { outline: none; }

/* Footer / CTA block (glass effect) */
footer {
  width: min(1120px, 92vw);
  display: grid;
  gap: 1.75rem;
  padding: 1.5rem 0 2rem;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
}

.product-ad {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: inline-block;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.product-ad h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #d7ffd8;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  color: #041b0a;
  font-weight: 700;
  /* orange CTA with lime glow */
  background: linear-gradient(135deg, #ff9a00 0%, #ff4d00 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(255, 124, 0, 0.6);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #2cff00;
  outline-offset: 2px;
}
footer p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(234, 255, 235, 0.9);
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* Accessibility: ensure focus ring on keyboard nav for links/buttons outside normal flow */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #2cff00;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame { border-radius: 22px; }
}
@media (min-width: 900px) {
  footer { gap: 2rem; }
}
