/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaf4ff;
  /* Blue gradient background with orange accents for hacker vibe */
  background: linear-gradient(135deg, #0b1f3a 0%, #123b86 50%, #0b1f3a 100%);
  min-height: 100vh;
  padding: 2rem;
  display: grid;
  place-items: start center;
  line-height: 1.5;
  background-attachment: fixed;
}

/* Frosted glass look for sections */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  box-shadow:
    0 8px 20px rgba(0,0,0,.25),
    0 0 60px rgba(0, 140, 255, 0.25);
  /* subtle neon edge */
  outline: 1px solid rgba(0, 170, 255, 0.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Layout wrapper to center content a bit and keep it clean */
main {
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

/* Footer with a frosted glass card-like CTA section */
footer {
  width: 100%;
  max-width: 860px;
  display: grid;
  gap: 14px;
  padding: 0 0 2rem;
  align-items: center;
}
.product-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(8, 16, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  color: #ffd88f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex;
}
.product-ad p {
  margin: 0;
  font-weight: 700;
  color: #ffd28a;
  padding: 0 14px;
  border-radius: 8px;
  /* button-like CTA styling */
  background: linear-gradient(135deg, #ff8a1f 0%, #ff6a00 100%);
  color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 14px rgba(255, 140, 0, 0.4);
}
.product-ad a:hover .product-ad p,
.product-ad p:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.product-ad:hover {
  border-color: rgba(255, 170, 90, 0.9);
}

/* General text tweaks for contrast against blue background */
p { color: rgba(234, 246, 255, 0.95); }
a { color: #ffa64d; text-decoration: none; border-bottom: 1px dotted rgba(255, 167, 109, 0.4); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid #7af0ff;
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible {
  outline-color: #7af0ff;
  outline-offset: 2px;
}
button:focus-visible {
  outline: 3px solid #7af0ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive adjustments (mobile-first) */
@media (max-width: 768px) {
  body {
    padding: 1.25rem;
  }
  .image-frame {
    width: 94vw;
    border-radius: 16px;
  }
  footer {
    padding: 0 0 1.25rem;
  }
  .product-ad {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .product-ad h3 { font-size: 0.95rem; }
  .product-ad p { padding: 10px 14px; }
}

/* Slight extra glow for cyberpunk vibe on larger screens */
@media (min-width: 1024px) {
  body {
    padding: 3rem;
  }
  .image-frame {
    transform: translateZ(0);
  }
}