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

/* Global / Theme */
:root{
  --bg: #000;
  --red: #ff2d2d;
  --red-dark: #b40000;
  --panel: rgba(255,255,255,.08);
  --panel-border: rgba(255,255,255,.25);
}
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; color: #e9e9e9; }

/* Frosted cyberpunk canvas with crosshatch (black + red neon) */
body {
  min-height: 100vh;
  background-color: #000;
  background-image:
    linear-gradient(45deg, rgba(255,0,0,.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,0,0,.18) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,0,0,.18) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,0,0,.18) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #e9e9e9;
}
a { color: inherit; text-decoration: none; }

/* Layout: mobile-first, centered hero image frame */
main {
  display: grid;
  place-items: center;
  padding: 6vmin 1rem;
}
.image-frame {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,0,0,.65);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  box-shadow: 0 0 28px rgba(255,0,0,.6), inset 0 0 40px rgba(0,0,0,.4);
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Frosted glass footer product ad */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #d8d8d8;
}
.product-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: .5rem auto 0.75rem;
  padding: .65rem .75rem;
  min-width: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--red);
  text-shadow: 0 0 6px rgba(255,0,0,.9);
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(#ff2d2d, #b40000);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 8px rgba(255,0,0,.9);
  transition: transform .15s ease, filter .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.product-ad a p { margin: 0; padding: 0; color: #fff; }

/* Footer copy */
footer p {
  margin: .5rem 0 0;
  font-size: .85rem;
  color: #7a7a7a;
}

/* Focus accessibility on all anchors */
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 8vmin 2rem; }
  .image-frame { border-radius: 14px; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(90vw, 1100px); }
  .product-ad { justify-content: center; }
}