/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --olive: #556b2f;
  --olive-dark: #3c4f1b;
  --coral: #ff6f61;
  --bg: #0b0f0a;
  --text: #e8f0e6;
  --muted: #cbdccc;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: var(--text);
  background-color: var(--bg);
  /* Olive zigzag background (tileable) */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'>\
  <polyline points='0,20 10,0 20,20 30,0 40,20' fill='none' stroke='%23A6BB62' stroke-width='2' />\
</svg>");
  background-repeat: repeat;
  background-size: 40px 40px;
  background-blend-mode: multiply;
  background-position: center;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 32px 16px;
  min-height: 70vh;
}

.image-frame {
  width: min(92%, 860px);
  border-radius: 16px;
  padding: 8px;
  /* Frosted glass look */
  background: rgba(10, 20, 10, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(140, 190, 120, 0.28);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* Subtle cyber glow edge */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

footer {
  margin-top: 20px;
  padding: 20px 16px;
  display: grid;
  justify-items: center;
  row-gap: 12px;
  color: var(--muted);
}

/* Product ad / CTA */
.product-ad {
  display: grid;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(5, 12, 8, 0.6);
  border: 1px solid rgba(120, 190, 120, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #e9fff0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-ad a { text-decoration: none; }

.product-ad a p {
  margin: 0;
  color: #fff;
  background: var(--coral);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 111, 97, 0.9);
  display: inline-block;
  font-weight: 600;
  transition: transform .2s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Text color for body copy (muted) */
p { line-height: 1.5; color: var(--muted); }

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 720px) {
  main { padding: 48px 0; }
  .image-frame { width: 720px; }
}
@media (min-width: 1024px) {
  .image-frame { width: 860px; }
}
