/* Hacker-cyberpunk landing: mobile-first, frosted glass, red-noise background */

* { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0a001a;
  --panel: rgba(85, 0, 120, 0.55);
  --panel-border: rgba(180, 120, 255, 0.65);
  --text: #e9e0ff;
  --muted: #cbb5ff;
  --cta: #a24bff;
  --glow: 0 0 12px rgba(140, 92, 246, 0.85);
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* red-noise texture (soft, performance-friendly) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,0,0,.25) 2px, transparent 2px),
    radial-gradient(circle at 3px 3px, rgba(180,0,0,.12) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  background-blend-mode: overlay;
}

 /* subtle real-time-noise overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.25) 1px, transparent 1px),
    radial-gradient(circle at 5px 5px, rgba(255,0,0,.15) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: overlay;
  opacity: .25;
  filter: saturate(1.2);
}

/* layout */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.image-frame {
  width: min(92vw, 860px);
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

/* footer + ad block */
footer {
  margin-top: 2rem;
  padding: 1.25rem;
  text-align: center;
  color: #e6dfff;
  font-size: 0.95rem;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  border-radius: 12px;
  background: rgba(80,0,110,.45);
  border: 1px solid var(--panel-border);
  margin: 0.75rem auto;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: .2px;
  text-shadow: 0 0 8px rgba(140,0,255,.8);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .65rem 1.1rem;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(139,92,246,1), rgba(213,0,255,1));
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  display: inline-block;
  transition: transform .2s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* focus accessibility for interactive elements */
a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 6px;
}

/* responsive tweaks */
@media (min-width: 640px) {
  main { padding: 3rem 1rem; }
  .image-frame { padding: 1.5rem; }
  .product-ad { flex-direction: row; align-items: center; gap: 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { padding: 1.75rem; }
  footer { font-size: 1.05rem; }
  .product-ad { margin-left: auto; margin-right: auto; }
}