/* CSS: Hacker-esque, cyberpunk landing with magenta polka dots, olive accents, frosted glass, mobile-first */

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eaf4e0;
  /* Magenta polka dot background */
  background-color: #ff00a8;
  background-image:
    radial-gradient(circle at 8px 8px, rgba(255,255,255,.25) 2px, transparent 3px),
    radial-gradient(circle at 28px 16px, rgba(0,0,0,.18) 2px, transparent 3px),
    radial-gradient(circle at 50px 40px, rgba(255,255,255,.08) 2px, transparent 3px);
  background-size: 56px 56px, 56px 56px, 56px 56px;
  background-position: 0 0, 28px 14px, 0 0;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Theme colors (olive accents, cyberpunk glow) */
:root {
  --olive: #556b2f;
  --olive-dark: #3b5416;
  --bg-glass: rgba(255,255,255,.08);
  --bg-border: rgba(255,255,255,.25);
  --text: #eaf4e0;
  --focus: #9affc5;
  --card: rgba(18, 28, 16, 0.4);
}

a { color: var(--olive); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* Layout: mobile-first, center hero, frosted glass feel */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92vw, 720px);
  background: var(--bg-glass);
  border: 1px solid var(--bg-border);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
}

/* Footer with product ad treated as a frosted panel */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #eaf4e0;
  background: rgba(0,0,0,.12);
}

.product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(24, 54, 20, .40);
  border: 1px solid rgba(102,140,50,.60);
  margin: .25rem auto .75rem;
}

.product-ad h3 {
  font-size: .95rem;
  margin: 0 0 .25rem;
  color: #dbeedb;
  letter-spacing: .3px;
}

.product-ad a {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 8px;
  background: rgba(102,140,50,.95);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .15s ease;
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(124,255,170,.8);
}

/* Focus-visible for all interactive elements (enhanced accessibility) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Small screens tweaks */
@media (max-width: 420px) {
  :root { --olive: #7a9a3a; }
  .image-frame { padding: .75rem; border-radius: 14px; }
  .product-ad { width: 100%; }
}
