/* Echoes Landing - violet carbon fiber hacker theme (mobile-first, single CSS) */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: #eafff0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.2;

  /* Violet carbon fiber background with lime accents (futuristic hacker vibe) */
  background-color: #120027;
  background-image:
    linear-gradient(135deg, rgba(112, 0, 255, 0.25) 0%, rgba(0,0,0,0.28) 60%, rgba(112,0,255,0.25) 100%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.25) 0 4px, rgba(0,0,0,0) 4px 8px);
  background-blend-mode: overlay;
  background-size: cover;
  text-rendering: optimizeLegibility;
}

/* Layout scaffold (mobile first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Frosted glass card around the image (hero) */
.image-frame {
  position: relative;
  width: min(92vw, 900px);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 20px 50px rgba(0,0,0,.40);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  pointer-events: none;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer with a prominent CTA and product ad */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  background: rgba(12, 0, 30, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.product-ad {
  display: inline-block;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #a8ff2a; /* lime accent */
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  /* lime CTA button */
  background: linear-gradient(135deg, #7dff58 0%, #9bff2a 60%, #c4ff72 100%);
  color: #041e00;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 14px rgba(120,255,90,.25);
  display: inline-block;
}
.product-ad a:focus-visible, a:focus-visible {
  outline: 2px solid #aaff00;
  outline-offset: 2px;
  border-radius: 999px;
}

/* Improve accessibility: ensure focus ring for interactive elements */
:focus-visible {
  outline: 2px solid #aaff00;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small footer text */
footer p {
  margin: 0.5rem 0 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 768px) {
  main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 220px);
  }
  .image-frame {
    width: 70%;
  }
  footer { text-align: center; padding: 2rem 0.75rem; }
}
