/* Global reset and base theme */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #e9f0ff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0a1020;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Gray abstract blur background for a hacker vibe */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  background:
    radial-gradient(circle at 20% 20%, rgba(120, 160, 255, 0.14), transparent 40%),
    radial-gradient(circle at 60% 60%, rgba(0, 255, 200, 0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 200, 0.12), transparent 40%);
  filter: blur(40px) saturate(110%);
  z-index: -1;
  pointer-events: none;
}

/* Layout structure: mobile-first, center content */
main { display: grid; place-items: center; padding: 2rem 1rem; }

.image-frame {
  width: min(92vw, 720px);
  background: rgba(8, 12, 28, 0.66); /* frosted glass feel */
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Image scales nicely inside the frosted frame */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  image-rendering: auto;
}

/* Footer with featured product CTA (prominent) */
footer {
  width: 100%;
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: #dbe7fa;
  background: rgba(2, 6, 20, 0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad { display: inline-block; padding: 0.6rem; border-radius: 12px; background: rgba(8,16,40,0.65); border: 1px solid rgba(255,255,255,0.15); margin-bottom: 0.75rem; }

.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e8f7ff;
  text-shadow: 0 0 6px rgba(0, 228, 255, 0.6);
}

.product-ad a {
  display: inline-block;
  padding: 0.62rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  color: #eaffff;
  background: linear-gradient(135deg, #0b1b3a 0%, #0b2a56 100%);
  border: 1px solid rgba(0,255,255,0.6);
  box-shadow: 0 0 14px rgba(0,255,255,0.5);
  transition: transform 0.2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #7efafc;
  outline-offset: 2px;
}

/* Small readability tweaks */
p { margin: 0; }

/* Accessibility: ensure focus styles for keyboard users on interactive elements */
a:not(:focus-visible) { outline: none; }

/* Responsive tweaks: upsize frame on larger screens while keeping it centered */
@media (min-width: 640px) {
  main { padding: 3rem 0; }
  .image-frame { width: 720px; padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: 860px; padding: 1.75rem; }
}