/* Minimal reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; color: #e9e0d0; font-family: ui-sans-serif, system-ui, -apple-system, "Inter", "SF Pro Display", "Segoe UI"; background: #0a0a0a; }

/* Brown abstract blur background with frosted glass hacker vibe */
body {
  /* layered abstract browns with subtle grain via gradients */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(139,69,19,.25) 0 25%, transparent 26%),
    radial-gradient(circle at 75% 50%, rgba(92,39,15,.25) 0 25%, transparent 26%),
    linear-gradient(135deg, #1b0d07 0%, #2a120b 60%, #0b0503 100%);
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  left: -10vw; top: -10vh;
  width: 120vw; height: 120vh;
  background: radial-gradient(circle at 30% 40%, rgba(180,120,40,.25) 0 20%, transparent 22%),
              radial-gradient(circle at 70% 60%, rgba(60,30,12,.25) 0 20%, transparent 22%),
              radial-gradient(circle at 50% 80%, rgba(120,60,20,.18) 0 20%, transparent 22%);
  filter: blur(40px);
  transform: scale(1.05);
  pointer-events: none;
}

/* Layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
  gap: 1.75rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.05);
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 22px; padding: 1.25rem; }
  .image-frame img { border-radius: 14px; }
}

/* CTA and accessories in footer */
footer {
  width: 100%;
  padding: 1.75rem 1rem 2.5rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: #e9e0d0;
  text-align: center;
}
.product-ad {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(8,8,8,.65);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.product-ad h3 {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  color: #f2e5c8;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .25rem .75rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(198,138,42,.95), rgba(122,62,15,.95));
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:focus-visible {
  outline: 2px solid #ffd479;
  outline-offset: 2px;
}
.product-ad a p { margin: 0; padding: 0; }

footer p {
  color: #d7cdc2;
  font-size: .92rem;
  opacity: .95;
  margin: 0;
}

/* Small visual accessibility tweaks */
a, button {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid #ffd479;
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; } /* prefer visible focus indicator */

/* Responsive refinements - mobile-first by default, scale up for larger screens */
@media (min-width: 600px) {
  main { padding: 2.5rem 1.5rem; gap: 2rem; }
  .image-frame { width: min(90vw, 900px); }
}
@media (min-width: 900px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(80vw, 980px); aspect-ratio: 16 / 9; }
}
