/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #1b3a16;
  /* Beige radial gradient background with neon green accents for hacker vibe */
  background: radial-gradient(circle at 12% -8%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 35%),
              radial-gradient(circle at 86% 110%, rgba(0,255,120,.25) 0%, rgba(0,0,0,0) 40%),
              linear-gradient(135deg, rgba(0,0,0,.04), rgba(0,0,0,.08)),
              #e9d5b3;
  background-blend-mode: screen, overlay, normal, normal;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 8rem);
}

.image-frame {
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  align-items: center;
  justify-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  filter: saturate(1.05);
  outline: none;
}
.image-frame:focus-within {
  outline: 2px solid rgba(57,255,20,.6);
  outline-offset: 4px;
}

/* Footer / Ad panel (frosted glass, neon accents) */
footer {
  padding: 1.5rem;
  display: grid;
  place-items: center;
  width: 100%;
  color: #1b3a16;
}

.product-ad {
  width: min(92vw, 760px);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(0, 180, 90, 0.5);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #0b3a15;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-shadow: 0 0 6px rgba(57,255,20,0.6);
}
.product-ad a {
  color: #0b3a15;
  text-decoration: none;
  font-weight: 700;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(57,255,20,.6);
  background: linear-gradient(135deg, rgba(57,255,20,.15), rgba(0,255,140,.25));
  transition: transform .2s ease, background .2s ease;
  box-shadow: inset 0 0 6px rgba(0,0,0,.05);
}
.product-ad a:hover,
.product-ad a:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid #2affb0;
  outline-offset: 2px;
  background: linear-gradient(135deg, rgba(57,255,20,.25), rgba(0,255,140,.35));
  color: #0b1f0b;
}
.product-ad p { margin: 0; font-weight: 700; }

footer p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  text-align: center;
  color: #365027;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(70vw, 900px); border-radius: 22px; }
  footer p { font-size: 0.95rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(60vw, 980px); }
  .product-ad { padding: 1.25rem 1.5rem; }
  .product-ad h3 { font-size: 1.05rem; }
}