/* Global reset and palette */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto; }
body {
  margin: 0;
  padding: 0;
  color: #e8f0ff;
  background: #0b1220;
  /* beige dots pattern on navy, subtle opacity for pattern */
  background-image: radial-gradient(circle at 1px 1px, #e7d0af 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout scaffolding: mobile-first, centered hero image with frosted glass frame */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 12, 28, 0.55); /* frosted glass base */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 0.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 38px rgba(0,0,0,.45);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  outline: 0;
}

/* Footer: featured product CTA with prominent button, frosted panel look */
footer {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.product-ad {
  width: min(100%, 720px);
  padding: 1rem;
  text-align: center;
  border-radius: 14px;
  background: rgba(9, 14, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
}

.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #f5e9cf;
  letter-spacing: .2px;
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
  color: #04131e;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e3a6b 0%, #1b5a92 100%);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #5bd7ff;
  outline-offset: 2px;
}

footer p {
  margin: 0;
  padding-top: 0.25rem;
  font-size: 0.92rem;
  color: #cbd6f0;
  text-align: center;
  opacity: 0.9;
}

/* Focus accessibility for any keyboard nav */
a:focus-visible {
  outline: 3px solid #5bd7ff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive tweaks: grow hero on larger screens, keep compact on mobile */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 180px); }
  .image-frame { border-radius: 22px; padding: 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { padding: 1.25rem; }
  .image-frame img { border-radius: 14px; }
}
