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

/* Theme vars */
:root {
  --turq: #2ff0e7;
  --purple: #8a5fff;
  --panel: rgba(255, 255, 255, 0.08);
  --text: #e8e1ff;
}

/* Light reset + base */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: #0a0a1a;
  /* turquoise dot pattern background (mobile-first, subtle glow) */
  background-image: radial-gradient(circle, rgba(47, 255, 231, 0.65) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92%, 720px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  /* subtle neon edge for hacker vibe */
  box-shadow: 0 0 12px rgba(47, 240, 231, 0.6);
}

/* Footer / CTA area */
footer {
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

/* Featured product card (frosted, neon) */
.product-ad {
  width: min(92%, 420px);
  padding: .75rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 .5rem;
  color: #9af;
  letter-spacing: .2px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  outline: none;
}

/* CTA button look inside the link */
.product-ad p {
  margin: 0;
  padding: .6rem 0;
  color: white;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,0));
}

/* Use a neon pill button as the CTA */
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(40,0,60,.95), rgba(12,0,40,.95));
  color: #eaffff;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(124, 0, 255, 0.6), inset 0 0 6px rgba(0,0,0,.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124, 0, 255, 0.9);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--turq);
  outline-offset: 2px;
}

/* Small screens first; tweaks for larger viewports */
@media (min-width: 700px) {
  main { padding-top: 4rem; padding-bottom: 2rem; }
  footer { padding-bottom: 3rem; }
}