/* Skyscraper Cyberpunk Landing – indigo gradient, pink accents, frosted glass, mobile-first */ 

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

/* Theme vars */
:root{
  --indigo-dark: #2a1f4a;
  --indigo-mid:  #1a0f38;
  --indigo-soft:#0a0a1e;
  --pink: #ff4fa3;
  --pink-glow: rgba(255, 79, 163, 0.9);
  --pink-dark: #e1007a;
  --text: #e9e6f8;
  --glass: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.18);
  --shadow: 0 10px 25px rgba(0,0,0,.4);
}

/* Background: indigo gradient + subtle hacker grid */
body {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  min-height: 100vh;
  /* Indigo gradient with a neon grid overlay for a cyberpunk feel */
  background:
    linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo-mid) 60%, var(--indigo-soft) 100%),
    linear-gradient(45deg, rgba(255,255,255,.04) 25%, transparent 25%) ,
    linear-gradient(-45deg, rgba(255,255,255,.04) 25%, transparent 25%);
  background-size: 40px 40px, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 0;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass frame + subtle glow on the image card */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Image frame (frosted glass hero) */
.image-frame {
  width: min(92%, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  backdrop-filter: saturate(130%) blur(8px);
  -webkit-backdrop-filter: saturate(130%) blur(8px);
  isolation: isolate;
  transition: transform .3s ease;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  /* neon glow around the frame */
  box-shadow: 0 0 28px 6px rgba(255,0,122,.25);
  pointer-events: none;
  mix-blend-mode: screen;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(110%);
  transform: scale(1.001);
}

/* Hover/focus feedback for accessibility on the frame */
.image-frame:focus-visible, .image-frame:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.15), 0 12px 36px rgba(0,0,0,.6);
}

/* Footer with frosted glass product ad */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: #d6d9e6;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0)) ;
}
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  margin: 0 auto 1rem;
  min-width: 260px;
  width: min(92%, 720px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffd5f1;
  text-shadow: 0 0 6px var(--pink-glow);
  letter-spacing: .5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4fa3 0%, #e1007a 100%);
  color: #fff;
  font-weight: 700;
  min-width: max-content;
  box-shadow: 0 6px 16px rgba(255,0,122,.6);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255,0,122,.85);
  background: linear-gradient(135deg, #ff5ab2 0%, #e60074 100%);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a p { margin: 0; padding: 0; } /* normalize inside the anchor's <p> */

footer p {
  margin: 0.25rem 0 0;
  font-size: .9rem;
  color: #cbd5e1;
  opacity: .9;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { width: min(92%, 900px); }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(76%, 1000px); }
}
