/* Cyberpunk hacker theme (mobile-first) - green gradient background with frosted glass, yellow accents */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

:root {
  --yellow: #f0ff55;
  --yellow-dark: #e6e033;
  --glass: rgba(6, 12, 20, 0.65);
  --ring: rgba(255, 214, 0, 0.9);
  --border: rgba(255, 230, 0, 0.55);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--yellow);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background:
    radial-gradient(circle at 70% 20%, rgba(40, 200, 110, 0.6) 0%, rgba(40, 200, 110, 0.25) 25%, rgba(0,0,0,0) 60%),
    radial-gradient(circle at 15% 85%, rgba(0, 180, 60, 0.4) 0%, rgba(0,0,0,0) 60%),
    #041a0a;
  background-blend-mode: screen, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Frosted glass hero frame containing the image */
.image-frame {
  width: min(92vw, 920px);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(5, 9, 18, 0.66);
  border: 1px solid rgba(250, 230, 0, 0.55);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05) contrast(1.05);
  outline: none;
}

footer {
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.0));
  color: #e6f478;
  font-size: 0.95rem;
}

/* Frosted glass product ad pill */
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  box-shadow: 0 0 14px rgba(255, 214, 0, 0.6);
}
.product-ad h3 { margin: 0; color: var(--yellow); font-size: 0.95rem; }

/* CTA look for link inside product ad */
.product-ad a { color: var(--yellow); text-decoration: none; }
footer p { margin: 0; color: #d6e36b; }

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  box-shadow: 0 0 12px rgba(255, 214, 0, 0.85);
}

/* Small screens: ensure responsive sizing */
@media (max-width: 767px) {
  .image-frame { padding: 1rem; border-radius: 16px; }
  .product-ad { font-size: 0.92rem; padding: 0.6rem 0.85rem; }
}

/* Medium screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.75rem; border-radius: 22px; }
  .product-ad { font-size: 1rem; padding: 0.85rem 1.2rem; }
}
  
/* Large screens */
@media (min-width: 1024px) {
  footer { justify-content: space-between; width: 100%; max-width: 1100px; margin: 0 auto; }
}