/* Minimal reset and CSS variables for a hacker-cyberpunk theme */
:root{
  --bg: #0a0f13;
  --bg-darker: #050a0e;
  --green: #2fffb2;
  --green-deep: #21e08b;
  --green-glow: #29ffd5;
  --text: #eafff0;
  --muted: #aaf3d0;
  --glass: rgba(255,255,255,.08);
  --border: rgba(46,255,214,.5);
  --shadow: 0 10px 28px rgba(0,0,0,.32);
}

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

/* Turquoise dotted background pattern (responsive, mobile-first) */
body {
  min-height: 100svh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: var(--text);
  background-color: var(--bg);
  /* turquoise dot pattern */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 255, 210, .75) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 0;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout scaffold */
header,
main,
footer { width: 100%; }

/* Hero header with frosted glass accent */
header {
  padding: 1.75rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
header::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 120%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,10,15,.8), rgba(5,10,15,.2) 60%, rgba(5,10,15,.8) 100%);
  mix-blend-mode: overlay;
  border-bottom: 1px solid rgba(46,255,214,.25);
  border-radius: 0 0 24px 24px;
}
header h1 {
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  margin: .25rem 0;
  color: #eafff2;
  letter-spacing: .3px;
  text-shadow: 0 0 12px rgba(46,255,214,.6);
}
@media (min-width: 720px){
  header { padding: 2.5rem 2rem; }
  header h1 { font-size: 2.6rem; }
}

/* Main content: frosted glass card around the image */
main {
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.image-frame {
  width: min(92%, 720px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(46,255,214,.35);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.05) blur(6px);
  -webkit-backdrop-filter: saturate(1.05) blur(6px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: 2px solid rgba(46,255,214,.15);
  outline-offset: 2px;
}
@media (min-width: 768px){
  .image-frame { padding: 1.25rem; }
}

/* Footer area with product ad CTA and copyright */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-block;
  padding: .6rem;
  border-radius: 12px;
  background: rgba(0, 255, 210, .12);
  border: 1px solid rgba(0,255,210,.35);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 .25rem;
  color: #eafff1;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
}
.product-ad a p {
  display: inline;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(0,255,210,.24);
  border: 1px solid rgba(0,255,210,.6);
  color: #eafff0;
  margin: 0;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  background: rgba(0,255,210,.34);
}
.product-ad a:focus-visible p {
  outline: 3px solid #2affd1;
  outline-offset: 2px;
}
footer p {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: #b9ffd9;
}

/* Focus styles for accessibility on all interactive elements */
a,
button {
  outline: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #2affc2;
  outline-offset: 2px;
  border-radius: 6px;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* Small utility for readability on very dark background when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}