/* Reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaf3ff;
  line-height: 1.45;
  min-height: 100svh;
  /* Cyan sunset gradient with violet hacker vibes */
  background: linear-gradient(135deg, #00e5ff 0%, #7c2ff7 50%, #2a0a66 100%);
  background-size: 200% 200%;
  animation: gradient 40s ease infinite;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* Light reset helpers */
main, footer { width: 100%; }
a { color: inherit; text-decoration: none; }

/* Layout: mobile-first, center hero */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}
.image-frame {
  width: min(92%, 720px);
  padding: 1rem;
  border-radius: 22px;
  /* Frosted glass look */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
}
footer {
  text-align: center;
  padding: 1.5rem;
  color: rgba(234,246,255,.95);
}
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin: 0 auto 0.75rem;
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #eaffff;
  letter-spacing: .2px;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .75rem;
  border-radius: 6px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  color: #eaffff;
}
.product-ad a:focus-visible, .btn:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
}
.product-ad a p { margin: 0; }

/* CTA-friendly utility (ready for future CTA buttons) */
.btn, .cta {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #071018;
  background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.3); }

/* Accessibility tweaks for links in the footer/ad */
footer p { margin: 0.5rem 0 0; font-size: .9rem; color: rgba(234,246,255,.95); }

/* Small screens remain clean; larger screens get a bit more breathing room */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 220px); }
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  .image-frame { max-width: 800px; }
  .product-ad h3 { font-size: 1rem; }
}