/* Global reset and olive paper texture vibe */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --mag: #ff2bd0;
  --bg: #2b2f1a;
  --bg2: #1a1f0d;
  --text: #f4efe9;
  --glass: rgba(255,255,255,0.08);
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* olive paper texture (soft grain) */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.08) 0 4px, transparent 4px),
    linear-gradient(#2b2f1a 0%, #1a1f0d 100%),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 6px);
  background-size: 100% 100%, 100% 100%, 12px 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* Layout: mobile-first, single column hero centered */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 2rem 1rem;
}

/* Frosted glass card containing the image (hero) */
.image-frame {
  width: 100%;
  max-width: 760px;
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,0,128,0.40);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px) saturate(120%);
  position: relative;
  overflow: hidden;
}
.image-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,0,180,0.20), rgba(0,0,0,0));
  pointer-events: none;
  mix-blend-mode: screen;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,0,128,0.65);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Footer with a prominent magenta CTA in frosted glass style */
footer {
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.product-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 760px);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,0,128,0.45);
  backdrop-filter: blur(6px);
}
.product-ad h3 { margin: 0; font-size: 1rem; color: #ffd7fa; display: inline-flex; align-items: center; gap: .5rem; }
.product-ad p { margin: 0; font-size: .95rem; color: #ffd7fa; }
.product-ad a {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  background: rgba(255,0,128,0.95);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
  transition: transform .2s ease, background .2s;
}
.product-ad a:hover { transform: translateY(-1px); background: #ff3dcb; }
footer p { margin: 0; font-size: .9rem; color: rgba(244,238,226,.95); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--mag);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--mag); outline-offset: 2px; }

/* Responsive tweaks */
@media (min-width: 700px) {
  main { min-height: calc(100vh - 180px); padding: 3rem 2rem; }
  .image-frame { padding: 2rem; }
  footer { padding: 2rem 0; }
}
