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

:root {
  --bg-deep: #1b0f2b;
  --bg-deep-2: #1a0f25;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.14);
  --text: #e8e8ea;
  --muted: #a6a6aa;
  --accent: #8a5fff;
  --card-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

html, body {
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg-deep);
  /* purple paper texture built with layered gradients for a lightweight texture */
  background-image:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.08) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.05) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(56,0,70,.9) 0%, rgba(18,6,36,.9) 60%, rgba(28,10,40,.95) 100%);
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
  flex: 1 1 auto;
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: saturate(0.95);
}

footer {
  padding: 1.5rem;
  text-align: center;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: 100%;
}

.product-ad {
  display: inline-block;
  padding: .4rem;
  margin-bottom: .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
}

.product-ad h3 {
  font-size: .92rem;
  margin-bottom: .25rem;
  font-weight: 700;
  color: #eaeaea;
  letter-spacing: .2px;
}

.product-ad p {
  margin: .25rem 0;
  color: #e9e9e9;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #6a5fff, #8a5fff);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: 0 6px 14px rgba(138,95,255,.7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(138,95,255,.9);
}
.product-ad a:focus-visible {
  outline: 3px solid #9b5cff;
  outline-offset: 2px;
}

a { color: #d3d3d3; text-decoration: none; }
p { color: #c9c9c9; }

@media (min-width: 768px) {
  main { padding: 3rem; }
  .image-frame { width: min(70vw, 860px); }
  .product-ad h3 { font-size: 1rem; }
}

@media (min-width: 1024px) {
  main { padding: 4rem; }
  .image-frame { border-radius: 22px; padding: 1.25rem; }
  .product-ad { padding: .6rem 1rem; }
}