/* Minimal reset and cyberpunk base */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --teal: #0b5f63;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.25);
  --glass: rgba(255, 255, 255, 0.12);
}
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--teal);
  color: #eaffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* subtle neon glow around defaults for hacker vibe */
  text-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Subtle cyber grid (lightweight) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Layout: mobile-first, centered hero image with frosted glass frame */
main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 760px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 230, 255, 0.35);
  display: block;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  /* Ensure a slight neon edge on the image in cyberpunk style */
  filter: saturate(1.05);
  outline: 1px solid rgba(0,255,255,0.15);
}

footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  color: #eaffff;
  z-index: 1;
  position: relative;
}

/* Product Ad panel (frosted glass + neon CTA) */
.product-ad {
  display: inline-block;
  text-align: left;
  width: min(92vw, 680px);
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  margin: 0 auto 0.75rem;
}
.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #bffcff;
  text-shadow: 0 0 8px rgba(0, 230, 255, 0.9);
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.8);
  color: #eaffff;
  font-weight: 700;
  background: rgba(0, 255, 255, 0.28);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.9);
  transition: transform 0.15s ease, background 0.15s ease;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  background: rgba(0, 255, 255, 0.38);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
footer p {
  margin: 0.75rem 0 0;
  color: #c9ffff;
  font-size: 0.9rem;
}

/* Focus styles for accessibility on all focusable elements (keyboard users) */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame { width: min(88vw, 860px); }
  .product-ad { font-size: 0.98rem; }
}
@media (min-width: 900px) {
  main { padding: 3rem 0; }
  .image-frame { border-radius: 18px; }
  .product-ad { padding: 1.25rem; }
}