/* Reset */
*, *::before, *::after { box-sizing: border-box; }

/* Theme & background (gold grid paper + hacker greens) */
:root {
  --green: #39ff14;
}
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: #eafff0;
  background-color: #0b0f0a;
  /* gold grid paper background */
  background-image:
    linear-gradient(rgba(212,165,54,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,165,54,0.25) 1px, transparent 1px);
  background-size: 40px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  padding: 1.25rem;
  text-align: center;
  color: #b9fbcf;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin: 0.75rem auto 0;
  width: max-content;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--green);
  text-shadow: 0 0 6px rgba(57,255,20,0.4);
}
.product-ad a {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(57,255,20,0.95), rgba(67,255,140,0.9));
  border: 1px solid rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.product-ad a:hover { transform: translateY(-2px); }
.product-ad a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

footer p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0.25rem 0 0;
}

@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  footer { padding: 1.5rem 2rem; }
  .product-ad { align-self: center; }
}