/* Minimal, responsive, hacker-style CSS (single stylesheet) */

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Root palette for cyberpunk feel */
:root{
  --magenta: #ff00ff;
  --magenta-dark: #d600e0;
  --lime: #a8ff00;
  --text: #e9e9e9;
  --glass: rgba(255,255,255,.12);
  --glass-strong: rgba(255,255,255,.22);
  --bg: #0a0a0f;
}

/* Background: lime diagonal lines + magenta glow + frosty glass vibe */
html, body {
  height: 100%;
}
body {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
  min-height: 100dvh;
  background: 
    radial-gradient(circle at 20% 0%, rgba(0,255,120,.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(0,255,255,.05), transparent 40%),
    #0a0a0f;
  /* lime diagonal lines overlay */
  background-image:
    repeating-linear-gradient(135deg,
      rgba(168, 255, 0, .22) 0px,
      rgba(168, 255, 0, .22) 4px,
      transparent 4px,
      transparent 12px);
  background-blend-mode: screen;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout scaffold (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100dvh - 110px);
}

/* Frosted glass card surrounding the image (hero) */
.image-frame {
  width: min(92%, 720px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.05);
  transform: translateZ(0);
  /* subtle neon glow around image for cyberpunk vibe */
  box-shadow: inset 0 0 0 rgba(0,0,0,0);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .25);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Footer area with frosted product card */
footer {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

/* Frosted glass product ad */
.product-ad {
  width: min(92%, 640px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.product-ad h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: .25rem;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.product-ad a {
  text-decoration: none;
  color: inherit;
}
.product-ad p {
  margin: 0;
  padding: .72rem 1.1rem;
  border-radius: 999px;
  /* magenta CTA pill inside link for accessibility and prominence */
  background: var(--magenta);
  color: #0a0a0a;
  font-weight: 800;
  letter-spacing: .2px;
  display: inline-block;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:focus-visible,
.product-ad p:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a:hover p,
.product-ad p:hover {
  transform: translateY(-1px);
  background: #ff20ff;
}
.product-ad p:active {
  transform: scale(0.98);
}

/* Small screens: ensure comfortable touch targets */
@media (min-width: 640px) {
  .image-frame { width: 70vw; max-width: 780px; }
  footer { padding-bottom: 2rem; }
}
@media (min-width: 960px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: 60vw; max-width: 860px; }
  .product-ad { width: 40vw; min-width: 320px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}