/* Base reset (light) */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: #e8f2ff;
  background-color: #2b1f12; /* brown base */
  /* brown zigzag background (mobile-first, lightweight) */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.18) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,.18) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.18) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.18) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-blend-mode: overlay;
}

/* Layout: mobile-first hero + frosted glass image frame */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 6rem);
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

/* Content image */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Frosted glass overlay for hacker/cyberpunk vibe */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,.22), rgba(255,255,255,.04));
  mix-blend-mode: screen;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Footer with a prominent blue CTA and glassy cyberpunk style */
footer {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 1rem;
}

/* Product Ad block (CTA) */
.product-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(18, 34, 70, 0.55);
  border: 1px solid rgba(58, 180, 255, 0.6);
  color: #eaf6ff;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  width: max-content;
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .4px;
}

/* CTA button (link inside) styled as a pill button, accessible focus */
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b5bd8 0%, #2ec5ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,.8);
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.6);
}
.product-ad a:focus-visible p {
  outline: 3px solid #89c2ff;
  outline-offset: 2px;
}

/* Footer copy */
footer p {
  margin: 0;
  text-align: center;
  font-size: .9rem;
  color: #cbd5e0;
}

/* Small screens: ensure good spacing and readability */
@media (min-width: 640px) {
  .image-frame { border-radius: 28px; }
  footer { padding: 1.5rem 1rem; }
}
@media (min-width: 900px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 8rem); }
  .product-ad { font-size: 1.02rem; }
}