/* Hacker-Cuture CSS: cyberpunk, frosted glass, white crosshatch background */
/* Mobile-first, single stylesheet, accessible focus, light reset */

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

:root {
  --bg: #0a0a0f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f7faff;
  --muted: #cbd5e1;
  --accent: #7af5ff;
  --shadow: rgba(0,0,0,.6);
}

html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* White crosshatch background pattern over dark base */
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  color-scheme: dark;
}

main {
  display: grid;
  place-items: center;
  padding: 6vmin 1.5rem;
}

.image-frame {
  position: relative;
  width: min(92vw, 900px);
  padding: 1rem;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow:
    0 8px 28px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 0 2px rgba(0,255,230,.08);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  /* subtle neon glow for hacker vibe */
  outline: 1px solid rgba(0,255,230,.25);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  /* soft cyan glow border */
  box-shadow: 0 0 40px rgba(0, 255, 230, 0.25);
  mix-blend-mode: screen;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: #111;
  /* preserve image contrast on dark page */
  color: #fff;
}

footer {
  width: 100%;
  padding: 1.75rem 0 2.5rem;
  margin-top: 1rem;
}

.product-ad {
  max-width: 860px;
  margin: 0.75rem auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  opacity: .95;
}
.product-ad p {
  color: #fff;
  font-size: 0.95rem;
}
.product-ad a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(0, 0, 0, 0.25);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover {
  background: rgba(0,0,0,.4);
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 3px solid #9af;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  main { padding: 8vmin 0; }
  .image-frame { padding: 1.25rem; }
  .product-ad { padding: 1rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
} 

/* small, accessible defaults for links outside product ad (if any) */
a, button {
  color: #fff;
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #9af;
  outline-offset: 2px;
}