/* Minimal reset and cyberpunk palette */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

:root {
  --maroon: #3b0f0f;
  --maroon-deep: #1f0a0a;
  --lime: #a6ff00;
  --lime-dim: #84ff11;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #eafff0;
  --shadow: 0 6px 18px rgba(0,0,0,.35);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--maroon);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.5;
  min-height: 100%;
  /* Maroon noise texture background (soft speckles) */
  background-image:
    radial-gradient(circle at 1px 1px rgba(0,0,0,.15) 2px, transparent 2px),
    radial-gradient(circle at 3px 3px rgba(0,0,0,.08) 2px, transparent 2px);
  background-size: 4px 4px, 8px 8px;
  background-color: var(--maroon);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

/* Light reset for layout blocks */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

.image-frame {
  width: min(94vw, 760px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: .75rem;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px) saturate(1.25);
  -webkit-backdrop-filter: blur(6px) saturate(1.25);
  box-shadow: var(--shadow);
}

/* Image styling with subtle glow to feel hacker/neon */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.1) contrast(1.05);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.image-frame::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  left: 0;
  top: 0;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0,255,0,.15);
  mix-blend-mode: screen;
  opacity: .6;
}

/* Frosted glass card styling for footer ad */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 2rem;
  gap: 0.75rem;
  margin-top: 2rem;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: .55rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-width: 70%;
  max-width: 92%;
  text-align: center;
}
.product-ad h3 {
  margin: .25rem 0 .35rem;
  font-size: .95rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.product-ad a {
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #eaffff;
  border: 1px solid rgba(0,0,0,.5);
  font-weight: 700;
  box-shadow: 0 0 8px rgba(0,255,0,.25);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.product-ad a p:hover {
  background: rgba(0, 255, 0, .35);
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(0,255,0,.45);
}
.product-ad a p:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}
footer p {
  color: #c9eec2;
  font-size: .92rem;
  opacity: .95;
  text-align: center;
  margin: 0;
}

/* Focus accessibility for all interactive elements (keyboard users) */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible { outline-offset: 2px; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(80vw, 860px); }
  footer { padding-bottom: 3rem; }
  .product-ad { min-width: 420px; }
}
@media (min-width: 1024px) {
  main {
    padding: 6rem 2rem;
  }
  .image-frame { width: 72%; }
  footer { flex-direction: row; justify-content: center; align-items: center; gap: 2rem; }
}