/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #2a0033;            /* deep purple core */
  --bg-2: #1a0030;
  --paper: rgba(255,255,255,.08);
  --lime: #a6ff00;           /* hacker lime accent */
  --limeD: #72f000;
  --text: #eafde9;
  --text-dim: rgba(234,253,206,.85);
  --shadow: 0 12px 40px rgba(0,0,0,.5);
  --radius: 14px;
  --ring: rgba(0,255,120,.6);
}

html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg);
  /* purple paper texture vibe via layered gradients */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 40px 40px, rgba(0,0,0,.08) 1px, transparent 1px),
    linear-gradient(135deg, #2a0033 0%, #1e0a2a 60%, #210033 100%);
  background-size: 40px 40px, 60px 60px, cover;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first centering hero-style content */
main {
  display: grid;
  place-items: center;
  padding: 20px 14px;
  min-height: 60dvh;
}

.image-frame {
  width: min(92%, 860px);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(170,255,170,.4);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 60px rgba(0,0,0,.45);
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  image-rendering: crisp-edges;
  filter: saturate(1.02);
}

/* Frosted glass vibe on a subtle panel around image (using the frame itself) */
.image-frame { /* maintains frosted look on all viewports */ }

/* Footer & CTA styling (bold hacker-esque vibe) */
footer {
  padding: 20px 14px;
  text-align: center;
  color: var(--text-dim);
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(0,255,150,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-top: 20px;
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(0,255,150,.5);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.product-ad h3 {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #eefe9a;
  text-shadow: 0 0 8px rgba(140,255,0,.9);
}
.product-ad a {
  display: inline-block;
  padding: .66rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  color: #041b09;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(168,255,0,.95), rgba(100,255,0,.85));
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,255,120,.25);
}
.product-ad a:active { transform: translateY(0); }

/* Footer text color alignment */
footer p { margin-top: 10px; color: rgba(234,253,226,.9); font-size: .9rem; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 40px 0; }
  .image-frame { padding: 18px; border-radius: 18px; }
  .product-ad { font-size: 1rem; }
}
@media (min-width: 1024px) {
  body { background-position: center; }
  .image-frame { box-shadow: 0 32px 120px rgba(0,0,0,.6); }
  /* enhance cyberpunk glow at larger viewports */
  .image-frame { border-color: rgba(0,255,140,.6); }
}