/* Cyberpunk hacker theme: brown neon glow + indigo accents */
/* Mobile-first, accessible, frosted glass, single stylesheet */

:root{
  --bg-brown: #1b0f07;
  --bg-brown-2: #2a140c;
  --indigo: #4b5bdc;
  --indigo-2: #3a58f0;
  --text: #e9e6ff;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
  --shadow: 0 8px 28px rgba(0,0,0,.5);
  --glow: 0 0 18px rgba(75,91,220,.9);
  --glow-soft: 0 0 40px rgba(75,91,220,.5);
  --focus: 3px solid rgba(170,190,255,.9);
}

html, body {
  height: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg-brown);
  /* layered brown glow */
  background: radial-gradient(circle at 20% 0%, rgba(139,69,19,.25) 0, transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(60,20,0,.25) 0, transparent 40%),
              linear-gradient(#140d08 0%, #0b0907 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* neon indigo flicker glow overlay */
  background: radial-gradient(circle at 50% 40%, rgba(75,91,220,.25) 0 40%, transparent 42%),
              radial-gradient(circle at 60% 70%, rgba(75,91,220,.15) 0 40%, transparent 42%);
  filter: saturate(120%);
  mix-blend-mode: screen;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}
.image-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.06);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(75,91,220,.0) 0 60%, rgba(139,69,19,.25) 60% 100%);
  box-shadow: 0 0 16px 4px rgba(75,91,220,.55);
  mix-blend-mode: screen;
}
.image-frame:hover::after {
  box-shadow: 0 0 22px 6px rgba(75,91,220,.8);
}

@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 24px; }
}

/* Frosted glass CTA card (footer area) */
footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
  color: #d7d7f0;
}
.product-ad {
  display: inline-block;
  padding: 0;
  margin: 0 auto 1rem;
  min-width: 240px;
  width: 90%;
  border-radius: 16px;
  background: rgba(10, 10, 20, .55);
  border: 1px solid rgba(170, 180, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.product-ad h3 {
  margin: 0;
  padding: 10px 14px;
  font-size: 0.95rem;
  letter-spacing: .4px;
  color: #e6e3ff;
  display: flex;
  align-items: center;
  gap: .5em;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  margin: 8px 14px 14px;
  color: #f8f9ff;
  background: linear-gradient(135deg, rgba(43,0,110,.95), rgba(68,0,140,.95));
  border: 1px solid rgba(170,180,255,.9);
  box-shadow: 0 0 14px rgba(120, 90, 255, .85), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(120,90,255,.95);
}
.product-ad a:focus-visible {
  outline: 3px solid rgba(170,190,255,.95);
  outline-offset: 2px;
}

footer p {
  margin: 12px 0 0;
  font-size: .85rem;
  color: #bfbfe8;
  opacity: .95;
}

/* High-contrast focus for all interactive elements (a, button, input if present) */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 180, 255, .9);
  border-radius: 6px;
}
:focus-visible {
  outline: 3px solid rgba(170,190,255,.9);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Optional small screens tweak */
@media (max-width: 420px) {
  .product-ad { width: 100%; }
  .product-ad a { width: auto; padding: 12px 18px; }
}