/* Minimal reset and hacker-cyberpunk styling for a landing page */
/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  padding: 0;
  color: #dfe8cc; /* olive-tinted text for accessibility on dark bg */
  /* brown dots background pattern (soft, grid-like dots) */
  background-color: #251a0d;
  background-image:
    radial-gradient(circle at 0 0, rgba(0,0,0,.25) 1px, transparent 1px),
    radial-gradient(circle at 8px 8px, rgba(76, 60, 22, .25) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  /* ensure high-contrast accessible defaults */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* subtle glow accent for cyberpunk vibe */
  color-scheme: dark;
}

/* Layout container */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 2rem 1rem;
}

/* Frosted glass "hero" frame for the image */
.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: transform .25s ease;
}
.image-frame:hover { transform: translateY(-2px); }

/* Image inside the frame scales cleanly on all screens */
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* Footer with a frosted glass panel containing a CTA */
footer {
  padding: 1.75rem 1rem;
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2rem;
}

.product-ad {
  width: min(90vw, 720px);
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-start;
}

/* Heading inside the ad */
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #d6e59a; /* olive-yellow glow */
  letter-spacing: .2px;
  font-family: ui-sans-serif, system-ui;
}

/* CTA button styled to feel cyberpunk-olive */
.product-ad a {
  display: inline-block;
  margin-top: .25rem;
  padding: .65rem 1rem;
  border-radius: 8px;
  background: linear-gradient(#5b6e28, #3f5a16);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.product-ad a:focus {
  outline: 3px solid rgba(168, 255, 176, 0.95);
  outline-offset: 2px;
}
.product-ad a:focus-visible {
  outline: 3px solid #aaff66;
  outline-offset: 2px;
}

/* Footer caption styling for accessibility */
footer p {
  margin: .8rem 0 0;
  font-size: .85rem;
  color: #cbdcb2;
}

/* Focus-visible accessibility for links elsewhere on the page if present */
a:focus-visible {
  outline: 3px solid #aaff66;
  outline-offset: 2px;
}

/* Responsive adjustments for larger screens (still mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 260px); }
  .image-frame { border-radius: 28px; padding: 1.25rem; }
  .product-ad { flex-direction: row; align-items: center; gap: 1rem; }
  .product-ad h3 { font-size: 1.2rem; }
}