/* Reset and base setup */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #e8f0ff;
  background-color: #0b1020;
  /* blue dot pattern background */
  background-image: radial-gradient(circle at 1px 1px, rgba(60,170,255,.35) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
  line-height: 1.5;
}

/* Global color accents for hacker/cyberpunk vibe */
:root {
  --bg: #0b1020;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
  --text: #e8f0ff;
  --muted: #a6b6d6;
  --accent: #4cc9f0;
  --neon: #7bdcff;
  --card-shadow: 0 8px 28px rgba(0,0,0,.4);
}

a { color: #cfe8ff; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }

/* Layout: mobile-first hero area and frosted glass panels */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Frosted glass card for the image/frame area */
.image-frame {
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(15, 15, 30, 0.65);
  border: 1px solid rgba(180, 190, 210, 0.28);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Scaled image inside the frame */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Footer contains the product ad (CTA) and copyright */
footer {
  width: 100%;
  padding: 0.75rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(150,170,210,.35);
  max-width: 720px;
  width: 100%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #eaf2ff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* CTA button look (prominent) */
.product-ad a {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(70,170,255,.95), rgba(60,110,255,.95));
  color: white;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 0 12px rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}

/* Footer copyright text */
footer p {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
}

/* Responsive tweaks: scale up hero and frame on larger screens */
@media (min-width: 600px) {
  main { padding: 4rem 2rem; min-height: calc(100vh - 160px); }

  .image-frame { padding: 1.25rem; border-radius: 20px; }

  .product-ad { font-size: 1.02rem; }
  .product-ad h3 { font-size: 1.02rem; }
}

@media (min-width: 1024px) {
  main { padding: 6rem 3rem; }
  .image-frame { border-radius: 22px; }
  footer { padding-bottom: 2rem; }
  .product-ad { max-width: 860px; }
}