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

:root {
  --pink: #ff2e8a;
  --pink-deep: #e60074;
  --glass: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.25);
  --bg: #0b0f14;
  --text: #eaeaf6;
}

html, body { height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  /* subtle silver sheen with a pink cyberpunk tint */
  background-image: linear-gradient(135deg, rgba(210,210,210,.12) 0%, rgba(210,210,210,.04) 50%, rgba(210,180,200,.12) 100%);
  background-blend-mode: overlay;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  line-height: 1.4;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
}

.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0 2rem;
}
.product-ad {
  width: min(92vw, 720px);
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.product-ad h3 {
  font-size: 1rem;
  color: #ffd9ed;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff4d7a 0%, #ff3f9e 100%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 16px rgba(255,0,150,.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,0,150,.75);
}
.product-ad a:focus-visible {
  outline: 2px solid #ffd6e6;
  outline-offset: 2px;
}
.product-ad a p { margin: 0; }
footer p {
  text-align: center;
  color: #cbd5e1;
  margin: 0.75rem 0 0;
  font-size: .9rem;
  opacity: .95;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 2rem 2rem; }
  .product-ad { padding: 1.15rem; }
  .product-ad h3 { font-size: 1.05rem; }
}