/* Minimal, responsive, cyberpunk-themed stylesheet (single file) */

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; }
body {
  margin: 0;
  color: #eafffb;
  background-color: #04070a;
  /* Coral-teal crosshatch background (hacker vibe) */
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 110, 92, 0.22) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(0, 210, 195, 0.22) 0 2px, transparent 2px 6px),
    radial-gradient(circle at 60% 10%, rgba(0,0,0,0.25), transparent 40%);
  background-blend-mode: overlay;
  min-height: 100dvh;
  line-height: 1.4;
}

/* Layout containers */
main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
}
.image-frame {
  position: relative;
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* subtle color punch for cyberpunk feel */
  filter: saturate(1.05) contrast(1.04);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  /* frosted glass overlay */
  background: linear-gradient(to top left, rgba(20, 28, 40, 0.55), rgba(20, 28, 40, 0.25));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* faint glow edge for depth */
  box-shadow: inset 0 0 60px rgba(0, 255, 210, 0.15);
  pointer-events: none;
  z-index: 2;
}

/* Footer / Ad area (prominent CTA styling) */
footer {
  padding: 1.75rem 1rem 2rem;
  display: grid;
  gap: 0.75rem;
  place-items: center;
  background: radial-gradient(circle at 50% 0%, rgba(4,8,12,.8), rgba(4,8,12,.96) 60%);
}
.product-ad {
  width: min(92vw, 520px);
  text-align: center;
  padding: .95rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 210, 0.28);
  background: rgba(8, 14, 20, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  color: #e8fffe;
  letter-spacing: .4px;
}
.product-ad a {
  text-decoration: none;
}
.product-ad p {
  display: inline-block;
  margin: 0;
  padding: .75rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  color: #041b1e;
  background: linear-gradient(135deg, #2fe5d0 0%, #0a8f92 100%);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
footer p {
  margin: 0.25rem 0 0;
  color: #b6f1e3;
  font-size: .92rem;
  opacity: .95;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #2ee8c9;
  outline-offset: 2px;
  border-radius: 6px;
}
a, button {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Responsive adjustments (mobile-first) */
@media (min-width: 600px) {
  footer {
    padding: 2rem;
  }
  .product-ad h3 { font-size: 1.15rem; }
  .product-ad p { padding: .85rem 1.25rem; }
}
@media (min-width: 900px) {
  main { padding: 2rem 0; }
  .image-frame { border-radius: 22px; width: min(920px, 78vw); }
  footer { padding: 2.25rem 0 2.5rem; }
}
