/* Minimal reset and cyberpunk theme CSS (single stylesheet) */

:root {
  --fg: #e9f0f7;
  --muted: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  --accent: #9beeff;
  --ctabg: linear-gradient(135deg, #e8f0f4, #d6dde4);
  --pink1: #ff5e97;
  --pink2: #ff82c9;
}

/* Light reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base layout (mobile-first) */
html, body { height: 100%; }

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system;
  color: var(--fg);
  line-height: 1.5;
  /* Pink sunset gradient background with silver/cyber accents */
  background: linear-gradient(135deg, #ff6b9e 0%, #ff8acb 40%, #ffd5ea 100%);
  background-attachment: fixed;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Frosted glass hero frame around the image (future cyberpunk, hacker vibe) */
.image-frame {
  position: relative;
  width: min(92vw, 900px);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(1.25);
  -webkit-backdrop-filter: blur(6px) saturate(1.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* subtle neon glow border */
  box-shadow: 0 0 28px 6px rgba(0, 210, 255, 0.25);
  pointer-events: none;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.05);
}

/* Footer with glassy card and prominent CTA */
footer {
  padding: 2rem 1rem;
  display: grid;
  justify-items: center;
  background: rgba(0, 0, 0, 0.25);
}
.product-ad {
  display: grid;
  gap: .6rem;
  padding: .9rem;
  width: min(90vw, 520px);
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}
.product-ad h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f6f8fb;
  letter-spacing: .3px;
  text-shadow: 0 0 6px rgba(255,255,255,.5);
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad p {
  margin: 0;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--ctabg);
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad p:focus-visible {
  outline: 3px solid rgba(157,214,255,.95);
  outline-offset: 3px;
}
.product-ad p:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.product-ad a:focus-visible { outline: 3px solid rgba(157,214,255,.95); outline-offset: 2px; border-radius: 999px; }

/* Footer caption */
footer > p {
  margin-top: .75rem;
  text-align: center;
  color: rgba(233,238,246,.95);
  font-size: .9rem;
  letter-spacing: .2px;
}

/* Accessibility helpers (focus visible for all focusable elements) */
:focus-visible { outline: 3px solid rgba(157,214,255,.95); outline-offset: 2px; }

/* Responsive tweaks (desktop) */
@media (min-width: 600px) {
  main { padding: 3rem 1.25rem; min-height: calc(100vh - 140px); }
  .image-frame { border-radius: 22px; }
  .product-ad { width: min(720px, 92vw); }
}
@media (min-width: 900px) {
  footer { padding: 2.5rem 1rem; }
  .product-ad h3 { font-size: 1.25rem; }
}
