/* 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, Arial; }
body {
  margin: 0;
  color: #eae6ff;
  background: linear-gradient(135deg, #2b0000 0%, #4b000f 40%, #1e0038 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout helpers for mobile-first */
main {
  width: min(92vw, 1100px);
  padding: 4rem 0;
  display: grid;
  place-items: center;
}
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px 0 40px;
}

/* Frosted glass hero (image-frame) */
.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  filter: saturate(1.05);
}

/* CTA + product ad (futuristic violet) */
.product-ad {
  display: grid;
  grid-auto-rows: max-content;
  gap: 0.5rem;
  align-items: center;
  justify-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  min-width: 240px;
  background: rgba(18, 0, 40, 0.6);
  border: 1px solid rgba(160, 0, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 26px rgba(0,0,0,0.4);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #f0e1ff;
  letter-spacing: .5px;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7b00ff 0%, #3a00a3 100%);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.5);
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 3px solid #7bdcff;
  outline-offset: 2px;
}
footer > p {
  color: rgba(230, 226, 255, 0.85);
  text-align: center;
  font-size: 0.9rem;
  margin: 8px 0 0;
  opacity: 0.9;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 6rem 0; }
  .image-frame { border-radius: 22px; }
  .image-frame img { border-radius: 18px; }
}