/* Reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: #e8f7f7;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  background-color: #0b0f12;
  /* gray circuit-board vibe with turquoise accents */
  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.22), rgba(0,0,0,0.22)),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 40px),
    linear-gradient(#1e2328, #0b0f12);
  background-blend-mode: overlay;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 0;
  width: 100%;
}

/* Frosted glass hero frame around the image (cyberpunk/future vibe) */
.image-frame {
  width: min(92vw, 720px);
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(15, 18, 24, 0.55);
  border: 1px solid rgba(47, 230, 217, 0.45);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.image-frame::after {
  content:"";
  position:absolute;
  left:8px; right:8px; bottom:8px;
  height:6px;
  border-radius:6px;
  background: linear-gradient(90deg, rgba(47,230,217,0), rgba(47,230,217,0.8), rgba(47,230,217,0));
  pointer-events:none;
  opacity:.9;
}

/* Footer / product ad */
footer {
  padding: 1.25rem 1rem;
  width: 100%;
}
.product-ad {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.4rem;
  width: min(92vw, 720px);
  margin: 1rem auto;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(14,18,22,0.6);
  border: 1px solid rgba(46,230,223,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin:0;
  font-size:1rem;
  color:#2fe6d9;
  letter-spacing:.4px;
}
.product-ad a { text-decoration:none; color:inherit; }
.product-ad p {
  margin:0;
  padding:.45rem .95rem;
  border-radius:999px;
  border:1px solid rgba(46,230,223,0.5);
  background: linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0));
  color:#d0fbfb;
  display:inline-block;
  transition: transform .2s ease;
}
.product-ad p:hover { transform: translateY(-1px); }

/* Copy / footer text */
footer p {
  text-align:center;
  margin: .75rem 0 0;
  color:#96a2ad;
  font-size:.92rem;
}

/* Focus styles for accessibility */
a:focus, a:focus-visible {
  outline: 2px solid #2fe6d9;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: mobile-first then scale up for larger viewports */
@media (min-width: 768px) {
  main { padding-top: 3rem; }
  .image-frame { width: min(760px, 68vw); padding: 1.5rem; }
}
