/* Purple parchment + hacker futurist theme, mobile-first, single stylesheet */

/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #eaf0ff;
  background-color: #2a143a;
  /* purple parchment + subtle cyber texture */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.08), rgba(255,255,255,0) 40px),
    linear-gradient(135deg, rgba(128,0,255,.25), rgba(0,0,0,0) 40px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.05), rgba(0,0,0,.05) 2px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 4px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Hero image frame (clear hero) */
.image-frame {
  width: min(100%, 980px);
  height: 58vh;
  max-height: 520px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 60px rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  background: #000;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  display: block;
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Subtle frosted glass accent (around content edges) */
.image-frame { border-radius: 14px; }

/* Footer with prominent CTA in a frosted panel */
footer {
  margin-top: auto;
  width: 100%;
  padding: 1rem 0;
  background: rgba(10, 6, 18, .6);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.product-ad {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: .9rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: rgba(15, 10, 20, .6);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #e8e8ff;
  letter-spacing: .2px;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #eaf2ff;
  background: #0b1a3a;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover { background: #0e2a6b; }
.product-ad a:focus-visible { outline: 3px solid #9ecaff; outline-offset: 2px; }

/* Focus states for accessibility on interactive elements beyond CTA */
a:focus-visible { outline: 3px solid #9ecaff; outline-offset: 2px; border-radius: 4px; }

/* Small-screen adjustments (mobile-first) */
@media (min-width: 600px) {
  .image-frame { height: 64vh; }
  .product-ad { justify-content: center; padding: 1rem; }
}
@media (min-width: 900px) {
  .image-frame { height: 68vh; }
  .product-ad { justify-content: space-between; padding: 1rem 1.5rem; }
  .product-ad h3 { font-size: 1.05rem; }
}
