*,
*::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, Inter, Arial;
  color: #eae6ff;
  line-height: 1.4;
  /* violet noise texture look with a cyberpunk gradient base */
  background-color: #140b2a;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 2px, transparent 2px),
    radial-gradient(circle at 3px 3px, rgba(0,0,0,.04) 2px, transparent 2px);
  background-size: 4px 4px, 6px 6px;
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-repeat: repeat;
}

:root {
  --coral: #ff6f61;
  --coral-dark: #ff5a50;
  --card: rgba(255,255,255,.08);
  --card-border: rgba(255,255,255,.25);
  --text: #e9e0ff;
  --muted: #c6b6ff;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  min-height: calc(100vh - 160px);
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

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

footer {
  padding: 28px 16px;
  text-align: center;
  color: #e9e1ff;
  background: rgba(20, 0, 40, 0.25);
  border-top: 1px solid rgba(255,255,255,.08);
}

.product-ad {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #ffd0d9;
  letter-spacing: .3px;
}

.product-ad a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--coral), #ff3b59);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 14px rgba(255,107,97,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover,
.product-ad a:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255,107,97,.7);
  outline: none;
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 12px;
}

footer p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #c9baff;
  opacity: .95;
}

/* Focus styles for accessibility on all interactive elements (anchors in this layout) */
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile-first scale, then refine with breakpoints for larger viewports */
@media (min-width: 640px) {
  main { padding: 64px 24px; min-height: calc(100vh - 140px); }
  .image-frame { border-radius: 22px; }
  .product-ad h3 { font-size: 14px; }
}

@media (min-width: 900px) {
  main { padding: 72px 32px; }
  .image-frame { max-width: 800px; }
}