/* Mobile-first, single stylesheet for cyberpunk, frosted-glass landing */

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

:root {
  --bg: #0a0a1a;
  --paper: rgba(255,255,255,0.04);
  --violet: #7c3aed;
  --violet-dark: #6d28d9;
  --fg: #e9e2ff;
  --muted: #c6b8ff;
  --glass: rgba(16, 0, 60, 0.66);
  --outline: #a78bfa;
  --shadow: 0 12px 40px rgba(0,0,0,.5);
  --glow: 0 0 18px rgba(124,58,237,.6);
}

html, body {
  height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--fg);
  background-color: var(--bg);
  /* indigo paper-like texture via layered gradients (lightweight) */
  background-image:
    radial-gradient(circle at 15% 10%, rgba(124,58,237,0.18) 0 15%, transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(99,102,241,0.15) 0 20%, transparent 40%),
    linear-gradient(180deg, rgba(10,0,40,.75), rgba(10,0,20,.85) 60%, rgba(5,0,20,.95));
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 860px);
  background: rgba(15, 0, 60, 0.62);
  border: 1px solid rgba(140, 120, 255, 0.5);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124,58,237,.75), rgba(99,102,241,.25));
  filter: blur(20px);
  z-index: -1;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 26px rgba(0,0,0,.45);
}

/* Footer with product ad (CTA) */
footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(to top, rgba(2,0,20,0), rgba(2,0,20,0.25));
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(8, 0, 40, 0.65);
  border: 1px solid rgba(159, 131, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04),
              0 6px 20px rgba(0,0,0,.5);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  font-size: 0.92rem;
  letter-spacing: .2px;
  color: #e9e2ff;
  margin: 0 0 0.25rem;
  line-height: 1.1;
}

.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  margin: 0;
  transition: transform .2s ease;
}
.product-ad a:hover p { transform: translateY(-1px); box-shadow: var(--glow); }

footer p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #d5cbff;
}

/* Link and focus accessibility */
a { color: #c7baff; text-decoration: none; outline: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--outline);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(80vw, 900px); }
}

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