/* Minimal reset and CSS variables for a cyberpunk, hacker-inspired theme */
:root{
  --bg-front: #0b1020;
  --navy: #0e1a2b;
  --neon: #ff2b2b;
  --neon-soft: #ff5a5a;
  --glass: rgba(15, 22, 40, 0.65);
  --glass-edge: rgba(255,255,255,.18);
  --text: #e9efff;
  --muted: #a9b4d6;
}

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

html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.4;
  background-color: #0a0f1d;
  /* red radial gradient background layered with navy hues for hacker vibe */
  background-image:
    radial-gradient(circle at 60% 20%, rgba(255,0,0,.25) 0, rgba(255,0,0,.0) 40%),
    radial-gradient(circle at 20% 85%, rgba(180,0,0,.18) 0, rgba(0,0,0,.0) 40%),
    linear-gradient(#0a0f1d 0%, #0b1020 60%);
  background-attachment: fixed;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle cyberpunk noise/shine using a lightweight layer on body (kept subtle for performance) */
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.04), transparent 40%);
  mix-blend-mode: overlay;
  opacity: .6;
}

/* Layout: mobile-first hero area centered content, with frosted glass card for the image frame */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}

.image-frame {
  position: relative;
  width: min(92vw, 860px);
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(10, 14, 28, 0.66);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: saturate(125%) blur(6px);
  -webkit-backdrop-filter: saturate(125%) blur(6px);
  z-index: 1;
  overflow: hidden;
}
.image-frame::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(255,0,0,.28) 0 10%, transparent 12%),
              radial-gradient(circle at 100% 100%, rgba(0,0,255,.15) 0 20%, transparent 22%);
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}
.image-frame img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  z-index: 1;
  outline: none;
  /* ensure good contrast on dark bg */
  filter: saturate(105%);
}
.image-frame:focus-within { outline: 2px solid #9af; outline-offset: 4px; }

/* Footer / ad card styled as frosted glass with a bold CTA */
footer {
  padding: 1.75rem 1rem 3rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  background: linear-gradient(to top, rgba(8,12,30,.9), rgba(8,12,30,.55) 60%, rgba(8,12,30,.9));
}
.product-ad {
  width: min(92vw, 760px);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(14,20,40,.66);
  border: 1px solid rgba(255,255,255,.15);
  text-align: center;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 20px 40px rgba(0,0,0,.35);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
}
.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  color: #ffdada;
  letter-spacing: .4px;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b3b 0%, #b60000 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 20px rgba(180,0,0,.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(180,0,0,.66);
}
.product-ad a:focus-visible {
  outline: 3px solid #9af;
  outline-offset: 2px;
}
.product-ad p {
  margin: .25rem 0 0;
  color: #eaeaff;
}
footer p {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin: .25rem 0 0;
}

/* Basic responsive tweaks to keep layout clean on larger screens */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  footer { padding-bottom: 4rem; }
}