*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
:root {
  --magenta: #ff00a8;
  --magenta-dark: #9a0056;
  --turquoise: #2ff6e1;
  --turquoise-dark: #12d3c0;
  --panel: rgba(255, 255, 255, 0.08);
  --edge: rgba(255, 255, 255, 0.25);
  --text: #eaffff;
}
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
  color: var(--text);
  background-color: #1a001c;
  /* magenta carbon-fiber vibe */
  background-image:
    linear-gradient(135deg, rgba(255,0,170,.25) 25%, rgba(0,0,0,0) 25%),
    linear-gradient(-45deg, rgba(0,255,230,.15) 25%, rgba(0,0,0,0) 25%);
  background-position: 0 0, 10px 10px;
  background-size: 40px 40px, 40px 40px;
  background-repeat: repeat;
  min-height: 100%;
}
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}
.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25),
              0 20px 60px rgba(0, 0, 0, 0.35);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) brightness(0.98);
}
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  width: 100%;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 0 auto 0.75rem;
  background: rgba(5, 5, 15, 0.6);
  border: 1px solid rgba(0, 255, 230, 0.6);
  backdrop-filter: blur(6px);
  min-width: 240px;
  max-width: 420px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--turquoise);
  text-shadow: 0 0 8px rgba(47, 246, 226, 0.6);
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 246, 226, 0.8);
  background: rgba(0, 0, 0, 0.35);
  color: #eaffff;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-top: 0.25rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.5);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad p {
  margin: 0.25rem 0 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: #eaffff;
}
footer p {
  color: rgba(230, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* Mobile-first adjustments */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 20px; }
}
@media (min-width: 960px) {
  main { grid-template-columns: 1fr; gap: 2rem; justify-items: center; }
  .image-frame { width: min(70vw, 760px); aspect-ratio: 16/9; }
}