/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e9e9e9;
  line-height: 1.4;
  /* Red radial gradient background with orange accents for hacker/cyberpunk vibe */
  background: radial-gradient(circle at 15% 15%, rgba(255,0,0,.25) 0%, rgba(255,0,0,.0) 40%),
              radial-gradient(circle at 85% 85%, rgba(255,140,0,.25) 0%, rgba(0,0,0,0) 40%),
              #0a0a0a;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
}

/* Link defaults for accessibility */
a { color: inherit; text-decoration: none; }

/* Layout: mobile-first hero centered content */
main { display: grid; place-items: center; padding: 2rem 1rem; min-height: calc(100vh - 120px); }

/* Frosted glass frame around the image (hero) */
.image-frame {
  width: min(92vw, 760px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  padding: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  overflow: hidden;
}

/* Image styling inside the frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer area with a pronounced CTA card */
footer {
  text-align: center;
  padding: 1.75rem 1rem 2rem;
  color: #d9d9d9;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.0));
}

/* Product ad card (frosted glass) + CTA styling */
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1rem;
  margin: 0 auto 1rem;
  max-width: 420px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  color: #ffd9a6;
  text-shadow: 0 0 8px rgba(255,140,0,.6);
  letter-spacing: .02em;
}

/* CTA button look (orange hacker style) */
.product-ad a p {
  margin: 0;
  padding: .75rem 1.1rem;
  border-radius: 8px;
  background: #ff7a18;
  color: #201400;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255,122,24,.5);
  transition: transform .15s ease, box-shadow .2s ease;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255,122,24,.7);
}
.product-ad a:focus-visible p {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}

/* Focusability for non-link controls if added later */
:focus-visible { outline: 3px solid #7af; outline-offset: 2px; }

/* Small screens: keep layout compact and legible */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Responsive tweaks for larger viewports */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 210px); }
  .image-frame { padding: 8px; border-radius: 20px; }
  .product-ad { transform: translateY(-6px); }
}