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

/* Theme & helpers */
:root {
  --silver: #cbd5e1;
  --silver-dark: #94a3b8;
  --mag: #ff00ff;
  --mag-dark: #d400ff;
  --glass: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.25);
  --glow: 0 0 40px rgba(255,0,255,.6);
}
html, body { height: 100%; }

/* Neon magenta glow background + hacker vibe */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eaeaf0;
  background: linear-gradient(#0b0d15 0%, #090918 60%, #0b0b12 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,0,255,.22), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0,255,255,.18), transparent 40%);
  mix-blend-mode: screen;
  z-index: -1;
  filter: saturate(1.1);
}

/* Layout: mobile-first hero with frosted glass frame for image */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

.image-frame {
  width: min(92%, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 0 40px rgba(255, 0, 255, .6), inset 0 0 24px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

/* Footer / CTA styling (CTA is the ad link) */
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--silver);
  background: rgba(0, 0, 0, .28);
  border-top: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(6px);
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  margin: 0 auto;
}
.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .4px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,0,255,.9), rgba(140,0,255,.95));
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 0, 255, .8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 0, 255, .95);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a p {
  margin: 0;
  padding: 0;
}
footer > p {
  margin-top: .5rem;
  font-size: .9rem;
  opacity: .9;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { width: min(90%, 980px); }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: 70%; min-width: 560px; }
  footer { padding: 2rem 0; }
}