:root{
  --turquoise: #1bd2c9;
  --turquoise-dark: #0aa8a0;
  --red: #ff2a4a;
  --red-glow: rgba(255,42,74,.9);
  --glass: rgba(255,255,255,.14);
  --text: #eaffff;
  --shadow: rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--turquoise);
  /* Turquoise paper texture feel (subtle speckle + grid) */
  background-image:
    linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  background-blend-mode: overlay;
  min-width: 320px;
}

main {
  display: grid;
  place-items: center;
  padding: 28px 12px;
}

.image-frame {
  width: min(92%, 720px);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

footer {
  width: 100%;
  text-align: center;
  padding: 20px 10px 40px;
  margin-top: 6px;
  background: rgba(0,0,0,.18);
  border-top: 1px solid rgba(255,255,255,.15);
}

.product-ad {
  display: inline-block;
  padding: 8px;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 8px;
}

.product-ad h3 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: #ff3b4a;
  text-shadow: 0 0 6px rgba(255,0,0,.75);
}

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

.product-ad a p {
  margin: 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--red);
  color: white;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 6px 12px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Accessibility: focus styles */
.product-ad a:focus-visible {
  outline: 2px dashed #fff;
  outline-offset: 2px;
  border-radius: 10px;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.45),
              0 0 14px rgba(255,30,50,.7);
}

@media (min-width: 600px) {
  main { padding: 40px 16px; }
  .image-frame { padding: 18px; }
  .product-ad h3 { font-size: 1.15rem; }
  .product-ad a p { padding: 14px 22px; }
}

@media (min-width: 900px) {
  :root { font-size: 18px; }
  .image-frame { border-radius: 20px; padding: 22px; }
  .product-ad { transform: translateY(0); }
}
