/* Mobile-first, single stylesheet for a hacker-cyberpunk landing with teal dot pattern, brown theme, frosted glass, and accessible focus styles */

:root {
  --brown-dark: #2f1b0e;
  --brown: #4b2a1a;
  --brown-light: #7a5030;
  --teal: #2bd4a2;
  --teal-dark: #14b79f;
  --bg: #2f1b0e;
  --glass: rgba(255, 255, 255, 0.08);
  --text: #e9e0d5;
  --muted: #c9b6a5;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--brown-dark);
  /* Teal dotted pattern on brown background */
  background-image:
    radial-gradient(circle at 2px 2px, rgba(43,212,162,.95) 2px, transparent 3px);
  background-size: 20px 20px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Frosted glass card around the image for a cyberpunk vibe */
.image-frame {
  position: relative;
  width: min(680px, 92vw);
  aspect-ratio: 16 / 9;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  display: grid;
  place-items: center;
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  /* slight color depth boost for cyberpunk feel */
  filter: saturate(1.05);
}

/* Footer with a subtle glassy look and a CTA styled as a button */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #eeddcd;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.product-ad {
  display: inline-block;
  padding: .6rem .95rem;
  margin-bottom: .65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.product-ad h3 {
  font-size: .92rem;
  margin: 0 0 .25rem 0;
}
.product-ad a {
  text-decoration: none;
  color: #eafef6;
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 6px;
  background: linear-gradient(#0c1b14, #0a1b15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
/* Focus style for accessibility on keyboard navigation */
.product-ad a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
footer p {
  margin: .8rem 0 0;
  font-size: .92rem;
  color: var(--muted);
  opacity: .95;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  :root {
    --text: #efe5d3;
  }
  main { padding: 3rem 2rem; min-height: calc(100vh - 180px); }
  .image-frame { width: min(860px, 78vw); padding: 18px; border-radius: 18px; }
  .image-frame img { border-radius: 10px; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(980px, 70vw); }
}