/* CSS reset (light) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
:root {
  --bg: #0a001a;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --text: #eae0ff;
  --muted: #cbbfff;
  --magenta: #ff0bd8;
  --magenta-dark: #b400ff;
}
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background-color: #0a0a16;
  /* violet diagonal lines background for hacker vibe */
  background-image:
    linear-gradient(135deg, rgba(128,0,255,.25) 25%, transparent 25%),
    linear-gradient(225deg, rgba(128,0,255,.25) 25%, transparent 25%),
    linear-gradient(315deg, rgba(128,0,255,.18) 25%, transparent 25%),
    linear-gradient(45deg, rgba(128,0,255,.18) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.5;
}

/* Layout (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  min-height: 60vh;
}
.image-frame {
  width: min(90%, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12, 0, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 15px 40px rgba(0,0,0,.5);
  backdrop-filter: saturate(1.2) blur(0.4px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(1.05);
}

/* Frosted glass footer / card styling for hacker theme */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(8, 0, 22, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}
.product-ad {
  display: inline-block;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.product-ad h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #eaf0ff;
  letter-spacing: .2px;
}
.product-ad a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  /* neon magenta button */
  background: linear-gradient(135deg, #8a2be2 0%, #ff0bd8 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a p {
  /* accommodate the nested <p> inside <a> from provided HTML */
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: 700;
  color: #fff;
}
footer p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #d7caff;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main {
    padding: 4rem 2rem 6rem;
  }
  .image-frame {
    width: 800px;
  }
}
@media (min-width: 1024px) {
  main {
    padding: 6rem 3rem 8rem;
  }
  .image-frame {
    width: 860px;
  }
}