:root {
  --bg-dark: #02070a;
  --glass: rgba(10, 18, 32, 0.6);
  --stroke: rgba(0, 255, 255, 0.28);
  --white: #eaffff;
  --cyan: #00e6ff;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  background: radial-gradient(circle at 20% 0%, rgba(0, 230, 255, 0.15), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(0, 230, 255, 0.12), transparent 40%),
              linear-gradient(#02060a, #02060a);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(92vw, 900px);
  background: rgba(12, 22, 34, 0.58);
  border-radius: 20px;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--stroke);
  box-shadow: 0 0 60px rgba(0, 230, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow 6s ease-in-out infinite;
}

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

/* Footer and product ad styling as frosted panels */
footer {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.product-ad {
  background: rgba(8, 16, 24, 0.55);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  max-width: 90vw;
  box-shadow: 0 0 40px rgba(0, 230, 255, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #eaffff;
}

.product-ad a {
  text-decoration: none;
}

.product-ad a p {
  margin: 0;
  padding: .65rem 1rem;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  color: #041a1f;
  background: linear-gradient(90deg, #19e6ff, #00d2ff);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
  transition: transform .2s ease;
}

.product-ad a p:focus-visible,
.product-ad a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 999px;
}

.product-ad a p:hover {
  transform: translateY(-1px);
}

footer > p {
  margin: 0;
  padding-top: .75rem;
  font-size: .85rem;
  color: #a0f;
  opacity: .9;
}

/* Focus styles for accessibility on links/buttons in general */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Neon glow pulse for cyberpunk vibe on large screens */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 40px rgba(0, 230, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 90px rgba(0, 230, 255, 0.8);
  }
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  .product-ad {
    padding: 1.15rem 1.4rem;
  }
  .product-ad h3 {
    font-size: 1.08rem;
  }
}

@media (min-width: 1024px) {
  main {
    padding: 3rem 0;
  }
  .image-frame {
    width: 900px;
    padding: 1.6rem;
  }
  .product-ad {
    padding: 1.25rem 1.75rem;
  }
  .product-ad h3 {
    font-size: 1.15rem;
  }
}