/* Reset and base system */
*,
*::before,
*::after { box-sizing: border-box; }
:root {
  --bg: #0a1e3a;            /* blue solid background (navy-hacker vibe) */
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #e8f2ff;
  --muted: rgba(232, 244, 255, 0.6);
  --cta: #1e3a8a;
  --cta-hover: #2a4bd3;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first hero with frosted glass framing the image */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 60vh;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 18px;
  padding: 0.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 128, 255, 0.25);
}

/* Footer with accessible CTA styling */
footer {
  padding: 1.75rem;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}
.product-ad h3 { margin: 0; font-size: 0.95rem; }
.product-ad a {
  display: inline-block;
  padding: 0.65rem 1rem;
  margin-top: 0.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #eaffff;
  background: #1e3a8a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 16px rgba(0, 100, 255, 0.5);
  transition: transform 0.15s ease, background 0.2s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: #2a4bd3; }
.product-ad a:focus-visible {
  outline: 3px solid #5bf1ff;
  outline-offset: 2px;
}
.product-ad p { margin: 0; font-size: 0.95rem; font-weight: 600; color: #e8f2ff; }

/* Small screen adjustments for readability */
@media (min-width: 700px) {
  main { padding: 3rem; min-height: 70vh; }
  .image-frame { padding: 1.25rem; }
  .product-ad { flex-direction: row; gap: 2rem; align-items: center; }
  .product-ad h3 { font-size: 1rem; }
}