/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto; }
body {
  margin: 0;
  color: #eaffff;
  background: linear-gradient(135deg,
    #0bd5d7 0%,
    #19cbd7 25%,
    #13b7c7 50%,
    #ff4ba0 75%,
    #f06292 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

/* Layout: mobile-first, center the hero */
main {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass frame for the image (hero) */
.image-frame {
  width: min(680px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  display: block;
}

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

/* Footer with a glassy ad card and copyright */
footer {
  padding: 1.5rem 1rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.08), rgba(0,0,0,0));
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eaffff;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.product-ad h3 {
  margin: 0 0 .5rem 0;
  font-size: 1.05rem;
  letter-spacing: .5px;
  color: #ffd9f4;
  line-height: 1.2;
}

.product-ad a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,105,180,0.95), rgba(255,0,150,0.75));
  color: white;
  font-weight: 600;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

footer p {
  color: rgba(255,255,255,.92);
  font-size: .9rem;
  text-align: center;
  margin: 0;
  padding-top: .25rem;
}

/* Accessible focus for all links */
a { color: #ffd0f0; text-decoration: none; }
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Larger screens: scale gracefully, keep layout clean */
@media (min-width: 768px) {
  .image-frame {
    width: min(860px, 80vw);
    border-radius: 28px;
  }
  .product-ad {
    padding: 1.25rem 1.5rem;
  }
}