:root {
  --pink: #ff4f97;
  --pink-dark: #d0437b;
  --silver: #cbd5e1;
  --bg: #0b0b12;
}

*,
*::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, "Helvetica Neue", Arial;
  color: #e8eaf6;
  background-color: var(--bg);
  background-image:
    linear-gradient(45deg, rgba(255, 0, 120, 0.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 0, 140, 0.25) 25%, transparent 25%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Frosted glass card for the hero image frame */
.image-frame {
  position: relative;
  width: min(92vw, 760px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  isolation: isolate;
  z-index: 1;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.08) 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer with frosted glass look and a featured product card */
footer {
  margin-top: 2rem;
  padding: 1.75rem 1rem;
  text-align: center;
  color: #e9eefc;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 0.5rem;
}

.product-ad h3 {
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
  letter-spacing: .2px;
}

.product-ad a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
  margin-top: 0.25rem;
}

.product-ad a:hover { transform: translateY(-1px); background: rgba(0, 0, 0, 0.32); }
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

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

/* Accessible defaults for links */
a { color: #e5e7eb; }

/* Responsive tweaks for larger screens */
@media (min-width: 900px) {
  main { padding: 4rem 1rem; }
  .image-frame { width: min(70vw, 820px); }
  footer { padding: 2rem 1rem; }
}