/* Hacker lightweight CSS: black gradient, neon yellow, frost glass, mobile-first */

:root {
  --yellow: #ffd400;
  --yellow-deep: #e6b800;
  --bg-dark: #000;
  --glass: rgba(0, 0, 0, 0.45);
  --glass-border: rgba(255, 223, 0, 0.6);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #f5f19a;
  background: linear-gradient(135deg, #000 0%, #0a0a0a 50%, #141414 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.image-frame {
  position: relative;
  width: min(92vw, 740px);
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.35);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.image-frame:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 212, 0, 0.6);
}

.image-frame::before {
  /* Frosted glass overlay that blurs the content behind the frame */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

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

footer {
  text-align: center;
  padding: 1.75rem 1rem 2rem;
  color: #d9d56b;
  background: transparent;
}

.product-ad {
  display: inline-block;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 223, 0, 0.6);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  text-align: center;
  backdrop-filter: saturate(110%);
  -webkit-backdrop-filter: saturate(110%);
}

.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--yellow);
}

.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  color: var(--yellow);
  font-weight: 700;
  padding: 0.5rem 0;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small screens keep it compact; scale up slightly on larger screens */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .product-ad { margin-top: 1.25rem; }
  .product-ad h3 { font-size: 1.15rem; }
}

@media (min-width: 900px) {
  .image-frame { padding: 1rem; width: min(800px, 70vw); }
  .image-frame img { border-radius: 14px; }
  .product-ad { padding: 0.9rem 1.2rem; }
}