/* Global resets and color system */
*, *::before, *::after { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
:root {
  --indigo-900: #1e1b4b;
  --indigo-700: #4338ca;
  --indigo-500: #5b6bd6;
  --brown-900: #3a270e;
  --brown-700: #5a3a12;
  --glass: rgba(255,255,255,0.08);
  --text: #e9e7ff;
  --muted: #cbd5e1;
}

/* Light, accessible foreground/background with a brown/indigo hacker vibe */
body {
  min-height: 100vh;
  color: var(--text);
  background: #0b0b12;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 25% 25%, rgba(139,69,19,0.40) 0%, transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(29,8,68,0.40) 0%, transparent 45%),
    linear-gradient(135deg, #0a0a0a 0%, #120b0b 100%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.95;
}

/* Layout: mobile-first, hero centered with frosted glass frame */
main {
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  min-height: calc(100vh - 120px);
}
.image-frame {
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  image-rendering: auto;
}

/* Footer with prominent CTA-style link (acts as a button) */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  background: rgba(4,7,18,.6);
  border-top: 1px solid rgba(255,255,255,.08);
}
.product-ad { margin: 0.75rem auto; }
.product-ad h3 {
  margin: 0 0 .75rem;
  font-size: 0.95rem;
  color: #efe9ff;
  font-weight: 700;
  letter-spacing: .3px;
}
.product-ad a {
  display: inline-block;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5b6bd6 0%, #1e40af 100%);
  box-shadow: 0 6px 18px rgba(99,102,241,.65);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(99,102,241,.8);
}
.product-ad a:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}
.product-ad a > p { /* ensure inner paragraph inside the anchor doesn't misalign */ margin: 0; padding: 0; display: inline; color: #fff; }

/* Footer text tone */
footer p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Global link accessibility and reset for anchors outside CTA */
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: scale visuals for larger viewports */
@media (min-width: 768px) {
  main { padding: 6rem 1.75rem; min-height: calc(100vh - 140px); }
  .image-frame { width: min(80vw, 860px); padding: 1.25rem; }
  .image-frame img { border-radius: 14px; }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 1024px) {
  main { padding: 8rem 2rem; }
  .image-frame { width: 720px; }
}