/* Global reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #e9f2ff;
  background: #0b1020;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* White waves background on navy hacker theme (soft, accessible) */
body::before {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 34vh;
  background: 
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.25) 0 16px, transparent 17px),
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.18) 0 16px, transparent 17px),
    linear-gradient(to bottom, rgba(0,0,0,.0) 0, rgba(0,0,0,.15) 60%, rgba(0,0,0,.25) 100%);
  background-size: 90px 40px, 90px 40px, 100% 100%;
  background-repeat: repeat-x;
  opacity: .9;
  filter: saturate(1.2);
  z-index: -1;
  pointer-events: none;
}

/* Layout: mobile-first hero area */
main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Frosted glass image frame as the hero piece */
.image-frame {
  width: min(92vw, 860px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(0,0,0,.5);
  overflow: hidden;
}

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

/* Footer with a cyberpunk-ad style CTA */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #dbeaff;
  background: #090f1f;
  margin-top: auto;
}

/* Product ad block with frosted glass feel */
.product-ad {
  display: inline-block;
  padding: .75rem;
  margin: .25rem auto 0;
  border-radius: 12px;
  background: rgba(8,12,32,.75);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 .5rem;
  color: #e7f5ff;
  text-shadow: 0 0 8px rgba(0,255,255,.4);
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(2, 48, 110, .95);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  margin: 0;
}
.product-ad a:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; border-radius: 999px; }

/* Basic link styling with accessible contrast */
a { color: #7bdfff; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Small screen tweaks */
@media (min-width: 600px) {
  main { padding: 3rem 1rem; }
  .image-frame { padding: 1.25rem; }
  footer { font-size: 0.95rem; }
  .product-ad { transform: translateZ(0); }
}
