/* Mobile-first, single stylesheet for hacker-teal, frosted-glass landing */

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e8fbff;
  background-color: #0b2a2f;
  /* Teal paper texture look (subtle grain) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.25) 1px, transparent 1px),
    radial-gradient(circle at 25px 25px, rgba(0,0,0,.15) 1px, transparent 1px);
  background-size: 60px 60px;
  background-blend-mode: overlay;
  position: relative;
  isolation: isolate;
}

/* Teal tint overlay for texture depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 0% 0%, rgba(0,255,213,.05), transparent 40%),
              radial-gradient(circle at 100% 100%, rgba(0,255,213,.04), transparent 40%);
  mix-blend-mode: overlay;
}

/* Layout: center hero, clean flow, mobile-first spacing */
main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
}

.image-frame {
  width: min(800px, 92vw);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(6, 20, 30, 0.58); /* frosted glass feel */
  border: 1px solid rgba(0, 255, 214, 0.35);
  backdrop-filter: blur(8px) saturate(1.25);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border-bottom: 3px solid rgba(0,255,214,0.6);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 0;
}

/* Footer + promo / CTA styling (prominent, accessible) */
footer {
  width: 100%;
  text-align: center;
  padding: 2rem 1rem 0.5rem;
}

.product-ad {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(3, 10, 18, 0.6);
  border: 1px solid rgba(0, 255, 214, 0.45);
  box-shadow: inset 0 0 12px rgba(0,255,214,0.25);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 0.95rem;
  color: #cffaf7;
}
.product-ad a {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  color: #04131d;
  text-decoration: none;
  font-weight: 700;
  /* CTA look: neon-gradient capsule button */
  background: linear-gradient(135deg, #2af6e0 0%, #0ad6c7 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: transform .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
}
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid #7ef7ff;
  outline-offset: 3px;
  border-radius: 8px;
}

footer p {
  margin-top: 0.5rem;
  color: #a8d9e9;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* Responsive tweaks (still mobile-first) */
@media (min-width: 600px) {
  .image-frame { padding: 1.25rem; }
  .product-ad { font-size: 1rem; }
}
@media (min-width: 900px) {
  main { padding: 3rem 0; }
  .image-frame { width: 820px; }
  footer { padding-bottom: 2rem; }
}