*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #000;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(140,170,255,.5);
  --text: #e6eaff;
  --muted: #aab4e5;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  /* subtle black circuit-board look */
  background-image:
    linear-gradient(0deg, rgba(79,70,229,.22), rgba(79,70,229,.22)),
    repeating-linear-gradient(90deg, rgba(0, 200, 255, .08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(180deg, rgba(0, 150, 255, .08) 0 1px, transparent 1px 40px);
  background-size: 40px 40px, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: repeat;
  text-rendering: optimizeLegibility;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 20px;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(6, 9, 25, .55);
  border: 1px solid rgba(140, 170, 255, .6);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(0,0,0,.55);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Footer with frosted CTA area */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
}
.product-ad {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(6, 12, 36, .6);
  border: 1px solid rgba(120, 160, 255, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  text-align: center;
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.product-ad a { color: inherit; text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 60%, #4b3cc8 100%);
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
  letter-spacing: .2px;
}
.product-ad a p:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.product-ad a p:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

footer p { margin: 6px 0 0; color: var(--muted); }

/* Focus visibility for accessibility */
:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 40px; min-height: calc(100vh - 160px); }
  .image-frame { border-radius: 20px; }
}
@media (min-width: 900px) {
  .product-ad { margin-top: 14px; }
}