/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
  color: #e9f2ff;
  /* Magenta gradient background with blue accents for a hacker vibe */
  background: 
    radial-gradient(circle at 15% 0%, rgba(255,0,255,.25), transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(0,170,255,.25), transparent 40%),
    linear-gradient(135deg, #0a0a1b 0%, #0f1130 60%, #001a3d 100%);
  background-attachment: fixed;
}

/* Layout containers (mobile-first) */
header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

header h1 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw + 0.5rem, 2.4rem);
  letter-spacing: .4px;
  color: #e9f2ff;
  text-shadow: 0 0 12px rgba(70,170,255,.6);
}

/* Main content area */
main {
  display: grid;
  place-items: center;
  padding: 1rem;
}

/* Frosted glass card for the image/hero frame */
.image-frame {
  width: min(92vw, 560px);
  aspect-ratio: 16 / 9;
  margin: 1rem auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(180,210,255,.4);
  backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  display: grid;
  align-items: center;
  justify-items: center;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer with CTA/ad section */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #d7eaff;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 1rem;
}

/* Product ad CTA - prominent, accessible pill button style */
.product-ad {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(0, 76, 255, .28);
  border: 1px solid rgba(120, 190, 255, .6);
  margin-bottom: .75rem;
  backdrop-filter: blur(6px) saturate(1.2);
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  color: #e8f5ff;
}
.product-ad a {
  color: #d6f0ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(180,220,255,.6);
  background: rgba(10,120,240,.25);
}
.product-ad a:hover { background: rgba(10,120,240,.36); }

/* Global links for accessibility/keyboard users */
a { color: #9bd4ff; text-decoration: none; }
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,0,0,.25);
}

/* Focus-visible for any interactive controls (enhanced) */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,0,0,.25);
}

/* Responsive tweaks */
@media (min-width: 640px) {
  header { padding: 2.5rem 1rem 1.5rem; }
  header h1 { font-size: 2rem; }
}

@media (min-width: 1024px) {
  main { padding: 2rem 0; }
  .image-frame { width: 720px; aspect-ratio: 16/9; }
  header { text-align: left; padding: 2rem 2rem 0; }
  header h1 { font-size: 2.25rem; }
  footer { padding: 2rem 2rem 4rem; text-align: left; }
  .product-ad { display: inline-block; }
}