/* Frosted glass cyberpunk landing - mobile-first */

/* Color tokens */
:root{
  --bg-purple: #3b1a74;      /* solid purple background */
  --bg-purple-dark: #2a0f4b;
  --brown: #8b5e3c;           /* hacker/brown accent */
  --brown-deep: #5a3a20;
  --text: #f7efe6;
  --text-dim: #d5c6b0;
  --panel: rgba(255,255,255,0.08);
  --panel-border: rgba(255,255,255,0.22);
  --focus: 3px solid rgba(255, 214, 128, 0.95);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background: var(--bg-purple);
  color: var(--text);
  line-height: 1.5;
}

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

/* Image frame as hero area with frosted glass feel on the card border */
.image-frame {
  width: min(92%, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,.45),
              inset 0 0 0 1px rgba(255,255,255,0.04);
  display: grid;
  place-items: center;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Footer / product ad as frosted glass panel */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
}

/* Frosted glass panel for product ad */
.product-ad {
  width: min(92%, 720px);
  margin: 0 auto;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(139,82,43,0.6); /* brown/gold edge for hacker vibe */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f9f2ea;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}

.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f4eee5;
  text-shadow: 0 0 6px rgba(168,115,21,0.45);
}

.product-ad p { margin: 0; }

/* CTA button-like link inside the ad (prominent, accessible) */
.product-ad a {
  display: inline-block;
  margin-top: .25rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.28);
  color: #ffe8d0;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform .2s ease, background .2s ease;
  box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

.product-ad a:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,0.38);
}

.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(250,214,145,0.95);
  border-color: rgba(250,214,145,0.95);
}

/* Footer text */
footer p {
  margin: 0.25rem 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Small screens scale nicely; adjust typography subtly if needed */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 20px; }
}