/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme variables */
:root {
  --bg: #06060b;
  --glass: rgba(10, 20, 40, 0.65);
  --cyan: #00e5ff;
  --text: #eaffff;
}

/* Galaxy starscape + neon hacker vibe (mobile-first) */
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  background: var(--bg);
  /* layered star field */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 230, 255, 0.9) 1px, transparent 2px),
    radial-gradient(circle at 40% 60%, rgba(180, 240, 255, 0.8) 1px, transparent 2px),
    radial-gradient(circle at 70% 25%, rgba(120, 240, 255, 0.9) 1px, transparent 2px),
    linear-gradient(#050509, #050509);
  background-size: 100% 100%, 100% 100%, 100% 100%, auto;
  background-repeat: no-repeat;
  background-blend-mode: screen, screen, screen, normal;
}

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

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(92vw, 860px);
  padding: 14px;
  border-radius: 18px;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(120%);
}

/* Image inside frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer + CTA styling */
footer { padding: 1.5rem 1rem; text-align: center; color: #d9feff; }

/* Frosted glass product ad with neon CTA */
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 0.75rem auto 0;
  border-radius: 12px;
  background: rgba(6, 12, 28, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text);
}

.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #eaffff;
  background: linear-gradient(135deg, #00e5ff 0%, #00baff 100%);
  box-shadow: 0 6px 14px rgba(0, 230, 255, 0.5);
}

/* Focus accessibility */
a:focus-visible, .product-ad a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 999px;
}
@media (min-width: 600px) {
  .image-frame { padding: 20px; }
  .product-ad { padding: 12px 16px; }
}