/* Minimal, responsive CSS for hacker/cyberpunk landing with frosted glass, magenta gradient backdrop, and accessible focus styles */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f7f7f7;
  /* Magenta gradient background with maroon undertones for a hacker vibe */
  background: linear-gradient(135deg, #ff2bd6 0%, #c6003a 40%, #3a0d0d 100%);
  min-height: 100vh;
  line-height: 1.4;
  background-attachment: fixed;
}

/* Smooth rendering helpers */
:root {
  --glow: 0 0 0 3px rgba(255,255,255,.8);
  --glass: rgba(255,255,255,.14);
  --glass-border: rgba(255,255,255,.28);
  --text: #f9f9f9;
  --muted: rgba(255,255,255,.75);
  --maroon-900: #2b0000;
  --maroon-700: #520606;
  --magenta-500: #ff2bd6;
  --magenta-600: #d400a8;
  --shadow: 0 8px 24px rgba(0,0,0,.28);
}

main {
  display: grid;
  place-items: center;
  padding: 4rem 1rem 2rem;
  min-height: calc(100vh - 140px);
  position: relative;
  z-index: 0;
}

/* Frosted glass frame around the image (the hero) */
.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.08));
  pointer-events: none;
  mix-blend-mode: overlay;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Subtle neon edge glow to enhance cyberpunk vibe */
.image-frame {
  outline: 1px solid rgba(255,255,255,.18);
  outline-offset: -6px;
}
.image-frame:hover {
  filter: saturate(1.08);
  transform: scale(1.01);
  transition: transform .25s ease;
}

/* Footer area with frosted glass product ad */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #ffdfe8;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.15));
}

.product-ad {
  display: inline-block;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  margin-bottom: .75rem;
  text-align: center;
}

.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  color: #ffd5f0;
  letter-spacing: .4px;
}
.product-ad p {
  margin: 0;
  color: #ffe5f0;
  font-size: .95rem;
  opacity: .95;
}

/* CTA styling for the featured product link (neon CTA look) */
.product-ad a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  /* vivid magenta-to-maroon gradient for CTA button */
  background: linear-gradient(135deg, rgba(255,0,170,.95) 0%, rgba(130,0,65,.95) 100%);
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,.32);
}
.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 6px rgba(0,0,0,.25);
}

/* Accessibility: ensure focus ring for keyboard navigation on any interactive elements */
a:focus-visible {
  outline: none;
  box-shadow: var(--glow);
  border-radius: 999px;
}

/* Small screens: build up to comfortable sizes by adjusting the frosted panel if needed */
@media (min-width: 768px) {
  main {
    padding: 6rem 2rem 3rem;
  }
  .image-frame {
    width: min(72vw, 820px);
  }
}
@media (min-width: 1024px) {
  main {
    padding: 8rem 2rem 4rem;
  }
}
