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

html, body { height: 100%; }

:root {
  --bg: #0b0f14;
  --surface: rgba(255, 255, 255, .08);
  --surface-strong: rgba(0, 0, 0, .35);
  --text: #e6e6e6;
  --muted: #a6acb8;
  --lime: #a6ff00;
  --lime-glow: rgba(166,255,0,.8);
  --fg-neon: #d9ffd1;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  min-height: 100vh;
  background-color: #0b0f14;
  /* Lime diagonal lines + gray hacker tone */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.65)),
    repeating-linear-gradient(135deg, rgba(166,255,0,.12) 0 8px, transparent 8px 16px);
  background-size: cover;
  display: flex;
  flex-direction: column;
}

/* Layout */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  flex: 1 0 auto;
}

.image-frame {
  width: min(94vw, 680px);
  background: rgba(20, 24, 28, .65);
  border: 1px solid rgba(166, 255, 0, .55);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  transition: transform .25s ease;
}
.image-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(0,0,0,.75);
}
.image-frame:focus-within {
  outline: 3px solid var(--lime-glow);
  outline-offset: 3px;
  border-radius: 18px;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  image-rendering: crisp-edges;
  /* subtle neon glow around the image to hint cyberpunk vibe */
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.image-frame img:focus { outline: none; }

/* Footer & product ad (CTA) */
footer {
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  background: rgba(2, 2, 2, .25);
  border-top: 1px solid rgba(126, 255, 0, .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* CTA pill inside the ad */
.product-ad {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(126, 255, 0, .6);
  box-shadow: 0 6px 16px rgba(0,0,0,.5);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: .92rem;
  margin-bottom: .25rem;
  color: #d2ffb2;
  text-shadow: 0 0 6px rgba(105,255,59,.6);
}
.product-ad a {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
  border: 1px solid rgba(105,255,59,.6);
  color: var(--fg-neon);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }

/* Typography for content */
p { font-size: .95rem; color: var(--muted); }

/* Links & focus states (accessible) */
a, a:visited { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; }
  .product-ad { font-size: 0.95rem; }
}

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