/* Reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaf4ff;
  /* brown waves background with a hacker/navy vibe */
  background:
    linear-gradient(#2b1b0a 0%, #2b1b0a 60%, #1b0f07 100%),
    radial-gradient(circle at 15% 0%, rgba(141, 95, 54, .25) 0 60px, transparent 60px) 0 0/ 120px 60px,
    radial-gradient(circle at 85% 20%, rgba(78, 40, 24, .25) 0 60px, transparent 60px) 0 0/ 120px 60px;
  background-blend-mode: multiply;
  min-height: 100vh;
  width: 100%;
  /* reduce motion preference if needed later */
}
/* Subtle glow for cyberpunk vibe on text
   (kept light to maintain accessibility) */
h1, h2, h3, h4, h5 { text-shadow: 0 0 6px rgba(0, 230, 255, 0.35); }

/* Layout helpers (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
}
.image-frame {
  width: min(92vw, 860px);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8,12,28,.60);
  border: 1px solid rgba(0, 180, 255, .28);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  /* slight cool tint for hacker aesthetic */
  filter: saturate(0.95) contrast(1.05);
}
footer {
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(7,9,26,.55);
  border-radius: 14px;
  border: 1px solid rgba(0, 180, 255, .25);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  color: #eaf7ff;
  display: flex;
  align-items: center;
  gap: .5rem;
  text-shadow: 0 0 6px rgba(0, 230, 255, 0.9);
}
.product-ad p { margin: 0; }
.product-ad a {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1rem;
  border-radius: 999px;
  color: #001018;
  background: linear-gradient(135deg, rgba(0,230,255,.95), rgba(0,255,210,.95));
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.7);
  margin-top: .35rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,230,255,.9);
}
footer p {
  color: #cbd8f0;
  margin: 0;
  font-size: .95rem;
  opacity: .9;
}
/* Focus visibility for all links when keyboard-navigated */
:focus-visible {
  outline: 3px solid rgba(0, 230, 255, 0.9);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame { width: min(700px, 78vw); }
  footer { padding: 2rem 2rem; }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: 60%; }
  .product-ad { flex-direction: column; min-width: 320px; }
}
