/* CSS: yellow parchment background, orange hacker aesthetic, frosted glass, responsive, accessible focus */
:root{
  --bg: #f1e2a8;
  --bg2: #fff6e0;
  --orange: #ff7a1a;
  --orange-dark: #d96400;
  --text: #2a1e00;
  --soft-text: #5a3a00;
  --glass: rgba(255,255,255,.20);
  --glass-border: rgba(255,255,255,.6);
  --focus: #ffd37a;
  --shadow: 0 8px 22px rgba(0,0,0,.15);
}
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: linear-gradient(135deg, #f7e6b0 0%, #f0d580 60%, #f7e8c0 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

.image-frame {
  width: min(92vw, 860px);
  border-radius: 16px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1rem;
  gap: .75rem;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(92vw, 680px);
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--soft-text);
  gap: .5rem;
}

.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #9a4600;
  text-shadow: 0 0 6px rgba(255,140,0,.6);
  margin: 0;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 9px;
  background: linear-gradient(#ff8a00, #e05a00);
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,.32);
}
.product-ad a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

footer p {
  text-align: center;
  font-size: .85rem;
  color: #6b5200;
  margin: 0.25rem 0 0;
}

/* accessibility: focus styles for links and buttons globally */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Responsive tweaks: mobile-first; expand nicely on larger viewports */
@media (min-width: 600px) {
  main { padding: 3rem 1.25rem 4rem; }
  .product-ad { align-items: center; }
  .product-ad h3 { font-size: 1.05rem; }
}
@media (min-width: 900px) {
  .image-frame { width: min(60vw, 860px); }
  footer { padding: 2rem 0 0; }
}