/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body {
  color: #e7eaf6;
  background: #0a0f1a;
  /* blue radial gradient backdrop with pink accents for hacker vibe */
  background-image:
    radial-gradient(circle at 15% 15%, rgba(60,180,255,.25) 0 40%, transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(255,0,170,.15) 0 40%, transparent 40%);
  background-color: #0a1020;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light reset for margins/padding across the page */
main, footer { padding: 0; margin: 0; }

/* Layout: mobile-first, center content with frosted glass panels */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: min(94vw, 900px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 6px 40px rgba(0,0,0,.45),
    inset 0 0 0 rgba(0,0,0,0);
  overflow: hidden;
  /* neon glow for hacker vibe */
  outline: 1px solid rgba(0, 255, 200, 0.15);
  box-shadow: 0 0 40px rgba(255,0,180,.45), 0 6px 40px rgba(0,0,0,.45);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  /* slight cyan tint to strengthen cyberpunk aesthetic */
  mix-blend-mode: normal;
}

/* Frosted footer panel with a prominent CTA */
footer {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  isolation: isolate;
  background: rgba(8, 14, 28, 0.25);
  border-top: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: 100%;
}

.product-ad {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.product-ad h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #e8a4ff;
  letter-spacing: .4px;
}
.product-ad p {
  margin: 0;
  color: #e5e7eb;
}
.product-ad a {
  display: inline-block;
  padding: .6rem 1rem;
  margin-top: .35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4bdc 0%, #e400c0 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(228,0,140,.6);
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Accessibility: focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #9ae6b4;
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Typography helpers for better legibility near bright backgrounds */
p, li {
  color: #dbe4f3;
}
h1, h2, h3 {
  color: #e9e6ff;
  margin: 0;
  line-height: 1.15;
}

/* Responsive: widen hero on larger screens, keep compact on mobile */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 140px); }
  .image-frame { padding: 1rem; border-radius: 22px; }
}
@media (min-width: 900px) {
  main { padding: 4rem 3rem; }
  .image-frame { width: min(70vw, 1000px); }
  footer { padding: 1.75rem 2rem; }
}
