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

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e5e7eb;
  line-height: 1.45;
  background-color: #0b1020;
  /* blue crosshatch background (hacker vibe) */
  background-image:
    linear-gradient(45deg, rgba(0, 180, 255, 0.15) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 180, 255, 0.15) 25%, transparent 25%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  background-attachment: fixed;
}

main { padding: 2rem 1rem 0; min-height: calc(100vh - 120px); display: block; }

/* Frosted glass hero (image frame) */
.image-frame {
  width: min(92vw, 700px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0, 180, 255, 0.15) inset;
  outline: 1px solid rgba(0,0,0,0.0);
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.25);
  pointer-events: none;
}
.image-frame img { display: block; width: 100%; height: auto; filter: saturate(0.95) brightness(0.97); }

/* Subtle cyberpunk accents around the viewport edges (optional glow) */
.image-frame { border-radius: 18px; }

footer {
  padding: 1.25rem;
  text-align: center;
  color: #d1d5db;
  background: rgba(2, 6, 23, 0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: rgba(12, 20, 38, 0.65);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 { font-size: 0.95rem; margin: 0.25rem 0; }
.product-ad a { text-decoration: none; }
.product-ad a p {
  color: #e7fdff;
  font-weight: 700;
  margin: 0;
}

/* CTA button look for the ad link (prominent) */
.product-ad a {
  display: inline-block;
  padding: 0.65em 1.05em;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e90ff 0%, #0b6df2 100%);
  color: #eaffff;
  border: 1px solid rgba(255,255,255,0.6);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  box-shadow: 0 6px 14px rgba(0, 110, 255, 0.5);
  transition: transform 0.15s ease;
}
.product-ad a:hover { transform: translateY(-1px); }

.product-ad a:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(860px, 70vw); }
}
@media (min-width: 1024px) {
  body { font-size: 16px; }
  footer { padding: 1.5rem 0; }
}