/* Global reset and base styles (mobile-first) */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg-1: #1a3f1f;           /* green parchment base */
  --bg-2: #2a4a32;            /* depth shade */
  --fg: #e9efe9;               /* main text color (parchment gray) */
  --muted: #a9b3a7;            /* muted text */
  --glass: rgba(255,255,255,.08);  /* frosted glass */
  --glass-border: rgba(255,255,255,.25);
  --shadow: 0 6px 24px rgba(0,0,0,.25);
  --neon: #9effa9;              /* neon green for accents */
  --gray: #cbd5d0;              /* gray UI elements */
  --focus: rgba(158, 255, 169, 0.6);
}

html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--fg);
  background: var(--bg-1);
  /* subtle parchment texture with green tint */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,0) 60%),
    radial-gradient(circle at 20px 20px, rgba(255,255,255,.05) 2px, transparent 2px),
    radial-gradient(circle at 60px 60px, rgba(0,0,0,.05) 2px, transparent 2px);
  background-size: 200px 200px, 20px 20px, 20px 20px;
  background-blend-mode: multiply;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

a { color: inherit; text-decoration: none; }

/* Layout: mobile-first, stack content center */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  min-height: calc(100vh - 120px);
}

/* Frosted glass hero frame for the image */
.image-frame {
  width: 100%;
  max-width: 720px;
  padding: 1rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.0);
  /* subtle hover lift for interactivity on large screens is optional here */
}

/* Footer with a glass-ad section and copyright text */
footer { padding: 1.5rem 1rem; }

.product-ad {
  display: grid;
  gap: .5rem;
  place-items: center;
  text-align: center;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 1rem auto;
  max-width: 640px;
}

.product-ad h3 {
  margin: 0;
  font-weight: 600;
  color: #d9efe2;
  font-size: 1.05rem;
  letter-spacing: .2px;
}

.product-ad a { display: inline-block; }

/* CTA button styling (prominent) */
.product-ad p {
  margin: 0;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(#2c2f2b, #1a1f1b);
  color: #e7f0e8;
  border: 1px solid rgba(120, 180, 120, .6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .15s ease;
  display: inline-block;
}

.product-ad p:hover { transform: translateY(-1px); }

/* Focus/keyboard accessibility for CTA */
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(158, 255, 169, 0.6);
}

/* Footer copyright line */
footer p { text-align: center; color: var(--gray); margin: .4rem 0 0; font-size: .9rem; }

/* Desktop enhancements (responsive) */
@media (min-width: 800px) {
  main { padding: 2rem 0; }

  .image-frame { max-width: 860px; }

  .product-ad { margin-top: 1.25rem; }
  footer { padding-bottom: 2rem; }
}