/* Cyberpunk neon frosted glass landing – single stylesheet */

/* Reset & root colors */
:root {
  --bg: #000;
  --fg: #e7e7ee;
  --mag: #ff00ff;
  --mag-dark: #b800ff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 0, 255, 0.5);
  --shadow: 0 0 1.2rem rgba(255, 0, 255, 0.65);
  --shadow-soft: 0 0 2rem rgba(255, 0, 255, 0.45);
  --focus: 2px solid #fff;
  --radius: 20px;
  --radius-sm: 14px;
}

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }

/* Global styling: black neon glow background with hacker vibe */
body {
  color: var(--fg);
  background: #000;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255,0,200,.15), transparent 20%),
    radial-gradient(circle at 90% 100%, rgba(0,255,200,.15), transparent 25%);
  background-attachment: fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  line-height: 1.4;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* subtle neon grid overlay via repeating-linear-gradient (soft, small footprint) */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255,0,255,.15), transparent 20%),
    radial-gradient(circle at 90% 100%, rgba(0,255,180,.15), transparent 25%);
  background-size: cover;
}

/* Layout: mobile-first */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame around the image (neon magenta glow) */
.image-frame {
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08); /* frosted glass base */
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow:
    0 0 1.5rem rgba(255, 0, 255, 0.45),
    inset 0 0 1rem rgba(255, 0, 255, 0.25);
  overflow: hidden;
  position: relative;
}

/* Image content inside frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  box-shadow: 0 0 1rem rgba(255, 0, 255, 0.8);
  outline: 2px solid rgba(0,0,0,.15);
}

/* Subtle ambient glow to reinforce neon vibe */
.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 0 40px 6px rgba(255, 0, 255, 0.25);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Footer with a cyberpunk product ad CTA */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: #ddd;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.0));
}
.product-ad {
  display: inline-block;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(15, 15, 25, 0.66);
  border: 1px solid rgba(255, 0, 255, 0.4);
  margin: 0.25rem auto 0.75rem;
  box-shadow: 0 0 1rem rgba(255,0,255,.55);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0 0 .25rem;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  display: inline-block;
  padding: .35rem .8rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,0,255,.95), rgba(160,0,180,.95));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 0.6rem rgba(255,0,255,.9);
  font-size: .88rem;
}
footer p {
  font-size: .8rem;
  opacity: .8;
  margin: 0.25rem 0;
}

/* Links and focus states for accessibility */
a,
button {
  color: var(--mag);
  text-decoration: none;
  outline: none;
}
a:focus-visible,
button:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
  box-shadow: 0 0 0.6rem #fff;
  /* ensure visibility for keyboard navigation on neon background */
}

/* Responsive tweaks: scale up hero and CTA on larger viewports */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: calc(var(--radius) + 2px); padding: 1.25rem; }
  .product-ad { font-size: 0.95rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(900px, 78vw); }
  footer { padding: 2rem 2rem 3rem; }
}