/* Minimal reset and base variables */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0a0f14;
  --card: rgba(255,255,255,.08);
  --cardBorder: rgba(255,255,255,.25);
  --gold: #d4af37;
  --gold-dark: #b4882a;
  --silver: #cbd5e1;
  --text: #e9f1f7;
  --muted: #a6b3c2;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  position: relative;
  min-height: 100vh;
  line-height: 1.4;
}

/* Silver low-poly triangles background (data URL SVG) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><polygon fill='%23cbd5e1' points='0,0 300,0 0,300'/><polygon fill='%23dbe2ea' points='300,0 600,0 600,300'/><polygon fill='%239aa4b4' points='0,300 0,600 300,600'/><polygon fill='%23cbd5e1' points='300,300 600,300 600,600'/><polygon fill='%23e3eaf3' points='0,180 180,0 0,0'/></svg>");
  background-size: cover;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

/* Layout: mobile-first hero with frosted glass image frame and prominent CTA in footer */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

.image-frame {
  position: relative;
  background: var(--card);
  border: 1px solid var(--cardBorder);
  border-radius: 18px;
  padding: 1rem;
  width: min(92vw, 860px);
  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    inset 0 1px 6px rgba(255,255,255,.18);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  /* subtle neon/gold glow to hint cyberpunk theme */
  outline: 1px solid rgba(212,175,55,.45);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.0), 0 20px 50px rgba(0,0,0,.25);
}
.image-frame:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(212,175,55,.25), 0 20px 50px rgba(0,0,0,.25);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.02);
}

/* Frosted glass feel on the image container edges glow */
.image-frame { background: rgba(255,255,255,.08); }

footer {
  width: 100%;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
  text-align: center;
  color: var(--muted);
  margin-top: 1rem;
}
.product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  margin: 0.75rem auto;
  text-align: center;
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 .25rem;
  color: #e9f0f4;
}
.product-ad a {
  display: inline-block;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd24d 0%, #d4af37 100%);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 14px rgba(212,175,55,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212,175,55,.75);
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
p { margin: 0; }

/* Responsive tweaks for larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { width: 70%; }
  footer { padding: 1.25rem; }
}
