/* Global reset and color tokens */
:root {
  --green: #00ff88;
  --green-soft: rgba(0,255,136,.8);
  --bg-dark: #000;
  --card: rgba(0,0,0,.28);
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: #eafff0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: radial-gradient(circle at 20% 0%, rgba(0,255,120,.25) 0 40%, transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(0,180,0,.15) 0 40%, transparent 40%),
              #000;
  background-color: #000;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, center hero, prominent CTA below the hero image */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
}

/* Frosted glass card around the image (hero) */
.image-frame {
  width: min(94vw, 800px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 255, 120, 0.6);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
}

/* Subtle cyberpunk glow on frame edges */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(0,255,120,.25);
  pointer-events: none;
}

/* Image fills the frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Footer and the frosted product ad card */
footer {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.product-ad {
  width: min(92vw, 720px);
  padding: 0.9rem 1rem;
  text-align: center;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0, 255, 120, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eafff0;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}

.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #a7ffb3;
  text-shadow: 0 0 6px rgba(0,255,120,.6);
}

/* CTA button look and feel */
.product-ad a {
  display: inline-block;
  padding: 0.6rem 1.0rem;
  border-radius: 999px;
  color: #062f15;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0,255,120,.9), rgba(0,180,0,.6));
  border: 1px solid rgba(0,255,140,.9);
  box-shadow: 0 0 12px rgba(0,255,120,.8);
}
.product-ad a:hover {
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Footer note styling */
footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #a9a9a9;
  letter-spacing: .2px;
}

/* Responsive tweaks for larger screens */
@media (min-width: 700px) {
  main { padding: 3rem; }
  .image-frame { border-radius: 22px; }
  .product-ad { padding: 1rem 1.25rem; }
}