:root {
  --gold: #d4af37;
  --gold-dark: #c19a2b;
  --bg: #0a0b0f;
  --bg2: #1a1a1d;
  --text: #e9e9e9;
  --muted: #aab0c0;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: #0a0a0a;
  /* gray crosshatch background */
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(#2a2a2a 0 0);
  background-size: 12px 12px, 12px 12px, 100% 100%;
  background-position: 0 0, 6px 6px, 0 0;
  background-attachment: fixed;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 2rem 1rem;
}

.image-frame {
  width: min(980px, 92vw);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow:
    0 25px 60px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.04);
  isolation: isolate;
  transition: transform .3s ease;
}
.image-frame:hover {
  transform: scale(1.01);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  filter: saturate(0.95);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  /* frosted glass tint over image area for cyber glow feel */
  background: linear-gradient(to bottom right, rgba(255,255,255,.08), rgba(0,0,0,.25));
  mix-blend-mode: overlay;
  pointer-events: none;
  backdrop-filter: blur(0px);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  pointer-events: none;
  outline: 2px solid rgba(212,175,55,.25);
  outline-offset: -2px;
  mix-blend-mode: screen;
}

footer {
  padding: 1.5rem 1rem;
  display: grid;
  place-items: center;
  color: #e8e8e8;
}

.product-ad {
  display: grid;
  gap: .5rem;
  padding: .9rem 1rem;
  max-width: 760px;
  width: 100%;
  border-radius: 12px;
  background: rgba(15,15,15,.6);
  border: 1px solid rgba(255,255,255,.15);
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #f5f5f5;
}

.product-ad a { text-decoration: none; color: inherit; display: inline-block; }

.product-ad a p {
  margin: 0;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--gold), #e0b13e);
  border: 1px solid rgba(0,0,0,.15);
  display: inline-block;
  transition: transform .2s ease;
  box-shadow: 0 6px 14px rgba(212,175,55,.6);
}
.product-ad a p:hover { transform: translateY(-1px); }

footer p {
  margin: 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* Focus styles for accessibility on links/buttons */
a:focus-visible,
.product-ad a:focus-visible,
.product-ad a p:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { min-height: calc(100vh - 120px); }
  .image-frame { border-radius: 22px; }
  footer { padding-bottom: 2rem; }
}
@media (min-width: 900px) {
  .image-frame { width: min(1000px, 82vw); }
}