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

:root {
  --bg: #1a0a29;
  --panel: rgba(255,255,255,.08);
  --yellow: #ffd400;
  --yellow-dark: #e6b400;
  --text: #e6e0a7;
  --glow: 0 0 12px rgba(255,212,0,.9);
}
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e9e3a7;
  background-color: var(--bg);
  /* purple crosshatch background */
  background-image:
    linear-gradient(45deg, rgba(170,0,170,.15) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,214,0,.15) 25%, transparent 25%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  line-height: 1.4;
}

main {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(980px, 92%);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  position: relative;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  /* subtle cyber glow edge */
  isolation: isolate;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* frosted glass tint over the image */
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  pointer-events: none;
  /* slight glow to emphasize hacker theme */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.0);
}

footer {
  text-align: center;
  padding: 1.75rem 1rem;
  color: #d8d18b;
}

.product-ad {
  display: inline-block;
  padding: 0;
  margin: 0 0 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.2);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 .4rem;
  color: #ffd85c;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: .65rem 1.1rem;
  font-weight: 800;
  color: #1a0a2a;
  background: var(--yellow);
  border-radius: 999px;
  user-select: none;
}

/* CTA interaction */
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(255,212,0,.9);
}
.product-ad a:focus-visible p {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Responsive tweaks - mobile-first */
@media (max-width: 720px) {
  :root { --bg: #140a25; }
  .image-frame { width: 100%; aspect-ratio: 3 / 2; }
}