/* Reset and base styles (light reset) */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: #eaeaea;
  /* Lime sunset gradient background for cyberpunk vibe */
  background: linear-gradient(135deg,
    #b6ff6a 0%,
    #8bff88 20%,
    #ffd36b 50%,
    #ff6b9f 75%,
    #2f2f2f 100%);
  min-height: 100vh;
  line-height: 1.4;
  letter-spacing: .2px;
  background-attachment: fixed;
}

/* Mobile-first layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 1.75rem;
  width: 100%;
}

/* Frosted glass card for the hero image (image-frame) */
.image-frame {
  width: min(92vw, 900px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .3s ease;
}
.image-frame:hover { transform: translateY(-2px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* subtle neon glow on the image edge to enhance cyberpunk feel */
  box-shadow: 0 0 14px rgba(0,255,150,.25);
}

/* Footer with glassy panels and CTA */
footer {
  width: 100%;
  padding: 1.25rem 1rem;
  background: rgba(0,0,0,.25);
  color: #e6e6e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* Glass card for the product ad (CTA) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.35),
              0 0 14px rgba(0,255,150,.25);
}

.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: .4px;
}

/* CTA link styled as a prominent button (accessible focus) */
.product-ad a {
  display: inline-block;
  padding: .55rem .95rem;
  border-radius: 999px;
  color: #eafffe;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  border: 1px solid rgba(0,255,170,.7);
  background: linear-gradient(135deg, rgba(0,0,0,0), rgba(0,0,0,0));
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { background: rgba(0,255,170,.15); transform: translateY(-1px); }
.product-ad a:focus { outline: 2px solid #00ff88; outline-offset: 2px; }

/* Footer copy styling */
footer p {
  margin: 0;
  font-size: .85rem;
  opacity: .9;
  text-align: center;
}

/* Focus visibility for keyboard users on interactive elements */
:focus-visible { outline: 2px solid #00ff88; outline-offset: 2px; }

/* Responsive tweaks: tablet and up */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(900px, 86vw); padding: 1.25rem; }
  footer { padding: 1.75rem 2rem; }
}

/* Desktop layout tweaks: align footer items horizontally */
@media (min-width: 1024px) {
  footer { flex-direction: row; justify-content: center; align-items: center; gap: 2rem; }
  .product-ad { min-width: 320px; }
}