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

html, body { height: 100%; }

/* Theme: lime neon glow with coral accents, frosted glass, cyberpunk vibe */
:root {
  --lime: #39ff14;
  --coral: #ff6f61;
  --bg: #0a0f14;
  --text: #eafff3;
  --glass: rgba(255,255,255,.14);
}

html, body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Neon glow background layers (mobile-first, light and performance-friendly) */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  background:
    radial-gradient(circle at 10% 0%, rgba(57,255,110,.22), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,111,97,.22), transparent 40%);
  z-index: -2;
  filter: saturate(1.2);
  animation: glowPulse 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.01); opacity: 1; }
}

/* Layout */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex: 1;
  width: 100%;
}

/* Image frame with frosted glass overlay for hacker aesthetic */
.image-frame {
  width: min(92vw, 800px);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow:
    0 14px 40px rgba(0,0,0,.6),
    0 0 60px rgba(57,255,110,.25) inset;
  transform: translateZ(0);
  border: 1px solid rgba(57,255,110,.25);
  /* subtle glow border when focused via nav (aesthetic) */
  outline: 0;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  /* slight parallax feel when scrolling (cheap, smooth) */
  transform: translateZ(0);
}
.image-frame::before {
  /* neon border glow around the frame */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid rgba(57,255,110,.65);
  box-shadow: 0 0 22px rgba(57,255,110,.8);
  z-index: 3;
  pointer-events: none;
}
.image-frame::after {
  /* frosted glass overlay on top of the image for cyberpunk vibe */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: none;
}

/* Footer with a prominent CTA styled as a neon pill */
footer {
  text-align: center;
  padding: 24px 16px;
  color: rgba(234,255,245,.92);
}
.product-ad {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(57,255,110,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--lime);
}
.product-ad a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #04110a;
  background: linear-gradient(135deg, rgba(57,255,110,.95), rgba(0,200,180,.95));
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 14px rgba(57,255,110,.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover,
.product-ad a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(57,255,110,.9);
  outline: none;
}
.product-ad a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* General link/text accessibility helpers */
a { color: inherit; text-decoration: none; }
button, [role="button"] { cursor: pointer; }

/* Focus visibility for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 40px; }
  .image-frame { width: min(70vw, 900px); border-radius: 22px; }
}
@media (min-width: 1024px) {
  main { padding: 60px 0; }
  .image-frame { width: min(60vw, 960px); border-radius: 28px; }
  .product-ad h3 { font-size: 1.05rem; }
}
