/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #fff;
  background: #f5d90a; /* yellow solid background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; outline: none; }

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: 92%;
  max-width: 760px;
  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.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15),
              0 10px 30px rgba(0, 0, 0, 0.25);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Glassy bottom card (for hacker/future cyberpunk vibe) */
.product-ad {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  margin: 1.25rem auto 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: left;
}

.product-ad h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin: 0 0 0.5rem;
  text-shadow: 0 0 6px rgba(255,255,255,.9);
}

.product-ad a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.95);
  color: #fff;
  background: rgba(255,255,255,0.12);
  text-transform: none;
  transition: transform .2s ease, background .2s;
}
.product-ad a:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border: 1px solid #fff;
  border-radius: 8px;
}

footer {
  padding: 1.75rem 1rem;
}

/* Footer text */
footer p {
  text-align: center;
  margin: 0.75rem 0 0;
  color: rgba(255,255,255,.92);
  font-size: 0.95rem;
}

/* Focus styles for accessibility on keyboard navigation */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}
:focus-visible:not(a) {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.6);
}

/* High-contrast for readability on yellow background
   Provide a light neon glow to emphasize hacker aesthetic */
h3, p, a {
  text-shadow: 0 0 6px rgba(255,255,255,0.9);
}

/* Responsive behavior (mobile-first) */
@media (min-width: 860px) {
  main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .image-frame {
    width: 100%;
    max-width: 720px;
  }

  footer {
    padding: 2rem 1rem;
  }
}