/* Mobile-first, cyberpunk landing page styling with violet dot pattern and lime accents */

/* 1) Light reset and root colors */
:root{
  --bg: #0a0622;
  --violet: #7c3aed;
  --violet-dark: #4b0f6b;
  --lime: #b6ff00;
  --lime-glow: rgba(182,255,0,.6);
  --glass: rgba(255,255,255,.08);
  --edge: rgba(0,255,170,.6);
}

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

/* 2) Page base */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #e9f7ff;
  background-color: var(--bg);
  /* violet dot pattern background
     layered radial gradients create a dotted texture */
  background-image:
    radial-gradient(circle at 12px 12px, rgba(124,58,237,.9) 2px, transparent 3px),
    radial-gradient(circle at 28px 10px, rgba(124,58,237,.75) 2px, transparent 3px),
    radial-gradient(circle at 44px 18px, rgba(124,58,237,.6) 2px, transparent 3px);
  background-size: 64px 64px, 64px 64px, 64px 64px;
  background-position: 0 0, 16px 6px, 32px 12px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3) Layout containers (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: 92%;
  max-width: 900px;
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(0,255,170,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* frosted glass edge feel */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: .75rem;
  background: linear-gradient(135deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
  box-shadow: inset 0 0 0 1px rgba(0,255,170,.35);
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  /* neon glow for hacker vibe on the image itself */
  /* subtle glow via a filter-like glow proxy using text-shadow isn't possible on images; use box-shadow instead above */
}

/* 4) CTA & footer styling (accessible focus) */
footer {
  padding: 1rem;
  text-align: center;
  color: #d9d9d9;
  background: rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(20,0,20,0.5);
  border: 1px solid rgba(0,255,140,.6);
  margin: 0.5rem auto 0;
  text-align: center;
  min-width: 240px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #d6ff9a;
  text-shadow: 0 0 8px rgba(198,255,0,.8);
}

.product-ad p {
  margin: 0;
  color: #b8ffb0;
}

.product-ad a {
  color: #cffc9a;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 255, 164, 0.8);
  background: rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover,
.product-ad a:focus-visible {
  transform: translateY(-1px);
  background: rgba(140,255,180,.6);
  outline: none;
}
.product-ad a:focus-visible {
  outline: 2px solid #8aff9d;
  outline-offset: 2px;
}

footer p {
  margin: 0.5rem 0 0;
  color: #a9a9a9;
  font-size: 0.85rem;
}

/* General focus accessibility for links */
a:focus-visible {
  outline: 2px solid #9eff3a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 5) Responsive adjustments (tablet+): */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 120px); }
  .image-frame { width: 80%; }
}

@media (min-width: 900px) {
  .image-frame { width: 60%; }
}