/* Global reset and cyberpunk palette */
:root {
  --pink: #ff2ea4;
  --pink-dark: #e600a0;
  --blue: #38a0ff;
  --blue-deep: #0b4bd3;
  --bg: rgba(3,6,20,0.92);
  --card: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.25);
  --text: #e9e9ff;
}

*,
*::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: var(--text);
  background-color: #0b1220;
  /* blue crosshatch background + pink accents for hacker vibe */
  background-image:
    linear-gradient(135deg, rgba(20,40,120,0.85), rgba(8,20,60,0.85)),
    repeating-linear-gradient(45deg, rgba(0, 150, 255, 0.15) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, rgba(255,0,170,0.15) 0 6px, transparent 6px 12px);
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, responsive */
main {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: 100%;
  max-width: 860px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Footer with CTA ad */
footer {
  text-align: center;
  padding: 1.75rem 1rem 2.5rem;
}
.product-ad {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(14,12,40,0.75);
  border: 1px solid rgba(255, 120, 200, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 0.6rem;
  transition: transform 0.2s ease;
}
.product-ad:hover { transform: translateY(-1px); }
/* Focus/keyboard accessibility for CTA */
.product-ad:focus-within {
  outline: 3px solid rgba(0,180,255,0.9);
  outline-offset: 2px;
  border-color: rgba(0,180,255,1);
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a:focus-visible { outline: 3px solid rgba(0,180,255,0.9); outline-offset: 2px; border-radius: 999px; }

/* CTA pill styling on the inner content */
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e9e7ff;
}
.product-ad p {
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,0,170,0.95), rgba(0,170,255,0.95));
  display: inline-block;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.product-ad p:hover { transform: scale(1.03); }

/* Small screens */
@media (min-width: 640px) {
  .image-frame { max-width: 720px; }
}
@media (min-width: 980px) {
  .image-frame { max-width: 980px; }
  footer { padding-bottom: 3rem; }
}