/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; }

/* Theme variables (teal background, navy accents, frosted glass) */
:root {
  --teal: #0e7f7a;
  --navy: #0a1b2b;
  --glass: rgba(2, 6, 20, 0.65);
  --text: #e6fbff;
  --accent: #00ffd6;
  --shadow: 0 12px 28px rgba(0,0,0,.25);
}

/* Mobile-first baseline */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: var(--teal);
  display: grid;
  place-items: center;
  padding: 1rem;
  line-height: 1.4;
}

/* Layout container */
main { width: 100%; max-width: 940px; }

/* Hero image frame with frosted/glass touches (no extra HTML) */
.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.image-frame::before {
  /* subtle frosted glass tint at the bottom for depth */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(2,6,20,.9), rgba(2,6,20,0));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}
.image-frame::after {
  /* soft glass overlay across the image for hacker vibe */
  content: "";
  position: absolute; inset: 0;
  background: rgba(2,6,20,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Footer area with frosted glass card for CTA */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.product-ad {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(2, 6, 20, 0.6);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: min(92%, 520px);
  justify-content: space-between;
  color: #dff7ff;
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .55rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  color: #e8fbff;
  background: #0b2540;
  border: 1px solid rgba(0, 255, 240, .5);
  transition: transform .15s ease, background .3s ease;
}
.product-ad a p:hover { transform: translateY(-1px); background: #0b2f64; }

/* Focus styles for accessibility on CTA */
.product-ad a:focus-visible p {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame { border-radius: 24px; }
  .product-ad { width: min(900px, 92%); }
}
@media (min-width: 900px) {
  body { padding: 2rem; }
  main { display: grid; gap: 2rem; }
  .image-frame { aspect-ratio: 16 / 9; }
  .product-ad { align-self: end; }
}