/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  color: #eaffff;
  background-color: #0a0e1a;
  /* Gold-noise texture feel with layered gradients */
  background-image:
    radial-gradient(circle at 10% 10%, rgba(212,168,0,.15), transparent 25%),
    radial-gradient(circle at 60% 40%, rgba(212,168,0,.25), transparent 25%),
    linear-gradient(#0a0e1a 0, #070b18 100%);
  background-size: 160px 160px, 140px 140px, cover;
  background-blend-mode: overlay;
  position: relative;
  min-height: 100vh;
}

/* Subtle gold speckle overlay to resemble a texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(214,173,37,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(214,173,37,.08) 25%, transparent 25%),
    radial-gradient(circle at 25% 25%, rgba(214,173,37,.12) 0 2px, transparent 2px);
  background-size: 12px 12px, 12px 12px, 4px 4px;
  mix-blend-mode: overlay;
  opacity: .55;
  filter: saturate(120%);
  z-index: 0;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 48px 1rem 2rem;
  min-height: 60vh;
  position: relative;
  z-index: 1;
}

.image-frame {
  width: min(92%, 720px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(180,210,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.image-frame:hover { transform: translateY(-2px); }

/* Image styling (hero visual) */
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  outline: 0;
  border: 1px solid rgba(180,210,255,.25);
}

/* Glassy footer / ad with neon vibe */
footer {
  text-align: center;
  padding: 1.75rem 1rem 3rem;
  color: #d6e8ff;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(8,12,28,.62);
  border: 1px solid rgba(120,170,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0 auto 1rem;
  width: max-content;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #eaffff;
  text-shadow: 0 0 6px rgba(0,170,255,.8);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b5bd3, #0ea5e9);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  letter-spacing: .2px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,170,255,.6);
  transition: transform .2s ease;
  text-shadow: 0 0 6px rgba(255,255,255,.25);
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Focus accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid #7bdfff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Links default to visible text color for accessibility */
a { color: inherit; }

/* Typography tweaks for cyberpunk vibe on small screens */
@media (max-width: 599px) {
  .product-ad h3 { font-size: .95rem; }
  .image-frame { border-radius: 16px; }
}

/* Responsive tweaks for larger screens */
@media (min-width: 600px) {
  main { padding: 6rem 2rem 3rem; }
  .product-ad { padding: 1.1rem 1.25rem; }
  .product-ad a p { padding: .75rem 1.25rem; font-size: 1rem; }
}

@media (min-width: 1024px) {
  main { padding: 8rem 2rem 4rem; }
  .image-frame { width: min(720px, 60vw); }
}