/* Global reset and palette (mobile-first, accessible colors) */
:root {
  --txt: #e9eef7;
  --muted: #b9c4d0;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --silver: #cbd5e1;
  --accent: #7df9ff;
  --bg-stripe-1: rgba(212,175,55,.95);
  --bg-stripe-2: rgba(184,138,0,.75);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  color: var(--txt);
  background-color: #0a0a0a;
  /* Gold striped background for hacker/cyberpunk vibe */
  background-image:
    repeating-linear-gradient(135deg,
      var(--bg-stripe-1) 0 12px,
      var(--bg-stripe-2) 12px 24px);
  background-attachment: fixed;
  background-size: 24px 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
}

/* Layout scaffolding (mobile-first) */
main {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); /* frosted glass base */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* subtle silver sheen could be added if needed */
}

/* Footer / ad panel (frosted glass, silver accents) */
footer {
  padding: 1.75rem 1rem 2rem;
}

.product-ad {
  width: min(92vw, 720px);
  margin: 0 auto;
  padding: 0.9rem 1rem;
  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);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 6px 18px rgba(0,0,0,.25);
}

.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--txt);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.product-ad a { text-decoration: none; }

/* CTA button (prominent) with a silver/neon cyberpunk feel */
.product-ad a p {
  margin: 0;
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  color: #0b111f;
  background: linear-gradient(#f6f7f9, #e1e6f2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}
.product-ad a:focus-visible p {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  /* improve visibility for keyboard users */
  box-shadow: 0 0 0 2px rgba(125, 255, 255, 0.6), 0 8px 18px rgba(0,0,0,.6);
}

/* Accessibility: prefer reduced motion off by default; keep subtle animations minimal */
@media (prefers-reduced-motion: reduce) {
  .product-ad a p { transition: none; }
  .product-ad a:hover p { transform: none; }
}

/* Responsive tweaks (desktop/tablet) */
@media (min-width: 720px) {
  main { padding-top: 3rem; }
  .image-frame { width: 70%; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  .product-ad { width: 60%; }
}