/* Reset and base styles (light, mobile-first) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

/* Navy sunset gradient background with subtle cyber glow (fighter-hacker vibe) */
body {
  color: #eaf6ff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.45;
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1020 0%, #181a35 40%, #2b1f3d 60%, #0b1020 100%), 
              radial-gradient(circle at 70% 20%, rgba(255, 128, 0, 0.28), transparent 40%);
  background-attachment: fixed;
}

/* Layout: mobile-first hero centered, with frosted glass image frame */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: min(92vw, 860px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1.25rem;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 255, 200, 0.25),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  border-right: 2px solid rgba(0, 225, 255, 0.6);
  border-bottom: 2px solid rgba(0, 225, 255, 0.6);
  /* subtle neon edge for cyberpunk feel */
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(0, 255, 230, 0.25);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(0, 180, 255, 0.6);
}

/* Footer with frosted glass CTA panel */
footer { padding: 1.5rem; }

/* Frosted glass CTA panel */
.product-ad {
  width: min(90%, 700px);
  margin: 1rem auto 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
  text-align: left;
  color: #f9fbff;
  background-image: linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-family: ui-monospace, SFMono-Regular, "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 600;
}

.product-ad a {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(255, 150, 0, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform 0.12s ease, background 0.2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.4), rgba(255, 150, 0, 0.4));
}
.product-ad a:focus-visible {
  outline: 3px solid #7df9ff;
  outline-offset: 2px;
}

/* Focus accessibility for all focusable elements on the page */
:focus-visible { outline: 3px solid #7df9ff; outline-offset: 2px; }

/* Footer text styling */
footer p {
  text-align: center;
  opacity: 0.9;
  font-size: 0.9rem;
  margin: 0.6rem 0 0;
}

/* Desktop tweaks */
@media (min-width: 768px) {
  main {
    min-height: calc(100vh - 140px);
    padding: 3rem 2rem;
  }
  .image-frame { padding: 1.75rem; }
  .product-ad { margin-top: 1.25rem; }
}