/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: #e9e7ff;
  min-height: 100%;
  /* blue carbon-fiber background with frosted cyberpunk vibe */
  background-color: #070b15;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(0, 140, 255, 0.14) 0px, rgba(0,140,255,0.14) 4px,
      rgba(0,0,0,0) 4px, rgba(0,0,0,0) 8px),
    repeating-linear-gradient(-45deg,
      rgba(120, 0, 190, 0.12) 0px, rgba(120,0,190,0.12) 4px,
      rgba(0,0,0,0) 4px, rgba(0,0,0,0) 8px),
    linear-gradient(#051028, #040720);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  background-attachment: fixed;
  /* subtle glow around content */
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 25% 20%, rgba(80, 0, 255, .25), transparent 40%),
              radial-gradient(circle at 75% 60%, rgba(0, 180, 255, .25), transparent 40%);
  mix-blend-mode: screen;
  filter: saturate(110%);
}

/* Link defaults for accessibility */
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(99, 102, 241, .65); border-radius: 6px; }

/* Layout: mobile-first hero style */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Hero frame with frosted glass feel and neon accents */
.image-frame {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(180, 170, 255, 0.45);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 20px 50px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.05);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.image-frame::before,
.image-frame::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.image-frame::before {
  top: 0; height: 40%;
  background: radial-gradient( circle at 20% -10%, rgba(120,80,255,.25), transparent 40% ),
              radial-gradient(circle at 80% 0%, rgba(0,180,255,.18), transparent 40%);
  mix-blend-mode: screen;
}
.image-frame::after {
  bottom: 0; height: 40%;
  background: linear-gradient(to top, rgba(10,20,40,.8), rgba(10,20,40,0));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-top: 1px solid rgba(255,255,255,.25);
}

/* Frosted glass bottom strip for readability on hero (subtle) */
.image-frame::backdrop { content: ""; }

/* Footer with prominent CTA button styling */
footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: #cbd3e9;
}
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 18, 40, 0.6);
  border: 1px solid rgba(120, 100, 255, .6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 16px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #d8d7ff;
  letter-spacing: .2px;
}
.product-ad a { display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f4aff 0%, #1ab2ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  display: inline-block;
}
footer p { margin: 0.75rem 0 0; font-size: .82rem; color: #a6a9d6; }

/* Focus helpers for keyboard users on interactive elements inside footer */
.product-ad a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(98, 93, 255, .65); border-radius: 999px; }

/* Responsiveness: scale for larger screens, mobile first is default */
@media (min-width: 600px) {
  main { padding: 3rem 1.5rem; }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { border-radius: 28px; }
  .image-frame::after { height: 42%; }
}
