/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #14b8a6;
  --teal-dark: #0f9a8a;
  --text: #0b1b1b;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.28);
}

html, body { height: 100%; }

/* Mobile-first, light silver gradient background with hacker-teal accents */
body {
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: linear-gradient(135deg, #e2e4e7 0%, #cbd3d9 50%, #e2e4e7 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

/* Layout container for hero */
main {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 28px 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Frosted-glass image frame (hero) */
.image-frame {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 0;
}

/* Neon-like glow around the frame (hacker/cyberpunk vibe) */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(20, 184, 166, 0.8);
  box-shadow: 0 0 22px rgba(20, 184, 166, 0.8);
  pointer-events: none;
  /* keep the glow on top without covering the image edge */
  mix-blend-mode: screen;
}

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

/* Frosted glass footer with CTA block */
footer {
  margin-top: 20px;
  width: 100%;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
}

/* Featured product ad (glass card) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  width: min(600px, 92%);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

/* Ad heading */
.product-ad h3 {
  font-size: 1rem;
  color: #0b3a3a;
  letter-spacing: .2px;
}

/* CTA button-styled link */
.product-ad a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f6a6a, #14b8a6);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(20, 184, 166, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.65);
}
.product-ad a:focus-visible {
  outline: 3px solid #2dd4bf;
  outline-offset: 2px;
}

/* Footer copy */
footer p {
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  padding: 6px 0;
}

/* Focus-visible for all interactive elements (accessibility) */
a:focus-visible {
  outline: 3px solid #2dd4bf;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 40px 0; }
  .image-frame { border-radius: 22px; }
  footer { padding: 22px 0; }
  .product-ad { flex-direction: row; gap: 16px; align-items: center; }
  .product-ad h3 { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .image-frame { max-width: 1100px; }
  .product-ad { padding: 18px; }
}