/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; padding: 0; margin: 0; }

/* Color palette: pink parchment background with red hacker accents */
:root {
  --bg-parchment: #f6d6cf;
  --bg-parchment-2: #fbd9d2;
  --red: #e0132a;
  --red-dark: #9b0f21;
  --glass: rgba(255, 255, 255, 0.18);
}

html, body { height: 100%; }

/* Mobile-first base layout (hero-focused) */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #3a0000;
  background: linear-gradient(#fbd9d2, #fbd9d2),
              repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0 6px, transparent 6px 12px);
  min-height: 100%;
}

main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  width: 100%;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(224, 0, 0, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  position: relative;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  /* subtle cyberpunk tint on the image for hacker vibe */
  filter: saturate(110%);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Footer / product ad (CTA styling) */
footer {
  padding: 1rem;
  text-align: center;
  color: #6a0000;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(224, 0, 0, 0.18);
  border: 1px solid rgba(224, 0, 0, 0.35);
  margin-bottom: 0.5rem;
}
.product-ad h3 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  color: #7a0000;
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.4);
}
.product-ad a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a5a, #d7263d);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Text focus accessibility on links anywhere */
a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Improve readability on parchment backdrop */
p, li, span, a { color: #3a0000; }

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; align-items: center; }
  .image-frame { max-width: 720px; border-radius: 22px; }
  .product-ad { padding: 0.75rem 1.25rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 3rem; }
  .image-frame { max-width: 860px; }
}