/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #f5f5f5;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  background-color: #2a1a0b;
  /* brown circuit-board feel with subtle red traces */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.25)),
    repeating-linear-gradient(0deg, rgba(214, 88, 34, .15) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(90deg, rgba(122, 56, 20, .25) 0 2px, transparent 2px 4px);
  background-attachment: fixed;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Layout: mobile-first hero area */
main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.image-frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #111;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Footer with frosted glass feel and CTA */
footer {
  padding: 1rem;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.product-ad {
  display:flex; flex-direction:column; gap:.5rem;
  width: min(92vw, 720px);
  padding: .75rem;
  border-radius: 12px;
  background: rgba(10,10,10,.45);
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #ff4d4d;
  display: inline-flex; align-items: center; gap: .5rem;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 8px;
  background: #e21d2d;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.2);
}
.product-ad a:hover { background: #ff2b2b; }
.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
footer p { text-align: center; font-size: .85rem; color: #d7d7d7; margin: .25rem 0 0; }

/* Responsive tweaks: ensure mobile-first priority, scale up gracefully */
@media (min-width: 640px) {
  main { padding: 4rem 2rem; }
}
@media (min-width: 900px) {
  .image-frame { border-radius: 28px; }
  footer { padding: 1.25rem 2rem; }
  .product-ad { align-items: flex-start; }
}