/* Global reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --bg: #efe2c5;
  --beige: #efe2c5;
  --olive: #556b2f;
  --olive-dark: #495e21;
  --text: #2c2519;
  --card: rgba(255,255,255,.60);
  --card-border: rgba(255,255,255,.8);
  --shadow: 0 6px 18px rgba(0,0,0,.15);
  --focus: 3px solid rgba(60,180,110,.6);
}
html, body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--beige);
  /* Olive diagonal lines background (hacker-esque diagonal grid) */
  background-image: repeating-linear-gradient(135deg,
    rgba(85,107,45,.22) 0px,
    rgba(85,107,45,.22) 6px,
    transparent 6px,
    transparent 12px);
  background-blend-mode: multiply;
  min-height: 100%;
}
* { box-sizing: border-box; }
body { line-height: 1.4; }

main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Frosted glass card around the image (hero) */
.image-frame {
  width: min(92vw, 860px);
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.6);
  image-rendering: -webkit-optimize-contrast;
}

/* Footer / product ad (CTA) styling with frosted glass feel */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #2a251b;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.product-ad h3 {
  margin: 0;
  font-size: .95rem;
  letter-spacing: .04em;
  color: #2e2a1e;
}
.product-ad a {
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(#d6c49a, #cdb57a);
  color: #2b1f0a;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .15s ease;
}
.product-ad a:hover p,
.product-ad a:focus-visible p {
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(86,111,42,.45);
}

/* Subtle typography helpers for accessibility */
a {
  color: #0a2d0a;
}
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(86,111,42,.9);
  border-radius: 6px;
}
p { margin: .75rem 0; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  :root { --beige: #f0e7d0; --bg: #f0e7d0; }
  main { min-height: 70vh; }
  .image-frame { width: min(860px, 62vw); }
  .product-ad a p { padding: .6rem 1.2rem; }
}
