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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #e8eaff;
  background: linear-gradient(135deg, #0b1020 0%, #1a0f3a 40%, #0b0b1a 100%);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 auto;
}

.image-frame {
  width: min(92%, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* Frosted glass stripe on the bottom of the image for hacker aesthetic */
.image-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer with glassy, cyberpunk ad panel */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(12, 12, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 520px;
  width: 100%;
  margin: 0 auto 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #e9e6ff;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-ad a {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  color: #f7faff;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.75);
}

.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.6);
}

footer p {
  margin: 0.25rem 0 0;
  color: #c8c4d0;
  font-size: 0.9rem;
}

@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
}