:root {
  --bg: #000;
  --text: #e3ffe9;
  --muted: #aaf0c2;
  --glass: rgba(6, 12, 10, 0.65);
  --glow: #00ff88;
  --border: rgba(0, 255, 136, 0.6);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  /* green galaxy starscape background */
  background-image:
    radial-gradient(circle at 12% 22%, rgba(0,255,144,.60) 1px, transparent 2px),
    radial-gradient(circle at 68% 38%, rgba(0,255,144,.40) 1px, transparent 2px),
    radial-gradient(circle at 30% 75%, rgba(0,255,120,.35) 1px, transparent 2px),
    radial-gradient(circle at 88% 12%, rgba(0,255,120,.28) 1px, transparent 2px),
    #000;
  background-size: 180px 180px, 220px 220px, 160px 160px, 200px 200px, cover;
  background-attachment: fixed;
  animation: galacticDrift 60s linear infinite;
}
@keyframes galacticDrift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: -40px -30px, 20px 10px, -60px 40px, 60px -20px, 0 0; }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(0,255,140,.7) 0.5px, transparent 0.8px),
    radial-gradient(circle at 60% 70%, rgba(0,255,140,.5) 0.5px, transparent 0.8px),
    radial-gradient(circle at 80% 20%, rgba(0,255,140,.4) 0.6px, transparent 0.9px);
  background-size: 2px 2px, 2px 2px, 2px 2px;
  mix-blend-mode: screen;
  opacity: .8;
  animation: twinkle 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes twinkle {
  0%, 100% { transform: translateZ(0); opacity: .8; }
  50% { transform: scale(1.02); opacity: 1; }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

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

.image-frame {
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(8, 12, 10, 0.58);
  border: 1px solid rgba(0, 255, 140, 0.65);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 12px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: saturate(0.95) contrast(1.05);
  box-shadow: 0 0 28px rgba(0,255,140,.4);
}

footer {
  width: 100%;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #d8ffd8;
  background: rgba(0,0,0,.55);
  border-top: 1px solid rgba(0,255,140,.3);
}
.product-ad {
  display: inline-block;
  padding: .5rem;
  border-radius: 999px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(0,255,140,.65);
  margin-bottom: .75rem;
  text-align: center;
  transition: transform .2s ease;
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  color: #a6ffb4;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  display: inline-block;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,255,120,.9), rgba(0,255,100,.9));
  color: #062012;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,128,60,.8);
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 3px solid #7dffb0;
  outline-offset: 2px;
}
.product-ad:hover { transform: translateY(-1px) scale(1.01); }
footer p { font-size: .85rem; opacity: .92; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #7dffb0;
  outline-offset: 2px;
  border-radius: 6px;
}

@media (min-width: 768px) {
  main { padding: 4rem 2rem; }
  footer { padding: 2rem 0; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(760px, 78vw); }
}