/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Global, mobile-first cyber-hacker theme */
:root{
  --green: #39ff14;
  --green-soft: rgba(57,255,20,.9);
  --glass: rgba(12, 255, 120, 0.22);
  --glass-border: rgba(57, 255, 180, 0.65);
  --bg: #140014;
  --text: #eafff8;
}
html, body { height: 100%; }
body {
  color: var(--text);
  font-family: UI-Sans-Serif, Inter, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.5;
  min-height: 100%;
  background-color: #1b001e;
  /* magenta noise texture: layered gradients for a grainy look */
  background-image:
    radial-gradient(circle at 20px 20px, rgba(255,0,204,.15) 0 2px, transparent 3px),
    radial-gradient(circle at 60px 40px, rgba(0,255,120,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 10px 70px, rgba(0,255,180,.05) 0 2px, transparent 3px);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  background-blend-mode: overlay;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: hero area with frosted glass frame around the image */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}
.image-frame {
  width: min(92%, 980px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(57,255,180,.6);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  position: relative;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: crisp-edges;
}

/* Frosted glass footer ad (prominent CTA) */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin: 0 auto 1rem;
  width: min(92%, 720px);
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .4px;
  color: #eafff0;
}
.product-ad a { text-decoration: none; width: 100%; display: inline-flex; justify-content: center; }

.product-ad a p {
  margin: 0;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: rgba(25, 230, 120, .28);
  color: #eafff2;
  border: 1px solid rgba(60,255,180,.75);
  font-weight: 700;
  text-align: center;
  width: 100%;
  transition: transform .15s ease, background .15s ease;
}
.product-ad a:focus-visible p {
  outline: 3px solid rgba(57,255,180,.9);
  outline-offset: 2px;
}
.product-ad a:hover p {
  background: rgba(25, 230, 120, .42);
  transform: translateY(-1px);
}
.product-ad a:active p {
  transform: translateY(0);
  background: rgba(25, 230, 120, .32);
}

/* Improve contrast on small devices */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { width: 70%; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  .product-ad { margin-top: .6rem; }
}

/* Focus visibility for links/buttons elsewhere on page, if any */
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(57,255,180,.95);
  outline-offset: 2px;
  border-radius: 6px;
}