/* Reset and base setup */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --pink: #ff4da6;
  --pink-dark: #e7428a;
  --lime: #a6ff4d;
  --lime-glow: #b6ff66;
  --glass: rgba(15, 15, 22, 0.6);
  --glass-border: rgba(255,255,255,0.22);
  --txt: #eaffd0;
}
html { font-size: 16px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--txt);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--pink);
  /* Pink polka dots background */
  background-image:
    radial-gradient(circle at 6px 6px, rgba(255,255,255,.9) 2px, transparent 2px),
    radial-gradient(circle at 26px 26px, rgba(255,255,255,.65) 2px, transparent 2px);
  background-size: 28px 28px, 56px 56px;
  background-position: 0 0, 14px 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }

/* Mobile-first layout */
main {
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1 0 auto;
}
.image-frame {
  width: min(92vw, 900px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.image-frame img { width: 100%; height: auto; display: block; }

/* Frosted glass footer area for the product/ad and meta */
footer {
  width: 100%;
  text-align: center;
  padding: 1rem 0 2rem;
  margin-top: auto;
}
.product-ad {
  display: inline-block;
  width: min(92vw, 720px);
  padding: 14px;
  border-radius: 14px;
  background: rgba(4,4,12,.55);
  border: 1px solid rgba(0,255,170,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: left;
}
.product-ad h3 {
  font-size: 1.05rem;
  color: var(--lime);
  text-shadow: 0 0 8px rgba(0,255,120,.6);
  margin-bottom: 6px;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(0,255,140,.25);
  color: #eaffc0;
  text-decoration: none;
  border: 1px solid rgba(0,255,140,.8);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: rgba(0,255,140,.4);
}
.product-ad a:focus-visible {
  outline: 3px solid #6dff7a;
  outline-offset: 2px;
}
.product-ad a p { margin: 0; padding: 0; font-size: 1rem; }

/* Subtle footer text color for copyright */
footer p {
  color: rgba(235, 255, 210, .8);
  font-size: .92rem;
  margin: .6rem 0 0;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .product-ad { padding: 16px; }
  .product-ad h3 { font-size: 1.15rem; }
}
@media (min-width: 900px) {
  body { background-size: 26px 26px, 52px 52px; }
  .image-frame { border-radius: 22px; }
  .product-ad { padding: 18px; }
}