/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #ff2d92;       /* pink solid background */
  --turq: #2bd6c9;       /* turquoise accents */
  --turq-d: #0fb79f;     /* darker turquoise for depth */
  --glass: rgba(255,255,255,.12);
  --text: #ffffff;
}

html, body { height: 100%; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: var(--pink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Links and focus for accessibility */
a { color: var(--turq); text-decoration: none; }
a:focus-visible,
button:focus-visible,
[data-focus-visible-added] {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43,214,201,.75);
  border-radius: 6px;
}

/* Layout: mobile-first hero center with frosted glass frame */
main {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  /* neon cyberpunk glow */
  outline: 1px solid rgba(43,214,201,.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

/* Footer / Ad block as prominent CTA panel */
footer {
  padding: 1.5rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}
.product-ad a {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(43,214,201,.25);
  border: 1px solid rgba(43,214,201,.6);
  color: #eaffff;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: rgba(43,214,201,.35); }
footer p {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  opacity: .95;
}

/* Larger screens: keep spacious hacker vibe */
@media (min-width: 768px) {
  main { padding: 3rem 0; }
  .image-frame { border-radius: 28px; max-width: 1000px; }
  footer { padding: 2rem 0; }
  .image-frame { box-shadow: 0 0 40px rgba(43,214,201,.35); }
}

/* Optional light-mode tweak (accessible contrast) */
@media (prefers-color-scheme: light) {
  body { background: #f9e7f4; color: #111; }
  .image-frame { background: rgba(255,255,255,0.92); border: 1px solid rgba(0,0,0,.15); }
  .product-ad { background: rgba(255,255,255,.98); }
  a { color: #0a6; }
}