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

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #f5f5f5;
  background: #0a0a0f;
  line-height: 1.4;
  /* gold waves background (soft, decorative) */
  background-image:
    radial-gradient(circle at 20% 100%, rgba(255,214,0,.28) 0 60px, transparent 61px),
    radial-gradient(circle at 80% 100%, rgba(255,223,102,.20) 0 70px, transparent 71px),
    linear-gradient(#0a0a0f, #0a0a0f);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  overflow-x: hidden;
}

main { display: flex; align-items: center; justify-content: center; padding: 4rem 1rem 2rem; min-height: 60vh; }

.image-frame {
  position: relative;
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08); /* frosted glass */
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  overflow: hidden;
}

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

footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: #d8d8d8;
  background: rgba(0,0,0,0.25);
}

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

.product-ad h3 {
  margin: 0 0 .25rem 0;
  font-size: .95rem;
  color: #ffd166;
  letter-spacing: .3px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(#e50914, #b50f2e);
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.product-ad a:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }

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

/* Focus styles for links anywhere for accessibility */
a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile-first adjustments */
@media (max-width: 639px) {
  .image-frame { width: 94%; padding: .75rem; border-radius: 16px; }
  footer { padding: 1.25rem 1rem 1.75rem; }
}

/* Larger screens: more breathing room and a slightly larger frame */
@media (min-width: 900px) {
  main { padding: 6rem 2rem 3rem; }
  .image-frame { width: 60%; }
}