/* Mobile-first, single stylesheet for cyberpunk landing with frosted glass, pink waves, and purple accents */

/* 1) Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

/* 2) Theme variables and pink waves background (data-URI SVG) */
:root {
  --bg: #0a001a;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.25);
  --text: #e9e1ff;
  --accent: #e879f9;
  --accent2: #8b5cf6;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
body {
  min-height: 100%;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: var(--bg);
  /* pink waves background layer (tiled along X axis, anchored bottom) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='320' viewBox='0 0 1600 320'><path d='M0,240 C320,260 420,210 720,210 C1020,210 1220,260 1600,240 L1600,320 L0,320 Z' fill='%23ff5fb5' opacity='.28'/><path d='M0,260 C420,320 860,180 1600,240 L1600,320 L0,320 Z' fill='%239a6dff' opacity='.22'/></svg>");
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: cover;
  /* ensure content sits above waves */
  position: relative;
  isolation: isolate;
}
::selection { background: #9a5cff; color: #fff; }

/* 3) Layout: mobile-first hero and frosted glass frame for the image */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 160px);
  width: 100%;
  position: relative;
  z-index: 1;
}
.image-frame {
  width: 100%;
  max-width: 860px;
  padding: 0.9rem;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* 4) Footer / product ad with prominent CTA (styled as frosted glass button) */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text);
  background: rgba(10, 0, 20, 0.25);
}
.product-ad { display: inline-block; padding: .6rem; border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem 0;
  color: #ffd4f0;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.08));
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  font-weight: 600;
  display: inline-block;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
footer p { margin: .25rem 0 0; font-size: .9rem; color: #d8ccf0; opacity: .9; }

/* 5) Focus styles for accessibility (keyboard users) */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 6) Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* 7) Responsive tweaks for larger screens (still mobile-first) */
@media (min-width: 700px) {
  main { min-height: calc(100vh - 260px); }
  .image-frame { padding: 1.2rem; }
  .product-ad h3 { font-size: 1rem; }
}