/* Minimal reset and cyberpunk palette with magenta checkerboard background */
:root{
  --turquoise: #1ee6d2;
  --turquoise-dark: #0fbfae;
  --magenta: #ff2d9a;
  --magenta-dark: #a40066;
  --bg: #0b0b13;
  --glass: rgba(255,255,255,0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaffff;
  background-color: var(--bg);
  /* Magenta checkerboard background */
  background-image:
    linear-gradient(45deg, rgba(255,0,122,.95) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,0,122,.95) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,0,122,.95) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,0,122,.95) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  /* Ensure content doesn't collide with the edges on small screens */
  padding: 0;
}

/* Mobile-first layout: center hero, clear CTA in footer */
main {
  display: grid;
  place-items: center;
  padding: 6vmin 1.5rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  position: relative;
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
  /* subtle crow-blue glow to hint hacker vibe when on dark magenta bg */
  outline: 1px solid rgba(30, 230, 210, 0.25);
  outline-offset: -4px;
}

/* Frosted-glass overlay that sits on top of the image for the glassy hacker aesthetic */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 40%, rgba(0,0,0,.25) 100%);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(105%);
}

/* Footer with a prominent CTA (styled as a pill button) */
footer {
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: #d9ffff;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(20, 60, 70, 0.28);
  border: 1px solid rgba(0, 255, 230, 0.75);
  margin-bottom: .6rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #eaffff;
  box-shadow: inset 0 0 12px rgba(0,0,0,.15);
}
.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--turquoise);
  text-shadow: 0 0 8px rgba(30, 230, 212, 0.8);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .42rem .75rem;
  border-radius: 6px;
  font-weight: 700;
  color: #021018;
  background: var(--turquoise);
  box-shadow: 0 6px 14px rgba(30, 230, 210, 0.6);
  transition: transform .2s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Focus styles for accessibility on links/buttons used as CTAs */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small text reset for consistency */
p { margin: 0; }

/* Responsive tweaks: widen layout for larger screens, keep mobile-first */
@media (min-width: 600px) {
  main { padding: 7vmin 2rem; }
  .image-frame { border-radius: 16px; }
}

@media (min-width: 900px) {
  main { padding: 6vmin 4rem; }
  .image-frame { border-radius: 18px; }
  footer { padding: 2rem 4rem; }
}