/* Reset & basics */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #2b2b1f;
  background: #f6edd6;
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
}

/* Yellow abstract blur background (light, responsive to viewport) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 223, 128, 0.75) 0 22%, transparent 25%),
    radial-gradient(circle at 70% 30%, rgba(246, 214, 120, 0.65) 0 28%, transparent 34%),
    radial-gradient(circle at 50% 85%, rgba(255, 200, 110, 0.5) 0 40%, transparent 45%);
  filter: blur(40px);
  pointer-events: none;
  /* keep under content but visible across devices */
  will-change: transform;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass hero image frame (beige + glass) */
.image-frame {
  width: 100%;
  max-width: 760px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  position: relative;
  backdrop-filter: saturate(1.2) blur(2px);
  -webkit-backdrop-filter: saturate(1.2) blur(2px);
}

/* Image fills frame cleanly */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer with frosted glass ad + beige vibe */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #6a5a3b;
  background: linear-gradient(#f8f0e0 0 0);
}

/* Frosted glass product ad (CTA) */
.product-ad {
  display: inline-block;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #8a6b2a;
}

.product-ad p { margin: 0; padding: 0; }

/* CTA button styling for the link inside the ad (even though it's a link) */
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe28b 0%, #f9c64f 60%, #e5af3a 100%);
  color: #2b2b1f;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
}
.product-ad a p {
  margin: 0;
  padding: 0;
}
.product-ad a:focus { outline: none; }

/* Basic typography tweaks for cyberpunk beige vibe social elements */
footer p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #7b6a46;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 24px; }
  .product-ad { margin-top: 0.5rem; }
}
