:root {
  --pink: #ff4fa3;
  --pink-dark: #d83f88;
  --yellow: #ffd76e;
  --bg: #0b0b12;
  --text: #f3f3f3;
  --card: rgba(255,255,255,0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: var(--bg);
  /* yellow circuit board vibe with pink neon accents */
  background-image:
    radial-gradient(circle at 14px 14px, rgba(255,255,170,0.25) 2px, transparent 2px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(255, 214, 60, 0.18) 0 2px, transparent 2px 20px);
  background-blend-mode: overlay;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 60% 40%, rgba(255,0,180,0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 70%, rgba(255,0,180,0.08) 0%, transparent 40%);
  filter: blur(0.5px);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  position: relative;
}

/* Frosted glass hero frame around the image */
.image-frame {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1rem;
  width: min(92vw, 720px);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s ease;
}
.image-frame:hover,
.image-frame:focus-within {
  box-shadow: 0 0 0 6px rgba(255, 0, 170, 0.25), 0 20px 60px rgba(0,0,0,0.65);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.image-frame:focus-within { outline: none; }

/* Footer area with frosted glass ad card and tiny text */
footer {
  padding: 1rem;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eaeaea;
}
footer .product-ad {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 1rem;
  width: min(100%, 720px);
}
footer .product-ad h3 { margin: 0; font-size: 1rem; }
footer .product-ad a { text-decoration: none; display: inline-block; margin-top: .25rem; }
footer .product-ad a p {
  margin: 0;
  padding: .75rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), #ffd6ec);
  color: #1a0922;
  font-weight: 700;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 6px 18px rgba(255,0,180,0.35);
}
footer p {
  text-align: center;
  color: #c9c9c9;
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

/* Focus styles for accessibility on interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

/* Responsive tweaks - mobile-first, then scale up */
@media (min-width: 640px) {
  main { padding: 2rem 0; }
  .image-frame { width: min(720px, 84vw); }
  footer { padding: 1.25rem 0; }
}
@media (min-width: 1024px) {
  .image-frame { padding: 1.25rem; }
  footer .product-ad { flex-direction: row; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; }
  footer p { font-size: 0.95rem; }
}