/* Reset and base styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: #efe3d0;            /* beige base */
  --bg-pattern1: rgba(0,0,0,.05);
  --bg-pattern2: rgba(0,0,0,.04);
  --red: #e21b2a;                 /* hacker red */
  --red-dark: #b0141f;
  --glass: rgba(255,255,255,.22);  /* frosted glass */
  --glass-strong: rgba(255,255,255,.32);
  --text: #111;
  --text-soft: rgba(17,17,17,.85);
  --shadow: 0 8px 28px rgba(0,0,0,.25);
}

html, body { height: 100%; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
  color: var(--text);
  background-color: var(--bg-base);
  /* beige crosshatch background */
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.04) 0 2px, transparent 2px 6px);
  background-size: auto;
  min-height: 100%;
}

/* Mobile-first layout: hero centered with frosted glass frame around image */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    0 12px 40px rgba(0,0,0,.25);
  /* subtle neon glow edge for cyberpunk vibe */
  outline: 1px solid rgba(0,0,0,.04);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight cool hue to feel futuristic */
  filter: hue-rotate(-6deg) saturate(1.04);
}

/* Footer with frosted glass product ad */
footer {
  padding: 1.5rem;
  text-align: center;
  width: 100%;
}

/* Frosted glass card containing the CTA */
.product-ad {
  display: inline-block;
  text-align: left;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0 auto 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  max-width: 680px;
}

.product-ad h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--text);
  display: inline-block;
  line-height: 1.2;
}

.product-ad a {
  display: inline-block;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e21b2a 0%, #c01222 60%, #8f0c1a 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.7);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
}
.product-ad a:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad p {
  margin: 0;
  color: #fff;
  font-weight: 600;
  display: inline;
}

/* Small caption under CTA for accessibility */
footer p {
  color: #333;
  font-size: .9rem;
  opacity: .9;
  margin-top: .4rem;
}

/* Focus visible for keyboard users on any interactive element */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: widen hero and tighten on larger screens */
@media (min-width: 700px) {
  main { padding: 6rem 2rem; }
  .image-frame { border-radius: 22px; }
  .product-ad { transform: translateY(-2px); }
}
