/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --bg: #0a0f1a;
  --bg-soft: rgba(255,255,255,.08);
  --card: rgba(255,255,255,.08);
  --card-border: rgba(255,255,255,.18);
  --text: #eaf6ff;
  --muted: #9fb3d4;
  --coral: #FF6F61;
  --coral-dark: #e05a4a;
  --cyan: #4bd6ff;
  --shadow: 0 8px 28px rgba(0,0,0,.4);
}
html, body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color: var(--text); background: var(--bg);
  /* blue dots pattern background */
  background-image: radial-gradient(circle, rgba(0,168,255,.55) 2px, transparent 2px);
  background-size: 22px 22px;
  background-position: 0 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout scaffolding */
main { display: grid; place-items: center; padding: 2rem 1rem; min-height: calc(100vh - 170px); }
.image-frame {
  width: min(92%, 1100px);
  margin: 0 auto;
  padding: .75rem;
  border-radius: 16px;
  background: var(--bg-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow);
}
.image-frame img { width: 100%; height: auto; border-radius: 12px; display: block; }

/* Frosted glass feel for hero container (soft glow) */
.image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(0,0,0,.25);
}
main { position: relative; }

/* Footer / product ad with neon hover */
footer {
  padding: 1.5rem;
  display: grid;
  place-items: center;
  background: rgba(5,8,20,.65);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad {
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  width: min(90%, 720px);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #d9f2ff;
  text-shadow: 0 0 6px rgba(0,190,255,.6);
}
.product-ad a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  /* coral CTA styling (hacker/cyberpunk) */
  background: linear-gradient(135deg, #FF6F61 0%, #FF3B6F 60%, #FF2D55 100%);
  color: #0b0e12;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.product-ad a:focus-visible { outline: 2px solid #6ee7ff; outline-offset: 2px; }
.product-ad p { margin: 0; }

/* footer copyright line */
footer > p {
  margin: 0.25rem 0 0;
  color: rgba(234,244,255,.8);
  font-size: .88rem;
  text-align: center;
  letter-spacing: .2px;
}

/* Utility: make it look cyberpunk on headings/text where present */
h1, h2, h3 { text-shadow: 0 0 6px rgba(0,190,255,.6); }

/* Focus visibility on links for accessibility */
a:focus-visible { outline: 2px solid #4af; outline-offset: 2px; border-radius: 6px; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 180px); }
  .image-frame { width: 70%; margin: 2rem auto; }
  footer { padding: 2rem 0; }
  .product-ad { display: inline-block; vertical-align: top; margin: 0 1rem; }
}
