/* Minimal reset and dark hacker-friendly theme with a black low-poly look */

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: #e5e7eb;
  background: #0a0a0a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Black low-poly style background (triangular look) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #0a0a0a;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(120,120,120,.08) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px, 0 0;
  opacity: .95;
  filter: saturate(0.95);
  transform: translateZ(0);
}

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

.image-frame {
  width: 100%;
  max-width: 900px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10,10,12,.6);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Image fills frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer with a frosted glass ad panel (CTA) */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #cbd5e1;
  background: #050505;
}

/* Product ad panel (CTA) */
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 0.75rem auto 1.25rem;
  max-width: 520px;
  border-radius: 12px;
  background: rgba(16,16,16,.66);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  letter-spacing: .2px;
}

.product-ad a {
  display: inline-block;
  padding: .65rem 1.1rem;
  margin-top: .4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #e5e7eb;
  background: linear-gradient(#1f2937, #374151);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s ease, background .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: linear-gradient(#111827, #374151); }
.product-ad a:focus-visible {
  outline: 3px solid #4ee8ff;
  outline-offset: 2px;
}

/* Paragraph spacing near the ad text (if any extra text appears) */
p { margin: 0.5rem 0 0; }

/* Focus for accessibility on interactive elements (keyboard) */
a:focus-visible, button:focus-visible {
  outline: 3px solid #4ee8ff;
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 180px); }
  footer { padding: 2rem 0; }
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 18px; }
  .product-ad { flex-direction: row; gap: 2rem; }
}