/* Haunting Cyberpunk – single, responsive stylesheet (mobile-first) */

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e8ecf5;
  /* Indigo striped background with frosted silver hacker vibe */
  background-color: #05060e;
  background-image:
    /* indigo stripe pattern */
    repeating-linear-gradient(135deg,
      rgba(60,0,120,.92) 0px,
      rgba(60,0,120,.92) 8px,
      rgba(0,0,0,0) 8px,
      rgba(0,0,0,0) 16px),
    /* subtle vignette for depth */
    radial-gradient( circle at 20% -10%, rgba(180,210,255,.08), transparent 40% ),
    radial-gradient( circle at 100% 0%, rgba(0,0,0,.25), transparent 40% );
  background-blend-mode: overlay, normal, normal;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* keep things crisp on low-end devices */
  transform: translateZ(0);
}
a { color: #cbd5e1; text-decoration: none; border-bottom: 1px solid rgba(203,213,225,.25); }
a:focus-visible { outline: 3px solid #7ad6ff; outline-offset: 2px; border-bottom: none; }

/* Layout: center hero (image frame) with frosted glass feel */
main {
  display: grid;
  place-items: center;
  min-height: 64vh;
  padding: 2rem 1rem;
}
.image-frame {
  width: min(92vw, 760px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  transition: transform .25s ease;
}
.image-frame:hover { transform: translateY(-3px) scale(1.01); }
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 rgba(0,0,0,0);
  object-fit: cover;
  /* cyberpunk glow hint on the image itself */
  filter: saturate(1.05);
}
.image-frame::after {
  /* optional soft glow edge for hacker aesthetic (purely decorative) */
  content: "";
  display: block;
  height: 8px;
  border-radius: 999px;
  margin: 8px auto 0;
  width: 60%;
  max-width: 420px;
  background: linear-gradient(90deg, rgba(125, 216, 255, 0.0), rgba(125,216,255,0.6), rgba(125,216,255,0.0));
  filter: blur(0.5px);
  opacity: 0.85;
}
@media (min-width: 600px) {
  main { min-height: 72vh; padding: 2rem; }
  .image-frame { padding: 1.25rem; border-radius: 22px; }
}
@media (min-width: 900px) {
  :root { --bg: #090b15; }
  body { background-attachment: fixed; }
  .image-frame { width: min(80vw, 880px); padding: 1.6rem; border-radius: 24px; }
}

/* Footer / product ad with frosted glass feel and prominent CTA */
footer {
  width: 100%;
  padding: 1.25rem;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: .75rem;
  color: #dbe4f7;
  background: linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,.08));
}
.product-ad {
  width: min(92vw, 600px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(12,14,25,.65);
  border: 1px solid rgba(180,190,210,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.product-ad h3 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .3px; }
.product-ad a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a2d7f 0%, #5b66d8 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(0,0,0,.35);
}
.product-ad a:focus-visible { outline: 3px solid #7ad6ff; outline-offset: 2px; }
.product-ad a p { margin: 0; padding: 0; }

/* Small footer text */
footer p {
  margin: 0;
  font-size: .9rem;
  color: #b9c4de;
  text-align: center;
}

/* Accessibility helpers for light/dark contrast on small screens */
@media (prefers-color-scheme: light) {
  body {
    color: #1b1f2a;
    background-color: #f7f7fb;
  }
  .image-frame { background: rgba(255,255,255,.9); border-color: rgba(0,0,0,.08); }
  footer { background: rgba(255,255,255,.6); color: #111827; }
  .product-ad { background: rgba(255,255,255,.9); }
  a { color: #0b2a6a; }
}
