/* Cyberpunk hacker-themed, mobile-first CSS (single stylesheet) */

/* Light reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
:root {
  --bg-base: #2a1f14;
  --bg-dk: #1b130f;
  --pink: #ff3ea6;
  --pink-dark: #e01985;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #f9eafe;
}
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background-color: var(--bg-base);
  /* Brown crosshatch background with pink accents */
  background-image:
    linear-gradient(45deg, rgba(255, 0, 140, 0.12) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 0, 140, 0.12) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 0, 140, 0.12) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 0, 140, 0.12) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
}

/* Layout: mobile-first stacking */
main { display: grid; place-items: center; padding: 2rem 1rem; }
.image-frame {
  width: min(92vw, 860px);
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* Subtle neon edge on the image for cyberpunk vibe */
  box-shadow: 0 0 0 transparent;
}
footer {
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to top, rgba(43,23,14,.95), rgba(43,23,14,.75));
  color: #ffd6ea;
}
.product-ad {
  display: inline-block;
  padding: 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #ffb6d3;
  letter-spacing: .5px;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0;
  color: #fff;
  font-weight: 700;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4fa6 0%, #ff2a88 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.product-ad a:focus-visible {
  outline: 3px solid #ffd3ec;
  outline-offset: 2px;
}
footer p { margin: 0; text-align: center; font-size: .95rem; color: #ffd5e9; opacity: .95; }

/* Focus accessibility for all focusable elements */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffd3ec;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 3rem 0; }
  .image-frame { width: min(92vw, 900px); }
  footer { flex-direction: row; justify-content: center; gap: 2rem; }
  .product-ad { margin: 0; }
}
@media (min-width: 900px) {
  .image-frame { padding: 16px; border-radius: 22px; }
  .product-ad h3 { font-size: 1.15rem; }
}